From 9d62b704b9aeeacd1f4d3900a4c923fc368f42f5 Mon Sep 17 00:00:00 2001 From: danney-chun <63285271+danney-chun@users.noreply.github.com> Date: Fri, 17 Oct 2025 08:30:35 +0900 Subject: [PATCH 01/10] 2.1.1 --- .openapi-generator-ignore | 1 + .openapi-generator/FILES | 27 +- README.md | 7 +- README.md-e | 143 - api/openapi.yaml | 2919 +++++++---------- build.gradle | 2 +- build.sbt | 2 +- docs/BotApi.md | 302 +- docs/CreateABotResponse.md | 2 +- docs/CreateABotResponseBotStyle.md | 16 - docs/GetAGroupChannelResponse.md | 2 +- docs/InviteAsMembersResponse.md | 2 +- docs/ListBotsResponseBotsInner.md | 1 - docs/ListBotsResponseBotsInnerAi.md | 24 - docs/MessageApi.md | 24 +- docs/ModerationApi.md | 8 +- docs/SendABotMessageRequest.md | 22 - docs/SendABotMessageResponse.md | 13 + docs/SendAMessageRequest.md | 91 +- .../SendAMessageRequestPushMessageTemplate.md | 39 + ...MessageRequestPushMessageTemplateOneOf.md} | 2 +- docs/SendBirdGroupChannel.md | 2 +- docs/SendBirdMessageResponse.md | 4 +- docs/SendBirdUser.md | 1 - ...xtMessageRequestBodyPushMessageTemplate.md | 16 +- docs/SendbirdGroupChannelLastMessage.md | 28 + ...rdMessageResponseExtendedMessagePayload.md | 28 + docs/UpdateBotByIdData.md | 20 + docs/UpdateBotByIdResponse.md | 18 + docs/ViewBotByIdResponse.md | 18 + docs/ViewBotByIdResponseBot.md | 18 + pom.xml | 2 +- .../client/model/AbstractOpenApiSchema.java | 2 +- .../model/AcceptAnInvitationRequest.java | 43 +- .../AddARegistrationOrDeviceTokenRequest.java | 2 +- ...AddARegistrationOrDeviceTokenResponse.java | 2 +- .../model/AddExtraDataToAMessageRequest.java | 2 +- .../model/AddExtraDataToAMessageResponse.java | 2 +- .../client/model/BlockAUserRequest.java | 2 +- .../client/model/BlockAUserResponse.java | 2 +- .../client/model/CheckIfMemberResponse.java | 2 +- ...ushNotificationContentTemplateRequest.java | 2 +- ...shNotificationContentTemplateResponse.java | 2 +- .../client/model/CreateABotRequest.java | 2 +- .../client/model/CreateABotResponse.java | 12 +- .../client/model/CreateABotResponseBot.java | 2 +- .../model/CreateABotResponseBotStyle.java | 233 -- .../model/CreateAChannelMetadataRequest.java | 4 +- .../model/CreateAChannelMetadataResponse.java | 2 +- .../model/CreateAGroupChannelRequest.java | 67 +- .../client/model/CreateAUserRequest.java | 81 +- .../model/CreateAnOpenChannelRequest.java | 2 +- .../client/model/CreateUserTokenRequest.java | 2 +- .../client/model/CreateUserTokenResponse.java | 2 +- .../model/FreezeAGroupChannelRequest.java | 2 +- .../model/FreezeAnOpenChannelRequest.java | 2 +- .../model/GetAGroupChannelResponse.java | 104 +- .../model/GetAGroupChannelResponseAllOf.java | 2 +- ...etChannelInvitationPreferenceResponse.java | 2 +- ...talNumberOfMessagesInAChannelResponse.java | 2 +- .../GroupChannelListMembersResponse.java | 2 +- .../model/GroupChatListChannelsResponse.java | 2 +- .../client/model/HideAChannelRequest.java | 2 +- .../client/model/InviteAsMembersRequest.java | 2 +- .../client/model/InviteAsMembersResponse.java | 104 +- .../model/InviteAsMembersResponseAllOf.java | 2 +- .../client/model/JoinAChannelRequest.java | 43 +- .../client/model/JoinChannelsRequest.java | 2 +- .../client/model/LeaveAChannelRequest.java | 2 +- .../model/LeaveMyGroupChannelsRequest.java | 2 +- .../model/ListBlockedUsersResponse.java | 2 +- .../client/model/ListBotsResponse.java | 2 +- .../model/ListBotsResponseBotsInner.java | 39 +- .../model/ListBotsResponseBotsInnerAi.java | 489 --- .../model/ListBotsResponseBotsInnerBot.java | 2 +- .../ListBotsResponseBotsInnerBotStyle.java | 2 +- ...istBotsResponseBotsInnerBotStyleColor.java | 2 +- ...tsResponseBotsInnerFirstMessagesInner.java | 2 +- ...sponseBotsInnerFirstMessagesInnerData.java | 2 +- .../ListBotsResponseBotsInnerSafeguard.java | 2 +- .../client/model/ListMessagesResponse.java | 2 +- .../model/ListMyGroupChannelsResponse.java | 2 +- .../model/ListOpenChannelsResponse.java | 2 +- .../client/model/ListOperatorsResponse.java | 2 +- ...istRegistrationOrDeviceTokensResponse.java | 2 +- .../client/model/ListUsersResponse.java | 2 +- .../model/MarkAllMessagesAsReadRequest.java | 2 +- .../MarkChannelMessagesAsReadRequest.java | 2 +- .../MigrateMessagesAdminMessageRequest.java | 2 +- .../MigrateMessagesFileMessageRequest.java | 2 +- ...agesFileMessageRequestThumbnailsInner.java | 2 +- .../client/model/MigrateMessagesRequest.java | 2 +- .../MigrateMessagesRequestMessagesInner.java | 2 +- .../MigrateMessagesTextMessageRequest.java | 2 +- ...gisterOperatorsToAGroupChannelRequest.java | 2 +- ...oveARegistrationOrDeviceTokenResponse.java | 2 +- ...eAllRegistrationOrDeviceTokenResponse.java | 2 +- .../client/model/ResetChatHistoryRequest.java | 2 +- .../model/ResetChatHistoryResponse.java | 2 +- .../model/ScheduleAnAnnouncementRequest.java | 2 +- ...nouncementRequestCreateChannelOptions.java | 2 +- .../ScheduleAnAnnouncementRequestMessage.java | 2 +- .../model/ScheduleAnAnnouncementResponse.java | 2 +- ...ScheduleAnAnnouncementResponseMessage.java | 2 +- .../client/model/SendABotMessageRequest.java | 412 --- .../client/model/SendABotMessageResponse.java | 114 + .../client/model/SendAMessageRequest.java | 1187 +++++-- ...endAMessageRequestPushMessageTemplate.java | 251 ++ ...ssageRequestPushMessageTemplateOneOf.java} | 28 +- .../model/SendAdminMessageRequestBody.java | 2 +- .../client/model/SendBirdFile.java | 2 +- .../client/model/SendBirdGroupChannel.java | 104 +- .../client/model/SendBirdMember.java | 54 +- .../client/model/SendBirdMessageResponse.java | 20 +- .../client/model/SendBirdOpenChannel.java | 43 +- .../model/SendBirdParentMessageInfo.java | 43 +- .../client/model/SendBirdReaction.java | 2 +- .../client/model/SendBirdUser.java | 166 +- .../model/SendFileMessageRequestBody.java | 2 +- .../model/SendTextMessageRequestBody.java | 2 +- ...MessageRequestBodyPushMessageTemplate.java | 46 +- .../client/model/SendbirdBasicUserInfo.java | 69 +- .../model/SendbirdDisappearingMessage.java | 2 +- .../model/SendbirdExtendedMessagePayload.java | 2 +- .../model/SendbirdGroupChannelDetail.java | 43 +- .../SendbirdGroupChannelDetailChannel.java | 2 +- .../SendbirdGroupChannelLastMessage.java | 215 ++ ...MessageResponseExtendedMessagePayload.java | 204 ++ .../SendbirdMessageResponseMessageEvents.java | 2 +- .../client/model/SendbirdSmsFallback.java | 2 +- .../model/SendbirdSortedMetaarrayInner.java | 2 +- .../client/model/SendbirdThumbnail.java | 2 +- .../model/StartTypingIndicatorsRequest.java | 2 +- .../model/UpdateAChannelMetadataRequest.java | 4 +- .../model/UpdateAGroupChannelRequest.java | 43 +- .../client/model/UpdateAMessageRequest.java | 2 +- .../client/model/UpdateAUserRequest.java | 135 +- .../model/UpdateAnOpenChannelRequest.java | 2 +- .../client/model/UpdateBotByIdData.java | 337 ++ .../client/model/UpdateBotByIdResponse.java | 274 ++ ...ateChannelInvitationPreferenceRequest.java | 2 +- ...teChannelInvitationPreferenceResponse.java | 2 +- ...pdateCountPreferenceOfAChannelRequest.java | 2 +- ...CountPreferenceOfChannelByUrlResponse.java | 2 +- .../UpdateExtraDataInAMessageRequest.java | 2 +- .../UpdateExtraDataInAMessageResponse.java | 2 +- ...datePushPreferencesForAChannelRequest.java | 2 +- ...atePushPreferencesForAChannelResponse.java | 2 +- .../model/UpdatePushPreferencesRequest.java | 2 +- .../model/UpdatePushPreferencesResponse.java | 2 +- .../client/model/ViewBotByIdResponse.java | 274 ++ .../client/model/ViewBotByIdResponseBot.java | 273 ++ ...ViewCountPreferenceOfAChannelResponse.java | 2 +- ...rOfChannelsWithUnreadMessagesResponse.java | 2 +- .../ViewNumberOfDailyActiveUsersResponse.java | 2 +- ...iewNumberOfMonthlyActiveUsersResponse.java | 2 +- .../ViewNumberOfUnreadMessagesResponse.java | 2 +- ...iewPushPreferencesForAChannelResponse.java | 2 +- .../model/ViewPushPreferencesResponse.java | 2 +- .../java/org/sendbird/client/ApiClient.java | 4 +- .../org/sendbird/client/ApiException.java | 2 +- .../org/sendbird/client/Configuration.java | 2 +- src/main/java/org/sendbird/client/JSON.java | 2 +- src/main/java/org/sendbird/client/JSON.java-e | 249 -- .../sendbird/client/JavaTimeFormatter.java | 2 +- src/main/java/org/sendbird/client/Pair.java | 2 +- .../java/org/sendbird/client/StringUtil.java | 2 +- .../sendbird/client/api/AnnouncementApi.java | 2 +- .../java/org/sendbird/client/api/BotApi.java | 643 +++- .../sendbird/client/api/GroupChannelApi.java | 2 +- .../org/sendbird/client/api/MessageApi.java | 50 +- .../org/sendbird/client/api/MetadataApi.java | 2 +- .../sendbird/client/api/ModerationApi.java | 4 +- .../sendbird/client/api/OpenChannelApi.java | 2 +- .../sendbird/client/api/StatisticsApi.java | 2 +- .../java/org/sendbird/client/api/UserApi.java | 2 +- .../org/sendbird/client/auth/ApiKeyAuth.java | 2 +- .../sendbird/client/auth/HttpBasicAuth.java | 2 +- .../sendbird/client/auth/HttpBearerAuth.java | 2 +- .../model/AcceptAnInvitationRequestTest.java | 4 + .../client/model/CreateABotResponseTest.java | 2 +- .../model/CreateAGroupChannelRequestTest.java | 4 + .../client/model/CreateAUserRequestTest.java | 4 + .../model/GetAGroupChannelResponseTest.java | 2 +- .../model/InviteAsMembersResponseTest.java | 2 +- .../client/model/JoinAChannelRequestTest.java | 4 + .../ListBotsResponseBotsInnerAiTest.java | 143 - .../model/ListBotsResponseBotsInnerTest.java | 9 - .../model/SendABotMessageRequestTest.java | 125 - .../model/SendABotMessageResponseTest.java | 51 + ...eRequestPushMessageTemplateOneOfTest.java} | 12 +- ...MessageRequestPushMessageTemplateTest.java | 59 + .../client/model/SendAMessageRequestTest.java | 163 +- .../model/SendBirdGroupChannelTest.java | 2 +- .../model/SendBirdMessageResponseTest.java | 2 +- .../client/model/SendBirdOpenChannelTest.java | 4 + .../model/SendBirdParentMessageInfoTest.java | 4 - .../client/model/SendBirdUserTest.java | 8 - ...ageRequestBodyPushMessageTemplateTest.java | 2 +- .../model/SendbirdBasicUserInfoTest.java | 4 + .../model/SendbirdGroupChannelDetailTest.java | 5 - .../SendbirdGroupChannelLastMessageTest.java | 296 ++ ...ageResponseExtendedMessagePayloadTest.java | 61 + .../model/UpdateAGroupChannelRequestTest.java | 4 + .../client/model/UpdateAUserRequestTest.java | 4 + .../client/model/UpdateBotByIdDataTest.java | 106 + .../model/UpdateBotByIdResponseTest.java | 91 + ...t.java => ViewBotByIdResponseBotTest.java} | 57 +- .../client/model/ViewBotByIdResponseTest.java | 91 + ...wNumberOfDailyActiveUsersResponseTest.java | 1 - ...umberOfMonthlyActiveUsersResponseTest.java | 1 - .../org/sendbird/client/api/BotApiTest.java | 109 +- .../client/api/GroupChannelApiTest.java | 12 - .../sendbird/client/api/MessageApiTest.java | 17 +- .../sendbird/client/api/MetadataApiTest.java | 3 +- .../client/api/ModerationApiTest.java | 2 +- .../org/sendbird/client/api/UserApiTest.java | 24 +- 217 files changed, 7237 insertions(+), 4785 deletions(-) delete mode 100644 README.md-e delete mode 100644 docs/CreateABotResponseBotStyle.md delete mode 100644 docs/ListBotsResponseBotsInnerAi.md delete mode 100644 docs/SendABotMessageRequest.md create mode 100644 docs/SendABotMessageResponse.md create mode 100644 docs/SendAMessageRequestPushMessageTemplate.md rename docs/{SendTextMessageRequestBodyPushMessageTemplateOneOf.md => SendAMessageRequestPushMessageTemplateOneOf.md} (94%) create mode 100644 docs/SendbirdGroupChannelLastMessage.md create mode 100644 docs/SendbirdMessageResponseExtendedMessagePayload.md create mode 100644 docs/UpdateBotByIdData.md create mode 100644 docs/UpdateBotByIdResponse.md create mode 100644 docs/ViewBotByIdResponse.md create mode 100644 docs/ViewBotByIdResponseBot.md delete mode 100644 src/main/java/org/openapitools/client/model/CreateABotResponseBotStyle.java delete mode 100644 src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerAi.java delete mode 100644 src/main/java/org/openapitools/client/model/SendABotMessageRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendABotMessageResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java rename src/main/java/org/openapitools/client/model/{SendTextMessageRequestBodyPushMessageTemplateOneOf.java => SendAMessageRequestPushMessageTemplateOneOf.java} (78%) create mode 100644 src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java create mode 100644 src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java create mode 100644 src/main/java/org/openapitools/client/model/UpdateBotByIdData.java create mode 100644 src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java create mode 100644 src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java create mode 100644 src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java delete mode 100644 src/main/java/org/sendbird/client/JSON.java-e delete mode 100644 src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerAiTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendABotMessageRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendABotMessageResponseTest.java rename src/test/java/org/openapitools/client/model/{SendTextMessageRequestBodyPushMessageTemplateOneOfTest.java => SendAMessageRequestPushMessageTemplateOneOfTest.java} (73%) create mode 100644 src/test/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendbirdGroupChannelLastMessageTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayloadTest.java create mode 100644 src/test/java/org/openapitools/client/model/UpdateBotByIdDataTest.java create mode 100644 src/test/java/org/openapitools/client/model/UpdateBotByIdResponseTest.java rename src/test/java/org/openapitools/client/model/{CreateABotResponseBotStyleTest.java => ViewBotByIdResponseBotTest.java} (54%) create mode 100644 src/test/java/org/openapitools/client/model/ViewBotByIdResponseTest.java diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore index 7484ee59..40a5ed1c 100644 --- a/.openapi-generator-ignore +++ b/.openapi-generator-ignore @@ -21,3 +21,4 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md +README.md diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index f3310757..3d993c71 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,7 +1,6 @@ .github/workflows/maven.yml .gitignore .travis.yml -README.md api/openapi.yaml build.gradle build.sbt @@ -20,7 +19,6 @@ docs/ChooseAPushNotificationContentTemplateResponse.md docs/CreateABotRequest.md docs/CreateABotResponse.md docs/CreateABotResponseBot.md -docs/CreateABotResponseBotStyle.md docs/CreateAChannelMetadataRequest.md docs/CreateAChannelMetadataResponse.md docs/CreateAGroupChannelRequest.md @@ -48,7 +46,6 @@ docs/LeaveMyGroupChannelsRequest.md docs/ListBlockedUsersResponse.md docs/ListBotsResponse.md docs/ListBotsResponseBotsInner.md -docs/ListBotsResponseBotsInnerAi.md docs/ListBotsResponseBotsInnerBot.md docs/ListBotsResponseBotsInnerBotStyle.md docs/ListBotsResponseBotsInnerBotStyleColor.md @@ -83,13 +80,14 @@ docs/ScheduleAnAnnouncementRequestCreateChannelOptions.md docs/ScheduleAnAnnouncementRequestMessage.md docs/ScheduleAnAnnouncementResponse.md docs/ScheduleAnAnnouncementResponseMessage.md -docs/SendABotMessageRequest.md +docs/SendABotMessageResponse.md docs/SendAMessageRequest.md +docs/SendAMessageRequestPushMessageTemplate.md +docs/SendAMessageRequestPushMessageTemplateOneOf.md docs/SendAdminMessageRequestBody.md docs/SendFileMessageRequestBody.md docs/SendTextMessageRequestBody.md docs/SendTextMessageRequestBodyPushMessageTemplate.md -docs/SendTextMessageRequestBodyPushMessageTemplateOneOf.md docs/SendbirdBasicUserInfo.md docs/SendbirdDisappearingMessage.md docs/SendbirdExtendedMessagePayload.md @@ -97,8 +95,10 @@ docs/SendbirdFile.md docs/SendbirdGroupChannel.md docs/SendbirdGroupChannelDetail.md docs/SendbirdGroupChannelDetailChannel.md +docs/SendbirdGroupChannelLastMessage.md docs/SendbirdMember.md docs/SendbirdMessageResponse.md +docs/SendbirdMessageResponseExtendedMessagePayload.md docs/SendbirdMessageResponseMessageEvents.md docs/SendbirdOpenChannel.md docs/SendbirdParentMessageInfo.md @@ -115,6 +115,8 @@ docs/UpdateAGroupChannelRequest.md docs/UpdateAMessageRequest.md docs/UpdateAUserRequest.md docs/UpdateAnOpenChannelRequest.md +docs/UpdateBotByIdData.md +docs/UpdateBotByIdResponse.md docs/UpdateChannelInvitationPreferenceRequest.md docs/UpdateChannelInvitationPreferenceResponse.md docs/UpdateCountPreferenceOfAChannelRequest.md @@ -126,6 +128,8 @@ docs/UpdatePushPreferencesForAChannelResponse.md docs/UpdatePushPreferencesRequest.md docs/UpdatePushPreferencesResponse.md docs/UserApi.md +docs/ViewBotByIdResponse.md +docs/ViewBotByIdResponseBot.md docs/ViewCountPreferenceOfAChannelResponse.md docs/ViewNumberOfChannelsWithUnreadMessagesResponse.md docs/ViewNumberOfDailyActiveUsersResponse.md @@ -156,7 +160,6 @@ src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTempla src/main/java/org/openapitools/client/model/CreateABotRequest.java src/main/java/org/openapitools/client/model/CreateABotResponse.java src/main/java/org/openapitools/client/model/CreateABotResponseBot.java -src/main/java/org/openapitools/client/model/CreateABotResponseBotStyle.java src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java @@ -183,7 +186,6 @@ src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java src/main/java/org/openapitools/client/model/ListBotsResponse.java src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java -src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerAi.java src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java @@ -214,13 +216,14 @@ src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateC src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java -src/main/java/org/openapitools/client/model/SendABotMessageRequest.java +src/main/java/org/openapitools/client/model/SendABotMessageResponse.java src/main/java/org/openapitools/client/model/SendAMessageRequest.java +src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java +src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java -src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateOneOf.java src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java @@ -228,8 +231,10 @@ src/main/java/org/openapitools/client/model/SendbirdFile.java src/main/java/org/openapitools/client/model/SendbirdGroupChannel.java src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java +src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java src/main/java/org/openapitools/client/model/SendbirdMember.java src/main/java/org/openapitools/client/model/SendbirdMessageResponse.java +src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java src/main/java/org/openapitools/client/model/SendbirdOpenChannel.java src/main/java/org/openapitools/client/model/SendbirdParentMessageInfo.java @@ -245,6 +250,8 @@ src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java src/main/java/org/openapitools/client/model/UpdateAUserRequest.java src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java +src/main/java/org/openapitools/client/model/UpdateBotByIdData.java +src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java @@ -255,6 +262,8 @@ src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequ src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java +src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java +src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java diff --git a/README.md b/README.md index 3755cee5..4c35df23 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ Add these dependency to your project's POM: org.sendbird sendbird-platform-sdk - 2.0.0 + 2.1.1 ``` @@ -110,7 +110,7 @@ Add this dependency to your project's build file: ```groovy dependencies { - implementation "org.sendbird:sendbird-platform-sdk:2.0.0" + implementation "org.sendbird:sendbird-platform-sdk:2.1.1 } allprojects { @@ -137,5 +137,4 @@ All the documentation for this project lives in the /docs directory of this repo | Message | [docs/MessageApi.md](docs/MessageApi.md) | | OpenChannel | [docs/OpenChannelApi.md ](docs/OpenChannelApi.md) | | User | [docs/UserApi.md](docs/UserApi.md) | - - +| Moderation | [docs/ModerationApi.md](docs/ModerationApi.md) | diff --git a/README.md-e b/README.md-e deleted file mode 100644 index 987cae1b..00000000 --- a/README.md-e +++ /dev/null @@ -1,143 +0,0 @@ -![Sendbird banner image](http://ww1.prweb.com/prfiles/2021/09/14/18371217/Sendbird_Logo_RGB_lg.png) - -# [Sendbird Java Platform SDK](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) - - -[![link to docs](https://img.shields.io/badge/SDK-docs-green)](/docs) - -This is a Java library that makes talking to the [Sendbird Platform API](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) easier. With this library you can extend your Sendbird integration to include advanced features like channel automation and user management. - -# 🔥 Quick start - -```java - -import org.sendbird.client.ApiClient; -import org.sendbird.client.ApiException; -import org.sendbird.client.Configuration; -import org.sendbird.client.api.UserApi; -import org.openapitools.client.model.ListUsersResponse; - - -class AppTest { - static class User { - UserApi apiInstance; - public User(ApiClient defaultClient){ - apiInstance = new UserApi(defaultClient); - } - public void listUsers(){ - - try { - Integer limit = 56; - String activeMode = "activated"; - Boolean showBot = true; - ListUsersResponse result = apiInstance.listUsers().limit(limit).activeMode(activeMode).execute(); - System.out.println(result); - - } catch (ApiException e) { - System.err.println("Exception when calling listUsers"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } - } - - public static void main(String[] args) { - String apiToken = "YOUR_API_TOKEN"; - String applicationId = "YOUR_APP_ID_FROM_DASHBOARD"; - ApiClient defaultClient = Configuration.getDefaultApiClient().addDefaultHeader("Api-Token", apiToken); - defaultClient.setBasePath("https://api-" + applicationId + ".sendbird.com"); - User user = new User(defaultClient); - user.listUsers(); - } -} - -``` - -# ⚒️ Prerequisite -In order to make requests with this SDK you will need you master API token. This can be found through the [Sendbird dashboard](https://dashboard.sendbird.com/). Each app you create in Sendbird has its own master api token. These tokens can be found in Settings > Application > General. - -![how to find you api token](https://i.imgur.com/0YMKtpX.png) - -## 💻 Requirements - -Building the API client library requires: -1. Java 1.7+ -2. Maven (3.8.3+)/Gradle (7.2+) - -## ⚙️ Installation - -To install the API client library to your local Maven repository, simply execute: - -```shell -mvn clean install -``` - -To deploy it to a remote Maven repository instead, configure the settings of the repository and execute: - -```shell -mvn clean deploy -``` - -Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information. - -### Maven users - -Add these dependency to your project's POM: - -```xml - - - sendbird - https://repo.sendbird.com/public/maven - - - - - - org.sendbird - sendbird-platform-sdk - 1.0.23 - - -``` - -### Gradle users - -Add this dependency to your project's build file: - -```groovy - -dependencies { - implementation "org.sendbird:sendbird-platform-sdk:1.0.23" -} - -allprojects { - repositories { - maven { url "https://repo.sendbird.com/public/maven" } - } -} -``` - - - - - -# 🗃️ Documentation -All the documentation for this project lives in the /docs directory of this repo. - -##### Helpful links - -| | Documentation | -| ----------- | ----------- | -| Announcement | [docs/AnnouncementApi.md](docs/AnnouncementApi.md)| -| Application | [docs/ApplicationApi.md](docs/ApplicationApi.md) | -| Bot | [docs/BotApi.md](docs/BotApi.md) | -| GroupChannel | [docs/GroupChannelApi.md](docs/GroupChannelApi.md) | -| Message | [docs/MessageApi.md](docs/MessageApi.md) | -| OpenChannel | [docs/OpenChannelApi.md ](docs/OpenChannelApi.md) | -| User | [docs/UserApi.md](docs/UserApi.md) | -| Webhooks | [docs/WebhooksApi.md](docs/WebhooksApi.md) | - - diff --git a/api/openapi.yaml b/api/openapi.yaml index 51621ccd..7b8289f8 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -1,4 +1,4 @@ -openapi: 3.0.0 +openapi: 3.0.3 info: contact: email: support@sendbird.com @@ -2077,6 +2077,121 @@ paths: - Bot x-content-type: application/json x-accepts: application/json + /v3/bots/{bot_userid}: + delete: + description: |- + ## Delete a bot + + Deletes a bot from an application. + + https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-delete-a-bot + ---------------------------- + operationId: deleteBotById + parameters: + - example: "{{API_TOKEN}}" + explode: false + in: header + name: Api-Token + required: false + schema: + type: string + style: simple + - explode: false + in: path + name: bot_userid + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + type: object + description: Successful response + summary: Delete a bot + tags: + - Bot + x-accepts: application/json + get: + description: |- + ## View a bot + + Retrieves information on a bot. + + https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-view-a-bot + ---------------------------- + operationId: viewBotById + parameters: + - example: "{{API_TOKEN}}" + explode: false + in: header + name: Api-Token + required: false + schema: + type: string + style: simple + - explode: false + in: path + name: bot_userid + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/viewBotByIdResponse' + description: Successful response + summary: View a bot + tags: + - Bot + x-accepts: application/json + put: + description: |- + ## Update a bot + + Updates information on a bot. + + https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-update-a-bot + ---------------------------- + operationId: updateBotById + parameters: + - example: "{{API_TOKEN}}" + explode: false + in: header + name: Api-Token + required: false + schema: + type: string + style: simple + - explode: false + in: path + name: bot_userid + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/updateBotByIdData' + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/updateBotByIdResponse' + description: Successful response + summary: Update a bot + tags: + - Bot + x-content-type: application/json + x-accepts: application/json /v3/bots/{bot_userid}/send: post: description: "## Send a bot message\n\nSends a bot message to a group channel.\n\ @@ -2103,9 +2218,9 @@ paths: style: simple requestBody: content: - application/json: + multipart/form-data: schema: - $ref: '#/components/schemas/sendABotMessage_request' + $ref: '#/components/schemas/SendABotMessageRequest' responses: "200": content: @@ -2116,7 +2231,7 @@ paths: summary: Send a bot's message tags: - Bot - x-content-type: application/json + x-content-type: multipart/form-data x-accepts: application/json /v3/bots/{bot_userid}/channels: delete: @@ -2523,20 +2638,20 @@ paths: \ out blocked users when a user invites a group of users to a new group channel.\ \ By default, blocked users are included when sending invitations. The value\ \ of this option can be changed by Sendbird if your Sendbird application isn't\ - \ integrated to the client app. If you want to change the value, [contact\ + \ integrated with the client app. If you want to change the value, [contact\ \ our sales team](https://get.sendbird.com/talk-to-sales.html).\n \n- **Turn\ \ on or off notifications from blocked users**: Determines whether or not\ \ to receive message notifications from the blocked user in a specific 1-to-N\ \ group channel where they are both members. By default, a user doesn't receive\ \ notifications from blocked users. The value of this option can be set individually\ \ per channel. If you want to use this option, [contact our sales team](https://get.sendbird.com/talk-to-sales.html).\n\ - \ \n\n> **Note**: To learn more about other available moderation tools,\ - \ see [Moderation Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions).\ - \ \n \n\nThe following tables explain what happens to a user's chat experience\ - \ when the user blocks another user in a 1-to-1 or 1-to-N group channel. In\ - \ the case of a 1-to-1 group channel, the block mode is only maintained with\ - \ the original members. If other than the original members are added, the\ - \ rules for 1-to-N group channel begin to apply.\n\n[https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users](https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users)" + \n> **Note**: To learn more about other available moderation tools, see [Moderation\ + \ Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions).\ + \ The following tables explain what happens to a user's chat experience when\ + \ the user blocks another user in a 1-to-1 or 1-to-N group channel. In the\ + \ case of a 1-to-1 group channel, the block mode is only maintained with the\ + \ original members. If other than the original members are added, the rules\ + \ for 1-to-N group channel begin to apply.\n\n[https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users](https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users)" operationId: blockAUser parameters: - description: '(Required) ' @@ -4914,7 +5029,8 @@ paths: name: message_id required: true schema: - type: string + format: int64 + type: integer style: simple - explode: true in: query @@ -4977,7 +5093,8 @@ paths: name: message_id required: true schema: - type: string + format: int64 + type: integer style: simple - explode: false in: header @@ -5039,7 +5156,8 @@ paths: name: message_id required: true schema: - type: string + format: int64 + type: integer style: simple - explode: false in: header @@ -5102,7 +5220,8 @@ paths: name: message_id required: true schema: - type: string + format: int64 + type: integer style: simple - explode: false in: header @@ -5158,7 +5277,8 @@ paths: name: message_id required: true schema: - type: string + format: int64 + type: integer style: simple - explode: true in: query @@ -5255,7 +5375,8 @@ paths: name: message_id required: true schema: - type: string + format: int64 + type: integer style: simple - explode: false in: header @@ -5296,12 +5417,12 @@ components: type: string Sendbird.Thumbnail: example: - real_width: 7 + real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 properties: height: type: integer @@ -5322,20 +5443,20 @@ components: file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 properties: url: type: string @@ -5357,7 +5478,7 @@ components: exclude_user_ids: - exclude_user_ids - exclude_user_ids - wait_seconds: 6 + wait_seconds: 1 properties: wait_seconds: type: integer @@ -5400,12 +5521,15 @@ components: - operator type: string nickname: + nullable: true type: string user_id: type: string profile_url: + default: "" type: string metadata: + nullable: true type: object required: - user_id @@ -5419,29 +5543,25 @@ components: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 - nullable: true + last_seen_at: 9 properties: access_token: type: string @@ -5451,6 +5571,7 @@ components: discovery_keys: items: type: string + nullable: true type: array has_ever_logged_in: type: boolean @@ -5468,15 +5589,19 @@ components: locale: type: string metadata: + nullable: true properties: {} type: object nickname: + nullable: true type: string preferred_languages: items: type: string + nullable: true type: array profile_url: + default: "" type: string require_auth_for_profile_image: type: boolean @@ -5497,10 +5622,6 @@ components: type: string is_created: type: boolean - session_tokens: - items: - type: string - type: array required: - user_id type: object @@ -5512,11 +5633,11 @@ components: require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -5529,7 +5650,7 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 + last_seen_at: 3 properties: delivered_ts: format: int64 @@ -5558,6 +5679,7 @@ components: format: int64 type: integer metadata: + nullable: true properties: {} type: object muted_description: @@ -5566,12 +5688,14 @@ components: format: int64 type: integer nickname: + nullable: true type: string push_enabled: type: boolean push_trigger_option: $ref: '#/components/schemas/Sendbird.PushTriggerOption' profile_url: + default: "" type: string require_auth_for_profile_image: type: boolean @@ -5600,11 +5724,6 @@ components: Sendbird.ExtendedMessagePayload: description: Specifies the extended message payload which is used to send a message with a custom message type. - example: - suggested_replies: - - suggested_replies - - suggested_replies - custom_view: "{}" properties: custom_view: description: "JSON format you want to embed in message, eq : {\"title\"\ @@ -5624,58 +5743,58 @@ components: file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 custom_type: custom_type files: - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 message: message type: type user: @@ -5685,29 +5804,26 @@ components: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 - ts: 1 + last_seen_at: 9 + ts: 5 properties: custom_type: type: string @@ -5729,7 +5845,7 @@ components: type: object Sendbird.Reaction: example: - updated_at: 9 + updated_at: 2 user_ids: - user_ids - user_ids @@ -5755,12 +5871,12 @@ components: update_unread_count: true custom_type: custom_type is_reply_to_channel: true - created_at: 1 + created_at: 7 is_removed: true type: type req_id: req_id file: "{}" - updated_at: 7 + updated_at: 3 translations: "{}" thread_info: "{}" mentioned_users: @@ -5781,67 +5897,67 @@ components: nickname: nickname is_blocked_by_me: true channel_type: channel_type - message_survival_seconds: 2 + message_survival_seconds: 9 silent: true - parent_message_id: 7 + parent_message_id: 4 parent_message_info: file: file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 custom_type: custom_type files: - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 message: message type: type user: @@ -5851,31 +5967,28 @@ components: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 - ts: 1 + last_seen_at: 9 + ts: 5 require_auth: true - message_id: 6 + message_id: 1 sorted_metaarray: - value: - value @@ -5889,56 +6002,52 @@ components: message: message channel_url: channel_url is_op_msg: true - message_retention_hour: 1 - extended_message_payload: - suggested_replies: - - suggested_replies - - suggested_replies - custom_view: "{}" + message_retention_hour: 6 + extended_message_payload: null files: - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 reactions: - - updated_at: 9 + - updated_at: 2 user_ids: - user_ids - user_ids key: key - - updated_at: 9 + - updated_at: 2 user_ids: - user_ids - user_ids @@ -5952,7 +6061,6 @@ components: profile_url: profile_url nickname: nickname is_blocked_by_me: true - nullable: true properties: require_auth: type: boolean @@ -6007,6 +6115,7 @@ components: channel_url: type: string message_id: + format: int64 type: integer sorted_metaarray: items: @@ -6023,7 +6132,7 @@ components: message_events: $ref: '#/components/schemas/Sendbird_MessageResponse_message_events' extended_message_payload: - $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload' + $ref: '#/components/schemas/Sendbird_MessageResponse_extended_message_payload' type: object Sendbird.GroupChannel: example: @@ -6038,213 +6147,8 @@ components: is_hidden: true created_at: 0 is_super: true - last_message: - data: data - message_events: - update_last_message: true - update_mention_count: true - send_push_notification: send_push_notification - update_unread_count: true - custom_type: custom_type - is_reply_to_channel: true - created_at: 1 - is_removed: true - type: type - req_id: req_id - file: "{}" - updated_at: 7 - translations: "{}" - thread_info: "{}" - mentioned_users: - - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - channel_type: channel_type - message_survival_seconds: 2 - silent: true - parent_message_id: 7 - parent_message_info: - file: - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - custom_type: custom_type - files: - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - message: message - type: type - user: - metadata: "{}" - is_active: true - preferred_languages: - - preferred_languages - - preferred_languages - require_auth_for_profile_image: true - unread_channel_count: 9 - discovery_keys: - - discovery_keys - - discovery_keys - profile_url: profile_url - is_created: true - created_at: 4 - has_ever_logged_in: true - locale: locale - unread_message_count: 9 - access_token: access_token - is_shadow_blocked: true - user_id: user_id - nickname: nickname - session_tokens: - - session_tokens - - session_tokens - phone_number: phone_number - is_online: true - state: "" - is_hide_me_from_friends: true - last_seen_at: 5 - ts: 1 - require_auth: true - message_id: 6 - sorted_metaarray: - - value: - - value - - value - key: key - - value: - - value - - value - key: key - mention_type: mention_type - message: message - channel_url: channel_url - is_op_msg: true - message_retention_hour: 1 - extended_message_payload: - suggested_replies: - - suggested_replies - - suggested_replies - custom_view: "{}" - files: - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - reactions: - - updated_at: 9 - user_ids: - - user_ids - - user_ids - key: key - - updated_at: 9 - user_ids: - - user_ids - - user_ids - key: key - user: - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - user_last_read: 3 + last_message: null + user_last_read: 1 is_discoverable: true is_muted: true joined_member_count: 5 @@ -6257,11 +6161,11 @@ components: require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -6274,18 +6178,18 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 + last_seen_at: 3 - metadata: "{}" is_active: true is_blocking_me: true require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -6298,8 +6202,8 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 - max_length_message: 6 + last_seen_at: 3 + max_length_message: 2 my_role: "" inviter: metadata: "{}" @@ -6311,13 +6215,13 @@ components: nickname: nickname is_blocked_by_me: true push_trigger_option: null - member_count: 8 - message_survival_seconds: 1 + member_count: 7 + message_survival_seconds: 7 has_ai_bot: true cover_url: cover_url is_ephemeral: true is_exclusive: true - unread_mention_count: 5 + unread_mention_count: 6 joined_ts: 5 created_by: metadata: "{}" @@ -6329,7 +6233,7 @@ components: nickname: nickname is_blocked_by_me: true has_bot: true - unread_message_count: 6 + unread_message_count: 7 channel_url: channel_url is_broadcast: true hidden_state: hidden_allow_auto_unhide @@ -6338,16 +6242,16 @@ components: is_public: true name: name read_receipt: - key: 2 + key: 1 sms_fallback: exclude_user_ids: - exclude_user_ids - exclude_user_ids - wait_seconds: 6 + wait_seconds: 1 ignore_profanity_filter: true delivery_receipt: "{}" is_access_code_required: true - ts_message_offset: 6 + ts_message_offset: 1 properties: channel_url: type: string @@ -6393,6 +6297,7 @@ components: inviter: $ref: '#/components/schemas/Sendbird.BasicUserInfo' is_access_code_required: + nullable: true type: boolean is_broadcast: type: boolean @@ -6418,9 +6323,10 @@ components: type: integer joined_ts: format: int64 + nullable: true type: integer last_message: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/Sendbird_GroupChannel_last_message' max_length_message: type: integer member_count: @@ -6438,6 +6344,7 @@ components: message_survival_seconds: type: integer metadata: + nullable: true type: object my_role: enum: @@ -6496,12 +6403,12 @@ components: update_unread_count: true custom_type: custom_type is_reply_to_channel: true - created_at: 1 + created_at: 7 is_removed: true type: type req_id: req_id file: "{}" - updated_at: 7 + updated_at: 3 translations: "{}" thread_info: "{}" mentioned_users: @@ -6522,67 +6429,67 @@ components: nickname: nickname is_blocked_by_me: true channel_type: channel_type - message_survival_seconds: 2 + message_survival_seconds: 9 silent: true - parent_message_id: 7 + parent_message_id: 4 parent_message_info: file: file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 custom_type: custom_type files: - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 message: message type: type user: @@ -6592,31 +6499,28 @@ components: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 - ts: 1 + last_seen_at: 9 + ts: 5 require_auth: true - message_id: 6 + message_id: 1 sorted_metaarray: - value: - value @@ -6630,56 +6534,52 @@ components: message: message channel_url: channel_url is_op_msg: true - message_retention_hour: 1 - extended_message_payload: - suggested_replies: - - suggested_replies - - suggested_replies - custom_view: "{}" + message_retention_hour: 6 + extended_message_payload: null files: - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 reactions: - - updated_at: 9 + - updated_at: 2 user_ids: - user_ids - user_ids key: key - - updated_at: 9 + - updated_at: 2 user_ids: - user_ids - user_ids @@ -6704,56 +6604,50 @@ components: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 + last_seen_at: 9 - metadata: "{}" is_active: true preferred_languages: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 + last_seen_at: 9 members: - metadata: "{}" is_active: true @@ -6761,11 +6655,11 @@ components: require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -6778,18 +6672,18 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 + last_seen_at: 3 - metadata: "{}" is_active: true is_blocking_me: true require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -6802,15 +6696,15 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 + last_seen_at: 3 max_length_message: 9 id: 2 - member_count: 3 - message_survival_seconds: 2 + member_count: 6 + message_survival_seconds: 3 has_ai_bot: true cover_url: cover_url is_ephemeral: true - unread_mention_count: 7 + unread_mention_count: 1 created_by: metadata: "{}" require_auth_for_profile_image: true @@ -6821,18 +6715,18 @@ components: nickname: nickname is_blocked_by_me: true has_bot: true - unread_message_count: 1 + unread_message_count: 2 channel_url: channel_url is_broadcast: true is_public: true name: name read_receipt: - key: 4 + key: 6 sms_fallback: exclude_user_ids: - exclude_user_ids - exclude_user_ids - wait_seconds: 6 + wait_seconds: 1 ignore_profanity_filter: true delivery_receipt: key: 5 @@ -6978,6 +6872,7 @@ components: participant_count: type: integer metadata: + nullable: true type: object required: - channel_url @@ -6999,213 +6894,8 @@ components: is_hidden: true created_at: 0 is_super: true - last_message: - data: data - message_events: - update_last_message: true - update_mention_count: true - send_push_notification: send_push_notification - update_unread_count: true - custom_type: custom_type - is_reply_to_channel: true - created_at: 1 - is_removed: true - type: type - req_id: req_id - file: "{}" - updated_at: 7 - translations: "{}" - thread_info: "{}" - mentioned_users: - - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - channel_type: channel_type - message_survival_seconds: 2 - silent: true - parent_message_id: 7 - parent_message_info: - file: - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - custom_type: custom_type - files: - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - message: message - type: type - user: - metadata: "{}" - is_active: true - preferred_languages: - - preferred_languages - - preferred_languages - require_auth_for_profile_image: true - unread_channel_count: 9 - discovery_keys: - - discovery_keys - - discovery_keys - profile_url: profile_url - is_created: true - created_at: 4 - has_ever_logged_in: true - locale: locale - unread_message_count: 9 - access_token: access_token - is_shadow_blocked: true - user_id: user_id - nickname: nickname - session_tokens: - - session_tokens - - session_tokens - phone_number: phone_number - is_online: true - state: "" - is_hide_me_from_friends: true - last_seen_at: 5 - ts: 1 - require_auth: true - message_id: 6 - sorted_metaarray: - - value: - - value - - value - key: key - - value: - - value - - value - key: key - mention_type: mention_type - message: message - channel_url: channel_url - is_op_msg: true - message_retention_hour: 1 - extended_message_payload: - suggested_replies: - - suggested_replies - - suggested_replies - custom_view: "{}" - files: - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - reactions: - - updated_at: 9 - user_ids: - - user_ids - - user_ids - key: key - - updated_at: 9 - user_ids: - - user_ids - - user_ids - key: key - user: - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - user_last_read: 3 + last_message: null + user_last_read: 1 is_discoverable: true is_muted: true joined_member_count: 5 @@ -7218,11 +6908,11 @@ components: require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -7235,18 +6925,18 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 + last_seen_at: 3 - metadata: "{}" is_active: true is_blocking_me: true require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -7259,8 +6949,8 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 - max_length_message: 6 + last_seen_at: 3 + max_length_message: 2 my_role: "" inviter: metadata: "{}" @@ -7272,13 +6962,13 @@ components: nickname: nickname is_blocked_by_me: true push_trigger_option: null - member_count: 8 - message_survival_seconds: 1 + member_count: 7 + message_survival_seconds: 7 has_ai_bot: true cover_url: cover_url is_ephemeral: true is_exclusive: true - unread_mention_count: 5 + unread_mention_count: 6 joined_ts: 5 created_by: metadata: "{}" @@ -7290,7 +6980,7 @@ components: nickname: nickname is_blocked_by_me: true has_bot: true - unread_message_count: 6 + unread_message_count: 7 channel_url: channel_url is_broadcast: true hidden_state: hidden_allow_auto_unhide @@ -7299,16 +6989,16 @@ components: is_public: true name: name read_receipt: - key: 2 + key: 1 sms_fallback: exclude_user_ids: - exclude_user_ids - exclude_user_ids - wait_seconds: 6 + wait_seconds: 1 ignore_profanity_filter: true delivery_receipt: "{}" is_access_code_required: true - ts_message_offset: 6 + ts_message_offset: 1 - metadata: "{}" count_preference: "false" data: data @@ -7320,213 +7010,8 @@ components: is_hidden: true created_at: 0 is_super: true - last_message: - data: data - message_events: - update_last_message: true - update_mention_count: true - send_push_notification: send_push_notification - update_unread_count: true - custom_type: custom_type - is_reply_to_channel: true - created_at: 1 - is_removed: true - type: type - req_id: req_id - file: "{}" - updated_at: 7 - translations: "{}" - thread_info: "{}" - mentioned_users: - - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - channel_type: channel_type - message_survival_seconds: 2 - silent: true - parent_message_id: 7 - parent_message_info: - file: - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - custom_type: custom_type - files: - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - message: message - type: type - user: - metadata: "{}" - is_active: true - preferred_languages: - - preferred_languages - - preferred_languages - require_auth_for_profile_image: true - unread_channel_count: 9 - discovery_keys: - - discovery_keys - - discovery_keys - profile_url: profile_url - is_created: true - created_at: 4 - has_ever_logged_in: true - locale: locale - unread_message_count: 9 - access_token: access_token - is_shadow_blocked: true - user_id: user_id - nickname: nickname - session_tokens: - - session_tokens - - session_tokens - phone_number: phone_number - is_online: true - state: "" - is_hide_me_from_friends: true - last_seen_at: 5 - ts: 1 - require_auth: true - message_id: 6 - sorted_metaarray: - - value: - - value - - value - key: key - - value: - - value - - value - key: key - mention_type: mention_type - message: message - channel_url: channel_url - is_op_msg: true - message_retention_hour: 1 - extended_message_payload: - suggested_replies: - - suggested_replies - - suggested_replies - custom_view: "{}" - files: - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - reactions: - - updated_at: 9 - user_ids: - - user_ids - - user_ids - key: key - - updated_at: 9 - user_ids: - - user_ids - - user_ids - key: key - user: - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - user_last_read: 3 + last_message: null + user_last_read: 1 is_discoverable: true is_muted: true joined_member_count: 5 @@ -7539,11 +7024,11 @@ components: require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -7556,18 +7041,18 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 + last_seen_at: 3 - metadata: "{}" is_active: true is_blocking_me: true require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -7580,8 +7065,8 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 - max_length_message: 6 + last_seen_at: 3 + max_length_message: 2 my_role: "" inviter: metadata: "{}" @@ -7593,13 +7078,13 @@ components: nickname: nickname is_blocked_by_me: true push_trigger_option: null - member_count: 8 - message_survival_seconds: 1 + member_count: 7 + message_survival_seconds: 7 has_ai_bot: true cover_url: cover_url is_ephemeral: true is_exclusive: true - unread_mention_count: 5 + unread_mention_count: 6 joined_ts: 5 created_by: metadata: "{}" @@ -7611,7 +7096,7 @@ components: nickname: nickname is_blocked_by_me: true has_bot: true - unread_message_count: 6 + unread_message_count: 7 channel_url: channel_url is_broadcast: true hidden_state: hidden_allow_auto_unhide @@ -7620,17 +7105,17 @@ components: is_public: true name: name read_receipt: - key: 2 + key: 1 sms_fallback: exclude_user_ids: - exclude_user_ids - exclude_user_ids - wait_seconds: 6 + wait_seconds: 1 ignore_profanity_filter: true delivery_receipt: "{}" is_access_code_required: true - ts_message_offset: 6 - ts: 3 + ts_message_offset: 1 + ts: 4 properties: channels: items: @@ -7668,11 +7153,11 @@ components: require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -7685,18 +7170,18 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 + last_seen_at: 3 - metadata: "{}" is_active: true is_blocking_me: true require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -7709,7 +7194,7 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 + last_seen_at: 3 properties: members: items: @@ -7812,21 +7297,8 @@ components: toggle_button_type: toggle_button_type toggle_button_url: toggle_button_url auto_open: true - ai: - feedback: true - top_p: 5 - system_message: system_message - frequency_penalty: 0 - max_tokens: 6 - stream: true - presence_penalty: 1 - temperature: 5.962133916683182 - backend: backend - model: model - instruction_mode: "" - system_message_for_context_prefix: system_message_for_context_prefix - created_at: 7 - channel_invitation_preference: 2 + created_at: 6 + channel_invitation_preference: 0 first_messages: - data: suggested_replies: @@ -7866,21 +7338,8 @@ components: toggle_button_type: toggle_button_type toggle_button_url: toggle_button_url auto_open: true - ai: - feedback: true - top_p: 5 - system_message: system_message - frequency_penalty: 0 - max_tokens: 6 - stream: true - presence_penalty: 1 - temperature: 5.962133916683182 - backend: backend - model: model - instruction_mode: "" - system_message_for_context_prefix: system_message_for_context_prefix - created_at: 7 - channel_invitation_preference: 2 + created_at: 6 + channel_invitation_preference: 0 first_messages: - data: suggested_replies: @@ -7907,116 +7366,375 @@ components: next: type: string type: object - sendABotMessageResponse: - $ref: '#/components/schemas/Sendbird.MessageResponse' - createABotResponse: + viewBotByIdResponse: example: show_member: true enable_mark_as_read: true is_privacy_mode: true bot_callback_url: bot_callback_url bot: - feedback: true bot_profile_url: bot_profile_url bot_userid: bot_userid bot_metadata: "{}" bot_type: bot_type - bot_nickname: bot_nickname bot_token: bot_token - bot_require_auth_for_profile_image: true - ai_agent_type: ai_agent_type - bot_style: - color: - accent_color: accent_color - bot_message_color: bot_message_color - theme: theme - toggle_button_type: toggle_button_type - toggle_button_url: toggle_button_url - auto_open: true - created_at: 6 + bot_nickname: bot_nickname channel_invitation_preference: 0 properties: bot: - $ref: '#/components/schemas/createABotResponse_bot' + $ref: '#/components/schemas/viewBotByIdResponse_bot' bot_callback_url: type: string - bot_style: - $ref: '#/components/schemas/createABotResponse_bot_style' - channel_invitation_preference: - type: integer - created_at: - format: int64 - type: integer enable_mark_as_read: type: boolean is_privacy_mode: type: boolean show_member: type: boolean - required: - - bot + channel_invitation_preference: + type: integer type: object - scheduleAnAnnouncementResponse: + updateBotByIdResponse: example: - create_channel_options: - cover_url: cover_url - data: data - custom_type: custom_type - name: name - distinct: true - end_at: 6 - enable_push: true - mark_as_read: true - target_at: target_at - unique_id: unique_id - target_user_count: 2 - announcement_group: announcement_group - sent_channel_count: 7 - sent_user_count: 9 - scheduled_at: 2 - open_count: 5 - message: - message_retention_hour: 1 - data: data - custom_type: custom_type - user_id: user_id - type: type - content: content - priority: priority - target_channel_count: 3 - target_channel_type: target_channel_type - completed_at: 0 - cease_at: cease_at - resume_at: resume_at - send_to_frozen_channels: true - target_custom_type: target_custom_type - create_channel: true - open_rate: 5.637376656633329 - status: status + show_member: true + enable_mark_as_read: true + is_privacy_mode: true + bot_callback_url: bot_callback_url + bot: + bot_profile_url: bot_profile_url + bot_userid: bot_userid + bot_metadata: "{}" + bot_type: bot_type + bot_token: bot_token + bot_nickname: bot_nickname + channel_invitation_preference: 0 properties: - announcement_group: - type: string - cease_at: + bot: + $ref: '#/components/schemas/viewBotByIdResponse_bot' + bot_callback_url: type: string - completed_at: - format: int64 - type: integer - create_channel: + enable_mark_as_read: type: boolean - create_channel_options: - $ref: '#/components/schemas/scheduleAnAnnouncement_request_create_channel_options' - enable_push: + is_privacy_mode: type: boolean - end_at: - format: int64 - type: integer - mark_as_read: + show_member: type: boolean - message: - $ref: '#/components/schemas/scheduleAnAnnouncementResponse_message' - open_count: + channel_invitation_preference: type: integer - open_rate: + type: object + sendABotMessageResponse: + example: + message: + data: data + message_events: + update_last_message: true + update_mention_count: true + send_push_notification: send_push_notification + update_unread_count: true + custom_type: custom_type + is_reply_to_channel: true + created_at: 7 + is_removed: true + type: type + req_id: req_id + file: "{}" + updated_at: 3 + translations: "{}" + thread_info: "{}" + mentioned_users: + - metadata: "{}" + require_auth_for_profile_image: true + is_active: true + role: "" + user_id: user_id + profile_url: profile_url + nickname: nickname + is_blocked_by_me: true + - metadata: "{}" + require_auth_for_profile_image: true + is_active: true + role: "" + user_id: user_id + profile_url: profile_url + nickname: nickname + is_blocked_by_me: true + channel_type: channel_type + message_survival_seconds: 9 + silent: true + parent_message_id: 4 + parent_message_info: + file: + file_name: file_name + file_type: file_type + require_auth: true + thumbnails: + - real_width: 1 + width: 1 + plain_url: plain_url + real_height: 1 + url: url + height: 7 + - real_width: 1 + width: 1 + plain_url: plain_url + real_height: 1 + url: url + height: 7 + url: url + file_size: 4 + custom_type: custom_type + files: + - file_name: file_name + file_type: file_type + require_auth: true + thumbnails: + - real_width: 1 + width: 1 + plain_url: plain_url + real_height: 1 + url: url + height: 7 + - real_width: 1 + width: 1 + plain_url: plain_url + real_height: 1 + url: url + height: 7 + url: url + file_size: 4 + - file_name: file_name + file_type: file_type + require_auth: true + thumbnails: + - real_width: 1 + width: 1 + plain_url: plain_url + real_height: 1 + url: url + height: 7 + - real_width: 1 + width: 1 + plain_url: plain_url + real_height: 1 + url: url + height: 7 + url: url + file_size: 4 + message: message + type: type + user: + metadata: "{}" + is_active: true + preferred_languages: + - preferred_languages + - preferred_languages + require_auth_for_profile_image: true + unread_channel_count: 6 + discovery_keys: + - discovery_keys + - discovery_keys + profile_url: profile_url + is_created: true + created_at: 9 + has_ever_logged_in: true + locale: locale + unread_message_count: 8 + access_token: access_token + is_shadow_blocked: true + user_id: user_id + nickname: nickname + phone_number: phone_number + is_online: true + state: "" + is_hide_me_from_friends: true + last_seen_at: 9 + ts: 5 + require_auth: true + message_id: 1 + sorted_metaarray: + - value: + - value + - value + key: key + - value: + - value + - value + key: key + mention_type: mention_type + message: message + channel_url: channel_url + is_op_msg: true + message_retention_hour: 6 + extended_message_payload: null + files: + - file_name: file_name + file_type: file_type + require_auth: true + thumbnails: + - real_width: 1 + width: 1 + plain_url: plain_url + real_height: 1 + url: url + height: 7 + - real_width: 1 + width: 1 + plain_url: plain_url + real_height: 1 + url: url + height: 7 + url: url + file_size: 4 + - file_name: file_name + file_type: file_type + require_auth: true + thumbnails: + - real_width: 1 + width: 1 + plain_url: plain_url + real_height: 1 + url: url + height: 7 + - real_width: 1 + width: 1 + plain_url: plain_url + real_height: 1 + url: url + height: 7 + url: url + file_size: 4 + reactions: + - updated_at: 2 + user_ids: + - user_ids + - user_ids + key: key + - updated_at: 2 + user_ids: + - user_ids + - user_ids + key: key + user: + metadata: "{}" + require_auth_for_profile_image: true + is_active: true + role: "" + user_id: user_id + profile_url: profile_url + nickname: nickname + is_blocked_by_me: true + properties: + message: + $ref: '#/components/schemas/Sendbird.MessageResponse' + type: object + createABotResponse: + example: + show_member: true + enable_mark_as_read: true + is_privacy_mode: true + bot_callback_url: bot_callback_url + bot: + feedback: true + bot_profile_url: bot_profile_url + bot_userid: bot_userid + bot_metadata: "{}" + bot_type: bot_type + bot_nickname: bot_nickname + bot_token: bot_token + bot_require_auth_for_profile_image: true + ai_agent_type: ai_agent_type + bot_style: + color: + accent_color: accent_color + bot_message_color: bot_message_color + theme: theme + toggle_button_type: toggle_button_type + toggle_button_url: toggle_button_url + auto_open: true + created_at: 6 + channel_invitation_preference: 0 + properties: + bot: + $ref: '#/components/schemas/createABotResponse_bot' + bot_callback_url: + type: string + bot_style: + $ref: '#/components/schemas/listBotsResponse_bots_inner_bot_style' + channel_invitation_preference: + type: integer + created_at: + format: int64 + type: integer + enable_mark_as_read: + type: boolean + is_privacy_mode: + type: boolean + show_member: + type: boolean + required: + - bot + type: object + scheduleAnAnnouncementResponse: + example: + create_channel_options: + cover_url: cover_url + data: data + custom_type: custom_type + name: name + distinct: true + end_at: 6 + enable_push: true + mark_as_read: true + target_at: target_at + unique_id: unique_id + target_user_count: 2 + announcement_group: announcement_group + sent_channel_count: 7 + sent_user_count: 9 + scheduled_at: 2 + open_count: 5 + message: + message_retention_hour: 1 + data: data + custom_type: custom_type + user_id: user_id + type: type + content: content + priority: priority + target_channel_count: 3 + target_channel_type: target_channel_type + completed_at: 0 + cease_at: cease_at + resume_at: resume_at + send_to_frozen_channels: true + target_custom_type: target_custom_type + create_channel: true + open_rate: 5.637376656633329 + status: status + properties: + announcement_group: + type: string + cease_at: + type: string + completed_at: + format: int64 + type: integer + create_channel: + type: boolean + create_channel_options: + $ref: '#/components/schemas/scheduleAnAnnouncement_request_create_channel_options' + enable_push: + type: boolean + end_at: + format: int64 + type: integer + mark_as_read: + type: boolean + message: + $ref: '#/components/schemas/scheduleAnAnnouncementResponse_message' + open_count: + type: integer + open_rate: type: number priority: type: string @@ -8138,56 +7856,50 @@ components: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 + last_seen_at: 9 - metadata: "{}" is_active: true preferred_languages: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 + last_seen_at: 9 properties: users: items: @@ -8206,56 +7918,50 @@ components: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 + last_seen_at: 9 - metadata: "{}" is_active: true preferred_languages: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 + last_seen_at: 9 properties: users: items: @@ -8285,56 +7991,50 @@ components: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 + last_seen_at: 9 - metadata: "{}" is_active: true preferred_languages: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 + last_seen_at: 9 properties: next: type: string @@ -8598,213 +8298,8 @@ components: is_hidden: true created_at: 0 is_super: true - last_message: - data: data - message_events: - update_last_message: true - update_mention_count: true - send_push_notification: send_push_notification - update_unread_count: true - custom_type: custom_type - is_reply_to_channel: true - created_at: 1 - is_removed: true - type: type - req_id: req_id - file: "{}" - updated_at: 7 - translations: "{}" - thread_info: "{}" - mentioned_users: - - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - channel_type: channel_type - message_survival_seconds: 2 - silent: true - parent_message_id: 7 - parent_message_info: - file: - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - custom_type: custom_type - files: - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - message: message - type: type - user: - metadata: "{}" - is_active: true - preferred_languages: - - preferred_languages - - preferred_languages - require_auth_for_profile_image: true - unread_channel_count: 9 - discovery_keys: - - discovery_keys - - discovery_keys - profile_url: profile_url - is_created: true - created_at: 4 - has_ever_logged_in: true - locale: locale - unread_message_count: 9 - access_token: access_token - is_shadow_blocked: true - user_id: user_id - nickname: nickname - session_tokens: - - session_tokens - - session_tokens - phone_number: phone_number - is_online: true - state: "" - is_hide_me_from_friends: true - last_seen_at: 5 - ts: 1 - require_auth: true - message_id: 6 - sorted_metaarray: - - value: - - value - - value - key: key - - value: - - value - - value - key: key - mention_type: mention_type - message: message - channel_url: channel_url - is_op_msg: true - message_retention_hour: 1 - extended_message_payload: - suggested_replies: - - suggested_replies - - suggested_replies - custom_view: "{}" - files: - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - reactions: - - updated_at: 9 - user_ids: - - user_ids - - user_ids - key: key - - updated_at: 9 - user_ids: - - user_ids - - user_ids - key: key - user: - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - user_last_read: 3 + last_message: null + user_last_read: 1 is_discoverable: true is_muted: true joined_member_count: 5 @@ -8817,11 +8312,11 @@ components: require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -8834,18 +8329,18 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 + last_seen_at: 3 - metadata: "{}" is_active: true is_blocking_me: true require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -8858,8 +8353,8 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 - max_length_message: 6 + last_seen_at: 3 + max_length_message: 2 my_role: "" inviter: metadata: "{}" @@ -8871,13 +8366,13 @@ components: nickname: nickname is_blocked_by_me: true push_trigger_option: null - member_count: 8 - message_survival_seconds: 1 + member_count: 7 + message_survival_seconds: 7 has_ai_bot: true cover_url: cover_url is_ephemeral: true is_exclusive: true - unread_mention_count: 5 + unread_mention_count: 6 joined_ts: 5 created_by: metadata: "{}" @@ -8889,7 +8384,7 @@ components: nickname: nickname is_blocked_by_me: true has_bot: true - unread_message_count: 6 + unread_message_count: 7 channel_url: channel_url is_broadcast: true hidden_state: hidden_allow_auto_unhide @@ -8898,16 +8393,16 @@ components: is_public: true name: name read_receipt: - key: 2 + key: 1 sms_fallback: exclude_user_ids: - exclude_user_ids - exclude_user_ids - wait_seconds: 6 + wait_seconds: 1 ignore_profanity_filter: true delivery_receipt: "{}" is_access_code_required: true - ts_message_offset: 6 + ts_message_offset: 1 - metadata: "{}" count_preference: "false" data: data @@ -8919,213 +8414,8 @@ components: is_hidden: true created_at: 0 is_super: true - last_message: - data: data - message_events: - update_last_message: true - update_mention_count: true - send_push_notification: send_push_notification - update_unread_count: true - custom_type: custom_type - is_reply_to_channel: true - created_at: 1 - is_removed: true - type: type - req_id: req_id - file: "{}" - updated_at: 7 - translations: "{}" - thread_info: "{}" - mentioned_users: - - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - channel_type: channel_type - message_survival_seconds: 2 - silent: true - parent_message_id: 7 - parent_message_info: - file: - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - custom_type: custom_type - files: - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - message: message - type: type - user: - metadata: "{}" - is_active: true - preferred_languages: - - preferred_languages - - preferred_languages - require_auth_for_profile_image: true - unread_channel_count: 9 - discovery_keys: - - discovery_keys - - discovery_keys - profile_url: profile_url - is_created: true - created_at: 4 - has_ever_logged_in: true - locale: locale - unread_message_count: 9 - access_token: access_token - is_shadow_blocked: true - user_id: user_id - nickname: nickname - session_tokens: - - session_tokens - - session_tokens - phone_number: phone_number - is_online: true - state: "" - is_hide_me_from_friends: true - last_seen_at: 5 - ts: 1 - require_auth: true - message_id: 6 - sorted_metaarray: - - value: - - value - - value - key: key - - value: - - value - - value - key: key - mention_type: mention_type - message: message - channel_url: channel_url - is_op_msg: true - message_retention_hour: 1 - extended_message_payload: - suggested_replies: - - suggested_replies - - suggested_replies - custom_view: "{}" - files: - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - - file_name: file_name - file_type: file_type - require_auth: true - thumbnails: - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - - real_width: 7 - width: 1 - plain_url: plain_url - real_height: 4 - url: url - height: 2 - url: url - file_size: 3 - reactions: - - updated_at: 9 - user_ids: - - user_ids - - user_ids - key: key - - updated_at: 9 - user_ids: - - user_ids - - user_ids - key: key - user: - metadata: "{}" - require_auth_for_profile_image: true - is_active: true - role: "" - user_id: user_id - profile_url: profile_url - nickname: nickname - is_blocked_by_me: true - user_last_read: 3 + last_message: null + user_last_read: 1 is_discoverable: true is_muted: true joined_member_count: 5 @@ -9138,11 +8428,11 @@ components: require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -9155,18 +8445,18 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 + last_seen_at: 3 - metadata: "{}" is_active: true is_blocking_me: true require_auth_for_profile_image: true role: "" profile_url: profile_url - muted_end_at: 3 + muted_end_at: 2 delivered_ts: 9 do_not_disturb: true is_muted: true - read_ts: 6 + read_ts: 4 is_blocked_by_me: true friend_name: friend_name friend_discovery_key: @@ -9179,8 +8469,8 @@ components: is_online: true push_trigger_option: null state: "" - last_seen_at: 6 - max_length_message: 6 + last_seen_at: 3 + max_length_message: 2 my_role: "" inviter: metadata: "{}" @@ -9192,13 +8482,13 @@ components: nickname: nickname is_blocked_by_me: true push_trigger_option: null - member_count: 8 - message_survival_seconds: 1 + member_count: 7 + message_survival_seconds: 7 has_ai_bot: true cover_url: cover_url is_ephemeral: true is_exclusive: true - unread_mention_count: 5 + unread_mention_count: 6 joined_ts: 5 created_by: metadata: "{}" @@ -9210,7 +8500,7 @@ components: nickname: nickname is_blocked_by_me: true has_bot: true - unread_message_count: 6 + unread_message_count: 7 channel_url: channel_url is_broadcast: true hidden_state: hidden_allow_auto_unhide @@ -9219,16 +8509,16 @@ components: is_public: true name: name read_receipt: - key: 2 + key: 1 sms_fallback: exclude_user_ids: - exclude_user_ids - exclude_user_ids - wait_seconds: 6 + wait_seconds: 1 ignore_profanity_filter: true delivery_receipt: "{}" is_access_code_required: true - ts_message_offset: 6 + ts_message_offset: 1 ts: 0 properties: channels: @@ -9323,12 +8613,12 @@ components: update_unread_count: true custom_type: custom_type is_reply_to_channel: true - created_at: 1 + created_at: 7 is_removed: true type: type req_id: req_id file: "{}" - updated_at: 7 + updated_at: 3 translations: "{}" thread_info: "{}" mentioned_users: @@ -9349,67 +8639,67 @@ components: nickname: nickname is_blocked_by_me: true channel_type: channel_type - message_survival_seconds: 2 + message_survival_seconds: 9 silent: true - parent_message_id: 7 + parent_message_id: 4 parent_message_info: file: file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 custom_type: custom_type files: - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 message: message type: type user: @@ -9419,31 +8709,28 @@ components: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 - ts: 1 + last_seen_at: 9 + ts: 5 require_auth: true - message_id: 6 + message_id: 1 sorted_metaarray: - value: - value @@ -9457,56 +8744,52 @@ components: message: message channel_url: channel_url is_op_msg: true - message_retention_hour: 1 - extended_message_payload: - suggested_replies: - - suggested_replies - - suggested_replies - custom_view: "{}" + message_retention_hour: 6 + extended_message_payload: null files: - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 reactions: - - updated_at: 9 + - updated_at: 2 user_ids: - user_ids - user_ids key: key - - updated_at: 9 + - updated_at: 2 user_ids: - user_ids - user_ids @@ -9528,12 +8811,12 @@ components: update_unread_count: true custom_type: custom_type is_reply_to_channel: true - created_at: 1 + created_at: 7 is_removed: true type: type req_id: req_id file: "{}" - updated_at: 7 + updated_at: 3 translations: "{}" thread_info: "{}" mentioned_users: @@ -9554,67 +8837,67 @@ components: nickname: nickname is_blocked_by_me: true channel_type: channel_type - message_survival_seconds: 2 + message_survival_seconds: 9 silent: true - parent_message_id: 7 + parent_message_id: 4 parent_message_info: file: file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 custom_type: custom_type files: - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 message: message type: type user: @@ -9624,31 +8907,28 @@ components: - preferred_languages - preferred_languages require_auth_for_profile_image: true - unread_channel_count: 9 + unread_channel_count: 6 discovery_keys: - discovery_keys - discovery_keys profile_url: profile_url is_created: true - created_at: 4 + created_at: 9 has_ever_logged_in: true locale: locale - unread_message_count: 9 + unread_message_count: 8 access_token: access_token is_shadow_blocked: true user_id: user_id nickname: nickname - session_tokens: - - session_tokens - - session_tokens phone_number: phone_number is_online: true state: "" is_hide_me_from_friends: true - last_seen_at: 5 - ts: 1 + last_seen_at: 9 + ts: 5 require_auth: true - message_id: 6 + message_id: 1 sorted_metaarray: - value: - value @@ -9662,56 +8942,52 @@ components: message: message channel_url: channel_url is_op_msg: true - message_retention_hour: 1 - extended_message_payload: - suggested_replies: - - suggested_replies - - suggested_replies - custom_view: "{}" + message_retention_hour: 6 + extended_message_payload: null files: - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 - file_name: file_name file_type: file_type require_auth: true thumbnails: - - real_width: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 - - real_width: 7 + height: 7 + - real_width: 1 width: 1 plain_url: plain_url - real_height: 4 + real_height: 1 url: url - height: 2 + height: 7 url: url - file_size: 3 + file_size: 4 reactions: - - updated_at: 9 + - updated_at: 2 user_ids: - user_ids - user_ids key: key - - updated_at: 9 + - updated_at: 2 user_ids: - user_ids - user_ids @@ -10078,14 +9354,111 @@ components: type: string dedup_id: type: string - sorted_metaarray: - items: - type: object - type: array + sorted_metaarray: + items: + type: object + type: array + required: + - message + - message_type + - timestamp + type: object + SendABotMessageRequest: + properties: + message_type: + description: "Specifies the type of message to send. MESG for text message,\ + \ FILE for file message." + enum: + - MESG + - FILE + type: string + channel_url: + description: Specifies the URL of the channel to send the message to. + type: string + message: + description: Specifies the content of the message. * This property is required + when message_type is MESG. + type: string + mentioned: + description: '* This property is available when message_type is MESG.' + items: + type: string + type: array + extended_message_payload: + $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload' + file: + description: "When sending a single file with a message, specifies the data\ + \ of the file to upload to the Sendbird server in raw binary format. When\ + \ sending a request containing a file, change the value of the content-type\ + \ header to multipart/form-data;boundary={your_unique_boundary_string}\ + \ in the request. * This property is required when message_type is FILE.\ + \ * This doesn't allow a converted base64-encoded string from a file as\ + \ its value." + format: binary + type: string + x-ts-type: FileCompat + require_auth: + description: "Determines whether to require an authentication key to verify\ + \ if the file is being properly accessed. Only the user who uploaded the\ + \ file or users who are in the channel where the file was uploaded should\ + \ have access. The authentication key managed internally by the Sendbird\ + \ system is generated every time a user logs in to the Sendbird server\ + \ and is valid for three days starting from the last login. If set to\ + \ false, Sendbird tries to access a file without any key. To access encrypted\ + \ files, such as the files in the Sendbird server which are by default\ + \ encrypted, the property must be set to true. (Default: false) The require_auth\ + \ parameter only works if the file or URL is managed by Sendbird, which\ + \ means that when you upload files using multipart format or provide URLs\ + \ that point to the files hosted on the Sendbird server. However, if the\ + \ file is hosted on a server or service that is not managed by Sendbird,\ + \ access control and authentication for the file should be handled by\ + \ the respective server or service hosting the file. * This property is\ + \ available when message_type is FILE." + type: boolean + mention_type: + description: '* This property is available when message_type is FILE.' + enum: + - users + - channel + type: string + mentioned_user_ids: + description: '* This property is available when message_type is FILE.' + items: + type: string + type: array + is_silent: + description: '* This property is available when message_type is FILE.' + type: boolean + sorted_metaarray: + $ref: '#/components/schemas/Sendbird.SortedMetaarray' + apns_bundle_id: + description: '* This property is available when message_type is FILE.' + type: string + apple_critical_alert_options: + description: '* This property is available when message_type is FILE.' + type: object + sound: + description: '* This property is available when message_type is FILE.' + type: string + volume: + description: '* This property is available when message_type is FILE.' + type: number + created_at: + format: int64 + type: integer + custom_type: + type: string + data: + type: string + dedup_id: + type: string + mark_as_read: + type: boolean + send_push: + type: boolean required: - - message + - channel_url - message_type - - timestamp type: object scheduleAnAnnouncement_request_create_channel_options: example: @@ -10165,8 +9538,10 @@ components: createAGroupChannel_request: properties: access_code: + nullable: true type: string block_sdk_user_channel_join: + nullable: true type: boolean channel_url: type: string @@ -10228,6 +9603,7 @@ components: updateAGroupChannel_request: properties: access_code: + nullable: true type: string cover_file: format: binary @@ -10254,6 +9630,7 @@ components: acceptAnInvitation_request: properties: access_code: + nullable: true type: string user_id: type: string @@ -10342,6 +9719,7 @@ components: description: "This property should be specified if the public group channel\ \ to join requires an access code to users, which means that the is_access_code_required\ \ property of the channel resource is true." + nullable: true type: string required: - user_id @@ -10491,34 +9869,55 @@ components: - bot_userid - is_privacy_mode type: object - sendABotMessage_request: + updateBotByIdData: properties: - channel_url: + bot_userid: + description: Specifies the ID of the bot to update. type: string - created_at: - format: int64 - type: integer - custom_type: + bot_nickname: + description: Specifies the bot's nickname. The length is limited to 80 characters. type: string - data: + bot_profile_url: + description: "Specifies the URL of the bot's profile image. The size is\ + \ limited to 2,048 characters." type: string - dedup_id: + bot_callback_url: + description: "Specifies the server URL where bot is located to receive all\ + \ events, requests, and data forwarded from an application. For security\ + \ reasons, it is highly recommended that you use an SSL server. The length\ + \ is limited to 1,024 characters." type: string - extended_message_payload: - $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload' - mark_as_read: + is_privacy_mode: + description: "In the channels of where the bot is a member, determines whether\ + \ to only forward the messages with the specific conditions to the bot\ + \ or forword all messages to the bot, for privacy concerns. If set to\ + \ true, only messages that start with a '/' or mention the bot_userid\ + \ are forwarded to the bot. If set to false, all messages are forwarded." type: boolean - mentioned: - items: - type: string - type: array - message: - type: string - send_push: + enable_mark_as_read: + description: "Determines whether to mark the bot's message as read upon\ + \ sending it. (Default: true)" + type: boolean + show_member: + description: "Determines whether to include information about the members\ + \ of each channel in a callback response. (Default: false)" type: boolean + channel_invitation_preference: + description: "Determines whether the bot automatically joins the channel\ + \ when invited or joins the channel after manually accepting an invitation\ + \ using the API. If set to 0, it automatically joins the channel. If set\ + \ to 1, the latter takes place. (Default: 0)" + type: integer required: - - channel_url - - message + - bot_callback_url + - bot_nickname + - bot_profile_url + - bot_userid + - channel_invitation_preference + - enable_mark_as_read + - is_privacy_mode + - show_member + title: updateBotByIdData type: object joinChannels_request: properties: @@ -10534,12 +9933,15 @@ components: discovery_keys: items: type: string + nullable: true type: array issue_access_token: type: boolean metadata: + nullable: true type: object nickname: + nullable: true type: string profile_file: description: "Specifies the file of the user's profile image. An acceptable\ @@ -10549,6 +9951,7 @@ components: format: binary type: string profile_url: + default: "" type: string user_id: type: string @@ -10589,6 +9992,7 @@ components: discovery_keys: items: type: string + nullable: true type: array is_active: type: boolean @@ -10600,15 +10004,18 @@ components: leave_all_when_deactivated: type: boolean nickname: + nullable: true type: string preferred_languages: items: type: string + nullable: true type: array profile_file: format: binary type: string profile_url: + nullable: true type: string type: object chooseAPushNotificationContentTemplate_request: @@ -10714,6 +10121,7 @@ components: updateAChannelMetadata_request: properties: metadata: + nullable: true type: object upsert: type: boolean @@ -10725,6 +10133,7 @@ components: include_ts: type: boolean metadata: + nullable: true type: object required: - metadata @@ -10736,11 +10145,142 @@ components: user_id: type: string type: object - sendAMessage_request: + sendAMessage_request_push_message_template_oneOf: + properties: + title: + description: "Specifies the title of the custom push notification template.\ + \ You can customize the title using the variables sender_name and message,\ + \ which can be later replaced with corresponding real values when the\ + \ template is sent out as a notification request to FCM, HMS, or APNs." + type: string + body: + description: "Specifies the body of the custom push notification template.\ + \ You can customize the body using the variables sender_name and message,\ + \ which can be later replaced with corresponding real values when the\ + \ template is sent out as a notification request to FCM, HMS, or APNs.\n\ + If not specified, the body by default contains the message content inside\ + \ the message property." + type: string + type: object + sendAMessage_request_push_message_template: + description: "Specifies the content of a push notification customized for the\ + \ message. This property only applies to group channels.\nTo choose from a\ + \ push notification content template within your Sendbird application, specify\ + \ a string value of default or alternative.\nTo create a new push notification\ + \ content tailored to the message being sent, use the properties listed below\ + \ to specify its title and body in a nested object format.\n* This property\ + \ overrides the application's default push notification content template or\ + \ the preference chosen by the user. * This property is available when message_type\ + \ is MESG or ADMM." oneOf: - - $ref: '#/components/schemas/sendTextMessageRequestBody' - - $ref: '#/components/schemas/sendFileMessageRequestBody' - - $ref: '#/components/schemas/sendAdminMessageRequestBody' + - type: string + - $ref: '#/components/schemas/sendAMessage_request_push_message_template_oneOf' + type: string + sendAMessage_request: + properties: + message_type: + enum: + - MESG + - ADMM + - FILE + type: string + user_id: + type: string + message: + description: |- + Specifies the content of the message. + * This property is required when message_type is MESG or ADMM. + type: string + push_message_template: + $ref: '#/components/schemas/sendAMessage_request_push_message_template' + poll_id: + description: |- + Specifies the ID of the poll to be associated with the message. + * This property is only available for group channels and message_type is MESG. + type: integer + files: + $ref: '#/components/schemas/Sendbird.File' + require_auth: + description: "Determines whether to require an authentication key to verify\ + \ if the file is being properly accessed. Only the user who uploaded the\ + \ file or users who are in the channel where the file was uploaded should\ + \ have access. The authentication key managed internally by the Sendbird\ + \ system is generated every time a user logs in to the Sendbird server\ + \ and is valid for three days starting from the last login. If set to\ + \ false, Sendbird tries to access a file without any key. To access encrypted\ + \ files, such as the files in the Sendbird server which are by default\ + \ encrypted, the property must be set to true. (Default: false)\nThe require_auth\ + \ parameter only works if the file or URL is managed by Sendbird, which\ + \ means that when you upload files using multipart format or provide URLs\ + \ that point to the files hosted on the Sendbird server. However, if the\ + \ file is hosted on a server or service that is not managed by Sendbird,\ + \ access control and authentication for the file should be handled by\ + \ the respective server or service hosting the file." + type: boolean + thumbnail1: + description: |- + Specifies the URL of the thumbnail of the file. + * This property is available when message_type is FILE. + type: string + thumbnail2: + description: |- + Specifies the URL of the thumbnail of the file. + * This property is available when message_type is FILE. + type: string + thumbnail3: + description: |- + Specifies the URL of the thumbnail of the file. + * This property is available when message_type is FILE. + type: string + thumbnails: + description: |- + Specifies the URL of the thumbnail of the file. + * This property is available when message_type is FILE. + items: + type: string + type: array + apns_bundle_id: + type: string + apple_critical_alert_options: + type: object + created_at: + format: int64 + type: integer + custom_type: + type: string + data: + type: string + dedup_id: + type: string + include_poll_details: + type: boolean + is_silent: + type: boolean + mark_as_read: + type: boolean + mention_type: + enum: + - users + - channel + type: string + mentioned_user_ids: + items: + type: string + type: array + send_push: + type: boolean + sorted_metaarray: + items: + $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + type: array + sound: + type: string + volume: + type: number + required: + - message_type + - user_id + type: object updateExtraDataInAMessage_request: properties: mode: @@ -10817,6 +10357,12 @@ components: update_last_message: type: boolean type: object + Sendbird_MessageResponse_extended_message_payload: + oneOf: + - $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload' + Sendbird_GroupChannel_last_message: + oneOf: + - $ref: '#/components/schemas/Sendbird.MessageResponse' Sendbird_GroupChannelDetail_channel: example: cover_url: cover_url @@ -10858,46 +10404,6 @@ components: $ref: '#/components/schemas/Sendbird.User' type: array type: object - listBotsResponse_bots_inner_ai: - example: - feedback: true - top_p: 5 - system_message: system_message - frequency_penalty: 0 - max_tokens: 6 - stream: true - presence_penalty: 1 - temperature: 5.962133916683182 - backend: backend - model: model - instruction_mode: "" - system_message_for_context_prefix: system_message_for_context_prefix - properties: - backend: - type: string - feedback: - type: boolean - frequency_penalty: - type: integer - instruction_mode: - nullable: true - max_tokens: - type: integer - model: - type: string - presence_penalty: - type: integer - stream: - type: boolean - system_message: - type: string - system_message_for_context_prefix: - type: string - temperature: - type: number - top_p: - type: integer - type: object listBotsResponse_bots_inner_bot: example: bot_profile_url: bot_profile_url @@ -11029,21 +10535,8 @@ components: toggle_button_type: toggle_button_type toggle_button_url: toggle_button_url auto_open: true - ai: - feedback: true - top_p: 5 - system_message: system_message - frequency_penalty: 0 - max_tokens: 6 - stream: true - presence_penalty: 1 - temperature: 5.962133916683182 - backend: backend - model: model - instruction_mode: "" - system_message_for_context_prefix: system_message_for_context_prefix - created_at: 7 - channel_invitation_preference: 2 + created_at: 6 + channel_invitation_preference: 0 first_messages: - data: suggested_replies: @@ -11063,8 +10556,6 @@ components: message: message enabled: true properties: - ai: - $ref: '#/components/schemas/listBotsResponse_bots_inner_ai' bot: $ref: '#/components/schemas/listBotsResponse_bots_inner_bot' bot_callback_url: @@ -11089,6 +10580,28 @@ components: show_member: type: boolean type: object + viewBotByIdResponse_bot: + example: + bot_profile_url: bot_profile_url + bot_userid: bot_userid + bot_metadata: "{}" + bot_type: bot_type + bot_token: bot_token + bot_nickname: bot_nickname + properties: + bot_token: + type: string + bot_profile_url: + type: string + bot_userid: + type: string + bot_nickname: + type: string + bot_type: + type: string + bot_metadata: + type: object + type: object createABotResponse_bot: example: feedback: true @@ -11123,27 +10636,6 @@ components: required: - bot_userid type: object - createABotResponse_bot_style: - example: - color: - accent_color: accent_color - bot_message_color: bot_message_color - theme: theme - toggle_button_type: toggle_button_type - toggle_button_url: toggle_button_url - auto_open: true - properties: - auto_open: - type: boolean - color: - $ref: '#/components/schemas/listBotsResponse_bots_inner_bot_style_color' - toggle_button_type: - nullable: true - type: string - toggle_button_url: - nullable: false - type: string - type: object scheduleAnAnnouncementResponse_message: example: message_retention_hour: 1 @@ -11166,23 +10658,6 @@ components: user_id: type: string type: object - sendTextMessageRequestBody_push_message_template_oneOf: - properties: - title: - description: "Specifies the title of the custom push notification template.\ - \ You can customize the title using the variables sender_name and message,\ - \ which can be later replaced with corresponding real values when the\ - \ template is sent out as a notification request to FCM, HMS, or APNs." - type: string - body: - description: "Specifies the body of the custom push notification template.\ - \ You can customize the body using the variables sender_name and message,\ - \ which can be later replaced with corresponding real values when the\ - \ template is sent out as a notification request to FCM, HMS, or APNs.\n\ - If not specified, the body by default contains the message content inside\ - \ the message property." - type: string - type: object sendTextMessageRequestBody_push_message_template: description: "Specifies the content of a push notification customized for the\ \ message. This property only applies to group channels.\nTo choose from a\ @@ -11194,7 +10669,7 @@ components: \ the preference chosen by the user." oneOf: - type: string - - $ref: '#/components/schemas/sendTextMessageRequestBody_push_message_template_oneOf' + - $ref: '#/components/schemas/sendAMessage_request_push_message_template_oneOf' type: string MigrateMessagesRequest_messages_inner: oneOf: diff --git a/build.gradle b/build.gradle index 48146bce..eb1344ab 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'eclipse' apply plugin: 'com.diffplug.spotless' group = 'org.sendbird' -version = '2.0.0' +version = '2.1.1' buildscript { repositories { diff --git a/build.sbt b/build.sbt index c7a9adbc..e15db1b6 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "org.sendbird", name := "sendbird-platform-sdk", - version := "2.0.0", + version := "2.1.1", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), diff --git a/docs/BotApi.md b/docs/BotApi.md index 8216390f..ceea5ed3 100644 --- a/docs/BotApi.md +++ b/docs/BotApi.md @@ -5,11 +5,14 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**createABot**](BotApi.md#createABot) | **POST** /v3/bots | Create a bot | +| [**deleteBotById**](BotApi.md#deleteBotById) | **DELETE** /v3/bots/{bot_userid} | Delete a bot | | [**joinChannels**](BotApi.md#joinChannels) | **POST** /v3/bots/{bot_userid}/channels | Join channels | | [**leaveAGroupChannel**](BotApi.md#leaveAGroupChannel) | **DELETE** /v3/bots/{bot_userid}/channels/{channel_url} | Leave channels - When leaving a specific channel | | [**leaveGroupChannels**](BotApi.md#leaveGroupChannels) | **DELETE** /v3/bots/{bot_userid}/channels | Leave channels - When leaving all channels | | [**listBots**](BotApi.md#listBots) | **GET** /v3/bots | List bots | | [**sendABotMessage**](BotApi.md#sendABotMessage) | **POST** /v3/bots/{bot_userid}/send | Send a bot's message | +| [**updateBotById**](BotApi.md#updateBotById) | **PUT** /v3/bots/{bot_userid} | Update a bot | +| [**viewBotById**](BotApi.md#viewBotById) | **GET** /v3/bots/{bot_userid} | View a bot | @@ -90,6 +93,80 @@ No authorization required | **200** | Successful response | - | +## deleteBotById + +> Object deleteBotById(botUserid).apiToken(apiToken).execute(); + +Delete a bot + +## Delete a bot + +Deletes a bot from an application. + +https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-delete-a-bot +---------------------------- + +### Example + +```java +// Import classes: +import org.sendbird.client.ApiClient; +import org.sendbird.client.ApiException; +import org.sendbird.client.Configuration; +import org.sendbird.client.model.*; +import org.sendbird.client.api.BotApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-APP_ID.sendbird.com"); + + BotApi apiInstance = new BotApi(defaultClient); + String botUserid = "botUserid_example"; // String | + String apiToken = "{{API_TOKEN}}"; // String | + try { + Object result = api.deleteBotById(botUserid) + .apiToken(apiToken) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling BotApi#deleteBotById"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **botUserid** | **String**| | | +| **apiToken** | **String**| | [optional] | + +### Return type + +**Object** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful response | - | + + ## joinChannels > SendbirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).joinChannelsRequest(joinChannelsRequest).execute(); @@ -393,7 +470,7 @@ No authorization required ## sendABotMessage -> SendbirdMessageResponse sendABotMessage(botUserid).apiToken(apiToken).sendABotMessageRequest(sendABotMessageRequest).execute(); +> SendABotMessageResponse sendABotMessage(botUserid).messageType(messageType).channelUrl(channelUrl).apiToken(apiToken).message(message).mentioned(mentioned).extendedMessagePayload(extendedMessagePayload)._file(_file).requireAuth(requireAuth).mentionType(mentionType).mentionedUserIds(mentionedUserIds).isSilent(isSilent).sortedMetaarray(sortedMetaarray).apnsBundleId(apnsBundleId).appleCriticalAlertOptions(appleCriticalAlertOptions).sound(sound).volume(volume).createdAt(createdAt).customType(customType).data(data).dedupId(dedupId).markAsRead(markAsRead).sendPush(sendPush).execute(); Send a bot's message @@ -410,6 +487,8 @@ Description: Specifies the ID of the bot to send a message. ### Example ```java +import java.io.File; +import java.math.BigDecimal; // Import classes: import org.sendbird.client.ApiClient; import org.sendbird.client.ApiException; @@ -424,12 +503,52 @@ public class Example { BotApi apiInstance = new BotApi(defaultClient); String botUserid = "botUserid_example"; // String | (Required) + String messageType = "MESG"; // String | Specifies the type of message to send. MESG for text message, FILE for file message. + String channelUrl = "channelUrl_example"; // String | Specifies the URL of the channel to send the message to. String apiToken = "{{API_TOKEN}}"; // String | - SendABotMessageRequest sendABotMessageRequest = new SendABotMessageRequest(); // SendABotMessageRequest | + String message = "message_example"; // String | Specifies the content of the message. * This property is required when message_type is MESG. + List mentioned = Arrays.asList(); // List | * This property is available when message_type is MESG. + SendbirdExtendedMessagePayload extendedMessagePayload = new SendbirdExtendedMessagePayload(); // SendbirdExtendedMessagePayload | + File _file = new File("/path/to/file"); // File | When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. + Boolean requireAuth = true; // Boolean | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. + String mentionType = "users"; // String | * This property is available when message_type is FILE. + List mentionedUserIds = Arrays.asList(); // List | * This property is available when message_type is FILE. + Boolean isSilent = true; // Boolean | * This property is available when message_type is FILE. + List sortedMetaarray = Arrays.asList(); // List | + String apnsBundleId = "apnsBundleId_example"; // String | * This property is available when message_type is FILE. + Object appleCriticalAlertOptions = null; // Object | * This property is available when message_type is FILE. + String sound = "sound_example"; // String | * This property is available when message_type is FILE. + BigDecimal volume = new BigDecimal(78); // BigDecimal | * This property is available when message_type is FILE. + Long createdAt = 56L; // Long | + String customType = "customType_example"; // String | + String data = "data_example"; // String | + String dedupId = "dedupId_example"; // String | + Boolean markAsRead = true; // Boolean | + Boolean sendPush = true; // Boolean | try { - SendbirdMessageResponse result = api.sendABotMessage(botUserid) + SendABotMessageResponse result = api.sendABotMessage(botUserid) + .messageType(messageType) + .channelUrl(channelUrl) .apiToken(apiToken) - .sendABotMessageRequest(sendABotMessageRequest) + .message(message) + .mentioned(mentioned) + .extendedMessagePayload(extendedMessagePayload) + ._file(_file) + .requireAuth(requireAuth) + .mentionType(mentionType) + .mentionedUserIds(mentionedUserIds) + .isSilent(isSilent) + .sortedMetaarray(sortedMetaarray) + .apnsBundleId(apnsBundleId) + .appleCriticalAlertOptions(appleCriticalAlertOptions) + .sound(sound) + .volume(volume) + .createdAt(createdAt) + .customType(customType) + .data(data) + .dedupId(dedupId) + .markAsRead(markAsRead) + .sendPush(sendPush) .execute(); System.out.println(result); } catch (ApiException e) { @@ -449,12 +568,109 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **botUserid** | **String**| (Required) | | +| **messageType** | **String**| Specifies the type of message to send. MESG for text message, FILE for file message. | [enum: MESG, FILE] | +| **channelUrl** | **String**| Specifies the URL of the channel to send the message to. | | +| **apiToken** | **String**| | [optional] | +| **message** | **String**| Specifies the content of the message. * This property is required when message_type is MESG. | [optional] | +| **mentioned** | **List<String>**| * This property is available when message_type is MESG. | [optional] | +| **extendedMessagePayload** | [**SendbirdExtendedMessagePayload**](SendbirdExtendedMessagePayload.md)| | [optional] | +| **_file** | **File**| When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. | [optional] | +| **requireAuth** | **Boolean**| Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. | [optional] | +| **mentionType** | **String**| * This property is available when message_type is FILE. | [optional] [enum: users, channel] | +| **mentionedUserIds** | **List<String>**| * This property is available when message_type is FILE. | [optional] | +| **isSilent** | **Boolean**| * This property is available when message_type is FILE. | [optional] | +| **sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md)| | [optional] | +| **apnsBundleId** | **String**| * This property is available when message_type is FILE. | [optional] | +| **appleCriticalAlertOptions** | **Object**| * This property is available when message_type is FILE. | [optional] | +| **sound** | **String**| * This property is available when message_type is FILE. | [optional] | +| **volume** | **BigDecimal**| * This property is available when message_type is FILE. | [optional] | +| **createdAt** | **Long**| | [optional] | +| **customType** | **String**| | [optional] | +| **data** | **String**| | [optional] | +| **dedupId** | **String**| | [optional] | +| **markAsRead** | **Boolean**| | [optional] | +| **sendPush** | **Boolean**| | [optional] | + +### Return type + +[**SendABotMessageResponse**](SendABotMessageResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: multipart/form-data +- **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful response | - | + + +## updateBotById + +> UpdateBotByIdResponse updateBotById(botUserid).apiToken(apiToken).updateBotByIdData(updateBotByIdData).execute(); + +Update a bot + +## Update a bot + +Updates information on a bot. + +https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-update-a-bot +---------------------------- + +### Example + +```java +// Import classes: +import org.sendbird.client.ApiClient; +import org.sendbird.client.ApiException; +import org.sendbird.client.Configuration; +import org.sendbird.client.model.*; +import org.sendbird.client.api.BotApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-APP_ID.sendbird.com"); + + BotApi apiInstance = new BotApi(defaultClient); + String botUserid = "botUserid_example"; // String | + String apiToken = "{{API_TOKEN}}"; // String | + UpdateBotByIdData updateBotByIdData = new UpdateBotByIdData(); // UpdateBotByIdData | + try { + UpdateBotByIdResponse result = api.updateBotById(botUserid) + .apiToken(apiToken) + .updateBotByIdData(updateBotByIdData) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling BotApi#updateBotById"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **botUserid** | **String**| | | | **apiToken** | **String**| | [optional] | -| **sendABotMessageRequest** | [**SendABotMessageRequest**](SendABotMessageRequest.md)| | [optional] | +| **updateBotByIdData** | [**UpdateBotByIdData**](UpdateBotByIdData.md)| | [optional] | ### Return type -[**SendbirdMessageResponse**](SendbirdMessageResponse.md) +[**UpdateBotByIdResponse**](UpdateBotByIdResponse.md) ### Authorization @@ -470,3 +686,77 @@ No authorization required |-------------|-------------|------------------| | **200** | Successful response | - | + +## viewBotById + +> ViewBotByIdResponse viewBotById(botUserid).apiToken(apiToken).execute(); + +View a bot + +## View a bot + +Retrieves information on a bot. + +https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-view-a-bot +---------------------------- + +### Example + +```java +// Import classes: +import org.sendbird.client.ApiClient; +import org.sendbird.client.ApiException; +import org.sendbird.client.Configuration; +import org.sendbird.client.model.*; +import org.sendbird.client.api.BotApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api-APP_ID.sendbird.com"); + + BotApi apiInstance = new BotApi(defaultClient); + String botUserid = "botUserid_example"; // String | + String apiToken = "{{API_TOKEN}}"; // String | + try { + ViewBotByIdResponse result = api.viewBotById(botUserid) + .apiToken(apiToken) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling BotApi#viewBotById"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **botUserid** | **String**| | | +| **apiToken** | **String**| | [optional] | + +### Return type + +[**ViewBotByIdResponse**](ViewBotByIdResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful response | - | + diff --git a/docs/CreateABotResponse.md b/docs/CreateABotResponse.md index 4f3550f3..2c219e79 100644 --- a/docs/CreateABotResponse.md +++ b/docs/CreateABotResponse.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**bot** | [**CreateABotResponseBot**](CreateABotResponseBot.md) | | | |**botCallbackUrl** | **String** | | [optional] | -|**botStyle** | [**CreateABotResponseBotStyle**](CreateABotResponseBotStyle.md) | | [optional] | +|**botStyle** | [**ListBotsResponseBotsInnerBotStyle**](ListBotsResponseBotsInnerBotStyle.md) | | [optional] | |**channelInvitationPreference** | **Integer** | | [optional] | |**createdAt** | **Long** | | [optional] | |**enableMarkAsRead** | **Boolean** | | [optional] | diff --git a/docs/CreateABotResponseBotStyle.md b/docs/CreateABotResponseBotStyle.md deleted file mode 100644 index f29c86ad..00000000 --- a/docs/CreateABotResponseBotStyle.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# CreateABotResponseBotStyle - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**autoOpen** | **Boolean** | | [optional] | -|**color** | [**ListBotsResponseBotsInnerBotStyleColor**](ListBotsResponseBotsInnerBotStyleColor.md) | | [optional] | -|**toggleButtonType** | **String** | | [optional] | -|**toggleButtonUrl** | **String** | | [optional] | - - - diff --git a/docs/GetAGroupChannelResponse.md b/docs/GetAGroupChannelResponse.md index 6dbdcde1..3fb5998f 100644 --- a/docs/GetAGroupChannelResponse.md +++ b/docs/GetAGroupChannelResponse.md @@ -37,7 +37,7 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] | +|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | diff --git a/docs/InviteAsMembersResponse.md b/docs/InviteAsMembersResponse.md index 205a7e00..a27a9e1b 100644 --- a/docs/InviteAsMembersResponse.md +++ b/docs/InviteAsMembersResponse.md @@ -36,7 +36,7 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] | +|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | diff --git a/docs/ListBotsResponseBotsInner.md b/docs/ListBotsResponseBotsInner.md index 8e9229ed..35620fae 100644 --- a/docs/ListBotsResponseBotsInner.md +++ b/docs/ListBotsResponseBotsInner.md @@ -7,7 +7,6 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**ai** | [**ListBotsResponseBotsInnerAi**](ListBotsResponseBotsInnerAi.md) | | [optional] | |**bot** | [**ListBotsResponseBotsInnerBot**](ListBotsResponseBotsInnerBot.md) | | [optional] | |**botCallbackUrl** | **String** | | [optional] | |**botStyle** | [**ListBotsResponseBotsInnerBotStyle**](ListBotsResponseBotsInnerBotStyle.md) | | [optional] | diff --git a/docs/ListBotsResponseBotsInnerAi.md b/docs/ListBotsResponseBotsInnerAi.md deleted file mode 100644 index dbf7e48d..00000000 --- a/docs/ListBotsResponseBotsInnerAi.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# ListBotsResponseBotsInnerAi - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**backend** | **String** | | [optional] | -|**feedback** | **Boolean** | | [optional] | -|**frequencyPenalty** | **Integer** | | [optional] | -|**instructionMode** | **Object** | | [optional] | -|**maxTokens** | **Integer** | | [optional] | -|**model** | **String** | | [optional] | -|**presencePenalty** | **Integer** | | [optional] | -|**stream** | **Boolean** | | [optional] | -|**systemMessage** | **String** | | [optional] | -|**systemMessageForContextPrefix** | **String** | | [optional] | -|**temperature** | **BigDecimal** | | [optional] | -|**topP** | **Integer** | | [optional] | - - - diff --git a/docs/MessageApi.md b/docs/MessageApi.md index eca2d7b9..3a76fd5c 100644 --- a/docs/MessageApi.md +++ b/docs/MessageApi.md @@ -49,7 +49,7 @@ public class Example { MessageApi apiInstance = new MessageApi(defaultClient); String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) - String messageId = "messageId_example"; // String | (Required) + Long messageId = 56L; // Long | (Required) String apiToken = "{{API_TOKEN}}"; // String | AddExtraDataToAMessageRequest addExtraDataToAMessageRequest = new AddExtraDataToAMessageRequest(); // AddExtraDataToAMessageRequest | try { @@ -76,7 +76,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | -| **messageId** | **String**| (Required) | | +| **messageId** | **Long**| (Required) | | | **apiToken** | **String**| | [optional] | | **addExtraDataToAMessageRequest** | [**AddExtraDataToAMessageRequest**](AddExtraDataToAMessageRequest.md)| | [optional] | @@ -130,7 +130,7 @@ public class Example { MessageApi apiInstance = new MessageApi(defaultClient); String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) - String messageId = "messageId_example"; // String | (Required) + Long messageId = 56L; // Long | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { Object result = api.deleteAMessage(channelType, channelUrl, messageId) @@ -155,7 +155,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | -| **messageId** | **String**| (Required) | | +| **messageId** | **Long**| (Required) | | | **apiToken** | **String**| | [optional] | ### Return type @@ -218,7 +218,7 @@ public class Example { MessageApi apiInstance = new MessageApi(defaultClient); String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) - String messageId = "messageId_example"; // String | (Required) + Long messageId = 56L; // Long | (Required) Boolean includeReactions = true; // Boolean | Boolean includeThreadInfo = true; // Boolean | Boolean includeParentMessageInfo = true; // Boolean | @@ -253,7 +253,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | -| **messageId** | **String**| (Required) | | +| **messageId** | **Long**| (Required) | | | **includeReactions** | **Boolean**| | [optional] | | **includeThreadInfo** | **Boolean**| | [optional] | | **includeParentMessageInfo** | **Boolean**| | [optional] | @@ -695,7 +695,7 @@ public class Example { MessageApi apiInstance = new MessageApi(defaultClient); String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) - String messageId = "messageId_example"; // String | (Required) + Long messageId = 56L; // Long | (Required) String keys = "keys_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | try { @@ -722,7 +722,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | -| **messageId** | **String**| (Required) | | +| **messageId** | **Long**| (Required) | | | **keys** | **String**| | [optional] | | **apiToken** | **String**| | [optional] | @@ -856,7 +856,7 @@ public class Example { MessageApi apiInstance = new MessageApi(defaultClient); String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) - String messageId = "messageId_example"; // String | (Required) + Long messageId = 56L; // Long | (Required) String apiToken = "{{API_TOKEN}}"; // String | UpdateAMessageRequest updateAMessageRequest = new UpdateAMessageRequest(); // UpdateAMessageRequest | try { @@ -883,7 +883,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | -| **messageId** | **String**| (Required) | | +| **messageId** | **Long**| (Required) | | | **apiToken** | **String**| | [optional] | | **updateAMessageRequest** | [**UpdateAMessageRequest**](UpdateAMessageRequest.md)| | [optional] | @@ -937,7 +937,7 @@ public class Example { MessageApi apiInstance = new MessageApi(defaultClient); String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) - String messageId = "messageId_example"; // String | (Required) + Long messageId = 56L; // Long | (Required) String apiToken = "{{API_TOKEN}}"; // String | UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest = new UpdateExtraDataInAMessageRequest(); // UpdateExtraDataInAMessageRequest | try { @@ -964,7 +964,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | -| **messageId** | **String**| (Required) | | +| **messageId** | **Long**| (Required) | | | **apiToken** | **String**| | [optional] | | **updateExtraDataInAMessageRequest** | [**UpdateExtraDataInAMessageRequest**](UpdateExtraDataInAMessageRequest.md)| | [optional] | diff --git a/docs/ModerationApi.md b/docs/ModerationApi.md index 388aba1c..b5213647 100644 --- a/docs/ModerationApi.md +++ b/docs/ModerationApi.md @@ -24,15 +24,11 @@ A user can block another user if the user doesn't wish to receive any messages o Sendbird application provides two blocking options: include or exclude blocked users when sending invitations, and turn on or off notifications from blocked users. [Explicit and classic block modes](https://sendbird.com/docs/chat/platform-api/v3/deprecated#2-explicit-and-classic-block-modes) have been deprecated and are only supported for customers who started using them before they were deprecated. -- **Include or exclude blocked users when sending invitations**: Determines whether or not to automatically filter out blocked users when a user invites a group of users to a new group channel. By default, blocked users are included when sending invitations. The value of this option can be changed by Sendbird if your Sendbird application isn't integrated to the client app. If you want to change the value, [contact our sales team](https://get.sendbird.com/talk-to-sales.html). +- **Include or exclude blocked users when sending invitations**: Determines whether or not to automatically filter out blocked users when a user invites a group of users to a new group channel. By default, blocked users are included when sending invitations. The value of this option can be changed by Sendbird if your Sendbird application isn't integrated with the client app. If you want to change the value, [contact our sales team](https://get.sendbird.com/talk-to-sales.html). - **Turn on or off notifications from blocked users**: Determines whether or not to receive message notifications from the blocked user in a specific 1-to-N group channel where they are both members. By default, a user doesn't receive notifications from blocked users. The value of this option can be set individually per channel. If you want to use this option, [contact our sales team](https://get.sendbird.com/talk-to-sales.html). - - -> **Note**: To learn more about other available moderation tools, see [Moderation Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions). - -The following tables explain what happens to a user's chat experience when the user blocks another user in a 1-to-1 or 1-to-N group channel. In the case of a 1-to-1 group channel, the block mode is only maintained with the original members. If other than the original members are added, the rules for 1-to-N group channel begin to apply. +> **Note**: To learn more about other available moderation tools, see [Moderation Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions). The following tables explain what happens to a user's chat experience when the user blocks another user in a 1-to-1 or 1-to-N group channel. In the case of a 1-to-1 group channel, the block mode is only maintained with the original members. If other than the original members are added, the rules for 1-to-N group channel begin to apply. [https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users](https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users) diff --git a/docs/SendABotMessageRequest.md b/docs/SendABotMessageRequest.md deleted file mode 100644 index c5a08fea..00000000 --- a/docs/SendABotMessageRequest.md +++ /dev/null @@ -1,22 +0,0 @@ - - -# SendABotMessageRequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**channelUrl** | **String** | | | -|**createdAt** | **Long** | | [optional] | -|**customType** | **String** | | [optional] | -|**data** | **String** | | [optional] | -|**dedupId** | **String** | | [optional] | -|**extendedMessagePayload** | [**SendbirdExtendedMessagePayload**](SendbirdExtendedMessagePayload.md) | | [optional] | -|**markAsRead** | **Boolean** | | [optional] | -|**mentioned** | **List<String>** | | [optional] | -|**message** | **String** | | | -|**sendPush** | **Boolean** | | [optional] | - - - diff --git a/docs/SendABotMessageResponse.md b/docs/SendABotMessageResponse.md new file mode 100644 index 00000000..4b4decb2 --- /dev/null +++ b/docs/SendABotMessageResponse.md @@ -0,0 +1,13 @@ + + +# SendABotMessageResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**message** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] | + + + diff --git a/docs/SendAMessageRequest.md b/docs/SendAMessageRequest.md index ceacf862..d11a9434 100644 --- a/docs/SendAMessageRequest.md +++ b/docs/SendAMessageRequest.md @@ -2,45 +2,56 @@ # SendAMessageRequest -## oneOf schemas -* [SendAdminMessageRequestBody](SendAdminMessageRequestBody.md) -* [SendFileMessageRequestBody](SendFileMessageRequestBody.md) -* [SendTextMessageRequestBody](SendTextMessageRequestBody.md) - -## Example -```java -// Import classes: -import org.openapitools.client.model.SendAMessageRequest; -import org.openapitools.client.model.SendAdminMessageRequestBody; -import org.openapitools.client.model.SendFileMessageRequestBody; -import org.openapitools.client.model.SendTextMessageRequestBody; - -public class Example { - public static void main(String[] args) { - SendAMessageRequest exampleSendAMessageRequest = new SendAMessageRequest(); - - // create a new SendAdminMessageRequestBody - SendAdminMessageRequestBody exampleSendAdminMessageRequestBody = new SendAdminMessageRequestBody(); - // set SendAMessageRequest to SendAdminMessageRequestBody - exampleSendAMessageRequest.setActualInstance(exampleSendAdminMessageRequestBody); - // to get back the SendAdminMessageRequestBody set earlier - SendAdminMessageRequestBody testSendAdminMessageRequestBody = (SendAdminMessageRequestBody) exampleSendAMessageRequest.getActualInstance(); - - // create a new SendFileMessageRequestBody - SendFileMessageRequestBody exampleSendFileMessageRequestBody = new SendFileMessageRequestBody(); - // set SendAMessageRequest to SendFileMessageRequestBody - exampleSendAMessageRequest.setActualInstance(exampleSendFileMessageRequestBody); - // to get back the SendFileMessageRequestBody set earlier - SendFileMessageRequestBody testSendFileMessageRequestBody = (SendFileMessageRequestBody) exampleSendAMessageRequest.getActualInstance(); - - // create a new SendTextMessageRequestBody - SendTextMessageRequestBody exampleSendTextMessageRequestBody = new SendTextMessageRequestBody(); - // set SendAMessageRequest to SendTextMessageRequestBody - exampleSendAMessageRequest.setActualInstance(exampleSendTextMessageRequestBody); - // to get back the SendTextMessageRequestBody set earlier - SendTextMessageRequestBody testSendTextMessageRequestBody = (SendTextMessageRequestBody) exampleSendAMessageRequest.getActualInstance(); - } -} -``` + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | | | +|**userId** | **String** | | | +|**message** | **String** | Specifies the content of the message. * This property is required when message_type is MESG or ADMM. | [optional] | +|**pushMessageTemplate** | [**SendAMessageRequestPushMessageTemplate**](SendAMessageRequestPushMessageTemplate.md) | | [optional] | +|**pollId** | **Integer** | Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG. | [optional] | +|**files** | [**SendbirdFile**](SendbirdFile.md) | | [optional] | +|**requireAuth** | **Boolean** | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. | [optional] | +|**thumbnail1** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | +|**thumbnail2** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | +|**thumbnail3** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | +|**thumbnails** | **List<String>** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | +|**apnsBundleId** | **String** | | [optional] | +|**appleCriticalAlertOptions** | **Object** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**dedupId** | **String** | | [optional] | +|**includePollDetails** | **Boolean** | | [optional] | +|**isSilent** | **Boolean** | | [optional] | +|**markAsRead** | **Boolean** | | [optional] | +|**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] | +|**mentionedUserIds** | **List<String>** | | [optional] | +|**sendPush** | **Boolean** | | [optional] | +|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | +|**sound** | **String** | | [optional] | +|**volume** | **BigDecimal** | | [optional] | + + + +## Enum: MessageTypeEnum + +| Name | Value | +|---- | -----| +| MESG | "MESG" | +| ADMM | "ADMM" | +| FILE | "FILE" | + + + +## Enum: MentionTypeEnum + +| Name | Value | +|---- | -----| +| USERS | "users" | +| CHANNEL | "channel" | + diff --git a/docs/SendAMessageRequestPushMessageTemplate.md b/docs/SendAMessageRequestPushMessageTemplate.md new file mode 100644 index 00000000..d2d5dcf6 --- /dev/null +++ b/docs/SendAMessageRequestPushMessageTemplate.md @@ -0,0 +1,39 @@ + + +# SendAMessageRequestPushMessageTemplate + +Specifies the content of a push notification customized for the message. This property only applies to group channels. To choose from a push notification content template within your Sendbird application, specify a string value of default or alternative. To create a new push notification content tailored to the message being sent, use the properties listed below to specify its title and body in a nested object format. * This property overrides the application's default push notification content template or the preference chosen by the user. * This property is available when message_type is MESG or ADMM. + +## oneOf schemas +* [SendAMessageRequestPushMessageTemplateOneOf](SendAMessageRequestPushMessageTemplateOneOf.md) +* [String](String.md) + +## Example +```java +// Import classes: +import org.openapitools.client.model.SendAMessageRequestPushMessageTemplate; +import org.openapitools.client.model.SendAMessageRequestPushMessageTemplateOneOf; +import org.openapitools.client.model.String; + +public class Example { + public static void main(String[] args) { + SendAMessageRequestPushMessageTemplate exampleSendAMessageRequestPushMessageTemplate = new SendAMessageRequestPushMessageTemplate(); + + // create a new SendAMessageRequestPushMessageTemplateOneOf + SendAMessageRequestPushMessageTemplateOneOf exampleSendAMessageRequestPushMessageTemplateOneOf = new SendAMessageRequestPushMessageTemplateOneOf(); + // set SendAMessageRequestPushMessageTemplate to SendAMessageRequestPushMessageTemplateOneOf + exampleSendAMessageRequestPushMessageTemplate.setActualInstance(exampleSendAMessageRequestPushMessageTemplateOneOf); + // to get back the SendAMessageRequestPushMessageTemplateOneOf set earlier + SendAMessageRequestPushMessageTemplateOneOf testSendAMessageRequestPushMessageTemplateOneOf = (SendAMessageRequestPushMessageTemplateOneOf) exampleSendAMessageRequestPushMessageTemplate.getActualInstance(); + + // create a new String + String exampleString = new String(); + // set SendAMessageRequestPushMessageTemplate to String + exampleSendAMessageRequestPushMessageTemplate.setActualInstance(exampleString); + // to get back the String set earlier + String testString = (String) exampleSendAMessageRequestPushMessageTemplate.getActualInstance(); + } +} +``` + + diff --git a/docs/SendTextMessageRequestBodyPushMessageTemplateOneOf.md b/docs/SendAMessageRequestPushMessageTemplateOneOf.md similarity index 94% rename from docs/SendTextMessageRequestBodyPushMessageTemplateOneOf.md rename to docs/SendAMessageRequestPushMessageTemplateOneOf.md index e72010a7..0eedc418 100644 --- a/docs/SendTextMessageRequestBodyPushMessageTemplateOneOf.md +++ b/docs/SendAMessageRequestPushMessageTemplateOneOf.md @@ -1,6 +1,6 @@ -# SendTextMessageRequestBodyPushMessageTemplateOneOf +# SendAMessageRequestPushMessageTemplateOneOf ## Properties diff --git a/docs/SendBirdGroupChannel.md b/docs/SendBirdGroupChannel.md index 8f35e15f..b650ee1c 100644 --- a/docs/SendBirdGroupChannel.md +++ b/docs/SendBirdGroupChannel.md @@ -36,7 +36,7 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] | +|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | diff --git a/docs/SendBirdMessageResponse.md b/docs/SendBirdMessageResponse.md index ad1944f7..64496613 100644 --- a/docs/SendBirdMessageResponse.md +++ b/docs/SendBirdMessageResponse.md @@ -29,14 +29,14 @@ |**reqId** | **String** | | [optional] | |**mentionType** | **String** | | [optional] | |**channelUrl** | **String** | | [optional] | -|**messageId** | **Integer** | | [optional] | +|**messageId** | **Long** | | [optional] | |**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | |**threadInfo** | **Object** | | [optional] | |**parentMessageId** | **Integer** | | [optional] | |**parentMessageInfo** | [**SendbirdParentMessageInfo**](SendbirdParentMessageInfo.md) | | [optional] | |**isReplyToChannel** | **Boolean** | | [optional] | |**messageEvents** | [**SendbirdMessageResponseMessageEvents**](SendbirdMessageResponseMessageEvents.md) | | [optional] | -|**extendedMessagePayload** | [**SendbirdExtendedMessagePayload**](SendbirdExtendedMessagePayload.md) | | [optional] | +|**extendedMessagePayload** | [**SendbirdMessageResponseExtendedMessagePayload**](SendbirdMessageResponseExtendedMessagePayload.md) | | [optional] | diff --git a/docs/SendBirdUser.md b/docs/SendBirdUser.md index 86f0c3da..8b589ea3 100644 --- a/docs/SendBirdUser.md +++ b/docs/SendBirdUser.md @@ -29,7 +29,6 @@ User |**unreadMessageCount** | **Integer** | | [optional] | |**phoneNumber** | **String** | | [optional] | |**isCreated** | **Boolean** | | [optional] | -|**sessionTokens** | **List<String>** | | [optional] | diff --git a/docs/SendTextMessageRequestBodyPushMessageTemplate.md b/docs/SendTextMessageRequestBodyPushMessageTemplate.md index 2ba7940c..cb5a0836 100644 --- a/docs/SendTextMessageRequestBodyPushMessageTemplate.md +++ b/docs/SendTextMessageRequestBodyPushMessageTemplate.md @@ -5,26 +5,26 @@ Specifies the content of a push notification customized for the message. This property only applies to group channels. To choose from a push notification content template within your Sendbird application, specify a string value of default or alternative. To create a new push notification content tailored to the message being sent, use the properties listed below to specify its title and body in a nested object format. * This property overrides the application's default push notification content template or the preference chosen by the user. ## oneOf schemas -* [SendTextMessageRequestBodyPushMessageTemplateOneOf](SendTextMessageRequestBodyPushMessageTemplateOneOf.md) +* [SendAMessageRequestPushMessageTemplateOneOf](SendAMessageRequestPushMessageTemplateOneOf.md) * [String](String.md) ## Example ```java // Import classes: import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplate; -import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplateOneOf; +import org.openapitools.client.model.SendAMessageRequestPushMessageTemplateOneOf; import org.openapitools.client.model.String; public class Example { public static void main(String[] args) { SendTextMessageRequestBodyPushMessageTemplate exampleSendTextMessageRequestBodyPushMessageTemplate = new SendTextMessageRequestBodyPushMessageTemplate(); - // create a new SendTextMessageRequestBodyPushMessageTemplateOneOf - SendTextMessageRequestBodyPushMessageTemplateOneOf exampleSendTextMessageRequestBodyPushMessageTemplateOneOf = new SendTextMessageRequestBodyPushMessageTemplateOneOf(); - // set SendTextMessageRequestBodyPushMessageTemplate to SendTextMessageRequestBodyPushMessageTemplateOneOf - exampleSendTextMessageRequestBodyPushMessageTemplate.setActualInstance(exampleSendTextMessageRequestBodyPushMessageTemplateOneOf); - // to get back the SendTextMessageRequestBodyPushMessageTemplateOneOf set earlier - SendTextMessageRequestBodyPushMessageTemplateOneOf testSendTextMessageRequestBodyPushMessageTemplateOneOf = (SendTextMessageRequestBodyPushMessageTemplateOneOf) exampleSendTextMessageRequestBodyPushMessageTemplate.getActualInstance(); + // create a new SendAMessageRequestPushMessageTemplateOneOf + SendAMessageRequestPushMessageTemplateOneOf exampleSendAMessageRequestPushMessageTemplateOneOf = new SendAMessageRequestPushMessageTemplateOneOf(); + // set SendTextMessageRequestBodyPushMessageTemplate to SendAMessageRequestPushMessageTemplateOneOf + exampleSendTextMessageRequestBodyPushMessageTemplate.setActualInstance(exampleSendAMessageRequestPushMessageTemplateOneOf); + // to get back the SendAMessageRequestPushMessageTemplateOneOf set earlier + SendAMessageRequestPushMessageTemplateOneOf testSendAMessageRequestPushMessageTemplateOneOf = (SendAMessageRequestPushMessageTemplateOneOf) exampleSendTextMessageRequestBodyPushMessageTemplate.getActualInstance(); // create a new String String exampleString = new String(); diff --git a/docs/SendbirdGroupChannelLastMessage.md b/docs/SendbirdGroupChannelLastMessage.md new file mode 100644 index 00000000..adf5fc09 --- /dev/null +++ b/docs/SendbirdGroupChannelLastMessage.md @@ -0,0 +1,28 @@ + + +# SendbirdGroupChannelLastMessage + +## oneOf schemas +* [SendbirdMessageResponse](SendbirdMessageResponse.md) + +## Example +```java +// Import classes: +import org.openapitools.client.model.SendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendbirdMessageResponse; + +public class Example { + public static void main(String[] args) { + SendbirdGroupChannelLastMessage exampleSendbirdGroupChannelLastMessage = new SendbirdGroupChannelLastMessage(); + + // create a new SendbirdMessageResponse + SendbirdMessageResponse exampleSendbirdMessageResponse = new SendbirdMessageResponse(); + // set SendbirdGroupChannelLastMessage to SendbirdMessageResponse + exampleSendbirdGroupChannelLastMessage.setActualInstance(exampleSendbirdMessageResponse); + // to get back the SendbirdMessageResponse set earlier + SendbirdMessageResponse testSendbirdMessageResponse = (SendbirdMessageResponse) exampleSendbirdGroupChannelLastMessage.getActualInstance(); + } +} +``` + + diff --git a/docs/SendbirdMessageResponseExtendedMessagePayload.md b/docs/SendbirdMessageResponseExtendedMessagePayload.md new file mode 100644 index 00000000..43f3e7f4 --- /dev/null +++ b/docs/SendbirdMessageResponseExtendedMessagePayload.md @@ -0,0 +1,28 @@ + + +# SendbirdMessageResponseExtendedMessagePayload + +## oneOf schemas +* [SendbirdExtendedMessagePayload](SendbirdExtendedMessagePayload.md) + +## Example +```java +// Import classes: +import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendbirdExtendedMessagePayload; + +public class Example { + public static void main(String[] args) { + SendbirdMessageResponseExtendedMessagePayload exampleSendbirdMessageResponseExtendedMessagePayload = new SendbirdMessageResponseExtendedMessagePayload(); + + // create a new SendbirdExtendedMessagePayload + SendbirdExtendedMessagePayload exampleSendbirdExtendedMessagePayload = new SendbirdExtendedMessagePayload(); + // set SendbirdMessageResponseExtendedMessagePayload to SendbirdExtendedMessagePayload + exampleSendbirdMessageResponseExtendedMessagePayload.setActualInstance(exampleSendbirdExtendedMessagePayload); + // to get back the SendbirdExtendedMessagePayload set earlier + SendbirdExtendedMessagePayload testSendbirdExtendedMessagePayload = (SendbirdExtendedMessagePayload) exampleSendbirdMessageResponseExtendedMessagePayload.getActualInstance(); + } +} +``` + + diff --git a/docs/UpdateBotByIdData.md b/docs/UpdateBotByIdData.md new file mode 100644 index 00000000..14e0c959 --- /dev/null +++ b/docs/UpdateBotByIdData.md @@ -0,0 +1,20 @@ + + +# UpdateBotByIdData + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**botUserid** | **String** | Specifies the ID of the bot to update. | | +|**botNickname** | **String** | Specifies the bot's nickname. The length is limited to 80 characters. | | +|**botProfileUrl** | **String** | Specifies the URL of the bot's profile image. The size is limited to 2,048 characters. | | +|**botCallbackUrl** | **String** | Specifies the server URL where bot is located to receive all events, requests, and data forwarded from an application. For security reasons, it is highly recommended that you use an SSL server. The length is limited to 1,024 characters. | | +|**isPrivacyMode** | **Boolean** | In the channels of where the bot is a member, determines whether to only forward the messages with the specific conditions to the bot or forword all messages to the bot, for privacy concerns. If set to true, only messages that start with a '/' or mention the bot_userid are forwarded to the bot. If set to false, all messages are forwarded. | | +|**enableMarkAsRead** | **Boolean** | Determines whether to mark the bot's message as read upon sending it. (Default: true) | | +|**showMember** | **Boolean** | Determines whether to include information about the members of each channel in a callback response. (Default: false) | | +|**channelInvitationPreference** | **Integer** | Determines whether the bot automatically joins the channel when invited or joins the channel after manually accepting an invitation using the API. If set to 0, it automatically joins the channel. If set to 1, the latter takes place. (Default: 0) | | + + + diff --git a/docs/UpdateBotByIdResponse.md b/docs/UpdateBotByIdResponse.md new file mode 100644 index 00000000..2ee703b1 --- /dev/null +++ b/docs/UpdateBotByIdResponse.md @@ -0,0 +1,18 @@ + + +# UpdateBotByIdResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**bot** | [**ViewBotByIdResponseBot**](ViewBotByIdResponseBot.md) | | [optional] | +|**botCallbackUrl** | **String** | | [optional] | +|**enableMarkAsRead** | **Boolean** | | [optional] | +|**isPrivacyMode** | **Boolean** | | [optional] | +|**showMember** | **Boolean** | | [optional] | +|**channelInvitationPreference** | **Integer** | | [optional] | + + + diff --git a/docs/ViewBotByIdResponse.md b/docs/ViewBotByIdResponse.md new file mode 100644 index 00000000..61ee4b1f --- /dev/null +++ b/docs/ViewBotByIdResponse.md @@ -0,0 +1,18 @@ + + +# ViewBotByIdResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**bot** | [**ViewBotByIdResponseBot**](ViewBotByIdResponseBot.md) | | [optional] | +|**botCallbackUrl** | **String** | | [optional] | +|**enableMarkAsRead** | **Boolean** | | [optional] | +|**isPrivacyMode** | **Boolean** | | [optional] | +|**showMember** | **Boolean** | | [optional] | +|**channelInvitationPreference** | **Integer** | | [optional] | + + + diff --git a/docs/ViewBotByIdResponseBot.md b/docs/ViewBotByIdResponseBot.md new file mode 100644 index 00000000..59e8f708 --- /dev/null +++ b/docs/ViewBotByIdResponseBot.md @@ -0,0 +1,18 @@ + + +# ViewBotByIdResponseBot + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**botToken** | **String** | | [optional] | +|**botProfileUrl** | **String** | | [optional] | +|**botUserid** | **String** | | [optional] | +|**botNickname** | **String** | | [optional] | +|**botType** | **String** | | [optional] | +|**botMetadata** | **Object** | | [optional] | + + + diff --git a/pom.xml b/pom.xml index 83893469..8b64b233 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ sendbird-platform-sdk jar sendbird-platform-sdk - 2.0.0 + 2.1.1 https://github.com/sendbird/sendbird-platform-sdk-java Sendbird Platform API SDK diff --git a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index b701bab0..7253c157 100644 --- a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -24,7 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java b/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java index 381577f2..577054ae 100644 --- a/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java +++ b/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java @@ -24,6 +24,10 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -36,10 +40,10 @@ AcceptAnInvitationRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("acceptAnInvitation_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class AcceptAnInvitationRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; - private String accessCode; + private JsonNullable accessCode = JsonNullable.undefined(); public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; @@ -48,7 +52,7 @@ public AcceptAnInvitationRequest() { } public AcceptAnInvitationRequest accessCode(String accessCode) { - this.accessCode = accessCode; + this.accessCode = JsonNullable.of(accessCode); return this; } @@ -58,20 +62,28 @@ public AcceptAnInvitationRequest accessCode(String accessCode) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public String getAccessCode() { - return accessCode; + return accessCode.orElse(null); } - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAccessCode(String accessCode) { + + public JsonNullable getAccessCode_JsonNullable() { + return accessCode; + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + public void setAccessCode_JsonNullable(JsonNullable accessCode) { this.accessCode = accessCode; } + public void setAccessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + } + public AcceptAnInvitationRequest userId(String userId) { this.userId = userId; @@ -111,13 +123,24 @@ public boolean equals(Object o) { return false; } AcceptAnInvitationRequest acceptAnInvitationRequest = (AcceptAnInvitationRequest) o; - return Objects.equals(this.accessCode, acceptAnInvitationRequest.accessCode) && + return equalsNullable(this.accessCode, acceptAnInvitationRequest.accessCode) && Objects.equals(this.userId, acceptAnInvitationRequest.userId); } + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + @Override public int hashCode() { - return Objects.hash(accessCode, userId); + return Objects.hash(hashCodeNullable(accessCode), userId); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override diff --git a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java index 86b03b93..deb2c048 100644 --- a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java +++ b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java @@ -37,7 +37,7 @@ AddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_HUAWEI_DEVICE_TOKEN }) @JsonTypeName("addARegistrationOrDeviceToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class AddARegistrationOrDeviceTokenRequest { public static final String JSON_PROPERTY_APNS_DEVICE_TOKEN = "apns_device_token"; private String apnsDeviceToken; diff --git a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java index 0cdc2d1d..966b58c7 100644 --- a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java @@ -38,7 +38,7 @@ AddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("addARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class AddARegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private String token; diff --git a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java index f11a9c98..df50c969 100644 --- a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java @@ -38,7 +38,7 @@ AddExtraDataToAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("addExtraDataToAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class AddExtraDataToAMessageRequest { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; private List sortedMetaarray = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java index 6405e0c5..02abbcf5 100644 --- a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java @@ -38,7 +38,7 @@ AddExtraDataToAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("addExtraDataToAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class AddExtraDataToAMessageResponse { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; private List sortedMetaarray = null; diff --git a/src/main/java/org/openapitools/client/model/BlockAUserRequest.java b/src/main/java/org/openapitools/client/model/BlockAUserRequest.java index 21352065..78588b31 100644 --- a/src/main/java/org/openapitools/client/model/BlockAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/BlockAUserRequest.java @@ -38,7 +38,7 @@ BlockAUserRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("blockAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class BlockAUserRequest { public static final String JSON_PROPERTY_TARGET_ID = "target_id"; private String targetId; diff --git a/src/main/java/org/openapitools/client/model/BlockAUserResponse.java b/src/main/java/org/openapitools/client/model/BlockAUserResponse.java index 62462079..ec889ab3 100644 --- a/src/main/java/org/openapitools/client/model/BlockAUserResponse.java +++ b/src/main/java/org/openapitools/client/model/BlockAUserResponse.java @@ -39,7 +39,7 @@ BlockAUserResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("blockAUserResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class BlockAUserResponse { public static final String JSON_PROPERTY_USERS = "users"; private List users = null; diff --git a/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java b/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java index dc79d5bd..477f72bf 100644 --- a/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java +++ b/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java @@ -36,7 +36,7 @@ CheckIfMemberResponse.JSON_PROPERTY_STATE }) @JsonTypeName("checkIfMemberResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class CheckIfMemberResponse { public static final String JSON_PROPERTY_IS_MEMBER = "is_member"; private Boolean isMember; diff --git a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java index e75caf75..5f7bd989 100644 --- a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java +++ b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java @@ -35,7 +35,7 @@ ChooseAPushNotificationContentTemplateRequest.JSON_PROPERTY_NAME }) @JsonTypeName("chooseAPushNotificationContentTemplate_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ChooseAPushNotificationContentTemplateRequest { /** * Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default) diff --git a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java index ed43ac09..26cd67ea 100644 --- a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java +++ b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java @@ -35,7 +35,7 @@ ChooseAPushNotificationContentTemplateResponse.JSON_PROPERTY_NAME }) @JsonTypeName("chooseAPushNotificationContentTemplateResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ChooseAPushNotificationContentTemplateResponse { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/CreateABotRequest.java b/src/main/java/org/openapitools/client/model/CreateABotRequest.java index c381f4b6..2264ddee 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateABotRequest.java @@ -43,7 +43,7 @@ CreateABotRequest.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("createABot_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class CreateABotRequest { public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; private String botCallbackUrl; diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponse.java b/src/main/java/org/openapitools/client/model/CreateABotResponse.java index 4859ca50..6a14ccc0 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateABotResponse.java @@ -25,7 +25,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.openapitools.client.model.CreateABotResponseBot; -import org.openapitools.client.model.CreateABotResponseBotStyle; +import org.openapitools.client.model.ListBotsResponseBotsInnerBotStyle; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -44,7 +44,7 @@ CreateABotResponse.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("createABotResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class CreateABotResponse { public static final String JSON_PROPERTY_BOT = "bot"; private CreateABotResponseBot bot; @@ -53,7 +53,7 @@ public class CreateABotResponse { private String botCallbackUrl; public static final String JSON_PROPERTY_BOT_STYLE = "bot_style"; - private CreateABotResponseBotStyle botStyle; + private ListBotsResponseBotsInnerBotStyle botStyle; public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; private Integer channelInvitationPreference; @@ -125,7 +125,7 @@ public void setBotCallbackUrl(String botCallbackUrl) { } - public CreateABotResponse botStyle(CreateABotResponseBotStyle botStyle) { + public CreateABotResponse botStyle(ListBotsResponseBotsInnerBotStyle botStyle) { this.botStyle = botStyle; return this; } @@ -139,14 +139,14 @@ public CreateABotResponse botStyle(CreateABotResponseBotStyle botStyle) { @JsonProperty(JSON_PROPERTY_BOT_STYLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public CreateABotResponseBotStyle getBotStyle() { + public ListBotsResponseBotsInnerBotStyle getBotStyle() { return botStyle; } @JsonProperty(JSON_PROPERTY_BOT_STYLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotStyle(CreateABotResponseBotStyle botStyle) { + public void setBotStyle(ListBotsResponseBotsInnerBotStyle botStyle) { this.botStyle = botStyle; } diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java b/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java index c75633bf..f3231797 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java +++ b/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java @@ -43,7 +43,7 @@ CreateABotResponseBot.JSON_PROPERTY_FEEDBACK }) @JsonTypeName("createABotResponse_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class CreateABotResponseBot { public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; private String aiAgentType; diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponseBotStyle.java b/src/main/java/org/openapitools/client/model/CreateABotResponseBotStyle.java deleted file mode 100644 index cb370f01..00000000 --- a/src/main/java/org/openapitools/client/model/CreateABotResponseBotStyle.java +++ /dev/null @@ -1,233 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.ListBotsResponseBotsInnerBotStyleColor; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * CreateABotResponseBotStyle - */ -@JsonPropertyOrder({ - CreateABotResponseBotStyle.JSON_PROPERTY_AUTO_OPEN, - CreateABotResponseBotStyle.JSON_PROPERTY_COLOR, - CreateABotResponseBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_TYPE, - CreateABotResponseBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_URL -}) -@JsonTypeName("createABotResponse_bot_style") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") -public class CreateABotResponseBotStyle { - public static final String JSON_PROPERTY_AUTO_OPEN = "auto_open"; - private Boolean autoOpen; - - public static final String JSON_PROPERTY_COLOR = "color"; - private ListBotsResponseBotsInnerBotStyleColor color; - - public static final String JSON_PROPERTY_TOGGLE_BUTTON_TYPE = "toggle_button_type"; - private JsonNullable toggleButtonType = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_TOGGLE_BUTTON_URL = "toggle_button_url"; - private String toggleButtonUrl; - - public CreateABotResponseBotStyle() { - } - - public CreateABotResponseBotStyle autoOpen(Boolean autoOpen) { - this.autoOpen = autoOpen; - return this; - } - - /** - * Get autoOpen - * @return autoOpen - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_AUTO_OPEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getAutoOpen() { - return autoOpen; - } - - - @JsonProperty(JSON_PROPERTY_AUTO_OPEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAutoOpen(Boolean autoOpen) { - this.autoOpen = autoOpen; - } - - - public CreateABotResponseBotStyle color(ListBotsResponseBotsInnerBotStyleColor color) { - this.color = color; - return this; - } - - /** - * Get color - * @return color - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COLOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public ListBotsResponseBotsInnerBotStyleColor getColor() { - return color; - } - - - @JsonProperty(JSON_PROPERTY_COLOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setColor(ListBotsResponseBotsInnerBotStyleColor color) { - this.color = color; - } - - - public CreateABotResponseBotStyle toggleButtonType(String toggleButtonType) { - this.toggleButtonType = JsonNullable.of(toggleButtonType); - return this; - } - - /** - * Get toggleButtonType - * @return toggleButtonType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getToggleButtonType() { - return toggleButtonType.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getToggleButtonType_JsonNullable() { - return toggleButtonType; - } - - @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_TYPE) - public void setToggleButtonType_JsonNullable(JsonNullable toggleButtonType) { - this.toggleButtonType = toggleButtonType; - } - - public void setToggleButtonType(String toggleButtonType) { - this.toggleButtonType = JsonNullable.of(toggleButtonType); - } - - - public CreateABotResponseBotStyle toggleButtonUrl(String toggleButtonUrl) { - this.toggleButtonUrl = toggleButtonUrl; - return this; - } - - /** - * Get toggleButtonUrl - * @return toggleButtonUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getToggleButtonUrl() { - return toggleButtonUrl; - } - - - @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setToggleButtonUrl(String toggleButtonUrl) { - this.toggleButtonUrl = toggleButtonUrl; - } - - - /** - * Return true if this createABotResponse_bot_style object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateABotResponseBotStyle createABotResponseBotStyle = (CreateABotResponseBotStyle) o; - return Objects.equals(this.autoOpen, createABotResponseBotStyle.autoOpen) && - Objects.equals(this.color, createABotResponseBotStyle.color) && - equalsNullable(this.toggleButtonType, createABotResponseBotStyle.toggleButtonType) && - Objects.equals(this.toggleButtonUrl, createABotResponseBotStyle.toggleButtonUrl); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(autoOpen, color, hashCodeNullable(toggleButtonType), toggleButtonUrl); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateABotResponseBotStyle {\n"); - sb.append(" autoOpen: ").append(toIndentedString(autoOpen)).append("\n"); - sb.append(" color: ").append(toIndentedString(color)).append("\n"); - sb.append(" toggleButtonType: ").append(toIndentedString(toggleButtonType)).append("\n"); - sb.append(" toggleButtonUrl: ").append(toIndentedString(toggleButtonUrl)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java index 99fd856a..20205f6a 100644 --- a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java @@ -36,7 +36,7 @@ CreateAChannelMetadataRequest.JSON_PROPERTY_METADATA }) @JsonTypeName("createAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class CreateAChannelMetadataRequest { public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; private Boolean includeTs; @@ -82,7 +82,7 @@ public CreateAChannelMetadataRequest metadata(Object metadata) { * Get metadata * @return metadata **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java index b516992c..968bd01a 100644 --- a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java @@ -36,7 +36,7 @@ CreateAChannelMetadataResponse.JSON_PROPERTY_METADATA }) @JsonTypeName("createAChannelMetadataResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class CreateAChannelMetadataResponse { public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; private Long includeTs; diff --git a/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java index 09586235..c8083bff 100644 --- a/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java @@ -28,6 +28,10 @@ import java.util.ArrayList; import java.util.List; import org.openapitools.client.model.SendbirdUser; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -57,13 +61,13 @@ CreateAGroupChannelRequest.JSON_PROPERTY_USERS }) @JsonTypeName("createAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class CreateAGroupChannelRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; - private String accessCode; + private JsonNullable accessCode = JsonNullable.undefined(); public static final String JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN = "block_sdk_user_channel_join"; - private Boolean blockSdkUserChannelJoin; + private JsonNullable blockSdkUserChannelJoin = JsonNullable.undefined(); public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -120,7 +124,7 @@ public CreateAGroupChannelRequest() { } public CreateAGroupChannelRequest accessCode(String accessCode) { - this.accessCode = accessCode; + this.accessCode = JsonNullable.of(accessCode); return this; } @@ -130,23 +134,31 @@ public CreateAGroupChannelRequest accessCode(String accessCode) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public String getAccessCode() { - return accessCode; + return accessCode.orElse(null); } - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAccessCode(String accessCode) { + + public JsonNullable getAccessCode_JsonNullable() { + return accessCode; + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + public void setAccessCode_JsonNullable(JsonNullable accessCode) { this.accessCode = accessCode; } + public void setAccessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + } + public CreateAGroupChannelRequest blockSdkUserChannelJoin(Boolean blockSdkUserChannelJoin) { - this.blockSdkUserChannelJoin = blockSdkUserChannelJoin; + this.blockSdkUserChannelJoin = JsonNullable.of(blockSdkUserChannelJoin); return this; } @@ -156,20 +168,28 @@ public CreateAGroupChannelRequest blockSdkUserChannelJoin(Boolean blockSdkUserCh **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Boolean getBlockSdkUserChannelJoin() { - return blockSdkUserChannelJoin; + return blockSdkUserChannelJoin.orElse(null); } - @JsonProperty(JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBlockSdkUserChannelJoin(Boolean blockSdkUserChannelJoin) { + + public JsonNullable getBlockSdkUserChannelJoin_JsonNullable() { + return blockSdkUserChannelJoin; + } + + @JsonProperty(JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN) + public void setBlockSdkUserChannelJoin_JsonNullable(JsonNullable blockSdkUserChannelJoin) { this.blockSdkUserChannelJoin = blockSdkUserChannelJoin; } + public void setBlockSdkUserChannelJoin(Boolean blockSdkUserChannelJoin) { + this.blockSdkUserChannelJoin = JsonNullable.of(blockSdkUserChannelJoin); + } + public CreateAGroupChannelRequest channelUrl(String channelUrl) { this.channelUrl = channelUrl; @@ -646,8 +666,8 @@ public boolean equals(Object o) { return false; } CreateAGroupChannelRequest createAGroupChannelRequest = (CreateAGroupChannelRequest) o; - return Objects.equals(this.accessCode, createAGroupChannelRequest.accessCode) && - Objects.equals(this.blockSdkUserChannelJoin, createAGroupChannelRequest.blockSdkUserChannelJoin) && + return equalsNullable(this.accessCode, createAGroupChannelRequest.accessCode) && + equalsNullable(this.blockSdkUserChannelJoin, createAGroupChannelRequest.blockSdkUserChannelJoin) && Objects.equals(this.channelUrl, createAGroupChannelRequest.channelUrl) && Objects.equals(this.coverFile, createAGroupChannelRequest.coverFile) && Objects.equals(this.coverUrl, createAGroupChannelRequest.coverUrl) && @@ -667,9 +687,20 @@ public boolean equals(Object o) { Objects.equals(this.users, createAGroupChannelRequest.users); } + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + @Override public int hashCode() { - return Objects.hash(accessCode, blockSdkUserChannelJoin, channelUrl, coverFile, coverUrl, customType, data, hiddenStatus, invitationStatus, inviterId, isDistinct, isEphemeral, isPublic, isSuper, name, operatorIds, strict, userIds, users); + return Objects.hash(hashCodeNullable(accessCode), hashCodeNullable(blockSdkUserChannelJoin), channelUrl, coverFile, coverUrl, customType, data, hiddenStatus, invitationStatus, inviterId, isDistinct, isEphemeral, isPublic, isSuper, name, operatorIds, strict, userIds, users); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override diff --git a/src/main/java/org/openapitools/client/model/CreateAUserRequest.java b/src/main/java/org/openapitools/client/model/CreateAUserRequest.java index a0484dda..c3637e98 100644 --- a/src/main/java/org/openapitools/client/model/CreateAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAUserRequest.java @@ -27,6 +27,10 @@ import java.io.File; import java.util.ArrayList; import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -44,16 +48,16 @@ CreateAUserRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("createAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class CreateAUserRequest { public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; - private List discoveryKeys = null; + private JsonNullable> discoveryKeys = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ISSUE_ACCESS_TOKEN = "issue_access_token"; private Boolean issueAccessToken; public static final String JSON_PROPERTY_METADATA = "metadata"; - private Object metadata; + private JsonNullable metadata = JsonNullable.undefined(); public static final String JSON_PROPERTY_NICKNAME = "nickname"; private String nickname; @@ -62,7 +66,7 @@ public class CreateAUserRequest { private File profileFile; public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; - private String profileUrl; + private String profileUrl = ""; public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; @@ -71,15 +75,19 @@ public CreateAUserRequest() { } public CreateAUserRequest discoveryKeys(List discoveryKeys) { - this.discoveryKeys = discoveryKeys; + this.discoveryKeys = JsonNullable.>of(discoveryKeys); return this; } public CreateAUserRequest addDiscoveryKeysItem(String discoveryKeysItem) { - if (this.discoveryKeys == null) { - this.discoveryKeys = new ArrayList<>(); + if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { + this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); + } + try { + this.discoveryKeys.get().add(discoveryKeysItem); + } catch (java.util.NoSuchElementException e) { + // this can never happen, as we make sure above that the value is present } - this.discoveryKeys.add(discoveryKeysItem); return this; } @@ -89,20 +97,28 @@ public CreateAUserRequest addDiscoveryKeysItem(String discoveryKeysItem) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public List getDiscoveryKeys() { - return discoveryKeys; + return discoveryKeys.orElse(null); } - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDiscoveryKeys(List discoveryKeys) { + + public JsonNullable> getDiscoveryKeys_JsonNullable() { + return discoveryKeys; + } + + @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) + public void setDiscoveryKeys_JsonNullable(JsonNullable> discoveryKeys) { this.discoveryKeys = discoveryKeys; } + public void setDiscoveryKeys(List discoveryKeys) { + this.discoveryKeys = JsonNullable.>of(discoveryKeys); + } + public CreateAUserRequest issueAccessToken(Boolean issueAccessToken) { this.issueAccessToken = issueAccessToken; @@ -131,7 +147,7 @@ public void setIssueAccessToken(Boolean issueAccessToken) { public CreateAUserRequest metadata(Object metadata) { - this.metadata = metadata; + this.metadata = JsonNullable.of(metadata); return this; } @@ -141,20 +157,28 @@ public CreateAUserRequest metadata(Object metadata) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Object getMetadata() { - return metadata; + return metadata.orElse(null); } - @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMetadata(Object metadata) { + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { this.metadata = metadata; } + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + public CreateAUserRequest nickname(String nickname) { this.nickname = nickname; @@ -165,7 +189,7 @@ public CreateAUserRequest nickname(String nickname) { * Get nickname * @return nickname **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NICKNAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -272,18 +296,29 @@ public boolean equals(Object o) { return false; } CreateAUserRequest createAUserRequest = (CreateAUserRequest) o; - return Objects.equals(this.discoveryKeys, createAUserRequest.discoveryKeys) && + return equalsNullable(this.discoveryKeys, createAUserRequest.discoveryKeys) && Objects.equals(this.issueAccessToken, createAUserRequest.issueAccessToken) && - Objects.equals(this.metadata, createAUserRequest.metadata) && + equalsNullable(this.metadata, createAUserRequest.metadata) && Objects.equals(this.nickname, createAUserRequest.nickname) && Objects.equals(this.profileFile, createAUserRequest.profileFile) && Objects.equals(this.profileUrl, createAUserRequest.profileUrl) && Objects.equals(this.userId, createAUserRequest.userId); } + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + @Override public int hashCode() { - return Objects.hash(discoveryKeys, issueAccessToken, metadata, nickname, profileFile, profileUrl, userId); + return Objects.hash(hashCodeNullable(discoveryKeys), issueAccessToken, hashCodeNullable(metadata), nickname, profileFile, profileUrl, userId); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override diff --git a/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java index fdfbd6cb..ae221a2a 100644 --- a/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java @@ -46,7 +46,7 @@ CreateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("createAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class CreateAnOpenChannelRequest { public static final String JSON_PROPERTY_IS_DYNAMIC_PARTITIONED = "is_dynamic_partitioned"; private Boolean isDynamicPartitioned; diff --git a/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java b/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java index 41c03a96..c54dac28 100644 --- a/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java @@ -35,7 +35,7 @@ CreateUserTokenRequest.JSON_PROPERTY_EXPIRES_AT }) @JsonTypeName("createUserToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class CreateUserTokenRequest { public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; private Long expiresAt; diff --git a/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java b/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java index b6569177..2ff2a4f7 100644 --- a/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java @@ -36,7 +36,7 @@ CreateUserTokenResponse.JSON_PROPERTY_TOKEN }) @JsonTypeName("createUserTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class CreateUserTokenResponse { public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; private Long expiresAt; diff --git a/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java index 6fd5a6c0..7773463f 100644 --- a/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java @@ -35,7 +35,7 @@ FreezeAGroupChannelRequest.JSON_PROPERTY_FREEZE }) @JsonTypeName("freezeAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class FreezeAGroupChannelRequest { public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; diff --git a/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java index c815d1c9..ac4bbae4 100644 --- a/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java @@ -35,7 +35,7 @@ FreezeAnOpenChannelRequest.JSON_PROPERTY_FREEZE }) @JsonTypeName("freezeAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class FreezeAnOpenChannelRequest { public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; diff --git a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java index 978b2627..578b79c5 100644 --- a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java @@ -33,8 +33,8 @@ import org.openapitools.client.model.SendbirdDisappearingMessage; import org.openapitools.client.model.SendbirdGroupChannel; import org.openapitools.client.model.SendbirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendbirdGroupChannelLastMessage; import org.openapitools.client.model.SendbirdMember; -import org.openapitools.client.model.SendbirdMessageResponse; import org.openapitools.client.model.SendbirdPushTriggerOption; import org.openapitools.client.model.SendbirdSmsFallback; import org.openapitools.jackson.nullable.JsonNullable; @@ -97,7 +97,7 @@ GetAGroupChannelResponse.JSON_PROPERTY_USER_LAST_READ }) @JsonTypeName("getAGroupChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class GetAGroupChannelResponse { public static final String JSON_PROPERTY_CHANNEL = "channel"; private SendbirdGroupChannelDetailChannel channel; @@ -227,7 +227,7 @@ public static HiddenStateEnum fromValue(String value) { private SendbirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; - private Boolean isAccessCodeRequired; + private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); public static final String JSON_PROPERTY_IS_BROADCAST = "is_broadcast"; private Boolean isBroadcast; @@ -263,10 +263,10 @@ public static HiddenStateEnum fromValue(String value) { private Integer joinedMemberCount; public static final String JSON_PROPERTY_JOINED_TS = "joined_ts"; - private Long joinedTs; + private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private JsonNullable lastMessage = JsonNullable.undefined(); + private SendbirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -321,7 +321,7 @@ public static MemberStateEnum fromValue(String value) { private Integer messageSurvivalSeconds; public static final String JSON_PROPERTY_METADATA = "metadata"; - private Object metadata; + private JsonNullable metadata = JsonNullable.undefined(); /** * Gets or Sets myRole @@ -833,7 +833,7 @@ public void setInviter(SendbirdBasicUserInfo inviter) { public GetAGroupChannelResponse isAccessCodeRequired(Boolean isAccessCodeRequired) { - this.isAccessCodeRequired = isAccessCodeRequired; + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); return this; } @@ -843,20 +843,28 @@ public GetAGroupChannelResponse isAccessCodeRequired(Boolean isAccessCodeRequire **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Boolean getIsAccessCodeRequired() { - return isAccessCodeRequired; + return isAccessCodeRequired.orElse(null); } - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { + + public JsonNullable getIsAccessCodeRequired_JsonNullable() { + return isAccessCodeRequired; + } + + @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) + public void setIsAccessCodeRequired_JsonNullable(JsonNullable isAccessCodeRequired) { this.isAccessCodeRequired = isAccessCodeRequired; } + public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); + } + public GetAGroupChannelResponse isBroadcast(Boolean isBroadcast) { this.isBroadcast = isBroadcast; @@ -1145,7 +1153,7 @@ public void setJoinedMemberCount(Integer joinedMemberCount) { public GetAGroupChannelResponse joinedTs(Long joinedTs) { - this.joinedTs = joinedTs; + this.joinedTs = JsonNullable.of(joinedTs); return this; } @@ -1155,23 +1163,31 @@ public GetAGroupChannelResponse joinedTs(Long joinedTs) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_JOINED_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Long getJoinedTs() { - return joinedTs; + return joinedTs.orElse(null); } - @JsonProperty(JSON_PROPERTY_JOINED_TS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setJoinedTs(Long joinedTs) { + + public JsonNullable getJoinedTs_JsonNullable() { + return joinedTs; + } + + @JsonProperty(JSON_PROPERTY_JOINED_TS) + public void setJoinedTs_JsonNullable(JsonNullable joinedTs) { this.joinedTs = joinedTs; } + public void setJoinedTs(Long joinedTs) { + this.joinedTs = JsonNullable.of(joinedTs); + } + - public GetAGroupChannelResponse lastMessage(SendbirdMessageResponse lastMessage) { - this.lastMessage = JsonNullable.of(lastMessage); + public GetAGroupChannelResponse lastMessage(SendbirdGroupChannelLastMessage lastMessage) { + this.lastMessage = lastMessage; return this; } @@ -1181,28 +1197,20 @@ public GetAGroupChannelResponse lastMessage(SendbirdMessageResponse lastMessage) **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonIgnore - - public SendbirdMessageResponse getLastMessage() { - return lastMessage.orElse(null); - } - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getLastMessage_JsonNullable() { + public SendbirdGroupChannelLastMessage getLastMessage() { return lastMessage; } - + + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - public void setLastMessage_JsonNullable(JsonNullable lastMessage) { + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastMessage(SendbirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } - public void setLastMessage(SendbirdMessageResponse lastMessage) { - this.lastMessage = JsonNullable.of(lastMessage); - } - public GetAGroupChannelResponse maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; @@ -1343,7 +1351,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { public GetAGroupChannelResponse metadata(Object metadata) { - this.metadata = metadata; + this.metadata = JsonNullable.of(metadata); return this; } @@ -1353,20 +1361,28 @@ public GetAGroupChannelResponse metadata(Object metadata) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Object getMetadata() { - return metadata; + return metadata.orElse(null); } - @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMetadata(Object metadata) { + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { this.metadata = metadata; } + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + public GetAGroupChannelResponse myRole(MyRoleEnum myRole) { this.myRole = myRole; @@ -1639,7 +1655,7 @@ public boolean equals(Object o) { Objects.equals(this.ignoreProfanityFilter, getAGroupChannelResponse.ignoreProfanityFilter) && Objects.equals(this.invitedAt, getAGroupChannelResponse.invitedAt) && Objects.equals(this.inviter, getAGroupChannelResponse.inviter) && - Objects.equals(this.isAccessCodeRequired, getAGroupChannelResponse.isAccessCodeRequired) && + equalsNullable(this.isAccessCodeRequired, getAGroupChannelResponse.isAccessCodeRequired) && Objects.equals(this.isBroadcast, getAGroupChannelResponse.isBroadcast) && Objects.equals(this.isDiscoverable, getAGroupChannelResponse.isDiscoverable) && Objects.equals(this.isDistinct, getAGroupChannelResponse.isDistinct) && @@ -1651,14 +1667,14 @@ public boolean equals(Object o) { Objects.equals(this.isPushEnabled, getAGroupChannelResponse.isPushEnabled) && Objects.equals(this.isSuper, getAGroupChannelResponse.isSuper) && Objects.equals(this.joinedMemberCount, getAGroupChannelResponse.joinedMemberCount) && - Objects.equals(this.joinedTs, getAGroupChannelResponse.joinedTs) && - equalsNullable(this.lastMessage, getAGroupChannelResponse.lastMessage) && + equalsNullable(this.joinedTs, getAGroupChannelResponse.joinedTs) && + Objects.equals(this.lastMessage, getAGroupChannelResponse.lastMessage) && Objects.equals(this.maxLengthMessage, getAGroupChannelResponse.maxLengthMessage) && Objects.equals(this.memberCount, getAGroupChannelResponse.memberCount) && Objects.equals(this.memberState, getAGroupChannelResponse.memberState) && Objects.equals(this.members, getAGroupChannelResponse.members) && Objects.equals(this.messageSurvivalSeconds, getAGroupChannelResponse.messageSurvivalSeconds) && - Objects.equals(this.metadata, getAGroupChannelResponse.metadata) && + equalsNullable(this.metadata, getAGroupChannelResponse.metadata) && Objects.equals(this.myRole, getAGroupChannelResponse.myRole) && Objects.equals(this.name, getAGroupChannelResponse.name) && Objects.equals(this.pushTriggerOption, getAGroupChannelResponse.pushTriggerOption) && @@ -1676,7 +1692,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(channel, channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, isAccessCodeRequired, isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, joinedTs, hashCodeNullable(lastMessage), maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, metadata, myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead); + return Objects.hash(channel, channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, hashCodeNullable(isAccessCodeRequired), isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, hashCodeNullable(joinedTs), lastMessage, maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, hashCodeNullable(metadata), myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead); } private static int hashCodeNullable(JsonNullable a) { diff --git a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java index 14bdcca0..b829d59a 100644 --- a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java +++ b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java @@ -36,7 +36,7 @@ GetAGroupChannelResponseAllOf.JSON_PROPERTY_CHANNEL }) @JsonTypeName("getAGroupChannelResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class GetAGroupChannelResponseAllOf { public static final String JSON_PROPERTY_CHANNEL = "channel"; private SendbirdGroupChannelDetailChannel channel; diff --git a/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java index 2527ab84..76cf3fd1 100644 --- a/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java +++ b/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java @@ -35,7 +35,7 @@ GetChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("getChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class GetChannelInvitationPreferenceResponse { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java b/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java index 37652d06..57b15670 100644 --- a/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java @@ -35,7 +35,7 @@ GetTotalNumberOfMessagesInAChannelResponse.JSON_PROPERTY_TOTAL }) @JsonTypeName("getTotalNumberOfMessagesInAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class GetTotalNumberOfMessagesInAChannelResponse { public static final String JSON_PROPERTY_TOTAL = "total"; private Integer total; diff --git a/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java b/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java index 330f1861..34f52fe7 100644 --- a/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java +++ b/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java @@ -39,7 +39,7 @@ GroupChannelListMembersResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("groupChannelListMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class GroupChannelListMembersResponse { public static final String JSON_PROPERTY_MEMBERS = "members"; private List members = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java b/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java index fe6529f1..f51190c2 100644 --- a/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java @@ -40,7 +40,7 @@ GroupChatListChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("groupChatListChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class GroupChatListChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; private List channels = null; diff --git a/src/main/java/org/openapitools/client/model/HideAChannelRequest.java b/src/main/java/org/openapitools/client/model/HideAChannelRequest.java index d33dd4a4..96e1bf8d 100644 --- a/src/main/java/org/openapitools/client/model/HideAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/HideAChannelRequest.java @@ -38,7 +38,7 @@ HideAChannelRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("hideAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class HideAChannelRequest { public static final String JSON_PROPERTY_ALLOW_AUTO_UNHIDE = "allow_auto_unhide"; private Boolean allowAutoUnhide; diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java b/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java index 1956c894..91f35200 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java @@ -40,7 +40,7 @@ InviteAsMembersRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("inviteAsMembers_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class InviteAsMembersRequest { public static final String JSON_PROPERTY_HIDDEN_STATUS = "hidden_status"; private Object hiddenStatus; diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java b/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java index 91b3068b..077e9c7c 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java @@ -32,8 +32,8 @@ import org.openapitools.client.model.SendbirdBasicUserInfo; import org.openapitools.client.model.SendbirdDisappearingMessage; import org.openapitools.client.model.SendbirdGroupChannel; +import org.openapitools.client.model.SendbirdGroupChannelLastMessage; import org.openapitools.client.model.SendbirdMember; -import org.openapitools.client.model.SendbirdMessageResponse; import org.openapitools.client.model.SendbirdPushTriggerOption; import org.openapitools.client.model.SendbirdSmsFallback; import org.openapitools.client.model.SendbirdUser; @@ -97,7 +97,7 @@ InviteAsMembersResponse.JSON_PROPERTY_OPERATORS }) @JsonTypeName("inviteAsMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class InviteAsMembersResponse { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -224,7 +224,7 @@ public static HiddenStateEnum fromValue(String value) { private SendbirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; - private Boolean isAccessCodeRequired; + private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); public static final String JSON_PROPERTY_IS_BROADCAST = "is_broadcast"; private Boolean isBroadcast; @@ -260,10 +260,10 @@ public static HiddenStateEnum fromValue(String value) { private Integer joinedMemberCount; public static final String JSON_PROPERTY_JOINED_TS = "joined_ts"; - private Long joinedTs; + private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private JsonNullable lastMessage = JsonNullable.undefined(); + private SendbirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -318,7 +318,7 @@ public static MemberStateEnum fromValue(String value) { private Integer messageSurvivalSeconds; public static final String JSON_PROPERTY_METADATA = "metadata"; - private Object metadata; + private JsonNullable metadata = JsonNullable.undefined(); /** * Gets or Sets myRole @@ -807,7 +807,7 @@ public void setInviter(SendbirdBasicUserInfo inviter) { public InviteAsMembersResponse isAccessCodeRequired(Boolean isAccessCodeRequired) { - this.isAccessCodeRequired = isAccessCodeRequired; + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); return this; } @@ -817,20 +817,28 @@ public InviteAsMembersResponse isAccessCodeRequired(Boolean isAccessCodeRequired **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Boolean getIsAccessCodeRequired() { - return isAccessCodeRequired; + return isAccessCodeRequired.orElse(null); } - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { + + public JsonNullable getIsAccessCodeRequired_JsonNullable() { + return isAccessCodeRequired; + } + + @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) + public void setIsAccessCodeRequired_JsonNullable(JsonNullable isAccessCodeRequired) { this.isAccessCodeRequired = isAccessCodeRequired; } + public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); + } + public InviteAsMembersResponse isBroadcast(Boolean isBroadcast) { this.isBroadcast = isBroadcast; @@ -1119,7 +1127,7 @@ public void setJoinedMemberCount(Integer joinedMemberCount) { public InviteAsMembersResponse joinedTs(Long joinedTs) { - this.joinedTs = joinedTs; + this.joinedTs = JsonNullable.of(joinedTs); return this; } @@ -1129,23 +1137,31 @@ public InviteAsMembersResponse joinedTs(Long joinedTs) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_JOINED_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Long getJoinedTs() { - return joinedTs; + return joinedTs.orElse(null); } - @JsonProperty(JSON_PROPERTY_JOINED_TS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setJoinedTs(Long joinedTs) { + + public JsonNullable getJoinedTs_JsonNullable() { + return joinedTs; + } + + @JsonProperty(JSON_PROPERTY_JOINED_TS) + public void setJoinedTs_JsonNullable(JsonNullable joinedTs) { this.joinedTs = joinedTs; } + public void setJoinedTs(Long joinedTs) { + this.joinedTs = JsonNullable.of(joinedTs); + } + - public InviteAsMembersResponse lastMessage(SendbirdMessageResponse lastMessage) { - this.lastMessage = JsonNullable.of(lastMessage); + public InviteAsMembersResponse lastMessage(SendbirdGroupChannelLastMessage lastMessage) { + this.lastMessage = lastMessage; return this; } @@ -1155,28 +1171,20 @@ public InviteAsMembersResponse lastMessage(SendbirdMessageResponse lastMessage) **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonIgnore - - public SendbirdMessageResponse getLastMessage() { - return lastMessage.orElse(null); - } - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getLastMessage_JsonNullable() { + public SendbirdGroupChannelLastMessage getLastMessage() { return lastMessage; } - + + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - public void setLastMessage_JsonNullable(JsonNullable lastMessage) { + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastMessage(SendbirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } - public void setLastMessage(SendbirdMessageResponse lastMessage) { - this.lastMessage = JsonNullable.of(lastMessage); - } - public InviteAsMembersResponse maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; @@ -1317,7 +1325,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { public InviteAsMembersResponse metadata(Object metadata) { - this.metadata = metadata; + this.metadata = JsonNullable.of(metadata); return this; } @@ -1327,20 +1335,28 @@ public InviteAsMembersResponse metadata(Object metadata) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Object getMetadata() { - return metadata; + return metadata.orElse(null); } - @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMetadata(Object metadata) { + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { this.metadata = metadata; } + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + public InviteAsMembersResponse myRole(MyRoleEnum myRole) { this.myRole = myRole; @@ -1646,7 +1662,7 @@ public boolean equals(Object o) { Objects.equals(this.ignoreProfanityFilter, inviteAsMembersResponse.ignoreProfanityFilter) && Objects.equals(this.invitedAt, inviteAsMembersResponse.invitedAt) && Objects.equals(this.inviter, inviteAsMembersResponse.inviter) && - Objects.equals(this.isAccessCodeRequired, inviteAsMembersResponse.isAccessCodeRequired) && + equalsNullable(this.isAccessCodeRequired, inviteAsMembersResponse.isAccessCodeRequired) && Objects.equals(this.isBroadcast, inviteAsMembersResponse.isBroadcast) && Objects.equals(this.isDiscoverable, inviteAsMembersResponse.isDiscoverable) && Objects.equals(this.isDistinct, inviteAsMembersResponse.isDistinct) && @@ -1658,14 +1674,14 @@ public boolean equals(Object o) { Objects.equals(this.isPushEnabled, inviteAsMembersResponse.isPushEnabled) && Objects.equals(this.isSuper, inviteAsMembersResponse.isSuper) && Objects.equals(this.joinedMemberCount, inviteAsMembersResponse.joinedMemberCount) && - Objects.equals(this.joinedTs, inviteAsMembersResponse.joinedTs) && - equalsNullable(this.lastMessage, inviteAsMembersResponse.lastMessage) && + equalsNullable(this.joinedTs, inviteAsMembersResponse.joinedTs) && + Objects.equals(this.lastMessage, inviteAsMembersResponse.lastMessage) && Objects.equals(this.maxLengthMessage, inviteAsMembersResponse.maxLengthMessage) && Objects.equals(this.memberCount, inviteAsMembersResponse.memberCount) && Objects.equals(this.memberState, inviteAsMembersResponse.memberState) && Objects.equals(this.members, inviteAsMembersResponse.members) && Objects.equals(this.messageSurvivalSeconds, inviteAsMembersResponse.messageSurvivalSeconds) && - Objects.equals(this.metadata, inviteAsMembersResponse.metadata) && + equalsNullable(this.metadata, inviteAsMembersResponse.metadata) && Objects.equals(this.myRole, inviteAsMembersResponse.myRole) && Objects.equals(this.name, inviteAsMembersResponse.name) && Objects.equals(this.pushTriggerOption, inviteAsMembersResponse.pushTriggerOption) && @@ -1684,7 +1700,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, isAccessCodeRequired, isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, joinedTs, hashCodeNullable(lastMessage), maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, metadata, myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead, operators); + return Objects.hash(channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, hashCodeNullable(isAccessCodeRequired), isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, hashCodeNullable(joinedTs), lastMessage, maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, hashCodeNullable(metadata), myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead, operators); } private static int hashCodeNullable(JsonNullable a) { diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java b/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java index 0c8ceb0a..03ad809a 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java @@ -38,7 +38,7 @@ InviteAsMembersResponseAllOf.JSON_PROPERTY_OPERATORS }) @JsonTypeName("inviteAsMembersResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class InviteAsMembersResponseAllOf { public static final String JSON_PROPERTY_OPERATORS = "operators"; private List operators = null; diff --git a/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java b/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java index 686db89c..13c185b7 100644 --- a/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java @@ -24,6 +24,10 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -36,13 +40,13 @@ JoinAChannelRequest.JSON_PROPERTY_ACCESS_CODE }) @JsonTypeName("joinAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class JoinAChannelRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; - private String accessCode; + private JsonNullable accessCode = JsonNullable.undefined(); public JoinAChannelRequest() { } @@ -74,7 +78,7 @@ public void setUserId(String userId) { public JoinAChannelRequest accessCode(String accessCode) { - this.accessCode = accessCode; + this.accessCode = JsonNullable.of(accessCode); return this; } @@ -84,20 +88,28 @@ public JoinAChannelRequest accessCode(String accessCode) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "This property should be specified if the public group channel to join requires an access code to users, which means that the is_access_code_required property of the channel resource is true.") - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public String getAccessCode() { - return accessCode; + return accessCode.orElse(null); } - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAccessCode(String accessCode) { + + public JsonNullable getAccessCode_JsonNullable() { + return accessCode; + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + public void setAccessCode_JsonNullable(JsonNullable accessCode) { this.accessCode = accessCode; } + public void setAccessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + } + /** * Return true if this joinAChannel_request object is equal to o. @@ -112,12 +124,23 @@ public boolean equals(Object o) { } JoinAChannelRequest joinAChannelRequest = (JoinAChannelRequest) o; return Objects.equals(this.userId, joinAChannelRequest.userId) && - Objects.equals(this.accessCode, joinAChannelRequest.accessCode); + equalsNullable(this.accessCode, joinAChannelRequest.accessCode); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); } @Override public int hashCode() { - return Objects.hash(userId, accessCode); + return Objects.hash(userId, hashCodeNullable(accessCode)); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override diff --git a/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java b/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java index 0f80ed08..b0000476 100644 --- a/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java +++ b/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java @@ -37,7 +37,7 @@ JoinChannelsRequest.JSON_PROPERTY_CHANNEL_URLS }) @JsonTypeName("joinChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class JoinChannelsRequest { public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; private List channelUrls = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java b/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java index 1f0ca082..4f50684f 100644 --- a/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java @@ -40,7 +40,7 @@ LeaveAChannelRequest.JSON_PROPERTY_REASON }) @JsonTypeName("leaveAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class LeaveAChannelRequest { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java b/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java index 23b98958..abd12d8b 100644 --- a/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java +++ b/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java @@ -35,7 +35,7 @@ LeaveMyGroupChannelsRequest.JSON_PROPERTY_CUSTOM_TYPE }) @JsonTypeName("leaveMyGroupChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class LeaveMyGroupChannelsRequest { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; diff --git a/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java b/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java index 38d0a4e8..ba16e933 100644 --- a/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java @@ -39,7 +39,7 @@ ListBlockedUsersResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("listBlockedUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListBlockedUsersResponse { public static final String JSON_PROPERTY_USERS = "users"; private List users = null; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponse.java b/src/main/java/org/openapitools/client/model/ListBotsResponse.java index d88f318a..23970a27 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponse.java @@ -39,7 +39,7 @@ ListBotsResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("listBotsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListBotsResponse { public static final String JSON_PROPERTY_BOTS = "bots"; private List bots = null; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java index 542f9bfd..393beaea 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java @@ -26,7 +26,6 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.ListBotsResponseBotsInnerAi; import org.openapitools.client.model.ListBotsResponseBotsInnerBot; import org.openapitools.client.model.ListBotsResponseBotsInnerBotStyle; import org.openapitools.client.model.ListBotsResponseBotsInnerFirstMessagesInner; @@ -39,7 +38,6 @@ * ListBotsResponseBotsInner */ @JsonPropertyOrder({ - ListBotsResponseBotsInner.JSON_PROPERTY_AI, ListBotsResponseBotsInner.JSON_PROPERTY_BOT, ListBotsResponseBotsInner.JSON_PROPERTY_BOT_CALLBACK_URL, ListBotsResponseBotsInner.JSON_PROPERTY_BOT_STYLE, @@ -52,11 +50,8 @@ ListBotsResponseBotsInner.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("listBotsResponse_bots_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListBotsResponseBotsInner { - public static final String JSON_PROPERTY_AI = "ai"; - private ListBotsResponseBotsInnerAi ai; - public static final String JSON_PROPERTY_BOT = "bot"; private ListBotsResponseBotsInnerBot bot; @@ -90,32 +85,6 @@ public class ListBotsResponseBotsInner { public ListBotsResponseBotsInner() { } - public ListBotsResponseBotsInner ai(ListBotsResponseBotsInnerAi ai) { - this.ai = ai; - return this; - } - - /** - * Get ai - * @return ai - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_AI) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public ListBotsResponseBotsInnerAi getAi() { - return ai; - } - - - @JsonProperty(JSON_PROPERTY_AI) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAi(ListBotsResponseBotsInnerAi ai) { - this.ai = ai; - } - - public ListBotsResponseBotsInner bot(ListBotsResponseBotsInnerBot bot) { this.bot = bot; return this; @@ -396,8 +365,7 @@ public boolean equals(Object o) { return false; } ListBotsResponseBotsInner listBotsResponseBotsInner = (ListBotsResponseBotsInner) o; - return Objects.equals(this.ai, listBotsResponseBotsInner.ai) && - Objects.equals(this.bot, listBotsResponseBotsInner.bot) && + return Objects.equals(this.bot, listBotsResponseBotsInner.bot) && Objects.equals(this.botCallbackUrl, listBotsResponseBotsInner.botCallbackUrl) && Objects.equals(this.botStyle, listBotsResponseBotsInner.botStyle) && Objects.equals(this.channelInvitationPreference, listBotsResponseBotsInner.channelInvitationPreference) && @@ -411,14 +379,13 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(ai, bot, botCallbackUrl, botStyle, channelInvitationPreference, createdAt, enableMarkAsRead, firstMessages, isPrivacyMode, safeguard, showMember); + return Objects.hash(bot, botCallbackUrl, botStyle, channelInvitationPreference, createdAt, enableMarkAsRead, firstMessages, isPrivacyMode, safeguard, showMember); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ListBotsResponseBotsInner {\n"); - sb.append(" ai: ").append(toIndentedString(ai)).append("\n"); sb.append(" bot: ").append(toIndentedString(bot)).append("\n"); sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); sb.append(" botStyle: ").append(toIndentedString(botStyle)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerAi.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerAi.java deleted file mode 100644 index 2d496d9e..00000000 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerAi.java +++ /dev/null @@ -1,489 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * ListBotsResponseBotsInnerAi - */ -@JsonPropertyOrder({ - ListBotsResponseBotsInnerAi.JSON_PROPERTY_BACKEND, - ListBotsResponseBotsInnerAi.JSON_PROPERTY_FEEDBACK, - ListBotsResponseBotsInnerAi.JSON_PROPERTY_FREQUENCY_PENALTY, - ListBotsResponseBotsInnerAi.JSON_PROPERTY_INSTRUCTION_MODE, - ListBotsResponseBotsInnerAi.JSON_PROPERTY_MAX_TOKENS, - ListBotsResponseBotsInnerAi.JSON_PROPERTY_MODEL, - ListBotsResponseBotsInnerAi.JSON_PROPERTY_PRESENCE_PENALTY, - ListBotsResponseBotsInnerAi.JSON_PROPERTY_STREAM, - ListBotsResponseBotsInnerAi.JSON_PROPERTY_SYSTEM_MESSAGE, - ListBotsResponseBotsInnerAi.JSON_PROPERTY_SYSTEM_MESSAGE_FOR_CONTEXT_PREFIX, - ListBotsResponseBotsInnerAi.JSON_PROPERTY_TEMPERATURE, - ListBotsResponseBotsInnerAi.JSON_PROPERTY_TOP_P -}) -@JsonTypeName("listBotsResponse_bots_inner_ai") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") -public class ListBotsResponseBotsInnerAi { - public static final String JSON_PROPERTY_BACKEND = "backend"; - private String backend; - - public static final String JSON_PROPERTY_FEEDBACK = "feedback"; - private Boolean feedback; - - public static final String JSON_PROPERTY_FREQUENCY_PENALTY = "frequency_penalty"; - private Integer frequencyPenalty; - - public static final String JSON_PROPERTY_INSTRUCTION_MODE = "instruction_mode"; - private JsonNullable instructionMode = JsonNullable.of(null); - - public static final String JSON_PROPERTY_MAX_TOKENS = "max_tokens"; - private Integer maxTokens; - - public static final String JSON_PROPERTY_MODEL = "model"; - private String model; - - public static final String JSON_PROPERTY_PRESENCE_PENALTY = "presence_penalty"; - private Integer presencePenalty; - - public static final String JSON_PROPERTY_STREAM = "stream"; - private Boolean stream; - - public static final String JSON_PROPERTY_SYSTEM_MESSAGE = "system_message"; - private String systemMessage; - - public static final String JSON_PROPERTY_SYSTEM_MESSAGE_FOR_CONTEXT_PREFIX = "system_message_for_context_prefix"; - private String systemMessageForContextPrefix; - - public static final String JSON_PROPERTY_TEMPERATURE = "temperature"; - private BigDecimal temperature; - - public static final String JSON_PROPERTY_TOP_P = "top_p"; - private Integer topP; - - public ListBotsResponseBotsInnerAi() { - } - - public ListBotsResponseBotsInnerAi backend(String backend) { - this.backend = backend; - return this; - } - - /** - * Get backend - * @return backend - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BACKEND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBackend() { - return backend; - } - - - @JsonProperty(JSON_PROPERTY_BACKEND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBackend(String backend) { - this.backend = backend; - } - - - public ListBotsResponseBotsInnerAi feedback(Boolean feedback) { - this.feedback = feedback; - return this; - } - - /** - * Get feedback - * @return feedback - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FEEDBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getFeedback() { - return feedback; - } - - - @JsonProperty(JSON_PROPERTY_FEEDBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFeedback(Boolean feedback) { - this.feedback = feedback; - } - - - public ListBotsResponseBotsInnerAi frequencyPenalty(Integer frequencyPenalty) { - this.frequencyPenalty = frequencyPenalty; - return this; - } - - /** - * Get frequencyPenalty - * @return frequencyPenalty - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FREQUENCY_PENALTY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getFrequencyPenalty() { - return frequencyPenalty; - } - - - @JsonProperty(JSON_PROPERTY_FREQUENCY_PENALTY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFrequencyPenalty(Integer frequencyPenalty) { - this.frequencyPenalty = frequencyPenalty; - } - - - public ListBotsResponseBotsInnerAi instructionMode(Object instructionMode) { - this.instructionMode = JsonNullable.of(instructionMode); - return this; - } - - /** - * Get instructionMode - * @return instructionMode - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Object getInstructionMode() { - return instructionMode.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_INSTRUCTION_MODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getInstructionMode_JsonNullable() { - return instructionMode; - } - - @JsonProperty(JSON_PROPERTY_INSTRUCTION_MODE) - public void setInstructionMode_JsonNullable(JsonNullable instructionMode) { - this.instructionMode = instructionMode; - } - - public void setInstructionMode(Object instructionMode) { - this.instructionMode = JsonNullable.of(instructionMode); - } - - - public ListBotsResponseBotsInnerAi maxTokens(Integer maxTokens) { - this.maxTokens = maxTokens; - return this; - } - - /** - * Get maxTokens - * @return maxTokens - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MAX_TOKENS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMaxTokens() { - return maxTokens; - } - - - @JsonProperty(JSON_PROPERTY_MAX_TOKENS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMaxTokens(Integer maxTokens) { - this.maxTokens = maxTokens; - } - - - public ListBotsResponseBotsInnerAi model(String model) { - this.model = model; - return this; - } - - /** - * Get model - * @return model - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MODEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getModel() { - return model; - } - - - @JsonProperty(JSON_PROPERTY_MODEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setModel(String model) { - this.model = model; - } - - - public ListBotsResponseBotsInnerAi presencePenalty(Integer presencePenalty) { - this.presencePenalty = presencePenalty; - return this; - } - - /** - * Get presencePenalty - * @return presencePenalty - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PRESENCE_PENALTY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getPresencePenalty() { - return presencePenalty; - } - - - @JsonProperty(JSON_PROPERTY_PRESENCE_PENALTY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPresencePenalty(Integer presencePenalty) { - this.presencePenalty = presencePenalty; - } - - - public ListBotsResponseBotsInnerAi stream(Boolean stream) { - this.stream = stream; - return this; - } - - /** - * Get stream - * @return stream - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_STREAM) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getStream() { - return stream; - } - - - @JsonProperty(JSON_PROPERTY_STREAM) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setStream(Boolean stream) { - this.stream = stream; - } - - - public ListBotsResponseBotsInnerAi systemMessage(String systemMessage) { - this.systemMessage = systemMessage; - return this; - } - - /** - * Get systemMessage - * @return systemMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SYSTEM_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getSystemMessage() { - return systemMessage; - } - - - @JsonProperty(JSON_PROPERTY_SYSTEM_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSystemMessage(String systemMessage) { - this.systemMessage = systemMessage; - } - - - public ListBotsResponseBotsInnerAi systemMessageForContextPrefix(String systemMessageForContextPrefix) { - this.systemMessageForContextPrefix = systemMessageForContextPrefix; - return this; - } - - /** - * Get systemMessageForContextPrefix - * @return systemMessageForContextPrefix - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SYSTEM_MESSAGE_FOR_CONTEXT_PREFIX) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getSystemMessageForContextPrefix() { - return systemMessageForContextPrefix; - } - - - @JsonProperty(JSON_PROPERTY_SYSTEM_MESSAGE_FOR_CONTEXT_PREFIX) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSystemMessageForContextPrefix(String systemMessageForContextPrefix) { - this.systemMessageForContextPrefix = systemMessageForContextPrefix; - } - - - public ListBotsResponseBotsInnerAi temperature(BigDecimal temperature) { - this.temperature = temperature; - return this; - } - - /** - * Get temperature - * @return temperature - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TEMPERATURE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public BigDecimal getTemperature() { - return temperature; - } - - - @JsonProperty(JSON_PROPERTY_TEMPERATURE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTemperature(BigDecimal temperature) { - this.temperature = temperature; - } - - - public ListBotsResponseBotsInnerAi topP(Integer topP) { - this.topP = topP; - return this; - } - - /** - * Get topP - * @return topP - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TOP_P) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getTopP() { - return topP; - } - - - @JsonProperty(JSON_PROPERTY_TOP_P) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTopP(Integer topP) { - this.topP = topP; - } - - - /** - * Return true if this listBotsResponse_bots_inner_ai object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ListBotsResponseBotsInnerAi listBotsResponseBotsInnerAi = (ListBotsResponseBotsInnerAi) o; - return Objects.equals(this.backend, listBotsResponseBotsInnerAi.backend) && - Objects.equals(this.feedback, listBotsResponseBotsInnerAi.feedback) && - Objects.equals(this.frequencyPenalty, listBotsResponseBotsInnerAi.frequencyPenalty) && - equalsNullable(this.instructionMode, listBotsResponseBotsInnerAi.instructionMode) && - Objects.equals(this.maxTokens, listBotsResponseBotsInnerAi.maxTokens) && - Objects.equals(this.model, listBotsResponseBotsInnerAi.model) && - Objects.equals(this.presencePenalty, listBotsResponseBotsInnerAi.presencePenalty) && - Objects.equals(this.stream, listBotsResponseBotsInnerAi.stream) && - Objects.equals(this.systemMessage, listBotsResponseBotsInnerAi.systemMessage) && - Objects.equals(this.systemMessageForContextPrefix, listBotsResponseBotsInnerAi.systemMessageForContextPrefix) && - Objects.equals(this.temperature, listBotsResponseBotsInnerAi.temperature) && - Objects.equals(this.topP, listBotsResponseBotsInnerAi.topP); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(backend, feedback, frequencyPenalty, hashCodeNullable(instructionMode), maxTokens, model, presencePenalty, stream, systemMessage, systemMessageForContextPrefix, temperature, topP); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ListBotsResponseBotsInnerAi {\n"); - sb.append(" backend: ").append(toIndentedString(backend)).append("\n"); - sb.append(" feedback: ").append(toIndentedString(feedback)).append("\n"); - sb.append(" frequencyPenalty: ").append(toIndentedString(frequencyPenalty)).append("\n"); - sb.append(" instructionMode: ").append(toIndentedString(instructionMode)).append("\n"); - sb.append(" maxTokens: ").append(toIndentedString(maxTokens)).append("\n"); - sb.append(" model: ").append(toIndentedString(model)).append("\n"); - sb.append(" presencePenalty: ").append(toIndentedString(presencePenalty)).append("\n"); - sb.append(" stream: ").append(toIndentedString(stream)).append("\n"); - sb.append(" systemMessage: ").append(toIndentedString(systemMessage)).append("\n"); - sb.append(" systemMessageForContextPrefix: ").append(toIndentedString(systemMessageForContextPrefix)).append("\n"); - sb.append(" temperature: ").append(toIndentedString(temperature)).append("\n"); - sb.append(" topP: ").append(toIndentedString(topP)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java index 9c4b3484..bbaaa28d 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java @@ -42,7 +42,7 @@ ListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_USERID }) @JsonTypeName("listBotsResponse_bots_inner_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBot { public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; private String aiAgentType; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java index 3972fd10..9527534a 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java @@ -43,7 +43,7 @@ ListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_URL }) @JsonTypeName("listBotsResponse_bots_inner_bot_style") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBotStyle { public static final String JSON_PROPERTY_AUTO_OPEN = "auto_open"; private Boolean autoOpen; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java index e3f3cf99..5dd270f9 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerBotStyleColor.JSON_PROPERTY_THEME }) @JsonTypeName("listBotsResponse_bots_inner_bot_style_color") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBotStyleColor { public static final String JSON_PROPERTY_ACCENT_COLOR = "accent_color"; private String accentColor; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java index 0adb83b5..49e592be 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerFirstMessagesInner.JSON_PROPERTY_MESSAGE }) @JsonTypeName("listBotsResponse_bots_inner_first_messages_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerFirstMessagesInner { public static final String JSON_PROPERTY_DATA = "data"; private ListBotsResponseBotsInnerFirstMessagesInnerData data; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java index 2879994a..833e094f 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerFirstMessagesInnerData.JSON_PROPERTY_SUGGESTED_REPLIES }) @JsonTypeName("listBotsResponse_bots_inner_first_messages_inner_data") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerFirstMessagesInnerData { public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; private List suggestedReplies = null; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java index 6a38a7ce..3636acb6 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java @@ -40,7 +40,7 @@ ListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_PII_MASKING }) @JsonTypeName("listBotsResponse_bots_inner_safeguard") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerSafeguard { public static final String JSON_PROPERTY_BANNED_PHRASES = "banned_phrases"; private List bannedPhrases = null; diff --git a/src/main/java/org/openapitools/client/model/ListMessagesResponse.java b/src/main/java/org/openapitools/client/model/ListMessagesResponse.java index 617b7db8..ec796e94 100644 --- a/src/main/java/org/openapitools/client/model/ListMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ListMessagesResponse.java @@ -38,7 +38,7 @@ ListMessagesResponse.JSON_PROPERTY_MESSAGES }) @JsonTypeName("listMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListMessagesResponse { public static final String JSON_PROPERTY_MESSAGES = "messages"; private List messages = null; diff --git a/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java b/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java index 192b8aeb..8ea68547 100644 --- a/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java @@ -40,7 +40,7 @@ ListMyGroupChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("listMyGroupChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListMyGroupChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; private List channels = null; diff --git a/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java b/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java index d674353d..94ac4724 100644 --- a/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java @@ -40,7 +40,7 @@ ListOpenChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("listOpenChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListOpenChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; private List channels = null; diff --git a/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java b/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java index f1bde85c..9bbc388c 100644 --- a/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java @@ -39,7 +39,7 @@ ListOperatorsResponse.JSON_PROPERTY_OPERATORS }) @JsonTypeName("listOperatorsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListOperatorsResponse { public static final String JSON_PROPERTY_NEXT = "next"; private String next; diff --git a/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java b/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java index 725a88e8..56c27721 100644 --- a/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java +++ b/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java @@ -41,7 +41,7 @@ ListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_USER }) @JsonTypeName("listRegistrationOrDeviceTokensResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListRegistrationOrDeviceTokensResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private List token = null; diff --git a/src/main/java/org/openapitools/client/model/ListUsersResponse.java b/src/main/java/org/openapitools/client/model/ListUsersResponse.java index af7417c1..ec893ca5 100644 --- a/src/main/java/org/openapitools/client/model/ListUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ListUsersResponse.java @@ -39,7 +39,7 @@ ListUsersResponse.JSON_PROPERTY_USERS }) @JsonTypeName("listUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ListUsersResponse { public static final String JSON_PROPERTY_NEXT = "next"; private String next; diff --git a/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java index ee99e374..4006c966 100644 --- a/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java +++ b/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java @@ -37,7 +37,7 @@ MarkAllMessagesAsReadRequest.JSON_PROPERTY_CHANNEL_URLS }) @JsonTypeName("markAllMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class MarkAllMessagesAsReadRequest { public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; private List channelUrls = null; diff --git a/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java index a0105bff..db83a176 100644 --- a/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java +++ b/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java @@ -35,7 +35,7 @@ MarkChannelMessagesAsReadRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("markChannelMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class MarkChannelMessagesAsReadRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java index 23970bab..cab58a90 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java @@ -44,7 +44,7 @@ MigrateMessagesAdminMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesAdminMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class MigrateMessagesAdminMessageRequest { /** * Gets or Sets messageType diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java index 0d936980..ed29f742 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java @@ -50,7 +50,7 @@ MigrateMessagesFileMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesFileMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class MigrateMessagesFileMessageRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java index 2417f4a1..d108a8df 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java @@ -47,7 +47,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") @JsonDeserialize(using = MigrateMessagesFileMessageRequestThumbnailsInner.MigrateMessagesFileMessageRequestThumbnailsInnerDeserializer.class) @JsonSerialize(using = MigrateMessagesFileMessageRequestThumbnailsInner.MigrateMessagesFileMessageRequestThumbnailsInnerSerializer.class) public class MigrateMessagesFileMessageRequestThumbnailsInner extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java index 59c10367..ea2f198b 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java @@ -39,7 +39,7 @@ MigrateMessagesRequest.JSON_PROPERTY_UPDATE_READ_TS, MigrateMessagesRequest.JSON_PROPERTY_REWIND_READ_TS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class MigrateMessagesRequest { public static final String JSON_PROPERTY_MESSAGES = "messages"; private List messages = null; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java b/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java index 9c586984..a30f089e 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java @@ -60,7 +60,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") @JsonDeserialize(using = MigrateMessagesRequestMessagesInner.MigrateMessagesRequestMessagesInnerDeserializer.class) @JsonSerialize(using = MigrateMessagesRequestMessagesInner.MigrateMessagesRequestMessagesInnerSerializer.class) public class MigrateMessagesRequestMessagesInner extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java index e8f68247..0534f909 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java @@ -44,7 +44,7 @@ MigrateMessagesTextMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesTextMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class MigrateMessagesTextMessageRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java index 7667be8f..56d3d0e4 100644 --- a/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java @@ -37,7 +37,7 @@ RegisterOperatorsToAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("registerOperatorsToAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class RegisterOperatorsToAGroupChannelRequest { public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; private List operatorIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java index fc4caa07..d532d4ac 100644 --- a/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java @@ -37,7 +37,7 @@ RemoveARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("removeARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class RemoveARegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private String token; diff --git a/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java index 5863dad7..f5d3dd2a 100644 --- a/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java @@ -39,7 +39,7 @@ RemoveAllRegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("removeAllRegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class RemoveAllRegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private List token = null; diff --git a/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java b/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java index 45955db6..9ad3bca7 100644 --- a/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java +++ b/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java @@ -36,7 +36,7 @@ ResetChatHistoryRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("resetChatHistory_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ResetChatHistoryRequest { public static final String JSON_PROPERTY_RESET_ALL = "reset_all"; private Boolean resetAll; diff --git a/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java b/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java index 83a93999..6ce68e23 100644 --- a/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java +++ b/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java @@ -35,7 +35,7 @@ ResetChatHistoryResponse.JSON_PROPERTY_TS_MESSAGE_OFFSET }) @JsonTypeName("resetChatHistoryResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ResetChatHistoryResponse { public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java index 4d9b87fa..e895253b 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java @@ -56,7 +56,7 @@ ScheduleAnAnnouncementRequest.JSON_PROPERTY_UNIQUE_ID }) @JsonTypeName("scheduleAnAnnouncement_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequest { public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; private String announcementGroup; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java index 739ab720..4f2f1e37 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java @@ -39,7 +39,7 @@ ScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_NAME }) @JsonTypeName("scheduleAnAnnouncement_request_create_channel_options") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequestCreateChannelOptions { public static final String JSON_PROPERTY_COVER_URL = "cover_url"; private String coverUrl; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java index 2cee5405..de7944df 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java @@ -39,7 +39,7 @@ ScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_USER_ID }) @JsonTypeName("scheduleAnAnnouncement_request_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequestMessage { public static final String JSON_PROPERTY_CONTENT = "content"; private String content; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java index fe4d18b4..7e940d37 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java @@ -61,7 +61,7 @@ ScheduleAnAnnouncementResponse.JSON_PROPERTY_UNIQUE_ID }) @JsonTypeName("scheduleAnAnnouncementResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementResponse { public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; private String announcementGroup; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java index 0ca868d2..f3f292f1 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java @@ -40,7 +40,7 @@ ScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_USER_ID }) @JsonTypeName("scheduleAnAnnouncementResponse_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementResponseMessage { public static final String JSON_PROPERTY_CONTENT = "content"; private String content; diff --git a/src/main/java/org/openapitools/client/model/SendABotMessageRequest.java b/src/main/java/org/openapitools/client/model/SendABotMessageRequest.java deleted file mode 100644 index b5fedf8d..00000000 --- a/src/main/java/org/openapitools/client/model/SendABotMessageRequest.java +++ /dev/null @@ -1,412 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendbirdExtendedMessagePayload; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendABotMessageRequest - */ -@JsonPropertyOrder({ - SendABotMessageRequest.JSON_PROPERTY_CHANNEL_URL, - SendABotMessageRequest.JSON_PROPERTY_CREATED_AT, - SendABotMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, - SendABotMessageRequest.JSON_PROPERTY_DATA, - SendABotMessageRequest.JSON_PROPERTY_DEDUP_ID, - SendABotMessageRequest.JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD, - SendABotMessageRequest.JSON_PROPERTY_MARK_AS_READ, - SendABotMessageRequest.JSON_PROPERTY_MENTIONED, - SendABotMessageRequest.JSON_PROPERTY_MESSAGE, - SendABotMessageRequest.JSON_PROPERTY_SEND_PUSH -}) -@JsonTypeName("sendABotMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") -public class SendABotMessageRequest { - public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; - private String channelUrl; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; - private String dedupId; - - public static final String JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD = "extended_message_payload"; - private SendbirdExtendedMessagePayload extendedMessagePayload; - - public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; - private Boolean markAsRead; - - public static final String JSON_PROPERTY_MENTIONED = "mentioned"; - private List mentioned = null; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private String message; - - public static final String JSON_PROPERTY_SEND_PUSH = "send_push"; - private Boolean sendPush; - - public SendABotMessageRequest() { - } - - public SendABotMessageRequest channelUrl(String channelUrl) { - this.channelUrl = channelUrl; - return this; - } - - /** - * Get channelUrl - * @return channelUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getChannelUrl() { - return channelUrl; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setChannelUrl(String channelUrl) { - this.channelUrl = channelUrl; - } - - - public SendABotMessageRequest createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendABotMessageRequest customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendABotMessageRequest data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendABotMessageRequest dedupId(String dedupId) { - this.dedupId = dedupId; - return this; - } - - /** - * Get dedupId - * @return dedupId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getDedupId() { - return dedupId; - } - - - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDedupId(String dedupId) { - this.dedupId = dedupId; - } - - - public SendABotMessageRequest extendedMessagePayload(SendbirdExtendedMessagePayload extendedMessagePayload) { - this.extendedMessagePayload = extendedMessagePayload; - return this; - } - - /** - * Get extendedMessagePayload - * @return extendedMessagePayload - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendbirdExtendedMessagePayload getExtendedMessagePayload() { - return extendedMessagePayload; - } - - - @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExtendedMessagePayload(SendbirdExtendedMessagePayload extendedMessagePayload) { - this.extendedMessagePayload = extendedMessagePayload; - } - - - public SendABotMessageRequest markAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - return this; - } - - /** - * Get markAsRead - * @return markAsRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getMarkAsRead() { - return markAsRead; - } - - - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMarkAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - } - - - public SendABotMessageRequest mentioned(List mentioned) { - this.mentioned = mentioned; - return this; - } - - public SendABotMessageRequest addMentionedItem(String mentionedItem) { - if (this.mentioned == null) { - this.mentioned = new ArrayList<>(); - } - this.mentioned.add(mentionedItem); - return this; - } - - /** - * Get mentioned - * @return mentioned - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTIONED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMentioned() { - return mentioned; - } - - - @JsonProperty(JSON_PROPERTY_MENTIONED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentioned(List mentioned) { - this.mentioned = mentioned; - } - - - public SendABotMessageRequest message(String message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessage(String message) { - this.message = message; - } - - - public SendABotMessageRequest sendPush(Boolean sendPush) { - this.sendPush = sendPush; - return this; - } - - /** - * Get sendPush - * @return sendPush - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SEND_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getSendPush() { - return sendPush; - } - - - @JsonProperty(JSON_PROPERTY_SEND_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSendPush(Boolean sendPush) { - this.sendPush = sendPush; - } - - - /** - * Return true if this sendABotMessage_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendABotMessageRequest sendABotMessageRequest = (SendABotMessageRequest) o; - return Objects.equals(this.channelUrl, sendABotMessageRequest.channelUrl) && - Objects.equals(this.createdAt, sendABotMessageRequest.createdAt) && - Objects.equals(this.customType, sendABotMessageRequest.customType) && - Objects.equals(this.data, sendABotMessageRequest.data) && - Objects.equals(this.dedupId, sendABotMessageRequest.dedupId) && - Objects.equals(this.extendedMessagePayload, sendABotMessageRequest.extendedMessagePayload) && - Objects.equals(this.markAsRead, sendABotMessageRequest.markAsRead) && - Objects.equals(this.mentioned, sendABotMessageRequest.mentioned) && - Objects.equals(this.message, sendABotMessageRequest.message) && - Objects.equals(this.sendPush, sendABotMessageRequest.sendPush); - } - - @Override - public int hashCode() { - return Objects.hash(channelUrl, createdAt, customType, data, dedupId, extendedMessagePayload, markAsRead, mentioned, message, sendPush); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendABotMessageRequest {\n"); - sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); - sb.append(" extendedMessagePayload: ").append(toIndentedString(extendedMessagePayload)).append("\n"); - sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); - sb.append(" mentioned: ").append(toIndentedString(mentioned)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" sendPush: ").append(toIndentedString(sendPush)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java b/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java new file mode 100644 index 00000000..8deaeabc --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java @@ -0,0 +1,114 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendbirdMessageResponse; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendABotMessageResponse + */ +@JsonPropertyOrder({ + SendABotMessageResponse.JSON_PROPERTY_MESSAGE +}) +@JsonTypeName("sendABotMessageResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +public class SendABotMessageResponse { + public static final String JSON_PROPERTY_MESSAGE = "message"; + private SendbirdMessageResponse message; + + public SendABotMessageResponse() { + } + + public SendABotMessageResponse message(SendbirdMessageResponse message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendbirdMessageResponse getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(SendbirdMessageResponse message) { + this.message = message; + } + + + /** + * Return true if this sendABotMessageResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendABotMessageResponse sendABotMessageResponse = (SendABotMessageResponse) o; + return Objects.equals(this.message, sendABotMessageResponse.message); + } + + @Override + public int hashCode() { + return Objects.hash(message); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendABotMessageResponse {\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendAMessageRequest.java index 1904fdd2..1c6a74a6 100644 --- a/src/main/java/org/openapitools/client/model/SendAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequest.java @@ -27,282 +27,989 @@ import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendAdminMessageRequestBody; -import org.openapitools.client.model.SendFileMessageRequestBody; -import org.openapitools.client.model.SendTextMessageRequestBody; -import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplate; +import org.openapitools.client.model.SendAMessageRequestPushMessageTemplate; import org.openapitools.client.model.SendbirdFile; import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; -import com.fasterxml.jackson.core.type.TypeReference; -import javax.ws.rs.core.GenericType; -import javax.ws.rs.core.Response; -import java.io.IOException; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; - -import com.fasterxml.jackson.core.JsonGenerator; -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.JsonToken; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.DeserializationContext; -import com.fasterxml.jackson.databind.JsonMappingException; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.MapperFeature; -import com.fasterxml.jackson.databind.SerializerProvider; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import com.fasterxml.jackson.databind.deser.std.StdDeserializer; -import com.fasterxml.jackson.databind.ser.std.StdSerializer; -import org.sendbird.client.JSON; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") -@JsonDeserialize(using = SendAMessageRequest.SendAMessageRequestDeserializer.class) -@JsonSerialize(using = SendAMessageRequest.SendAMessageRequestSerializer.class) -public class SendAMessageRequest extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendAMessageRequest.class.getName()); +/** + * SendAMessageRequest + */ +@JsonPropertyOrder({ + SendAMessageRequest.JSON_PROPERTY_MESSAGE_TYPE, + SendAMessageRequest.JSON_PROPERTY_USER_ID, + SendAMessageRequest.JSON_PROPERTY_MESSAGE, + SendAMessageRequest.JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE, + SendAMessageRequest.JSON_PROPERTY_POLL_ID, + SendAMessageRequest.JSON_PROPERTY_FILES, + SendAMessageRequest.JSON_PROPERTY_REQUIRE_AUTH, + SendAMessageRequest.JSON_PROPERTY_THUMBNAIL1, + SendAMessageRequest.JSON_PROPERTY_THUMBNAIL2, + SendAMessageRequest.JSON_PROPERTY_THUMBNAIL3, + SendAMessageRequest.JSON_PROPERTY_THUMBNAILS, + SendAMessageRequest.JSON_PROPERTY_APNS_BUNDLE_ID, + SendAMessageRequest.JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS, + SendAMessageRequest.JSON_PROPERTY_CREATED_AT, + SendAMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, + SendAMessageRequest.JSON_PROPERTY_DATA, + SendAMessageRequest.JSON_PROPERTY_DEDUP_ID, + SendAMessageRequest.JSON_PROPERTY_INCLUDE_POLL_DETAILS, + SendAMessageRequest.JSON_PROPERTY_IS_SILENT, + SendAMessageRequest.JSON_PROPERTY_MARK_AS_READ, + SendAMessageRequest.JSON_PROPERTY_MENTION_TYPE, + SendAMessageRequest.JSON_PROPERTY_MENTIONED_USER_IDS, + SendAMessageRequest.JSON_PROPERTY_SEND_PUSH, + SendAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY, + SendAMessageRequest.JSON_PROPERTY_SOUND, + SendAMessageRequest.JSON_PROPERTY_VOLUME +}) +@JsonTypeName("sendAMessage_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +public class SendAMessageRequest { + /** + * Gets or Sets messageType + */ + public enum MessageTypeEnum { + MESG("MESG"), + + ADMM("ADMM"), + + FILE("FILE"); + + private String value; + + MessageTypeEnum(String value) { + this.value = value; + } - public static class SendAMessageRequestSerializer extends StdSerializer { - public SendAMessageRequestSerializer(Class t) { - super(t); - } + @JsonValue + public String getValue() { + return value; + } - public SendAMessageRequestSerializer() { - this(null); - } + @Override + public String toString() { + return String.valueOf(value); + } - @Override - public void serialize(SendAMessageRequest value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { - jgen.writeObject(value.getActualInstance()); + @JsonCreator + public static MessageTypeEnum fromValue(String value) { + for (MessageTypeEnum b : MessageTypeEnum.values()) { + if (b.value.equals(value)) { + return b; } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); } + } - public static class SendAMessageRequestDeserializer extends StdDeserializer { - public SendAMessageRequestDeserializer() { - this(SendAMessageRequest.class); - } + public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; + private MessageTypeEnum messageType; - public SendAMessageRequestDeserializer(Class vc) { - super(vc); - } + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; - @Override - public SendAMessageRequest deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { - JsonNode tree = jp.readValueAsTree(); - Object deserialized = null; - boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); - int match = 0; - JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendAdminMessageRequestBody - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (SendAdminMessageRequestBody.class.equals(Integer.class) || SendAdminMessageRequestBody.class.equals(Long.class) || SendAdminMessageRequestBody.class.equals(Float.class) || SendAdminMessageRequestBody.class.equals(Double.class) || SendAdminMessageRequestBody.class.equals(Boolean.class) || SendAdminMessageRequestBody.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((SendAdminMessageRequestBody.class.equals(Integer.class) || SendAdminMessageRequestBody.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendAdminMessageRequestBody.class.equals(Float.class) || SendAdminMessageRequestBody.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendAdminMessageRequestBody.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendAdminMessageRequestBody.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendAdminMessageRequestBody.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'SendAdminMessageRequestBody'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendAdminMessageRequestBody'", e); - } - - // deserialize SendFileMessageRequestBody - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (SendFileMessageRequestBody.class.equals(Integer.class) || SendFileMessageRequestBody.class.equals(Long.class) || SendFileMessageRequestBody.class.equals(Float.class) || SendFileMessageRequestBody.class.equals(Double.class) || SendFileMessageRequestBody.class.equals(Boolean.class) || SendFileMessageRequestBody.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((SendFileMessageRequestBody.class.equals(Integer.class) || SendFileMessageRequestBody.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendFileMessageRequestBody.class.equals(Float.class) || SendFileMessageRequestBody.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendFileMessageRequestBody.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendFileMessageRequestBody.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendFileMessageRequestBody.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'SendFileMessageRequestBody'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendFileMessageRequestBody'", e); - } - - // deserialize SendTextMessageRequestBody - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (SendTextMessageRequestBody.class.equals(Integer.class) || SendTextMessageRequestBody.class.equals(Long.class) || SendTextMessageRequestBody.class.equals(Float.class) || SendTextMessageRequestBody.class.equals(Double.class) || SendTextMessageRequestBody.class.equals(Boolean.class) || SendTextMessageRequestBody.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((SendTextMessageRequestBody.class.equals(Integer.class) || SendTextMessageRequestBody.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendTextMessageRequestBody.class.equals(Float.class) || SendTextMessageRequestBody.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendTextMessageRequestBody.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendTextMessageRequestBody.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendTextMessageRequestBody.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'SendTextMessageRequestBody'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendTextMessageRequestBody'", e); - } - - if (match == 1) { - SendAMessageRequest ret = new SendAMessageRequest(); - ret.setActualInstance(deserialized); - return ret; - } - throw new IOException(String.format("Failed deserialization for SendAMessageRequest: %d classes match result, expected 1", match)); - } + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; - /** - * Handle deserialization of the 'null' value. - */ - @Override - public SendAMessageRequest getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendAMessageRequest cannot be null"); - } - } + public static final String JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE = "push_message_template"; + private SendAMessageRequestPushMessageTemplate pushMessageTemplate; - // store a list of schema names defined in oneOf - public static final Map schemas = new HashMap(); + public static final String JSON_PROPERTY_POLL_ID = "poll_id"; + private Integer pollId; - public SendAMessageRequest() { - super("oneOf", Boolean.FALSE); - } + public static final String JSON_PROPERTY_FILES = "files"; + private SendbirdFile files; - public SendAMessageRequest(SendAdminMessageRequestBody o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } + public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; + private Boolean requireAuth; - public SendAMessageRequest(SendFileMessageRequestBody o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } + public static final String JSON_PROPERTY_THUMBNAIL1 = "thumbnail1"; + private String thumbnail1; + + public static final String JSON_PROPERTY_THUMBNAIL2 = "thumbnail2"; + private String thumbnail2; + + public static final String JSON_PROPERTY_THUMBNAIL3 = "thumbnail3"; + private String thumbnail3; + + public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; + private List thumbnails = null; + + public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; + private String apnsBundleId; + + public static final String JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS = "apple_critical_alert_options"; + private Object appleCriticalAlertOptions; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; - public SendAMessageRequest(SendTextMessageRequestBody o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; + private String dedupId; + + public static final String JSON_PROPERTY_INCLUDE_POLL_DETAILS = "include_poll_details"; + private Boolean includePollDetails; + + public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; + private Boolean isSilent; + + public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; + private Boolean markAsRead; + + /** + * Gets or Sets mentionType + */ + public enum MentionTypeEnum { + USERS("users"), + + CHANNEL("channel"); + + private String value; + + MentionTypeEnum(String value) { + this.value = value; } - static { - schemas.put("SendAdminMessageRequestBody", new GenericType() { - }); - schemas.put("SendFileMessageRequestBody", new GenericType() { - }); - schemas.put("SendTextMessageRequestBody", new GenericType() { - }); - JSON.registerDescendants(SendAMessageRequest.class, Collections.unmodifiableMap(schemas)); + @JsonValue + public String getValue() { + return value; } @Override - public Map getSchemas() { - return SendAMessageRequest.schemas; + public String toString() { + return String.valueOf(value); } - /** - * Set the instance that matches the oneOf child schema, check - * the instance parameter is valid against the oneOf child schemas: - * SendAdminMessageRequestBody, SendFileMessageRequestBody, SendTextMessageRequestBody - * - * It could be an instance of the 'oneOf' schemas. - * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). - */ - @Override - public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendAdminMessageRequestBody.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; + @JsonCreator + public static MentionTypeEnum fromValue(String value) { + for (MentionTypeEnum b : MentionTypeEnum.values()) { + if (b.value.equals(value)) { + return b; } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } - if (JSON.isInstanceOf(SendFileMessageRequestBody.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } + public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; + private MentionTypeEnum mentionType; - if (JSON.isInstanceOf(SendTextMessageRequestBody.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } + public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; + private List mentionedUserIds = null; - throw new RuntimeException("Invalid instance type. Must be SendAdminMessageRequestBody, SendFileMessageRequestBody, SendTextMessageRequestBody"); - } + public static final String JSON_PROPERTY_SEND_PUSH = "send_push"; + private Boolean sendPush; - /** - * Get the actual instance, which can be the following: - * SendAdminMessageRequestBody, SendFileMessageRequestBody, SendTextMessageRequestBody - * - * @return The actual instance (SendAdminMessageRequestBody, SendFileMessageRequestBody, SendTextMessageRequestBody) - */ - @Override - public Object getActualInstance() { - return super.getActualInstance(); - } + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public static final String JSON_PROPERTY_SOUND = "sound"; + private String sound; + + public static final String JSON_PROPERTY_VOLUME = "volume"; + private BigDecimal volume; - /** - * Get the actual instance of `SendAdminMessageRequestBody`. If the actual instance is not `SendAdminMessageRequestBody`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `SendAdminMessageRequestBody` - * @throws ClassCastException if the instance is not `SendAdminMessageRequestBody` - */ - public SendAdminMessageRequestBody getSendAdminMessageRequestBody() throws ClassCastException { - return (SendAdminMessageRequestBody)super.getActualInstance(); - } + public SendAMessageRequest() { + } - /** - * Get the actual instance of `SendFileMessageRequestBody`. If the actual instance is not `SendFileMessageRequestBody`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `SendFileMessageRequestBody` - * @throws ClassCastException if the instance is not `SendFileMessageRequestBody` - */ - public SendFileMessageRequestBody getSendFileMessageRequestBody() throws ClassCastException { - return (SendFileMessageRequestBody)super.getActualInstance(); - } + public SendAMessageRequest messageType(MessageTypeEnum messageType) { + this.messageType = messageType; + return this; + } + + /** + * Get messageType + * @return messageType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public MessageTypeEnum getMessageType() { + return messageType; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessageType(MessageTypeEnum messageType) { + this.messageType = messageType; + } + + + public SendAMessageRequest userId(String userId) { + this.userId = userId; + return this; + } - /** - * Get the actual instance of `SendTextMessageRequestBody`. If the actual instance is not `SendTextMessageRequestBody`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `SendTextMessageRequestBody` - * @throws ClassCastException if the instance is not `SendTextMessageRequestBody` - */ - public SendTextMessageRequestBody getSendTextMessageRequestBody() throws ClassCastException { - return (SendTextMessageRequestBody)super.getActualInstance(); + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + public SendAMessageRequest message(String message) { + this.message = message; + return this; + } + + /** + * Specifies the content of the message. * This property is required when message_type is MESG or ADMM. + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the content of the message. * This property is required when message_type is MESG or ADMM.") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(String message) { + this.message = message; + } + + + public SendAMessageRequest pushMessageTemplate(SendAMessageRequestPushMessageTemplate pushMessageTemplate) { + this.pushMessageTemplate = pushMessageTemplate; + return this; + } + + /** + * Get pushMessageTemplate + * @return pushMessageTemplate + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendAMessageRequestPushMessageTemplate getPushMessageTemplate() { + return pushMessageTemplate; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushMessageTemplate(SendAMessageRequestPushMessageTemplate pushMessageTemplate) { + this.pushMessageTemplate = pushMessageTemplate; + } + + + public SendAMessageRequest pollId(Integer pollId) { + this.pollId = pollId; + return this; + } + + /** + * Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG. + * @return pollId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG.") + @JsonProperty(JSON_PROPERTY_POLL_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getPollId() { + return pollId; + } + + + @JsonProperty(JSON_PROPERTY_POLL_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPollId(Integer pollId) { + this.pollId = pollId; + } + + + public SendAMessageRequest files(SendbirdFile files) { + this.files = files; + return this; + } + + /** + * Get files + * @return files + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendbirdFile getFiles() { + return files; + } + + + @JsonProperty(JSON_PROPERTY_FILES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFiles(SendbirdFile files) { + this.files = files; + } + + + public SendAMessageRequest requireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + return this; + } + + /** + * Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. + * @return requireAuth + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file.") + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getRequireAuth() { + return requireAuth; + } + + + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRequireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + } + + + public SendAMessageRequest thumbnail1(String thumbnail1) { + this.thumbnail1 = thumbnail1; + return this; + } + + /** + * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. + * @return thumbnail1 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") + @JsonProperty(JSON_PROPERTY_THUMBNAIL1) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getThumbnail1() { + return thumbnail1; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAIL1) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnail1(String thumbnail1) { + this.thumbnail1 = thumbnail1; + } + + + public SendAMessageRequest thumbnail2(String thumbnail2) { + this.thumbnail2 = thumbnail2; + return this; + } + + /** + * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. + * @return thumbnail2 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") + @JsonProperty(JSON_PROPERTY_THUMBNAIL2) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getThumbnail2() { + return thumbnail2; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAIL2) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnail2(String thumbnail2) { + this.thumbnail2 = thumbnail2; + } + + + public SendAMessageRequest thumbnail3(String thumbnail3) { + this.thumbnail3 = thumbnail3; + return this; + } + + /** + * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. + * @return thumbnail3 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") + @JsonProperty(JSON_PROPERTY_THUMBNAIL3) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getThumbnail3() { + return thumbnail3; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAIL3) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnail3(String thumbnail3) { + this.thumbnail3 = thumbnail3; + } + + + public SendAMessageRequest thumbnails(List thumbnails) { + this.thumbnails = thumbnails; + return this; + } + + public SendAMessageRequest addThumbnailsItem(String thumbnailsItem) { + if (this.thumbnails == null) { + this.thumbnails = new ArrayList<>(); + } + this.thumbnails.add(thumbnailsItem); + return this; + } + + /** + * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. + * @return thumbnails + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") + @JsonProperty(JSON_PROPERTY_THUMBNAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getThumbnails() { + return thumbnails; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnails(List thumbnails) { + this.thumbnails = thumbnails; + } + + + public SendAMessageRequest apnsBundleId(String apnsBundleId) { + this.apnsBundleId = apnsBundleId; + return this; + } + + /** + * Get apnsBundleId + * @return apnsBundleId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getApnsBundleId() { + return apnsBundleId; + } + + + @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setApnsBundleId(String apnsBundleId) { + this.apnsBundleId = apnsBundleId; + } + + + public SendAMessageRequest appleCriticalAlertOptions(Object appleCriticalAlertOptions) { + this.appleCriticalAlertOptions = appleCriticalAlertOptions; + return this; + } + + /** + * Get appleCriticalAlertOptions + * @return appleCriticalAlertOptions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getAppleCriticalAlertOptions() { + return appleCriticalAlertOptions; + } + + + @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAppleCriticalAlertOptions(Object appleCriticalAlertOptions) { + this.appleCriticalAlertOptions = appleCriticalAlertOptions; + } + + + public SendAMessageRequest createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendAMessageRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendAMessageRequest data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendAMessageRequest dedupId(String dedupId) { + this.dedupId = dedupId; + return this; + } + + /** + * Get dedupId + * @return dedupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDedupId() { + return dedupId; + } + + + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDedupId(String dedupId) { + this.dedupId = dedupId; + } + + + public SendAMessageRequest includePollDetails(Boolean includePollDetails) { + this.includePollDetails = includePollDetails; + return this; + } + + /** + * Get includePollDetails + * @return includePollDetails + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INCLUDE_POLL_DETAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIncludePollDetails() { + return includePollDetails; + } + + + @JsonProperty(JSON_PROPERTY_INCLUDE_POLL_DETAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIncludePollDetails(Boolean includePollDetails) { + this.includePollDetails = includePollDetails; + } + + + public SendAMessageRequest isSilent(Boolean isSilent) { + this.isSilent = isSilent; + return this; + } + + /** + * Get isSilent + * @return isSilent + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSilent() { + return isSilent; + } + + + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSilent(Boolean isSilent) { + this.isSilent = isSilent; + } + + + public SendAMessageRequest markAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + return this; + } + + /** + * Get markAsRead + * @return markAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getMarkAsRead() { + return markAsRead; + } + + + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMarkAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + } + + + public SendAMessageRequest mentionType(MentionTypeEnum mentionType) { + this.mentionType = mentionType; + return this; + } + + /** + * Get mentionType + * @return mentionType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public MentionTypeEnum getMentionType() { + return mentionType; + } + + + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionType(MentionTypeEnum mentionType) { + this.mentionType = mentionType; + } + + + public SendAMessageRequest mentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + return this; + } + + public SendAMessageRequest addMentionedUserIdsItem(String mentionedUserIdsItem) { + if (this.mentionedUserIds == null) { + this.mentionedUserIds = new ArrayList<>(); + } + this.mentionedUserIds.add(mentionedUserIdsItem); + return this; + } + + /** + * Get mentionedUserIds + * @return mentionedUserIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMentionedUserIds() { + return mentionedUserIds; + } + + + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + } + + + public SendAMessageRequest sendPush(Boolean sendPush) { + this.sendPush = sendPush; + return this; + } + + /** + * Get sendPush + * @return sendPush + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SEND_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSendPush() { + return sendPush; + } + + + @JsonProperty(JSON_PROPERTY_SEND_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSendPush(Boolean sendPush) { + this.sendPush = sendPush; + } + + + public SendAMessageRequest sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendAMessageRequest addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + public SendAMessageRequest sound(String sound) { + this.sound = sound; + return this; + } + + /** + * Get sound + * @return sound + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getSound() { + return sound; + } + + + @JsonProperty(JSON_PROPERTY_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSound(String sound) { + this.sound = sound; + } + + + public SendAMessageRequest volume(BigDecimal volume) { + this.volume = volume; + return this; + } + + /** + * Get volume + * @return volume + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_VOLUME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public BigDecimal getVolume() { + return volume; + } + + + @JsonProperty(JSON_PROPERTY_VOLUME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVolume(BigDecimal volume) { + this.volume = volume; + } + + + /** + * Return true if this sendAMessage_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendAMessageRequest sendAMessageRequest = (SendAMessageRequest) o; + return Objects.equals(this.messageType, sendAMessageRequest.messageType) && + Objects.equals(this.userId, sendAMessageRequest.userId) && + Objects.equals(this.message, sendAMessageRequest.message) && + Objects.equals(this.pushMessageTemplate, sendAMessageRequest.pushMessageTemplate) && + Objects.equals(this.pollId, sendAMessageRequest.pollId) && + Objects.equals(this.files, sendAMessageRequest.files) && + Objects.equals(this.requireAuth, sendAMessageRequest.requireAuth) && + Objects.equals(this.thumbnail1, sendAMessageRequest.thumbnail1) && + Objects.equals(this.thumbnail2, sendAMessageRequest.thumbnail2) && + Objects.equals(this.thumbnail3, sendAMessageRequest.thumbnail3) && + Objects.equals(this.thumbnails, sendAMessageRequest.thumbnails) && + Objects.equals(this.apnsBundleId, sendAMessageRequest.apnsBundleId) && + Objects.equals(this.appleCriticalAlertOptions, sendAMessageRequest.appleCriticalAlertOptions) && + Objects.equals(this.createdAt, sendAMessageRequest.createdAt) && + Objects.equals(this.customType, sendAMessageRequest.customType) && + Objects.equals(this.data, sendAMessageRequest.data) && + Objects.equals(this.dedupId, sendAMessageRequest.dedupId) && + Objects.equals(this.includePollDetails, sendAMessageRequest.includePollDetails) && + Objects.equals(this.isSilent, sendAMessageRequest.isSilent) && + Objects.equals(this.markAsRead, sendAMessageRequest.markAsRead) && + Objects.equals(this.mentionType, sendAMessageRequest.mentionType) && + Objects.equals(this.mentionedUserIds, sendAMessageRequest.mentionedUserIds) && + Objects.equals(this.sendPush, sendAMessageRequest.sendPush) && + Objects.equals(this.sortedMetaarray, sendAMessageRequest.sortedMetaarray) && + Objects.equals(this.sound, sendAMessageRequest.sound) && + Objects.equals(this.volume, sendAMessageRequest.volume); + } + + @Override + public int hashCode() { + return Objects.hash(messageType, userId, message, pushMessageTemplate, pollId, files, requireAuth, thumbnail1, thumbnail2, thumbnail3, thumbnails, apnsBundleId, appleCriticalAlertOptions, createdAt, customType, data, dedupId, includePollDetails, isSilent, markAsRead, mentionType, mentionedUserIds, sendPush, sortedMetaarray, sound, volume); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendAMessageRequest {\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" pushMessageTemplate: ").append(toIndentedString(pushMessageTemplate)).append("\n"); + sb.append(" pollId: ").append(toIndentedString(pollId)).append("\n"); + sb.append(" files: ").append(toIndentedString(files)).append("\n"); + sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); + sb.append(" thumbnail1: ").append(toIndentedString(thumbnail1)).append("\n"); + sb.append(" thumbnail2: ").append(toIndentedString(thumbnail2)).append("\n"); + sb.append(" thumbnail3: ").append(toIndentedString(thumbnail3)).append("\n"); + sb.append(" thumbnails: ").append(toIndentedString(thumbnails)).append("\n"); + sb.append(" apnsBundleId: ").append(toIndentedString(apnsBundleId)).append("\n"); + sb.append(" appleCriticalAlertOptions: ").append(toIndentedString(appleCriticalAlertOptions)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); + sb.append(" includePollDetails: ").append(toIndentedString(includePollDetails)).append("\n"); + sb.append(" isSilent: ").append(toIndentedString(isSilent)).append("\n"); + sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); + sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); + sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); + sb.append(" sendPush: ").append(toIndentedString(sendPush)).append("\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append(" sound: ").append(toIndentedString(sound)).append("\n"); + sb.append(" volume: ").append(toIndentedString(volume)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; } + return o.toString().replace("\n", "\n "); + } } diff --git a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java new file mode 100644 index 00000000..37319691 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java @@ -0,0 +1,251 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendAMessageRequestPushMessageTemplateOneOf; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + +import com.fasterxml.jackson.core.type.TypeReference; + +import javax.ws.rs.core.GenericType; +import javax.ws.rs.core.Response; +import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import org.sendbird.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendAMessageRequestPushMessageTemplate.SendAMessageRequestPushMessageTemplateDeserializer.class) +@JsonSerialize(using = SendAMessageRequestPushMessageTemplate.SendAMessageRequestPushMessageTemplateSerializer.class) +public class SendAMessageRequestPushMessageTemplate extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendAMessageRequestPushMessageTemplate.class.getName()); + + public static class SendAMessageRequestPushMessageTemplateSerializer extends StdSerializer { + public SendAMessageRequestPushMessageTemplateSerializer(Class t) { + super(t); + } + + public SendAMessageRequestPushMessageTemplateSerializer() { + this(null); + } + + @Override + public void serialize(SendAMessageRequestPushMessageTemplate value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); + } + } + + public static class SendAMessageRequestPushMessageTemplateDeserializer extends StdDeserializer { + public SendAMessageRequestPushMessageTemplateDeserializer() { + this(SendAMessageRequestPushMessageTemplate.class); + } + + public SendAMessageRequestPushMessageTemplateDeserializer(Class vc) { + super(vc); + } + + @Override + public SendAMessageRequestPushMessageTemplate deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize SendAMessageRequestPushMessageTemplateOneOf + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (SendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((SendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendAMessageRequestPushMessageTemplateOneOf.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'SendAMessageRequestPushMessageTemplateOneOf'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'SendAMessageRequestPushMessageTemplateOneOf'", e); + } + + // deserialize String + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (String.class.equals(Integer.class) || String.class.equals(Long.class) || String.class.equals(Float.class) || String.class.equals(Double.class) || String.class.equals(Boolean.class) || String.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((String.class.equals(Integer.class) || String.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((String.class.equals(Float.class) || String.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (String.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (String.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(String.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'String'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'String'", e); + } + + if (match == 1) { + SendAMessageRequestPushMessageTemplate ret = new SendAMessageRequestPushMessageTemplate(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException(String.format("Failed deserialization for SendAMessageRequestPushMessageTemplate: %d classes match result, expected 1", match)); + } + + /** + * Handle deserialization of the 'null' value. + */ + @Override + public SendAMessageRequestPushMessageTemplate getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendAMessageRequestPushMessageTemplate cannot be null"); + } + } + + // store a list of schema names defined in oneOf + public static final Map schemas = new HashMap(); + + public SendAMessageRequestPushMessageTemplate() { + super("oneOf", Boolean.FALSE); + } + + public SendAMessageRequestPushMessageTemplate(SendAMessageRequestPushMessageTemplateOneOf o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + public SendAMessageRequestPushMessageTemplate(String o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("SendAMessageRequestPushMessageTemplateOneOf", new GenericType() { + }); + schemas.put("String", new GenericType() { + }); + JSON.registerDescendants(SendAMessageRequestPushMessageTemplate.class, Collections.unmodifiableMap(schemas)); + } + + @Override + public Map getSchemas() { + return SendAMessageRequestPushMessageTemplate.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * SendAMessageRequestPushMessageTemplateOneOf, String + * + * It could be an instance of the 'oneOf' schemas. + * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). + */ + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf(SendAMessageRequestPushMessageTemplateOneOf.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + if (JSON.isInstanceOf(String.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be SendAMessageRequestPushMessageTemplateOneOf, String"); + } + + /** + * Get the actual instance, which can be the following: + * SendAMessageRequestPushMessageTemplateOneOf, String + * + * @return The actual instance (SendAMessageRequestPushMessageTemplateOneOf, String) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `SendAMessageRequestPushMessageTemplateOneOf`. If the actual instance is not `SendAMessageRequestPushMessageTemplateOneOf`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SendAMessageRequestPushMessageTemplateOneOf` + * @throws ClassCastException if the instance is not `SendAMessageRequestPushMessageTemplateOneOf` + */ + public SendAMessageRequestPushMessageTemplateOneOf getSendAMessageRequestPushMessageTemplateOneOf() throws ClassCastException { + return (SendAMessageRequestPushMessageTemplateOneOf)super.getActualInstance(); + } + + /** + * Get the actual instance of `String`. If the actual instance is not `String`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `String` + * @throws ClassCastException if the instance is not `String` + */ + public String getString() throws ClassCastException { + return (String)super.getActualInstance(); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateOneOf.java b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java similarity index 78% rename from src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateOneOf.java rename to src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java index eea7af4b..87288454 100644 --- a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateOneOf.java +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java @@ -29,25 +29,25 @@ /** - * SendTextMessageRequestBodyPushMessageTemplateOneOf + * SendAMessageRequestPushMessageTemplateOneOf */ @JsonPropertyOrder({ - SendTextMessageRequestBodyPushMessageTemplateOneOf.JSON_PROPERTY_TITLE, - SendTextMessageRequestBodyPushMessageTemplateOneOf.JSON_PROPERTY_BODY + SendAMessageRequestPushMessageTemplateOneOf.JSON_PROPERTY_TITLE, + SendAMessageRequestPushMessageTemplateOneOf.JSON_PROPERTY_BODY }) -@JsonTypeName("sendTextMessageRequestBody_push_message_template_oneOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") -public class SendTextMessageRequestBodyPushMessageTemplateOneOf { +@JsonTypeName("sendAMessage_request_push_message_template_oneOf") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +public class SendAMessageRequestPushMessageTemplateOneOf { public static final String JSON_PROPERTY_TITLE = "title"; private String title; public static final String JSON_PROPERTY_BODY = "body"; private String body; - public SendTextMessageRequestBodyPushMessageTemplateOneOf() { + public SendAMessageRequestPushMessageTemplateOneOf() { } - public SendTextMessageRequestBodyPushMessageTemplateOneOf title(String title) { + public SendAMessageRequestPushMessageTemplateOneOf title(String title) { this.title = title; return this; } @@ -73,7 +73,7 @@ public void setTitle(String title) { } - public SendTextMessageRequestBodyPushMessageTemplateOneOf body(String body) { + public SendAMessageRequestPushMessageTemplateOneOf body(String body) { this.body = body; return this; } @@ -100,7 +100,7 @@ public void setBody(String body) { /** - * Return true if this sendTextMessageRequestBody_push_message_template_oneOf object is equal to o. + * Return true if this sendAMessage_request_push_message_template_oneOf object is equal to o. */ @Override public boolean equals(Object o) { @@ -110,9 +110,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendTextMessageRequestBodyPushMessageTemplateOneOf sendTextMessageRequestBodyPushMessageTemplateOneOf = (SendTextMessageRequestBodyPushMessageTemplateOneOf) o; - return Objects.equals(this.title, sendTextMessageRequestBodyPushMessageTemplateOneOf.title) && - Objects.equals(this.body, sendTextMessageRequestBodyPushMessageTemplateOneOf.body); + SendAMessageRequestPushMessageTemplateOneOf sendAMessageRequestPushMessageTemplateOneOf = (SendAMessageRequestPushMessageTemplateOneOf) o; + return Objects.equals(this.title, sendAMessageRequestPushMessageTemplateOneOf.title) && + Objects.equals(this.body, sendAMessageRequestPushMessageTemplateOneOf.body); } @Override @@ -123,7 +123,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendTextMessageRequestBodyPushMessageTemplateOneOf {\n"); + sb.append("class SendAMessageRequestPushMessageTemplateOneOf {\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" body: ").append(toIndentedString(body)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java index 5456cc74..fc0c2f6c 100644 --- a/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java @@ -50,7 +50,7 @@ SendAdminMessageRequestBody.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("sendAdminMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendAdminMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; diff --git a/src/main/java/org/openapitools/client/model/SendBirdFile.java b/src/main/java/org/openapitools/client/model/SendBirdFile.java index afd44915..3e5698af 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdFile.java +++ b/src/main/java/org/openapitools/client/model/SendBirdFile.java @@ -43,7 +43,7 @@ SendbirdFile.JSON_PROPERTY_REQUIRE_AUTH }) @JsonTypeName("Sendbird.File") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdFile { public static final String JSON_PROPERTY_URL = "url"; private String url; diff --git a/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java b/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java index 09925dd4..2fcf9fef 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java +++ b/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java @@ -30,8 +30,8 @@ import java.util.Map; import org.openapitools.client.model.SendbirdBasicUserInfo; import org.openapitools.client.model.SendbirdDisappearingMessage; +import org.openapitools.client.model.SendbirdGroupChannelLastMessage; import org.openapitools.client.model.SendbirdMember; -import org.openapitools.client.model.SendbirdMessageResponse; import org.openapitools.client.model.SendbirdPushTriggerOption; import org.openapitools.client.model.SendbirdSmsFallback; import org.openapitools.jackson.nullable.JsonNullable; @@ -93,7 +93,7 @@ SendbirdGroupChannel.JSON_PROPERTY_USER_LAST_READ }) @JsonTypeName("Sendbird.GroupChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdGroupChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -220,7 +220,7 @@ public static HiddenStateEnum fromValue(String value) { private SendbirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; - private Boolean isAccessCodeRequired; + private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); public static final String JSON_PROPERTY_IS_BROADCAST = "is_broadcast"; private Boolean isBroadcast; @@ -256,10 +256,10 @@ public static HiddenStateEnum fromValue(String value) { private Integer joinedMemberCount; public static final String JSON_PROPERTY_JOINED_TS = "joined_ts"; - private Long joinedTs; + private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private JsonNullable lastMessage = JsonNullable.undefined(); + private SendbirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -314,7 +314,7 @@ public static MemberStateEnum fromValue(String value) { private Integer messageSurvivalSeconds; public static final String JSON_PROPERTY_METADATA = "metadata"; - private Object metadata; + private JsonNullable metadata = JsonNullable.undefined(); /** * Gets or Sets myRole @@ -800,7 +800,7 @@ public void setInviter(SendbirdBasicUserInfo inviter) { public SendbirdGroupChannel isAccessCodeRequired(Boolean isAccessCodeRequired) { - this.isAccessCodeRequired = isAccessCodeRequired; + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); return this; } @@ -810,20 +810,28 @@ public SendbirdGroupChannel isAccessCodeRequired(Boolean isAccessCodeRequired) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Boolean getIsAccessCodeRequired() { - return isAccessCodeRequired; + return isAccessCodeRequired.orElse(null); } - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { + + public JsonNullable getIsAccessCodeRequired_JsonNullable() { + return isAccessCodeRequired; + } + + @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) + public void setIsAccessCodeRequired_JsonNullable(JsonNullable isAccessCodeRequired) { this.isAccessCodeRequired = isAccessCodeRequired; } + public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); + } + public SendbirdGroupChannel isBroadcast(Boolean isBroadcast) { this.isBroadcast = isBroadcast; @@ -1112,7 +1120,7 @@ public void setJoinedMemberCount(Integer joinedMemberCount) { public SendbirdGroupChannel joinedTs(Long joinedTs) { - this.joinedTs = joinedTs; + this.joinedTs = JsonNullable.of(joinedTs); return this; } @@ -1122,23 +1130,31 @@ public SendbirdGroupChannel joinedTs(Long joinedTs) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_JOINED_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Long getJoinedTs() { - return joinedTs; + return joinedTs.orElse(null); } - @JsonProperty(JSON_PROPERTY_JOINED_TS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setJoinedTs(Long joinedTs) { + + public JsonNullable getJoinedTs_JsonNullable() { + return joinedTs; + } + + @JsonProperty(JSON_PROPERTY_JOINED_TS) + public void setJoinedTs_JsonNullable(JsonNullable joinedTs) { this.joinedTs = joinedTs; } + public void setJoinedTs(Long joinedTs) { + this.joinedTs = JsonNullable.of(joinedTs); + } + - public SendbirdGroupChannel lastMessage(SendbirdMessageResponse lastMessage) { - this.lastMessage = JsonNullable.of(lastMessage); + public SendbirdGroupChannel lastMessage(SendbirdGroupChannelLastMessage lastMessage) { + this.lastMessage = lastMessage; return this; } @@ -1148,28 +1164,20 @@ public SendbirdGroupChannel lastMessage(SendbirdMessageResponse lastMessage) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonIgnore - - public SendbirdMessageResponse getLastMessage() { - return lastMessage.orElse(null); - } - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getLastMessage_JsonNullable() { + public SendbirdGroupChannelLastMessage getLastMessage() { return lastMessage; } - + + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - public void setLastMessage_JsonNullable(JsonNullable lastMessage) { + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastMessage(SendbirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } - public void setLastMessage(SendbirdMessageResponse lastMessage) { - this.lastMessage = JsonNullable.of(lastMessage); - } - public SendbirdGroupChannel maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; @@ -1310,7 +1318,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { public SendbirdGroupChannel metadata(Object metadata) { - this.metadata = metadata; + this.metadata = JsonNullable.of(metadata); return this; } @@ -1320,20 +1328,28 @@ public SendbirdGroupChannel metadata(Object metadata) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Object getMetadata() { - return metadata; + return metadata.orElse(null); } - @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMetadata(Object metadata) { + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { this.metadata = metadata; } + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + public SendbirdGroupChannel myRole(MyRoleEnum myRole) { this.myRole = myRole; @@ -1605,7 +1621,7 @@ public boolean equals(Object o) { Objects.equals(this.ignoreProfanityFilter, sendbirdGroupChannel.ignoreProfanityFilter) && Objects.equals(this.invitedAt, sendbirdGroupChannel.invitedAt) && Objects.equals(this.inviter, sendbirdGroupChannel.inviter) && - Objects.equals(this.isAccessCodeRequired, sendbirdGroupChannel.isAccessCodeRequired) && + equalsNullable(this.isAccessCodeRequired, sendbirdGroupChannel.isAccessCodeRequired) && Objects.equals(this.isBroadcast, sendbirdGroupChannel.isBroadcast) && Objects.equals(this.isDiscoverable, sendbirdGroupChannel.isDiscoverable) && Objects.equals(this.isDistinct, sendbirdGroupChannel.isDistinct) && @@ -1617,14 +1633,14 @@ public boolean equals(Object o) { Objects.equals(this.isPushEnabled, sendbirdGroupChannel.isPushEnabled) && Objects.equals(this.isSuper, sendbirdGroupChannel.isSuper) && Objects.equals(this.joinedMemberCount, sendbirdGroupChannel.joinedMemberCount) && - Objects.equals(this.joinedTs, sendbirdGroupChannel.joinedTs) && - equalsNullable(this.lastMessage, sendbirdGroupChannel.lastMessage) && + equalsNullable(this.joinedTs, sendbirdGroupChannel.joinedTs) && + Objects.equals(this.lastMessage, sendbirdGroupChannel.lastMessage) && Objects.equals(this.maxLengthMessage, sendbirdGroupChannel.maxLengthMessage) && Objects.equals(this.memberCount, sendbirdGroupChannel.memberCount) && Objects.equals(this.memberState, sendbirdGroupChannel.memberState) && Objects.equals(this.members, sendbirdGroupChannel.members) && Objects.equals(this.messageSurvivalSeconds, sendbirdGroupChannel.messageSurvivalSeconds) && - Objects.equals(this.metadata, sendbirdGroupChannel.metadata) && + equalsNullable(this.metadata, sendbirdGroupChannel.metadata) && Objects.equals(this.myRole, sendbirdGroupChannel.myRole) && Objects.equals(this.name, sendbirdGroupChannel.name) && Objects.equals(this.pushTriggerOption, sendbirdGroupChannel.pushTriggerOption) && @@ -1642,7 +1658,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, isAccessCodeRequired, isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, joinedTs, hashCodeNullable(lastMessage), maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, metadata, myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead); + return Objects.hash(channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, hashCodeNullable(isAccessCodeRequired), isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, hashCodeNullable(joinedTs), lastMessage, maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, hashCodeNullable(metadata), myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead); } private static int hashCodeNullable(JsonNullable a) { diff --git a/src/main/java/org/openapitools/client/model/SendBirdMember.java b/src/main/java/org/openapitools/client/model/SendBirdMember.java index a3f4dbb8..8cfdb381 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMember.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMember.java @@ -63,7 +63,7 @@ SendbirdMember.JSON_PROPERTY_USER_ID }) @JsonTypeName("Sendbird.Member") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdMember { public static final String JSON_PROPERTY_DELIVERED_TS = "delivered_ts"; private Long deliveredTs; @@ -96,7 +96,7 @@ public class SendbirdMember { private Long lastSeenAt; public static final String JSON_PROPERTY_METADATA = "metadata"; - private Object metadata; + private JsonNullable metadata = JsonNullable.undefined(); public static final String JSON_PROPERTY_MUTED_DESCRIPTION = "muted_description"; private String mutedDescription; @@ -105,7 +105,7 @@ public class SendbirdMember { private Long mutedEndAt; public static final String JSON_PROPERTY_NICKNAME = "nickname"; - private String nickname; + private JsonNullable nickname = JsonNullable.undefined(); public static final String JSON_PROPERTY_PUSH_ENABLED = "push_enabled"; private Boolean pushEnabled; @@ -114,7 +114,7 @@ public class SendbirdMember { private SendbirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; - private String profileUrl; + private String profileUrl = ""; public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; private Boolean requireAuthForProfileImage; @@ -497,7 +497,7 @@ public void setLastSeenAt(Long lastSeenAt) { public SendbirdMember metadata(Object metadata) { - this.metadata = metadata; + this.metadata = JsonNullable.of(metadata); return this; } @@ -507,20 +507,28 @@ public SendbirdMember metadata(Object metadata) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Object getMetadata() { - return metadata; + return metadata.orElse(null); } - @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMetadata(Object metadata) { + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { this.metadata = metadata; } + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + public SendbirdMember mutedDescription(String mutedDescription) { this.mutedDescription = mutedDescription; @@ -575,7 +583,7 @@ public void setMutedEndAt(Long mutedEndAt) { public SendbirdMember nickname(String nickname) { - this.nickname = nickname; + this.nickname = JsonNullable.of(nickname); return this; } @@ -585,20 +593,28 @@ public SendbirdMember nickname(String nickname) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public String getNickname() { - return nickname; + return nickname.orElse(null); } - @JsonProperty(JSON_PROPERTY_NICKNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNickname(String nickname) { + + public JsonNullable getNickname_JsonNullable() { + return nickname; + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + public void setNickname_JsonNullable(JsonNullable nickname) { this.nickname = nickname; } + public void setNickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + } + public SendbirdMember pushEnabled(Boolean pushEnabled) { this.pushEnabled = pushEnabled; @@ -846,10 +862,10 @@ public boolean equals(Object o) { Objects.equals(this.isMuted, sendbirdMember.isMuted) && Objects.equals(this.isOnline, sendbirdMember.isOnline) && Objects.equals(this.lastSeenAt, sendbirdMember.lastSeenAt) && - Objects.equals(this.metadata, sendbirdMember.metadata) && + equalsNullable(this.metadata, sendbirdMember.metadata) && Objects.equals(this.mutedDescription, sendbirdMember.mutedDescription) && Objects.equals(this.mutedEndAt, sendbirdMember.mutedEndAt) && - Objects.equals(this.nickname, sendbirdMember.nickname) && + equalsNullable(this.nickname, sendbirdMember.nickname) && Objects.equals(this.pushEnabled, sendbirdMember.pushEnabled) && Objects.equals(this.pushTriggerOption, sendbirdMember.pushTriggerOption) && Objects.equals(this.profileUrl, sendbirdMember.profileUrl) && @@ -866,7 +882,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(deliveredTs, doNotDisturb, hashCodeNullable(friendDiscoveryKey), hashCodeNullable(friendName), isActive, isBlockedByMe, isBlockingMe, isMuted, isOnline, lastSeenAt, metadata, mutedDescription, mutedEndAt, nickname, pushEnabled, pushTriggerOption, profileUrl, requireAuthForProfileImage, readTs, hashCodeNullable(role), hashCodeNullable(state), userId); + return Objects.hash(deliveredTs, doNotDisturb, hashCodeNullable(friendDiscoveryKey), hashCodeNullable(friendName), isActive, isBlockedByMe, isBlockingMe, isMuted, isOnline, lastSeenAt, hashCodeNullable(metadata), mutedDescription, mutedEndAt, hashCodeNullable(nickname), pushEnabled, pushTriggerOption, profileUrl, requireAuthForProfileImage, readTs, hashCodeNullable(role), hashCodeNullable(state), userId); } private static int hashCodeNullable(JsonNullable a) { diff --git a/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java index 4e0777ad..fb4819ca 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java @@ -27,8 +27,8 @@ import java.util.ArrayList; import java.util.List; import org.openapitools.client.model.SendbirdBasicUserInfo; -import org.openapitools.client.model.SendbirdExtendedMessagePayload; import org.openapitools.client.model.SendbirdFile; +import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload; import org.openapitools.client.model.SendbirdMessageResponseMessageEvents; import org.openapitools.client.model.SendbirdParentMessageInfo; import org.openapitools.client.model.SendbirdReaction; @@ -77,7 +77,7 @@ SendbirdMessageResponse.JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD }) @JsonTypeName("Sendbird.MessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdMessageResponse { public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; private Boolean requireAuth; @@ -146,7 +146,7 @@ public class SendbirdMessageResponse { private String channelUrl; public static final String JSON_PROPERTY_MESSAGE_ID = "message_id"; - private Integer messageId; + private Long messageId; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; private List sortedMetaarray = null; @@ -167,7 +167,7 @@ public class SendbirdMessageResponse { private JsonNullable messageEvents = JsonNullable.undefined(); public static final String JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD = "extended_message_payload"; - private SendbirdExtendedMessagePayload extendedMessagePayload; + private SendbirdMessageResponseExtendedMessagePayload extendedMessagePayload; public SendbirdMessageResponse() { } @@ -768,7 +768,7 @@ public void setChannelUrl(String channelUrl) { } - public SendbirdMessageResponse messageId(Integer messageId) { + public SendbirdMessageResponse messageId(Long messageId) { this.messageId = messageId; return this; } @@ -782,14 +782,14 @@ public SendbirdMessageResponse messageId(Integer messageId) { @JsonProperty(JSON_PROPERTY_MESSAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getMessageId() { + public Long getMessageId() { return messageId; } @JsonProperty(JSON_PROPERTY_MESSAGE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessageId(Integer messageId) { + public void setMessageId(Long messageId) { this.messageId = messageId; } @@ -966,7 +966,7 @@ public void setMessageEvents(SendbirdMessageResponseMessageEvents messageEvents) } - public SendbirdMessageResponse extendedMessagePayload(SendbirdExtendedMessagePayload extendedMessagePayload) { + public SendbirdMessageResponse extendedMessagePayload(SendbirdMessageResponseExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; return this; } @@ -980,14 +980,14 @@ public SendbirdMessageResponse extendedMessagePayload(SendbirdExtendedMessagePay @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdExtendedMessagePayload getExtendedMessagePayload() { + public SendbirdMessageResponseExtendedMessagePayload getExtendedMessagePayload() { return extendedMessagePayload; } @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExtendedMessagePayload(SendbirdExtendedMessagePayload extendedMessagePayload) { + public void setExtendedMessagePayload(SendbirdMessageResponseExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java b/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java index ac23a047..5d11f4ac 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java +++ b/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java @@ -27,6 +27,10 @@ import java.util.ArrayList; import java.util.List; import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -50,7 +54,7 @@ SendbirdOpenChannel.JSON_PROPERTY_METADATA }) @JsonTypeName("Sendbird.OpenChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdOpenChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -89,7 +93,7 @@ public class SendbirdOpenChannel { private Integer participantCount; public static final String JSON_PROPERTY_METADATA = "metadata"; - private Object metadata; + private JsonNullable metadata = JsonNullable.undefined(); public SendbirdOpenChannel() { } @@ -415,7 +419,7 @@ public void setParticipantCount(Integer participantCount) { public SendbirdOpenChannel metadata(Object metadata) { - this.metadata = metadata; + this.metadata = JsonNullable.of(metadata); return this; } @@ -425,20 +429,28 @@ public SendbirdOpenChannel metadata(Object metadata) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Object getMetadata() { - return metadata; + return metadata.orElse(null); } - @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMetadata(Object metadata) { + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { this.metadata = metadata; } + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + /** * Return true if this Sendbird.OpenChannel object is equal to o. @@ -464,12 +476,23 @@ public boolean equals(Object o) { Objects.equals(this.name, sendbirdOpenChannel.name) && Objects.equals(this.operators, sendbirdOpenChannel.operators) && Objects.equals(this.participantCount, sendbirdOpenChannel.participantCount) && - Objects.equals(this.metadata, sendbirdOpenChannel.metadata); + equalsNullable(this.metadata, sendbirdOpenChannel.metadata); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); } @Override public int hashCode() { - return Objects.hash(channelUrl, coverUrl, createdAt, customType, data, freeze, isDynamicPartitioned, isEphemeral, maxLengthMessage, name, operators, participantCount, metadata); + return Objects.hash(channelUrl, coverUrl, createdAt, customType, data, freeze, isDynamicPartitioned, isEphemeral, maxLengthMessage, name, operators, participantCount, hashCodeNullable(metadata)); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override diff --git a/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java b/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java index f6ec261b..74b230c5 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java +++ b/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java @@ -28,10 +28,6 @@ import java.util.List; import org.openapitools.client.model.SendbirdFile; import org.openapitools.client.model.SendbirdUser; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -49,7 +45,7 @@ SendbirdParentMessageInfo.JSON_PROPERTY_FILES }) @JsonTypeName("Sendbird.ParentMessageInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdParentMessageInfo { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -64,7 +60,7 @@ public class SendbirdParentMessageInfo { private Long ts; public static final String JSON_PROPERTY_USER = "user"; - private JsonNullable user = JsonNullable.undefined(); + private SendbirdUser user; public static final String JSON_PROPERTY_FILE = "file"; private SendbirdFile _file; @@ -180,7 +176,7 @@ public void setTs(Long ts) { public SendbirdParentMessageInfo user(SendbirdUser user) { - this.user = JsonNullable.of(user); + this.user = user; return this; } @@ -190,26 +186,18 @@ public SendbirdParentMessageInfo user(SendbirdUser user) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonIgnore - - public SendbirdUser getUser() { - return user.orElse(null); - } - @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getUser_JsonNullable() { + public SendbirdUser getUser() { return user; } - - @JsonProperty(JSON_PROPERTY_USER) - public void setUser_JsonNullable(JsonNullable user) { - this.user = user; - } + + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUser(SendbirdUser user) { - this.user = JsonNullable.of(user); + this.user = user; } @@ -289,25 +277,14 @@ public boolean equals(Object o) { Objects.equals(this.message, sendbirdParentMessageInfo.message) && Objects.equals(this.type, sendbirdParentMessageInfo.type) && Objects.equals(this.ts, sendbirdParentMessageInfo.ts) && - equalsNullable(this.user, sendbirdParentMessageInfo.user) && + Objects.equals(this.user, sendbirdParentMessageInfo.user) && Objects.equals(this._file, sendbirdParentMessageInfo._file) && Objects.equals(this.files, sendbirdParentMessageInfo.files); } - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - @Override public int hashCode() { - return Objects.hash(customType, message, type, ts, hashCodeNullable(user), _file, files); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + return Objects.hash(customType, message, type, ts, user, _file, files); } @Override diff --git a/src/main/java/org/openapitools/client/model/SendBirdReaction.java b/src/main/java/org/openapitools/client/model/SendBirdReaction.java index 577a27dc..13181128 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdReaction.java +++ b/src/main/java/org/openapitools/client/model/SendBirdReaction.java @@ -39,7 +39,7 @@ SendbirdReaction.JSON_PROPERTY_USER_IDS }) @JsonTypeName("Sendbird.Reaction") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdReaction { public static final String JSON_PROPERTY_KEY = "key"; private String key; diff --git a/src/main/java/org/openapitools/client/model/SendBirdUser.java b/src/main/java/org/openapitools/client/model/SendBirdUser.java index 608863b5..eee8dce6 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUser.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUser.java @@ -59,11 +59,10 @@ SendbirdUser.JSON_PROPERTY_UNREAD_CHANNEL_COUNT, SendbirdUser.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, SendbirdUser.JSON_PROPERTY_PHONE_NUMBER, - SendbirdUser.JSON_PROPERTY_IS_CREATED, - SendbirdUser.JSON_PROPERTY_SESSION_TOKENS + SendbirdUser.JSON_PROPERTY_IS_CREATED }) @JsonTypeName("Sendbird.User") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdUser { public static final String JSON_PROPERTY_ACCESS_TOKEN = "access_token"; private String accessToken; @@ -72,7 +71,7 @@ public class SendbirdUser { private Long createdAt; public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; - private List discoveryKeys = null; + private JsonNullable> discoveryKeys = JsonNullable.>undefined(); public static final String JSON_PROPERTY_HAS_EVER_LOGGED_IN = "has_ever_logged_in"; private Boolean hasEverLoggedIn; @@ -96,16 +95,16 @@ public class SendbirdUser { private String locale; public static final String JSON_PROPERTY_METADATA = "metadata"; - private Object metadata; + private JsonNullable metadata = JsonNullable.undefined(); public static final String JSON_PROPERTY_NICKNAME = "nickname"; - private String nickname; + private JsonNullable nickname = JsonNullable.undefined(); public static final String JSON_PROPERTY_PREFERRED_LANGUAGES = "preferred_languages"; - private List preferredLanguages = null; + private JsonNullable> preferredLanguages = JsonNullable.>undefined(); public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; - private String profileUrl; + private String profileUrl = ""; public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; private Boolean requireAuthForProfileImage; @@ -165,9 +164,6 @@ public static StateEnum fromValue(String value) { public static final String JSON_PROPERTY_IS_CREATED = "is_created"; private Boolean isCreated; - public static final String JSON_PROPERTY_SESSION_TOKENS = "session_tokens"; - private List sessionTokens = null; - public SendbirdUser() { } @@ -224,15 +220,19 @@ public void setCreatedAt(Long createdAt) { public SendbirdUser discoveryKeys(List discoveryKeys) { - this.discoveryKeys = discoveryKeys; + this.discoveryKeys = JsonNullable.>of(discoveryKeys); return this; } public SendbirdUser addDiscoveryKeysItem(String discoveryKeysItem) { - if (this.discoveryKeys == null) { - this.discoveryKeys = new ArrayList<>(); + if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { + this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); + } + try { + this.discoveryKeys.get().add(discoveryKeysItem); + } catch (java.util.NoSuchElementException e) { + // this can never happen, as we make sure above that the value is present } - this.discoveryKeys.add(discoveryKeysItem); return this; } @@ -242,20 +242,28 @@ public SendbirdUser addDiscoveryKeysItem(String discoveryKeysItem) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public List getDiscoveryKeys() { - return discoveryKeys; + return discoveryKeys.orElse(null); } - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDiscoveryKeys(List discoveryKeys) { + + public JsonNullable> getDiscoveryKeys_JsonNullable() { + return discoveryKeys; + } + + @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) + public void setDiscoveryKeys_JsonNullable(JsonNullable> discoveryKeys) { this.discoveryKeys = discoveryKeys; } + public void setDiscoveryKeys(List discoveryKeys) { + this.discoveryKeys = JsonNullable.>of(discoveryKeys); + } + public SendbirdUser hasEverLoggedIn(Boolean hasEverLoggedIn) { this.hasEverLoggedIn = hasEverLoggedIn; @@ -440,7 +448,7 @@ public void setLocale(String locale) { public SendbirdUser metadata(Object metadata) { - this.metadata = metadata; + this.metadata = JsonNullable.of(metadata); return this; } @@ -450,23 +458,31 @@ public SendbirdUser metadata(Object metadata) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Object getMetadata() { - return metadata; + return metadata.orElse(null); } - @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMetadata(Object metadata) { + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { this.metadata = metadata; } + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + public SendbirdUser nickname(String nickname) { - this.nickname = nickname; + this.nickname = JsonNullable.of(nickname); return this; } @@ -476,31 +492,43 @@ public SendbirdUser nickname(String nickname) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public String getNickname() { - return nickname; + return nickname.orElse(null); } - @JsonProperty(JSON_PROPERTY_NICKNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNickname(String nickname) { + + public JsonNullable getNickname_JsonNullable() { + return nickname; + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + public void setNickname_JsonNullable(JsonNullable nickname) { this.nickname = nickname; } + public void setNickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + } + public SendbirdUser preferredLanguages(List preferredLanguages) { - this.preferredLanguages = preferredLanguages; + this.preferredLanguages = JsonNullable.>of(preferredLanguages); return this; } public SendbirdUser addPreferredLanguagesItem(String preferredLanguagesItem) { - if (this.preferredLanguages == null) { - this.preferredLanguages = new ArrayList<>(); + if (this.preferredLanguages == null || !this.preferredLanguages.isPresent()) { + this.preferredLanguages = JsonNullable.>of(new ArrayList<>()); + } + try { + this.preferredLanguages.get().add(preferredLanguagesItem); + } catch (java.util.NoSuchElementException e) { + // this can never happen, as we make sure above that the value is present } - this.preferredLanguages.add(preferredLanguagesItem); return this; } @@ -510,20 +538,28 @@ public SendbirdUser addPreferredLanguagesItem(String preferredLanguagesItem) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public List getPreferredLanguages() { - return preferredLanguages; + return preferredLanguages.orElse(null); } - @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPreferredLanguages(List preferredLanguages) { + + public JsonNullable> getPreferredLanguages_JsonNullable() { + return preferredLanguages; + } + + @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) + public void setPreferredLanguages_JsonNullable(JsonNullable> preferredLanguages) { this.preferredLanguages = preferredLanguages; } + public void setPreferredLanguages(List preferredLanguages) { + this.preferredLanguages = JsonNullable.>of(preferredLanguages); + } + public SendbirdUser profileUrl(String profileUrl) { this.profileUrl = profileUrl; @@ -741,40 +777,6 @@ public void setIsCreated(Boolean isCreated) { } - public SendbirdUser sessionTokens(List sessionTokens) { - this.sessionTokens = sessionTokens; - return this; - } - - public SendbirdUser addSessionTokensItem(String sessionTokensItem) { - if (this.sessionTokens == null) { - this.sessionTokens = new ArrayList<>(); - } - this.sessionTokens.add(sessionTokensItem); - return this; - } - - /** - * Get sessionTokens - * @return sessionTokens - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SESSION_TOKENS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSessionTokens() { - return sessionTokens; - } - - - @JsonProperty(JSON_PROPERTY_SESSION_TOKENS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSessionTokens(List sessionTokens) { - this.sessionTokens = sessionTokens; - } - - /** * Return true if this Sendbird.User object is equal to o. */ @@ -789,7 +791,7 @@ public boolean equals(Object o) { SendbirdUser sendbirdUser = (SendbirdUser) o; return Objects.equals(this.accessToken, sendbirdUser.accessToken) && Objects.equals(this.createdAt, sendbirdUser.createdAt) && - Objects.equals(this.discoveryKeys, sendbirdUser.discoveryKeys) && + equalsNullable(this.discoveryKeys, sendbirdUser.discoveryKeys) && Objects.equals(this.hasEverLoggedIn, sendbirdUser.hasEverLoggedIn) && Objects.equals(this.isActive, sendbirdUser.isActive) && Objects.equals(this.isHideMeFromFriends, sendbirdUser.isHideMeFromFriends) && @@ -797,9 +799,9 @@ public boolean equals(Object o) { Objects.equals(this.isShadowBlocked, sendbirdUser.isShadowBlocked) && Objects.equals(this.lastSeenAt, sendbirdUser.lastSeenAt) && Objects.equals(this.locale, sendbirdUser.locale) && - Objects.equals(this.metadata, sendbirdUser.metadata) && - Objects.equals(this.nickname, sendbirdUser.nickname) && - Objects.equals(this.preferredLanguages, sendbirdUser.preferredLanguages) && + equalsNullable(this.metadata, sendbirdUser.metadata) && + equalsNullable(this.nickname, sendbirdUser.nickname) && + equalsNullable(this.preferredLanguages, sendbirdUser.preferredLanguages) && Objects.equals(this.profileUrl, sendbirdUser.profileUrl) && Objects.equals(this.requireAuthForProfileImage, sendbirdUser.requireAuthForProfileImage) && Objects.equals(this.userId, sendbirdUser.userId) && @@ -807,8 +809,7 @@ public boolean equals(Object o) { Objects.equals(this.unreadChannelCount, sendbirdUser.unreadChannelCount) && Objects.equals(this.unreadMessageCount, sendbirdUser.unreadMessageCount) && Objects.equals(this.phoneNumber, sendbirdUser.phoneNumber) && - Objects.equals(this.isCreated, sendbirdUser.isCreated) && - Objects.equals(this.sessionTokens, sendbirdUser.sessionTokens); + Objects.equals(this.isCreated, sendbirdUser.isCreated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -817,7 +818,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(accessToken, createdAt, discoveryKeys, hasEverLoggedIn, isActive, isHideMeFromFriends, isOnline, isShadowBlocked, lastSeenAt, locale, metadata, nickname, preferredLanguages, profileUrl, requireAuthForProfileImage, userId, hashCodeNullable(state), unreadChannelCount, unreadMessageCount, phoneNumber, isCreated, sessionTokens); + return Objects.hash(accessToken, createdAt, hashCodeNullable(discoveryKeys), hasEverLoggedIn, isActive, isHideMeFromFriends, isOnline, isShadowBlocked, lastSeenAt, locale, hashCodeNullable(metadata), hashCodeNullable(nickname), hashCodeNullable(preferredLanguages), profileUrl, requireAuthForProfileImage, userId, hashCodeNullable(state), unreadChannelCount, unreadMessageCount, phoneNumber, isCreated); } private static int hashCodeNullable(JsonNullable a) { @@ -852,7 +853,6 @@ public String toString() { sb.append(" unreadMessageCount: ").append(toIndentedString(unreadMessageCount)).append("\n"); sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append(" isCreated: ").append(toIndentedString(isCreated)).append("\n"); - sb.append(" sessionTokens: ").append(toIndentedString(sessionTokens)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java index 486624d8..f0b77364 100644 --- a/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java @@ -60,7 +60,7 @@ SendFileMessageRequestBody.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendFileMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendFileMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; diff --git a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java index 8cda2925..dbb8d953 100644 --- a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java @@ -58,7 +58,7 @@ SendTextMessageRequestBody.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendTextMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendTextMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; diff --git a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java index ec6dc12d..2472522f 100644 --- a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java +++ b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplateOneOf; +import org.openapitools.client.model.SendAMessageRequestPushMessageTemplateOneOf; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -55,7 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") @JsonDeserialize(using = SendTextMessageRequestBodyPushMessageTemplate.SendTextMessageRequestBodyPushMessageTemplateDeserializer.class) @JsonSerialize(using = SendTextMessageRequestBodyPushMessageTemplate.SendTextMessageRequestBodyPushMessageTemplateSerializer.class) public class SendTextMessageRequestBodyPushMessageTemplate extends AbstractOpenApiSchema { @@ -92,30 +92,30 @@ public SendTextMessageRequestBodyPushMessageTemplate deserialize(JsonParser jp, boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); int match = 0; JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendTextMessageRequestBodyPushMessageTemplateOneOf + // deserialize SendAMessageRequestPushMessageTemplateOneOf try { boolean attemptParsing = true; // ensure that we respect type coercion as set on the client ObjectMapper - if (SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(Integer.class) || SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(Long.class) || SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(Float.class) || SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(Double.class) || SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(Boolean.class) || SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(String.class)) { + if (SendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class)) { attemptParsing = typeCoercion; if (!attemptParsing) { - attemptParsing |= ((SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(Integer.class) || SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(Float.class) || SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendTextMessageRequestBodyPushMessageTemplateOneOf.class.equals(String.class) && token == JsonToken.VALUE_STRING); + attemptParsing |= ((SendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class) && token == JsonToken.VALUE_STRING); } } if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendTextMessageRequestBodyPushMessageTemplateOneOf.class); + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendAMessageRequestPushMessageTemplateOneOf.class); // TODO: there is no validation against JSON schema constraints // (min, max, enum, pattern...), this does not perform a strict JSON // validation, which means the 'match' count may be higher than it should be. match++; - log.log(Level.FINER, "Input data matches schema 'SendTextMessageRequestBodyPushMessageTemplateOneOf'"); + log.log(Level.FINER, "Input data matches schema 'SendAMessageRequestPushMessageTemplateOneOf'"); } } catch (Exception e) { // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendTextMessageRequestBodyPushMessageTemplateOneOf'", e); + log.log(Level.FINER, "Input data does not match schema 'SendAMessageRequestPushMessageTemplateOneOf'", e); } // deserialize String @@ -168,7 +168,7 @@ public SendTextMessageRequestBodyPushMessageTemplate() { super("oneOf", Boolean.FALSE); } - public SendTextMessageRequestBodyPushMessageTemplate(SendTextMessageRequestBodyPushMessageTemplateOneOf o) { + public SendTextMessageRequestBodyPushMessageTemplate(SendAMessageRequestPushMessageTemplateOneOf o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } @@ -179,7 +179,7 @@ public SendTextMessageRequestBodyPushMessageTemplate(String o) { } static { - schemas.put("SendTextMessageRequestBodyPushMessageTemplateOneOf", new GenericType() { + schemas.put("SendAMessageRequestPushMessageTemplateOneOf", new GenericType() { }); schemas.put("String", new GenericType() { }); @@ -194,14 +194,14 @@ public Map getSchemas() { /** * Set the instance that matches the oneOf child schema, check * the instance parameter is valid against the oneOf child schemas: - * SendTextMessageRequestBodyPushMessageTemplateOneOf, String + * SendAMessageRequestPushMessageTemplateOneOf, String * * It could be an instance of the 'oneOf' schemas. * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). */ @Override public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendTextMessageRequestBodyPushMessageTemplateOneOf.class, instance, new HashSet>())) { + if (JSON.isInstanceOf(SendAMessageRequestPushMessageTemplateOneOf.class, instance, new HashSet>())) { super.setActualInstance(instance); return; } @@ -211,14 +211,14 @@ public void setActualInstance(Object instance) { return; } - throw new RuntimeException("Invalid instance type. Must be SendTextMessageRequestBodyPushMessageTemplateOneOf, String"); + throw new RuntimeException("Invalid instance type. Must be SendAMessageRequestPushMessageTemplateOneOf, String"); } /** * Get the actual instance, which can be the following: - * SendTextMessageRequestBodyPushMessageTemplateOneOf, String + * SendAMessageRequestPushMessageTemplateOneOf, String * - * @return The actual instance (SendTextMessageRequestBodyPushMessageTemplateOneOf, String) + * @return The actual instance (SendAMessageRequestPushMessageTemplateOneOf, String) */ @Override public Object getActualInstance() { @@ -226,14 +226,14 @@ public Object getActualInstance() { } /** - * Get the actual instance of `SendTextMessageRequestBodyPushMessageTemplateOneOf`. If the actual instance is not `SendTextMessageRequestBodyPushMessageTemplateOneOf`, + * Get the actual instance of `SendAMessageRequestPushMessageTemplateOneOf`. If the actual instance is not `SendAMessageRequestPushMessageTemplateOneOf`, * the ClassCastException will be thrown. * - * @return The actual instance of `SendTextMessageRequestBodyPushMessageTemplateOneOf` - * @throws ClassCastException if the instance is not `SendTextMessageRequestBodyPushMessageTemplateOneOf` + * @return The actual instance of `SendAMessageRequestPushMessageTemplateOneOf` + * @throws ClassCastException if the instance is not `SendAMessageRequestPushMessageTemplateOneOf` */ - public SendTextMessageRequestBodyPushMessageTemplateOneOf getSendTextMessageRequestBodyPushMessageTemplateOneOf() throws ClassCastException { - return (SendTextMessageRequestBodyPushMessageTemplateOneOf)super.getActualInstance(); + public SendAMessageRequestPushMessageTemplateOneOf getSendAMessageRequestPushMessageTemplateOneOf() throws ClassCastException { + return (SendAMessageRequestPushMessageTemplateOneOf)super.getActualInstance(); } /** diff --git a/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java b/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java index befac684..8bcc279f 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java +++ b/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java @@ -24,6 +24,10 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -42,7 +46,7 @@ SendbirdBasicUserInfo.JSON_PROPERTY_METADATA }) @JsonTypeName("Sendbird.BasicUserInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdBasicUserInfo { public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; private Boolean requireAuthForProfileImage; @@ -94,16 +98,16 @@ public static RoleEnum fromValue(String value) { private RoleEnum role; public static final String JSON_PROPERTY_NICKNAME = "nickname"; - private String nickname; + private JsonNullable nickname = JsonNullable.undefined(); public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; - private String profileUrl; + private String profileUrl = ""; public static final String JSON_PROPERTY_METADATA = "metadata"; - private Object metadata; + private JsonNullable metadata = JsonNullable.undefined(); public SendbirdBasicUserInfo() { } @@ -213,7 +217,7 @@ public void setRole(RoleEnum role) { public SendbirdBasicUserInfo nickname(String nickname) { - this.nickname = nickname; + this.nickname = JsonNullable.of(nickname); return this; } @@ -223,20 +227,28 @@ public SendbirdBasicUserInfo nickname(String nickname) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public String getNickname() { - return nickname; + return nickname.orElse(null); } - @JsonProperty(JSON_PROPERTY_NICKNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNickname(String nickname) { + + public JsonNullable getNickname_JsonNullable() { + return nickname; + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + public void setNickname_JsonNullable(JsonNullable nickname) { this.nickname = nickname; } + public void setNickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + } + public SendbirdBasicUserInfo userId(String userId) { this.userId = userId; @@ -291,7 +303,7 @@ public void setProfileUrl(String profileUrl) { public SendbirdBasicUserInfo metadata(Object metadata) { - this.metadata = metadata; + this.metadata = JsonNullable.of(metadata); return this; } @@ -301,20 +313,28 @@ public SendbirdBasicUserInfo metadata(Object metadata) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public Object getMetadata() { - return metadata; + return metadata.orElse(null); } - @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMetadata(Object metadata) { + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { this.metadata = metadata; } + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + /** * Return true if this Sendbird.BasicUserInfo object is equal to o. @@ -332,15 +352,26 @@ public boolean equals(Object o) { Objects.equals(this.isActive, sendbirdBasicUserInfo.isActive) && Objects.equals(this.isBlockedByMe, sendbirdBasicUserInfo.isBlockedByMe) && Objects.equals(this.role, sendbirdBasicUserInfo.role) && - Objects.equals(this.nickname, sendbirdBasicUserInfo.nickname) && + equalsNullable(this.nickname, sendbirdBasicUserInfo.nickname) && Objects.equals(this.userId, sendbirdBasicUserInfo.userId) && Objects.equals(this.profileUrl, sendbirdBasicUserInfo.profileUrl) && - Objects.equals(this.metadata, sendbirdBasicUserInfo.metadata); + equalsNullable(this.metadata, sendbirdBasicUserInfo.metadata); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); } @Override public int hashCode() { - return Objects.hash(requireAuthForProfileImage, isActive, isBlockedByMe, role, nickname, userId, profileUrl, metadata); + return Objects.hash(requireAuthForProfileImage, isActive, isBlockedByMe, role, hashCodeNullable(nickname), userId, profileUrl, hashCodeNullable(metadata)); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override diff --git a/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java b/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java index a68da037..56edee78 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java +++ b/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java @@ -36,7 +36,7 @@ SendbirdDisappearingMessage.JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ }) @JsonTypeName("Sendbird.DisappearingMessage") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdDisappearingMessage { public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; diff --git a/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java index 4f361991..e9143ac5 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java +++ b/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java @@ -39,7 +39,7 @@ SendbirdExtendedMessagePayload.JSON_PROPERTY_SUGGESTED_REPLIES }) @JsonTypeName("Sendbird.ExtendedMessagePayload") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdExtendedMessagePayload { public static final String JSON_PROPERTY_CUSTOM_VIEW = "custom_view"; private Object customView; diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java index d1ef8030..478046fb 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java @@ -35,10 +35,6 @@ import org.openapitools.client.model.SendbirdMessageResponse; import org.openapitools.client.model.SendbirdSmsFallback; import org.openapitools.client.model.SendbirdUser; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -82,7 +78,7 @@ SendbirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MESSAGE_COUNT }) @JsonTypeName("Sendbird.GroupChannelDetail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdGroupChannelDetail { public static final String JSON_PROPERTY_CHANNEL = "channel"; private SendbirdGroupChannelDetailChannel channel; @@ -151,7 +147,7 @@ public class SendbirdGroupChannelDetail { private Integer joinedMemberCount; public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private JsonNullable lastMessage = JsonNullable.undefined(); + private SendbirdMessageResponse lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -767,7 +763,7 @@ public void setJoinedMemberCount(Integer joinedMemberCount) { public SendbirdGroupChannelDetail lastMessage(SendbirdMessageResponse lastMessage) { - this.lastMessage = JsonNullable.of(lastMessage); + this.lastMessage = lastMessage; return this; } @@ -777,26 +773,18 @@ public SendbirdGroupChannelDetail lastMessage(SendbirdMessageResponse lastMessag **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonIgnore - - public SendbirdMessageResponse getLastMessage() { - return lastMessage.orElse(null); - } - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getLastMessage_JsonNullable() { + public SendbirdMessageResponse getLastMessage() { return lastMessage; } - - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - public void setLastMessage_JsonNullable(JsonNullable lastMessage) { - this.lastMessage = lastMessage; - } + + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setLastMessage(SendbirdMessageResponse lastMessage) { - this.lastMessage = JsonNullable.of(lastMessage); + this.lastMessage = lastMessage; } @@ -1118,7 +1106,7 @@ public boolean equals(Object o) { Objects.equals(this.isPublic, sendbirdGroupChannelDetail.isPublic) && Objects.equals(this.isSuper, sendbirdGroupChannelDetail.isSuper) && Objects.equals(this.joinedMemberCount, sendbirdGroupChannelDetail.joinedMemberCount) && - equalsNullable(this.lastMessage, sendbirdGroupChannelDetail.lastMessage) && + Objects.equals(this.lastMessage, sendbirdGroupChannelDetail.lastMessage) && Objects.equals(this.maxLengthMessage, sendbirdGroupChannelDetail.maxLengthMessage) && Objects.equals(this.memberCount, sendbirdGroupChannelDetail.memberCount) && Objects.equals(this.members, sendbirdGroupChannelDetail.members) && @@ -1131,20 +1119,9 @@ public boolean equals(Object o) { Objects.equals(this.unreadMessageCount, sendbirdGroupChannelDetail.unreadMessageCount); } - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - @Override public int hashCode() { - return Objects.hash(channel, channelUrl, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, id, ignoreProfanityFilter, isAccessCodeRequired, isBroadcast, isDiscoverable, isDistinct, isEphemeral, isPublic, isSuper, joinedMemberCount, hashCodeNullable(lastMessage), maxLengthMessage, memberCount, members, messageSurvivalSeconds, name, operators, readReceipt, smsFallback, unreadMentionCount, unreadMessageCount); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + return Objects.hash(channel, channelUrl, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, id, ignoreProfanityFilter, isAccessCodeRequired, isBroadcast, isDiscoverable, isDistinct, isEphemeral, isPublic, isSuper, joinedMemberCount, lastMessage, maxLengthMessage, memberCount, members, messageSurvivalSeconds, name, operators, readReceipt, smsFallback, unreadMentionCount, unreadMessageCount); } @Override diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java index 8f875191..4aaa4da9 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java @@ -42,7 +42,7 @@ SendbirdGroupChannelDetailChannel.JSON_PROPERTY_NAME }) @JsonTypeName("Sendbird_GroupChannelDetail_channel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdGroupChannelDetailChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java new file mode 100644 index 00000000..e213c19a --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java @@ -0,0 +1,215 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendbirdFile; +import org.openapitools.client.model.SendbirdMessageResponse; +import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendbirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendbirdParentMessageInfo; +import org.openapitools.client.model.SendbirdReaction; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + +import com.fasterxml.jackson.core.type.TypeReference; + +import javax.ws.rs.core.GenericType; +import javax.ws.rs.core.Response; +import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import org.sendbird.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendbirdGroupChannelLastMessage.SendbirdGroupChannelLastMessageDeserializer.class) +@JsonSerialize(using = SendbirdGroupChannelLastMessage.SendbirdGroupChannelLastMessageSerializer.class) +public class SendbirdGroupChannelLastMessage extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendbirdGroupChannelLastMessage.class.getName()); + + public static class SendbirdGroupChannelLastMessageSerializer extends StdSerializer { + public SendbirdGroupChannelLastMessageSerializer(Class t) { + super(t); + } + + public SendbirdGroupChannelLastMessageSerializer() { + this(null); + } + + @Override + public void serialize(SendbirdGroupChannelLastMessage value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); + } + } + + public static class SendbirdGroupChannelLastMessageDeserializer extends StdDeserializer { + public SendbirdGroupChannelLastMessageDeserializer() { + this(SendbirdGroupChannelLastMessage.class); + } + + public SendbirdGroupChannelLastMessageDeserializer(Class vc) { + super(vc); + } + + @Override + public SendbirdGroupChannelLastMessage deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize SendbirdMessageResponse + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (SendbirdMessageResponse.class.equals(Integer.class) || SendbirdMessageResponse.class.equals(Long.class) || SendbirdMessageResponse.class.equals(Float.class) || SendbirdMessageResponse.class.equals(Double.class) || SendbirdMessageResponse.class.equals(Boolean.class) || SendbirdMessageResponse.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((SendbirdMessageResponse.class.equals(Integer.class) || SendbirdMessageResponse.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendbirdMessageResponse.class.equals(Float.class) || SendbirdMessageResponse.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendbirdMessageResponse.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendbirdMessageResponse.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendbirdMessageResponse.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'SendbirdMessageResponse'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'SendbirdMessageResponse'", e); + } + + if (match == 1) { + SendbirdGroupChannelLastMessage ret = new SendbirdGroupChannelLastMessage(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException(String.format("Failed deserialization for SendbirdGroupChannelLastMessage: %d classes match result, expected 1", match)); + } + + /** + * Handle deserialization of the 'null' value. + */ + @Override + public SendbirdGroupChannelLastMessage getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendbirdGroupChannelLastMessage cannot be null"); + } + } + + // store a list of schema names defined in oneOf + public static final Map schemas = new HashMap(); + + public SendbirdGroupChannelLastMessage() { + super("oneOf", Boolean.FALSE); + } + + public SendbirdGroupChannelLastMessage(SendbirdMessageResponse o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("SendbirdMessageResponse", new GenericType() { + }); + JSON.registerDescendants(SendbirdGroupChannelLastMessage.class, Collections.unmodifiableMap(schemas)); + } + + @Override + public Map getSchemas() { + return SendbirdGroupChannelLastMessage.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * SendbirdMessageResponse + * + * It could be an instance of the 'oneOf' schemas. + * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). + */ + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf(SendbirdMessageResponse.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be SendbirdMessageResponse"); + } + + /** + * Get the actual instance, which can be the following: + * SendbirdMessageResponse + * + * @return The actual instance (SendbirdMessageResponse) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `SendbirdMessageResponse`. If the actual instance is not `SendbirdMessageResponse`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SendbirdMessageResponse` + * @throws ClassCastException if the instance is not `SendbirdMessageResponse` + */ + public SendbirdMessageResponse getSendbirdMessageResponse() throws ClassCastException { + return (SendbirdMessageResponse)super.getActualInstance(); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java new file mode 100644 index 00000000..8a8993de --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java @@ -0,0 +1,204 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendbirdExtendedMessagePayload; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + +import com.fasterxml.jackson.core.type.TypeReference; + +import javax.ws.rs.core.GenericType; +import javax.ws.rs.core.Response; +import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import org.sendbird.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendbirdMessageResponseExtendedMessagePayload.SendbirdMessageResponseExtendedMessagePayloadDeserializer.class) +@JsonSerialize(using = SendbirdMessageResponseExtendedMessagePayload.SendbirdMessageResponseExtendedMessagePayloadSerializer.class) +public class SendbirdMessageResponseExtendedMessagePayload extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendbirdMessageResponseExtendedMessagePayload.class.getName()); + + public static class SendbirdMessageResponseExtendedMessagePayloadSerializer extends StdSerializer { + public SendbirdMessageResponseExtendedMessagePayloadSerializer(Class t) { + super(t); + } + + public SendbirdMessageResponseExtendedMessagePayloadSerializer() { + this(null); + } + + @Override + public void serialize(SendbirdMessageResponseExtendedMessagePayload value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); + } + } + + public static class SendbirdMessageResponseExtendedMessagePayloadDeserializer extends StdDeserializer { + public SendbirdMessageResponseExtendedMessagePayloadDeserializer() { + this(SendbirdMessageResponseExtendedMessagePayload.class); + } + + public SendbirdMessageResponseExtendedMessagePayloadDeserializer(Class vc) { + super(vc); + } + + @Override + public SendbirdMessageResponseExtendedMessagePayload deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize SendbirdExtendedMessagePayload + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (SendbirdExtendedMessagePayload.class.equals(Integer.class) || SendbirdExtendedMessagePayload.class.equals(Long.class) || SendbirdExtendedMessagePayload.class.equals(Float.class) || SendbirdExtendedMessagePayload.class.equals(Double.class) || SendbirdExtendedMessagePayload.class.equals(Boolean.class) || SendbirdExtendedMessagePayload.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((SendbirdExtendedMessagePayload.class.equals(Integer.class) || SendbirdExtendedMessagePayload.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendbirdExtendedMessagePayload.class.equals(Float.class) || SendbirdExtendedMessagePayload.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendbirdExtendedMessagePayload.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendbirdExtendedMessagePayload.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendbirdExtendedMessagePayload.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'SendbirdExtendedMessagePayload'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'SendbirdExtendedMessagePayload'", e); + } + + if (match == 1) { + SendbirdMessageResponseExtendedMessagePayload ret = new SendbirdMessageResponseExtendedMessagePayload(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException(String.format("Failed deserialization for SendbirdMessageResponseExtendedMessagePayload: %d classes match result, expected 1", match)); + } + + /** + * Handle deserialization of the 'null' value. + */ + @Override + public SendbirdMessageResponseExtendedMessagePayload getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendbirdMessageResponseExtendedMessagePayload cannot be null"); + } + } + + // store a list of schema names defined in oneOf + public static final Map schemas = new HashMap(); + + public SendbirdMessageResponseExtendedMessagePayload() { + super("oneOf", Boolean.FALSE); + } + + public SendbirdMessageResponseExtendedMessagePayload(SendbirdExtendedMessagePayload o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("SendbirdExtendedMessagePayload", new GenericType() { + }); + JSON.registerDescendants(SendbirdMessageResponseExtendedMessagePayload.class, Collections.unmodifiableMap(schemas)); + } + + @Override + public Map getSchemas() { + return SendbirdMessageResponseExtendedMessagePayload.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * SendbirdExtendedMessagePayload + * + * It could be an instance of the 'oneOf' schemas. + * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). + */ + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf(SendbirdExtendedMessagePayload.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be SendbirdExtendedMessagePayload"); + } + + /** + * Get the actual instance, which can be the following: + * SendbirdExtendedMessagePayload + * + * @return The actual instance (SendbirdExtendedMessagePayload) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `SendbirdExtendedMessagePayload`. If the actual instance is not `SendbirdExtendedMessagePayload`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SendbirdExtendedMessagePayload` + * @throws ClassCastException if the instance is not `SendbirdExtendedMessagePayload` + */ + public SendbirdExtendedMessagePayload getSendbirdExtendedMessagePayload() throws ClassCastException { + return (SendbirdExtendedMessagePayload)super.getActualInstance(); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java index 1a039826..e36ccc2d 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java +++ b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java @@ -38,7 +38,7 @@ SendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_LAST_MESSAGE }) @JsonTypeName("Sendbird_MessageResponse_message_events") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdMessageResponseMessageEvents { public static final String JSON_PROPERTY_SEND_PUSH_NOTIFICATION = "send_push_notification"; private String sendPushNotification; diff --git a/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java b/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java index 08cc0ca8..b161e34a 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java +++ b/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java @@ -38,7 +38,7 @@ SendbirdSmsFallback.JSON_PROPERTY_EXCLUDE_USER_IDS }) @JsonTypeName("Sendbird.SmsFallback") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdSmsFallback { public static final String JSON_PROPERTY_WAIT_SECONDS = "wait_seconds"; private Integer waitSeconds; diff --git a/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java b/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java index e3507ae4..852de4bb 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java +++ b/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java @@ -38,7 +38,7 @@ SendbirdSortedMetaarrayInner.JSON_PROPERTY_VALUE }) @JsonTypeName("Sendbird_SortedMetaarray_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdSortedMetaarrayInner { public static final String JSON_PROPERTY_KEY = "key"; private String key; diff --git a/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java b/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java index ec82d167..67010e4a 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java +++ b/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java @@ -40,7 +40,7 @@ SendbirdThumbnail.JSON_PROPERTY_WIDTH }) @JsonTypeName("Sendbird.Thumbnail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class SendbirdThumbnail { public static final String JSON_PROPERTY_HEIGHT = "height"; private Integer height; diff --git a/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java b/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java index 9dabddf0..82d99af6 100644 --- a/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java +++ b/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java @@ -37,7 +37,7 @@ StartTypingIndicatorsRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("startTypingIndicators_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class StartTypingIndicatorsRequest { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java index 83ec507f..a57b295b 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java @@ -36,7 +36,7 @@ UpdateAChannelMetadataRequest.JSON_PROPERTY_UPSERT }) @JsonTypeName("updateAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdateAChannelMetadataRequest { public static final String JSON_PROPERTY_METADATA = "metadata"; private Object metadata; @@ -56,7 +56,7 @@ public UpdateAChannelMetadataRequest metadata(Object metadata) { * Get metadata * @return metadata **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_METADATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java index 873b8c03..494151e1 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java @@ -27,6 +27,10 @@ import java.io.File; import java.util.ArrayList; import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -47,10 +51,10 @@ UpdateAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("updateAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdateAGroupChannelRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; - private String accessCode; + private JsonNullable accessCode = JsonNullable.undefined(); public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; private File coverFile; @@ -83,7 +87,7 @@ public UpdateAGroupChannelRequest() { } public UpdateAGroupChannelRequest accessCode(String accessCode) { - this.accessCode = accessCode; + this.accessCode = JsonNullable.of(accessCode); return this; } @@ -93,20 +97,28 @@ public UpdateAGroupChannelRequest accessCode(String accessCode) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public String getAccessCode() { - return accessCode; + return accessCode.orElse(null); } - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAccessCode(String accessCode) { + + public JsonNullable getAccessCode_JsonNullable() { + return accessCode; + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + public void setAccessCode_JsonNullable(JsonNullable accessCode) { this.accessCode = accessCode; } + public void setAccessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + } + public UpdateAGroupChannelRequest coverFile(File coverFile) { this.coverFile = coverFile; @@ -362,7 +374,7 @@ public boolean equals(Object o) { return false; } UpdateAGroupChannelRequest updateAGroupChannelRequest = (UpdateAGroupChannelRequest) o; - return Objects.equals(this.accessCode, updateAGroupChannelRequest.accessCode) && + return equalsNullable(this.accessCode, updateAGroupChannelRequest.accessCode) && Objects.equals(this.coverFile, updateAGroupChannelRequest.coverFile) && Objects.equals(this.coverUrl, updateAGroupChannelRequest.coverUrl) && Objects.equals(this.customType, updateAGroupChannelRequest.customType) && @@ -374,9 +386,20 @@ public boolean equals(Object o) { Objects.equals(this.operatorIds, updateAGroupChannelRequest.operatorIds); } + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + @Override public int hashCode() { - return Objects.hash(accessCode, coverFile, coverUrl, customType, data, isDistinct, isPublic, isSuper, name, operatorIds); + return Objects.hash(hashCodeNullable(accessCode), coverFile, coverUrl, customType, data, isDistinct, isPublic, isSuper, name, operatorIds); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override diff --git a/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java b/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java index f2e3e7d1..e860e8d5 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java @@ -43,7 +43,7 @@ UpdateAMessageRequest.JSON_PROPERTY_MESSAGE_TYPE }) @JsonTypeName("updateAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdateAMessageRequest { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; diff --git a/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java b/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java index e230abf2..814962c1 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java @@ -27,6 +27,10 @@ import java.io.File; import java.util.ArrayList; import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -46,10 +50,10 @@ UpdateAUserRequest.JSON_PROPERTY_PROFILE_URL }) @JsonTypeName("updateAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdateAUserRequest { public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; - private List discoveryKeys = null; + private JsonNullable> discoveryKeys = JsonNullable.>undefined(); public static final String JSON_PROPERTY_IS_ACTIVE = "is_active"; private Boolean isActive; @@ -64,30 +68,34 @@ public class UpdateAUserRequest { private Boolean leaveAllWhenDeactivated; public static final String JSON_PROPERTY_NICKNAME = "nickname"; - private String nickname; + private JsonNullable nickname = JsonNullable.undefined(); public static final String JSON_PROPERTY_PREFERRED_LANGUAGES = "preferred_languages"; - private List preferredLanguages = null; + private JsonNullable> preferredLanguages = JsonNullable.>undefined(); public static final String JSON_PROPERTY_PROFILE_FILE = "profile_file"; private File profileFile; public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; - private String profileUrl; + private JsonNullable profileUrl = JsonNullable.undefined(); public UpdateAUserRequest() { } public UpdateAUserRequest discoveryKeys(List discoveryKeys) { - this.discoveryKeys = discoveryKeys; + this.discoveryKeys = JsonNullable.>of(discoveryKeys); return this; } public UpdateAUserRequest addDiscoveryKeysItem(String discoveryKeysItem) { - if (this.discoveryKeys == null) { - this.discoveryKeys = new ArrayList<>(); + if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { + this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); + } + try { + this.discoveryKeys.get().add(discoveryKeysItem); + } catch (java.util.NoSuchElementException e) { + // this can never happen, as we make sure above that the value is present } - this.discoveryKeys.add(discoveryKeysItem); return this; } @@ -97,20 +105,28 @@ public UpdateAUserRequest addDiscoveryKeysItem(String discoveryKeysItem) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public List getDiscoveryKeys() { - return discoveryKeys; + return discoveryKeys.orElse(null); } - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDiscoveryKeys(List discoveryKeys) { + + public JsonNullable> getDiscoveryKeys_JsonNullable() { + return discoveryKeys; + } + + @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) + public void setDiscoveryKeys_JsonNullable(JsonNullable> discoveryKeys) { this.discoveryKeys = discoveryKeys; } + public void setDiscoveryKeys(List discoveryKeys) { + this.discoveryKeys = JsonNullable.>of(discoveryKeys); + } + public UpdateAUserRequest isActive(Boolean isActive) { this.isActive = isActive; @@ -217,7 +233,7 @@ public void setLeaveAllWhenDeactivated(Boolean leaveAllWhenDeactivated) { public UpdateAUserRequest nickname(String nickname) { - this.nickname = nickname; + this.nickname = JsonNullable.of(nickname); return this; } @@ -227,31 +243,43 @@ public UpdateAUserRequest nickname(String nickname) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public String getNickname() { - return nickname; + return nickname.orElse(null); } - @JsonProperty(JSON_PROPERTY_NICKNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNickname(String nickname) { + + public JsonNullable getNickname_JsonNullable() { + return nickname; + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + public void setNickname_JsonNullable(JsonNullable nickname) { this.nickname = nickname; } + public void setNickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + } + public UpdateAUserRequest preferredLanguages(List preferredLanguages) { - this.preferredLanguages = preferredLanguages; + this.preferredLanguages = JsonNullable.>of(preferredLanguages); return this; } public UpdateAUserRequest addPreferredLanguagesItem(String preferredLanguagesItem) { - if (this.preferredLanguages == null) { - this.preferredLanguages = new ArrayList<>(); + if (this.preferredLanguages == null || !this.preferredLanguages.isPresent()) { + this.preferredLanguages = JsonNullable.>of(new ArrayList<>()); + } + try { + this.preferredLanguages.get().add(preferredLanguagesItem); + } catch (java.util.NoSuchElementException e) { + // this can never happen, as we make sure above that the value is present } - this.preferredLanguages.add(preferredLanguagesItem); return this; } @@ -261,20 +289,28 @@ public UpdateAUserRequest addPreferredLanguagesItem(String preferredLanguagesIte **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public List getPreferredLanguages() { - return preferredLanguages; + return preferredLanguages.orElse(null); } - @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPreferredLanguages(List preferredLanguages) { + + public JsonNullable> getPreferredLanguages_JsonNullable() { + return preferredLanguages; + } + + @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) + public void setPreferredLanguages_JsonNullable(JsonNullable> preferredLanguages) { this.preferredLanguages = preferredLanguages; } + public void setPreferredLanguages(List preferredLanguages) { + this.preferredLanguages = JsonNullable.>of(preferredLanguages); + } + public UpdateAUserRequest profileFile(File profileFile) { this.profileFile = profileFile; @@ -303,7 +339,7 @@ public void setProfileFile(File profileFile) { public UpdateAUserRequest profileUrl(String profileUrl) { - this.profileUrl = profileUrl; + this.profileUrl = JsonNullable.of(profileUrl); return this; } @@ -313,20 +349,28 @@ public UpdateAUserRequest profileUrl(String profileUrl) { **/ @javax.annotation.Nullable @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonIgnore public String getProfileUrl() { - return profileUrl; + return profileUrl.orElse(null); } - @JsonProperty(JSON_PROPERTY_PROFILE_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setProfileUrl(String profileUrl) { + + public JsonNullable getProfileUrl_JsonNullable() { + return profileUrl; + } + + @JsonProperty(JSON_PROPERTY_PROFILE_URL) + public void setProfileUrl_JsonNullable(JsonNullable profileUrl) { this.profileUrl = profileUrl; } + public void setProfileUrl(String profileUrl) { + this.profileUrl = JsonNullable.of(profileUrl); + } + /** * Return true if this updateAUser_request object is equal to o. @@ -340,20 +384,31 @@ public boolean equals(Object o) { return false; } UpdateAUserRequest updateAUserRequest = (UpdateAUserRequest) o; - return Objects.equals(this.discoveryKeys, updateAUserRequest.discoveryKeys) && + return equalsNullable(this.discoveryKeys, updateAUserRequest.discoveryKeys) && Objects.equals(this.isActive, updateAUserRequest.isActive) && Objects.equals(this.issueAccessToken, updateAUserRequest.issueAccessToken) && Objects.equals(this.lastSeenAt, updateAUserRequest.lastSeenAt) && Objects.equals(this.leaveAllWhenDeactivated, updateAUserRequest.leaveAllWhenDeactivated) && - Objects.equals(this.nickname, updateAUserRequest.nickname) && - Objects.equals(this.preferredLanguages, updateAUserRequest.preferredLanguages) && + equalsNullable(this.nickname, updateAUserRequest.nickname) && + equalsNullable(this.preferredLanguages, updateAUserRequest.preferredLanguages) && Objects.equals(this.profileFile, updateAUserRequest.profileFile) && - Objects.equals(this.profileUrl, updateAUserRequest.profileUrl); + equalsNullable(this.profileUrl, updateAUserRequest.profileUrl); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); } @Override public int hashCode() { - return Objects.hash(discoveryKeys, isActive, issueAccessToken, lastSeenAt, leaveAllWhenDeactivated, nickname, preferredLanguages, profileFile, profileUrl); + return Objects.hash(hashCodeNullable(discoveryKeys), isActive, issueAccessToken, lastSeenAt, leaveAllWhenDeactivated, hashCodeNullable(nickname), hashCodeNullable(preferredLanguages), profileFile, hashCodeNullable(profileUrl)); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override diff --git a/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java index 1048845e..c90420e5 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java @@ -43,7 +43,7 @@ UpdateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("updateAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdateAnOpenChannelRequest { public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; private File coverFile; diff --git a/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java b/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java new file mode 100644 index 00000000..06ff5c15 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java @@ -0,0 +1,337 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * UpdateBotByIdData + */ +@JsonPropertyOrder({ + UpdateBotByIdData.JSON_PROPERTY_BOT_USERID, + UpdateBotByIdData.JSON_PROPERTY_BOT_NICKNAME, + UpdateBotByIdData.JSON_PROPERTY_BOT_PROFILE_URL, + UpdateBotByIdData.JSON_PROPERTY_BOT_CALLBACK_URL, + UpdateBotByIdData.JSON_PROPERTY_IS_PRIVACY_MODE, + UpdateBotByIdData.JSON_PROPERTY_ENABLE_MARK_AS_READ, + UpdateBotByIdData.JSON_PROPERTY_SHOW_MEMBER, + UpdateBotByIdData.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE +}) +@JsonTypeName("updateBotByIdData") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +public class UpdateBotByIdData { + public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; + private String botUserid; + + public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; + private String botNickname; + + public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; + private String botProfileUrl; + + public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; + private String botCallbackUrl; + + public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; + private Boolean isPrivacyMode; + + public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; + private Boolean enableMarkAsRead; + + public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; + private Boolean showMember; + + public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; + private Integer channelInvitationPreference; + + public UpdateBotByIdData() { + } + + public UpdateBotByIdData botUserid(String botUserid) { + this.botUserid = botUserid; + return this; + } + + /** + * Specifies the ID of the bot to update. + * @return botUserid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the ID of the bot to update.") + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotUserid() { + return botUserid; + } + + + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotUserid(String botUserid) { + this.botUserid = botUserid; + } + + + public UpdateBotByIdData botNickname(String botNickname) { + this.botNickname = botNickname; + return this; + } + + /** + * Specifies the bot's nickname. The length is limited to 80 characters. + * @return botNickname + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the bot's nickname. The length is limited to 80 characters.") + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotNickname() { + return botNickname; + } + + + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotNickname(String botNickname) { + this.botNickname = botNickname; + } + + + public UpdateBotByIdData botProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + return this; + } + + /** + * Specifies the URL of the bot's profile image. The size is limited to 2,048 characters. + * @return botProfileUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the URL of the bot's profile image. The size is limited to 2,048 characters.") + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotProfileUrl() { + return botProfileUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + } + + + public UpdateBotByIdData botCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + return this; + } + + /** + * Specifies the server URL where bot is located to receive all events, requests, and data forwarded from an application. For security reasons, it is highly recommended that you use an SSL server. The length is limited to 1,024 characters. + * @return botCallbackUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the server URL where bot is located to receive all events, requests, and data forwarded from an application. For security reasons, it is highly recommended that you use an SSL server. The length is limited to 1,024 characters.") + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotCallbackUrl() { + return botCallbackUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + } + + + public UpdateBotByIdData isPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + return this; + } + + /** + * In the channels of where the bot is a member, determines whether to only forward the messages with the specific conditions to the bot or forword all messages to the bot, for privacy concerns. If set to true, only messages that start with a '/' or mention the bot_userid are forwarded to the bot. If set to false, all messages are forwarded. + * @return isPrivacyMode + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "In the channels of where the bot is a member, determines whether to only forward the messages with the specific conditions to the bot or forword all messages to the bot, for privacy concerns. If set to true, only messages that start with a '/' or mention the bot_userid are forwarded to the bot. If set to false, all messages are forwarded.") + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Boolean getIsPrivacyMode() { + return isPrivacyMode; + } + + + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIsPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + } + + + public UpdateBotByIdData enableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + return this; + } + + /** + * Determines whether to mark the bot's message as read upon sending it. (Default: true) + * @return enableMarkAsRead + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Determines whether to mark the bot's message as read upon sending it. (Default: true)") + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Boolean getEnableMarkAsRead() { + return enableMarkAsRead; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setEnableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + } + + + public UpdateBotByIdData showMember(Boolean showMember) { + this.showMember = showMember; + return this; + } + + /** + * Determines whether to include information about the members of each channel in a callback response. (Default: false) + * @return showMember + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Determines whether to include information about the members of each channel in a callback response. (Default: false)") + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Boolean getShowMember() { + return showMember; + } + + + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setShowMember(Boolean showMember) { + this.showMember = showMember; + } + + + public UpdateBotByIdData channelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + return this; + } + + /** + * Determines whether the bot automatically joins the channel when invited or joins the channel after manually accepting an invitation using the API. If set to 0, it automatically joins the channel. If set to 1, the latter takes place. (Default: 0) + * @return channelInvitationPreference + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Determines whether the bot automatically joins the channel when invited or joins the channel after manually accepting an invitation using the API. If set to 0, it automatically joins the channel. If set to 1, the latter takes place. (Default: 0)") + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Integer getChannelInvitationPreference() { + return channelInvitationPreference; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setChannelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + } + + + /** + * Return true if this updateBotByIdData object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateBotByIdData updateBotByIdData = (UpdateBotByIdData) o; + return Objects.equals(this.botUserid, updateBotByIdData.botUserid) && + Objects.equals(this.botNickname, updateBotByIdData.botNickname) && + Objects.equals(this.botProfileUrl, updateBotByIdData.botProfileUrl) && + Objects.equals(this.botCallbackUrl, updateBotByIdData.botCallbackUrl) && + Objects.equals(this.isPrivacyMode, updateBotByIdData.isPrivacyMode) && + Objects.equals(this.enableMarkAsRead, updateBotByIdData.enableMarkAsRead) && + Objects.equals(this.showMember, updateBotByIdData.showMember) && + Objects.equals(this.channelInvitationPreference, updateBotByIdData.channelInvitationPreference); + } + + @Override + public int hashCode() { + return Objects.hash(botUserid, botNickname, botProfileUrl, botCallbackUrl, isPrivacyMode, enableMarkAsRead, showMember, channelInvitationPreference); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateBotByIdData {\n"); + sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); + sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); + sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); + sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); + sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); + sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); + sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); + sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java b/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java new file mode 100644 index 00000000..121ee35e --- /dev/null +++ b/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java @@ -0,0 +1,274 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.ViewBotByIdResponseBot; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * UpdateBotByIdResponse + */ +@JsonPropertyOrder({ + UpdateBotByIdResponse.JSON_PROPERTY_BOT, + UpdateBotByIdResponse.JSON_PROPERTY_BOT_CALLBACK_URL, + UpdateBotByIdResponse.JSON_PROPERTY_ENABLE_MARK_AS_READ, + UpdateBotByIdResponse.JSON_PROPERTY_IS_PRIVACY_MODE, + UpdateBotByIdResponse.JSON_PROPERTY_SHOW_MEMBER, + UpdateBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE +}) +@JsonTypeName("updateBotByIdResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +public class UpdateBotByIdResponse { + public static final String JSON_PROPERTY_BOT = "bot"; + private ViewBotByIdResponseBot bot; + + public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; + private String botCallbackUrl; + + public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; + private Boolean enableMarkAsRead; + + public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; + private Boolean isPrivacyMode; + + public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; + private Boolean showMember; + + public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; + private Integer channelInvitationPreference; + + public UpdateBotByIdResponse() { + } + + public UpdateBotByIdResponse bot(ViewBotByIdResponseBot bot) { + this.bot = bot; + return this; + } + + /** + * Get bot + * @return bot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public ViewBotByIdResponseBot getBot() { + return bot; + } + + + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBot(ViewBotByIdResponseBot bot) { + this.bot = bot; + } + + + public UpdateBotByIdResponse botCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + return this; + } + + /** + * Get botCallbackUrl + * @return botCallbackUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotCallbackUrl() { + return botCallbackUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + } + + + public UpdateBotByIdResponse enableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + return this; + } + + /** + * Get enableMarkAsRead + * @return enableMarkAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnableMarkAsRead() { + return enableMarkAsRead; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + } + + + public UpdateBotByIdResponse isPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + return this; + } + + /** + * Get isPrivacyMode + * @return isPrivacyMode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPrivacyMode() { + return isPrivacyMode; + } + + + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + } + + + public UpdateBotByIdResponse showMember(Boolean showMember) { + this.showMember = showMember; + return this; + } + + /** + * Get showMember + * @return showMember + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getShowMember() { + return showMember; + } + + + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShowMember(Boolean showMember) { + this.showMember = showMember; + } + + + public UpdateBotByIdResponse channelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + return this; + } + + /** + * Get channelInvitationPreference + * @return channelInvitationPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getChannelInvitationPreference() { + return channelInvitationPreference; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + } + + + /** + * Return true if this updateBotByIdResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateBotByIdResponse updateBotByIdResponse = (UpdateBotByIdResponse) o; + return Objects.equals(this.bot, updateBotByIdResponse.bot) && + Objects.equals(this.botCallbackUrl, updateBotByIdResponse.botCallbackUrl) && + Objects.equals(this.enableMarkAsRead, updateBotByIdResponse.enableMarkAsRead) && + Objects.equals(this.isPrivacyMode, updateBotByIdResponse.isPrivacyMode) && + Objects.equals(this.showMember, updateBotByIdResponse.showMember) && + Objects.equals(this.channelInvitationPreference, updateBotByIdResponse.channelInvitationPreference); + } + + @Override + public int hashCode() { + return Objects.hash(bot, botCallbackUrl, enableMarkAsRead, isPrivacyMode, showMember, channelInvitationPreference); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateBotByIdResponse {\n"); + sb.append(" bot: ").append(toIndentedString(bot)).append("\n"); + sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); + sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); + sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); + sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); + sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java index 4ec0b713..a48d0e19 100644 --- a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java @@ -35,7 +35,7 @@ UpdateChannelInvitationPreferenceRequest.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("updateChannelInvitationPreference_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdateChannelInvitationPreferenceRequest { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java index 87e77d9b..df731b82 100644 --- a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java @@ -35,7 +35,7 @@ UpdateChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("updateChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdateChannelInvitationPreferenceResponse { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java index a2704f0d..47f93e5f 100644 --- a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java @@ -35,7 +35,7 @@ UpdateCountPreferenceOfAChannelRequest.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("updateCountPreferenceOfAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdateCountPreferenceOfAChannelRequest { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java index b5a724fb..e7894089 100644 --- a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java @@ -35,7 +35,7 @@ UpdateCountPreferenceOfChannelByUrlResponse.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("updateCountPreferenceOfChannelByUrlResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdateCountPreferenceOfChannelByUrlResponse { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java index 9b8089dd..02ce2181 100644 --- a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java @@ -40,7 +40,7 @@ UpdateExtraDataInAMessageRequest.JSON_PROPERTY_UPSERT }) @JsonTypeName("updateExtraDataInAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdateExtraDataInAMessageRequest { public static final String JSON_PROPERTY_MODE = "mode"; private String mode; diff --git a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java index 8e284281..9cd71010 100644 --- a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java @@ -38,7 +38,7 @@ UpdateExtraDataInAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("updateExtraDataInAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdateExtraDataInAMessageResponse { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; private List sortedMetaarray = null; diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java index b2b052e1..a99f1f7c 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java @@ -36,7 +36,7 @@ UpdatePushPreferencesForAChannelRequest.JSON_PROPERTY_PUSH_SOUND }) @JsonTypeName("updatePushPreferencesForAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdatePushPreferencesForAChannelRequest { /** * The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications. diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java index de6f7aad..0e549f20 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java @@ -38,7 +38,7 @@ UpdatePushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION }) @JsonTypeName("updatePushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdatePushPreferencesForAChannelResponse { public static final String JSON_PROPERTY_ENABLE = "enable"; private Boolean enable; diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java index 51e4fb9f..8342b3e4 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java @@ -51,7 +51,7 @@ UpdatePushPreferencesRequest.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("updatePushPreferences_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdatePushPreferencesRequest { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java index e877d846..e22125c2 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java @@ -51,7 +51,7 @@ UpdatePushPreferencesResponse.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("updatePushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UpdatePushPreferencesResponse { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; diff --git a/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java b/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java new file mode 100644 index 00000000..03add7c5 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java @@ -0,0 +1,274 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.ViewBotByIdResponseBot; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * ViewBotByIdResponse + */ +@JsonPropertyOrder({ + ViewBotByIdResponse.JSON_PROPERTY_BOT, + ViewBotByIdResponse.JSON_PROPERTY_BOT_CALLBACK_URL, + ViewBotByIdResponse.JSON_PROPERTY_ENABLE_MARK_AS_READ, + ViewBotByIdResponse.JSON_PROPERTY_IS_PRIVACY_MODE, + ViewBotByIdResponse.JSON_PROPERTY_SHOW_MEMBER, + ViewBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE +}) +@JsonTypeName("viewBotByIdResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +public class ViewBotByIdResponse { + public static final String JSON_PROPERTY_BOT = "bot"; + private ViewBotByIdResponseBot bot; + + public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; + private String botCallbackUrl; + + public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; + private Boolean enableMarkAsRead; + + public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; + private Boolean isPrivacyMode; + + public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; + private Boolean showMember; + + public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; + private Integer channelInvitationPreference; + + public ViewBotByIdResponse() { + } + + public ViewBotByIdResponse bot(ViewBotByIdResponseBot bot) { + this.bot = bot; + return this; + } + + /** + * Get bot + * @return bot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public ViewBotByIdResponseBot getBot() { + return bot; + } + + + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBot(ViewBotByIdResponseBot bot) { + this.bot = bot; + } + + + public ViewBotByIdResponse botCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + return this; + } + + /** + * Get botCallbackUrl + * @return botCallbackUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotCallbackUrl() { + return botCallbackUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + } + + + public ViewBotByIdResponse enableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + return this; + } + + /** + * Get enableMarkAsRead + * @return enableMarkAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnableMarkAsRead() { + return enableMarkAsRead; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + } + + + public ViewBotByIdResponse isPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + return this; + } + + /** + * Get isPrivacyMode + * @return isPrivacyMode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPrivacyMode() { + return isPrivacyMode; + } + + + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + } + + + public ViewBotByIdResponse showMember(Boolean showMember) { + this.showMember = showMember; + return this; + } + + /** + * Get showMember + * @return showMember + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getShowMember() { + return showMember; + } + + + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShowMember(Boolean showMember) { + this.showMember = showMember; + } + + + public ViewBotByIdResponse channelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + return this; + } + + /** + * Get channelInvitationPreference + * @return channelInvitationPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getChannelInvitationPreference() { + return channelInvitationPreference; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + } + + + /** + * Return true if this viewBotByIdResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ViewBotByIdResponse viewBotByIdResponse = (ViewBotByIdResponse) o; + return Objects.equals(this.bot, viewBotByIdResponse.bot) && + Objects.equals(this.botCallbackUrl, viewBotByIdResponse.botCallbackUrl) && + Objects.equals(this.enableMarkAsRead, viewBotByIdResponse.enableMarkAsRead) && + Objects.equals(this.isPrivacyMode, viewBotByIdResponse.isPrivacyMode) && + Objects.equals(this.showMember, viewBotByIdResponse.showMember) && + Objects.equals(this.channelInvitationPreference, viewBotByIdResponse.channelInvitationPreference); + } + + @Override + public int hashCode() { + return Objects.hash(bot, botCallbackUrl, enableMarkAsRead, isPrivacyMode, showMember, channelInvitationPreference); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ViewBotByIdResponse {\n"); + sb.append(" bot: ").append(toIndentedString(bot)).append("\n"); + sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); + sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); + sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); + sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); + sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java b/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java new file mode 100644 index 00000000..ab32b70f --- /dev/null +++ b/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java @@ -0,0 +1,273 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * ViewBotByIdResponseBot + */ +@JsonPropertyOrder({ + ViewBotByIdResponseBot.JSON_PROPERTY_BOT_TOKEN, + ViewBotByIdResponseBot.JSON_PROPERTY_BOT_PROFILE_URL, + ViewBotByIdResponseBot.JSON_PROPERTY_BOT_USERID, + ViewBotByIdResponseBot.JSON_PROPERTY_BOT_NICKNAME, + ViewBotByIdResponseBot.JSON_PROPERTY_BOT_TYPE, + ViewBotByIdResponseBot.JSON_PROPERTY_BOT_METADATA +}) +@JsonTypeName("viewBotByIdResponse_bot") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +public class ViewBotByIdResponseBot { + public static final String JSON_PROPERTY_BOT_TOKEN = "bot_token"; + private String botToken; + + public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; + private String botProfileUrl; + + public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; + private String botUserid; + + public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; + private String botNickname; + + public static final String JSON_PROPERTY_BOT_TYPE = "bot_type"; + private String botType; + + public static final String JSON_PROPERTY_BOT_METADATA = "bot_metadata"; + private Object botMetadata; + + public ViewBotByIdResponseBot() { + } + + public ViewBotByIdResponseBot botToken(String botToken) { + this.botToken = botToken; + return this; + } + + /** + * Get botToken + * @return botToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotToken() { + return botToken; + } + + + @JsonProperty(JSON_PROPERTY_BOT_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotToken(String botToken) { + this.botToken = botToken; + } + + + public ViewBotByIdResponseBot botProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + return this; + } + + /** + * Get botProfileUrl + * @return botProfileUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotProfileUrl() { + return botProfileUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + } + + + public ViewBotByIdResponseBot botUserid(String botUserid) { + this.botUserid = botUserid; + return this; + } + + /** + * Get botUserid + * @return botUserid + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotUserid() { + return botUserid; + } + + + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotUserid(String botUserid) { + this.botUserid = botUserid; + } + + + public ViewBotByIdResponseBot botNickname(String botNickname) { + this.botNickname = botNickname; + return this; + } + + /** + * Get botNickname + * @return botNickname + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotNickname() { + return botNickname; + } + + + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotNickname(String botNickname) { + this.botNickname = botNickname; + } + + + public ViewBotByIdResponseBot botType(String botType) { + this.botType = botType; + return this; + } + + /** + * Get botType + * @return botType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotType() { + return botType; + } + + + @JsonProperty(JSON_PROPERTY_BOT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotType(String botType) { + this.botType = botType; + } + + + public ViewBotByIdResponseBot botMetadata(Object botMetadata) { + this.botMetadata = botMetadata; + return this; + } + + /** + * Get botMetadata + * @return botMetadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getBotMetadata() { + return botMetadata; + } + + + @JsonProperty(JSON_PROPERTY_BOT_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotMetadata(Object botMetadata) { + this.botMetadata = botMetadata; + } + + + /** + * Return true if this viewBotByIdResponse_bot object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ViewBotByIdResponseBot viewBotByIdResponseBot = (ViewBotByIdResponseBot) o; + return Objects.equals(this.botToken, viewBotByIdResponseBot.botToken) && + Objects.equals(this.botProfileUrl, viewBotByIdResponseBot.botProfileUrl) && + Objects.equals(this.botUserid, viewBotByIdResponseBot.botUserid) && + Objects.equals(this.botNickname, viewBotByIdResponseBot.botNickname) && + Objects.equals(this.botType, viewBotByIdResponseBot.botType) && + Objects.equals(this.botMetadata, viewBotByIdResponseBot.botMetadata); + } + + @Override + public int hashCode() { + return Objects.hash(botToken, botProfileUrl, botUserid, botNickname, botType, botMetadata); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ViewBotByIdResponseBot {\n"); + sb.append(" botToken: ").append(toIndentedString(botToken)).append("\n"); + sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); + sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); + sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); + sb.append(" botType: ").append(toIndentedString(botType)).append("\n"); + sb.append(" botMetadata: ").append(toIndentedString(botMetadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java b/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java index e2c6576a..e8ae8c67 100644 --- a/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java @@ -35,7 +35,7 @@ ViewCountPreferenceOfAChannelResponse.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("viewCountPreferenceOfAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ViewCountPreferenceOfAChannelResponse { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java index 8d65024a..da7048ac 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java @@ -35,7 +35,7 @@ ViewNumberOfChannelsWithUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT }) @JsonTypeName("viewNumberOfChannelsWithUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ViewNumberOfChannelsWithUnreadMessagesResponse { public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; private Integer unreadCount; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java index e4dd7ce9..7adaac50 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java @@ -35,7 +35,7 @@ ViewNumberOfDailyActiveUsersResponse.JSON_PROPERTY_DAU }) @JsonTypeName("viewNumberOfDailyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ViewNumberOfDailyActiveUsersResponse { public static final String JSON_PROPERTY_DAU = "dau"; private Integer dau; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java index 0388523a..fd14f572 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java @@ -35,7 +35,7 @@ ViewNumberOfMonthlyActiveUsersResponse.JSON_PROPERTY_MAU }) @JsonTypeName("viewNumberOfMonthlyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ViewNumberOfMonthlyActiveUsersResponse { public static final String JSON_PROPERTY_MAU = "mau"; private Integer mau; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java index 431beabc..87496ea9 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java @@ -35,7 +35,7 @@ ViewNumberOfUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT }) @JsonTypeName("viewNumberOfUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ViewNumberOfUnreadMessagesResponse { public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; private Integer unreadCount; diff --git a/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java index 7f19a67e..7e4c1fca 100644 --- a/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java @@ -38,7 +38,7 @@ ViewPushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION }) @JsonTypeName("viewPushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ViewPushPreferencesForAChannelResponse { public static final String JSON_PROPERTY_ENABLE = "enable"; private Boolean enable; diff --git a/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java index d2385cd9..79f9cb90 100644 --- a/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java @@ -51,7 +51,7 @@ ViewPushPreferencesResponse.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("viewPushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ViewPushPreferencesResponse { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; diff --git a/src/main/java/org/sendbird/client/ApiClient.java b/src/main/java/org/sendbird/client/ApiClient.java index 11388a21..fe90c937 100644 --- a/src/main/java/org/sendbird/client/ApiClient.java +++ b/src/main/java/org/sendbird/client/ApiClient.java @@ -66,7 +66,7 @@ /** *

ApiClient class.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ApiClient extends JavaTimeFormatter { protected Map defaultHeaderMap = new HashMap(); protected Map defaultCookieMap = new HashMap(); @@ -127,7 +127,7 @@ public ApiClient(Map authMap) { this.dateFormat = new RFC3339DateFormat(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/2.0.0/java"); + setUserAgent("OpenAPI-Generator/2.1.1/java"); // Setup authentications (key: authentication name, value: authentication). authentications = new HashMap(); diff --git a/src/main/java/org/sendbird/client/ApiException.java b/src/main/java/org/sendbird/client/ApiException.java index 5dc5e014..bdbb324b 100644 --- a/src/main/java/org/sendbird/client/ApiException.java +++ b/src/main/java/org/sendbird/client/ApiException.java @@ -19,7 +19,7 @@ /** * API Exception */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/src/main/java/org/sendbird/client/Configuration.java b/src/main/java/org/sendbird/client/Configuration.java index 945ad37e..142d4f9b 100644 --- a/src/main/java/org/sendbird/client/Configuration.java +++ b/src/main/java/org/sendbird/client/Configuration.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/org/sendbird/client/JSON.java b/src/main/java/org/sendbird/client/JSON.java index af6392c7..f7954a99 100644 --- a/src/main/java/org/sendbird/client/JSON.java +++ b/src/main/java/org/sendbird/client/JSON.java @@ -15,7 +15,7 @@ import javax.ws.rs.core.GenericType; import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class JSON implements ContextResolver { private ObjectMapper mapper; diff --git a/src/main/java/org/sendbird/client/JSON.java-e b/src/main/java/org/sendbird/client/JSON.java-e deleted file mode 100644 index 24699203..00000000 --- a/src/main/java/org/sendbird/client/JSON.java-e +++ /dev/null @@ -1,249 +0,0 @@ -package org.sendbird.client; - -import com.fasterxml.jackson.annotation.*; -import com.fasterxml.jackson.databind.*; -import com.fasterxml.jackson.databind.json.JsonMapper; -import org.openapitools.jackson.nullable.JsonNullableModule; -import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; -import org.openapitools.client.model.*; - -import java.text.DateFormat; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Set; -import javax.ws.rs.core.GenericType; -import javax.ws.rs.ext.ContextResolver; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") -public class JSON implements ContextResolver { - private ObjectMapper mapper; - - public JSON() { - mapper = new ObjectMapper(); - mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); - JsonMapper.builder().configure(MapperFeature.ALLOW_COERCION_OF_SCALARS, false); - mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, true); - mapper.configure(DeserializationFeature.FAIL_ON_INVALID_SUBTYPE, true); - mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS); - mapper.enable(SerializationFeature.WRITE_ENUMS_USING_TO_STRING); - mapper.enable(DeserializationFeature.READ_ENUMS_USING_TO_STRING); - mapper.setDateFormat(new RFC3339DateFormat()); - mapper.registerModule(new JavaTimeModule()); - JsonNullableModule jnm = new JsonNullableModule(); - mapper.registerModule(jnm); - } - - /** - * Set the date format for JSON (de)serialization with Date properties. - * @param dateFormat Date format - */ - public void setDateFormat(DateFormat dateFormat) { - mapper.setDateFormat(dateFormat); - } - - @Override - public ObjectMapper getContext(Class type) { - return mapper; - } - - /** - * Get the object mapper - * - * @return object mapper - */ - public ObjectMapper getMapper() { return mapper; } - - /** - * Returns the target model class that should be used to deserialize the input data. - * The discriminator mappings are used to determine the target model class. - * - * @param node The input data. - * @param modelClass The class that contains the discriminator mappings. - */ - public static Class getClassForElement(JsonNode node, Class modelClass) { - ClassDiscriminatorMapping cdm = modelDiscriminators.get(modelClass); - if (cdm != null) { - return cdm.getClassForElement(node, new HashSet>()); - } - return null; - } - - /** - * Helper class to register the discriminator mappings. - */ - private static class ClassDiscriminatorMapping { - // The model class name. - Class modelClass; - // The name of the discriminator property. - String discriminatorName; - // The discriminator mappings for a model class. - Map> discriminatorMappings; - - // Constructs a new class discriminator. - ClassDiscriminatorMapping(Class cls, String propertyName, Map> mappings) { - modelClass = cls; - discriminatorName = propertyName; - discriminatorMappings = new HashMap>(); - if (mappings != null) { - discriminatorMappings.putAll(mappings); - } - } - - // Return the name of the discriminator property for this model class. - String getDiscriminatorPropertyName() { - return discriminatorName; - } - - // Return the discriminator value or null if the discriminator is not - // present in the payload. - String getDiscriminatorValue(JsonNode node) { - // Determine the value of the discriminator property in the input data. - if (discriminatorName != null) { - // Get the value of the discriminator property, if present in the input payload. - node = node.get(discriminatorName); - if (node != null && node.isValueNode()) { - String discrValue = node.asText(); - if (discrValue != null) { - return discrValue; - } - } - } - return null; - } - - /** - * Returns the target model class that should be used to deserialize the input data. - * This function can be invoked for anyOf/oneOf composed models with discriminator mappings. - * The discriminator mappings are used to determine the target model class. - * - * @param node The input data. - * @param visitedClasses The set of classes that have already been visited. - */ - Class getClassForElement(JsonNode node, Set> visitedClasses) { - if (visitedClasses.contains(modelClass)) { - // Class has already been visited. - return null; - } - // Determine the value of the discriminator property in the input data. - String discrValue = getDiscriminatorValue(node); - if (discrValue == null) { - return null; - } - Class cls = discriminatorMappings.get(discrValue); - // It may not be sufficient to return this cls directly because that target class - // may itself be a composed schema, possibly with its own discriminator. - visitedClasses.add(modelClass); - for (Class childClass : discriminatorMappings.values()) { - ClassDiscriminatorMapping childCdm = modelDiscriminators.get(childClass); - if (childCdm == null) { - continue; - } - if (!discriminatorName.equals(childCdm.discriminatorName)) { - discrValue = getDiscriminatorValue(node); - if (discrValue == null) { - continue; - } - } - if (childCdm != null) { - // Recursively traverse the discriminator mappings. - Class childDiscr = childCdm.getClassForElement(node, visitedClasses); - if (childDiscr != null) { - return childDiscr; - } - } - } - return cls; - } - } - - /** - * Returns true if inst is an instance of modelClass in the OpenAPI model hierarchy. - * - * The Java class hierarchy is not implemented the same way as the OpenAPI model hierarchy, - * so it's not possible to use the instanceof keyword. - * - * @param modelClass A OpenAPI model class. - * @param inst The instance object. - */ - public static boolean isInstanceOf(Class modelClass, Object inst, Set> visitedClasses) { - if (modelClass.isInstance(inst)) { - // This handles the 'allOf' use case with single parent inheritance. - return true; - } - if (visitedClasses.contains(modelClass)) { - // This is to prevent infinite recursion when the composed schemas have - // a circular dependency. - return false; - } - visitedClasses.add(modelClass); - - // Traverse the oneOf/anyOf composed schemas. - Map descendants = modelDescendants.get(modelClass); - if (descendants != null) { - for (GenericType childType : descendants.values()) { - if (isInstanceOf(childType.getRawType(), inst, visitedClasses)) { - return true; - } - } - } - return false; - } - - /** - * A map of discriminators for all model classes. - */ - private static Map, ClassDiscriminatorMapping> modelDiscriminators = new HashMap, ClassDiscriminatorMapping>(); - - /** - * A map of oneOf/anyOf descendants for each model class. - */ - private static Map, Map> modelDescendants = new HashMap, Map>(); - - /** - * Register a model class discriminator. - * - * @param modelClass the model class - * @param discriminatorPropertyName the name of the discriminator property - * @param mappings a map with the discriminator mappings. - */ - public static void registerDiscriminator(Class modelClass, String discriminatorPropertyName, Map> mappings) { - ClassDiscriminatorMapping m = new ClassDiscriminatorMapping(modelClass, discriminatorPropertyName, mappings); - modelDiscriminators.put(modelClass, m); - } - - /** - * Register the oneOf/anyOf descendants of the modelClass. - * - * @param modelClass the model class - * @param descendants a map of oneOf/anyOf descendants. - */ - public static void registerDescendants(Class modelClass, Map descendants) { - modelDescendants.put(modelClass, descendants); - } - - private static JSON json; - - static - { - json = new JSON(); - } - - /** - * Get the default JSON instance. - * - * @return the default JSON instance - */ - public static JSON getDefault() { - return json; - } - - /** - * Set the default JSON instance. - * - * @param json JSON instance to be used - */ - public static void setDefault(JSON json) { - JSON.json = json; - } -} diff --git a/src/main/java/org/sendbird/client/JavaTimeFormatter.java b/src/main/java/org/sendbird/client/JavaTimeFormatter.java index 1f145862..7fa5bb15 100644 --- a/src/main/java/org/sendbird/client/JavaTimeFormatter.java +++ b/src/main/java/org/sendbird/client/JavaTimeFormatter.java @@ -20,7 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/src/main/java/org/sendbird/client/Pair.java b/src/main/java/org/sendbird/client/Pair.java index 1bbdb70d..aa5f9836 100644 --- a/src/main/java/org/sendbird/client/Pair.java +++ b/src/main/java/org/sendbird/client/Pair.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/org/sendbird/client/StringUtil.java b/src/main/java/org/sendbird/client/StringUtil.java index fa5d748c..10c4ec58 100644 --- a/src/main/java/org/sendbird/client/StringUtil.java +++ b/src/main/java/org/sendbird/client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/org/sendbird/client/api/AnnouncementApi.java b/src/main/java/org/sendbird/client/api/AnnouncementApi.java index 2dbec14c..f116c2dc 100644 --- a/src/main/java/org/sendbird/client/api/AnnouncementApi.java +++ b/src/main/java/org/sendbird/client/api/AnnouncementApi.java @@ -16,7 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class AnnouncementApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/BotApi.java b/src/main/java/org/sendbird/client/api/BotApi.java index a7c2bc7b..3eb03a0a 100644 --- a/src/main/java/org/sendbird/client/api/BotApi.java +++ b/src/main/java/org/sendbird/client/api/BotApi.java @@ -8,20 +8,26 @@ import javax.ws.rs.core.GenericType; +import java.math.BigDecimal; import org.openapitools.client.model.CreateABotRequest; import org.openapitools.client.model.CreateABotResponse; +import java.io.File; import org.openapitools.client.model.JoinChannelsRequest; import org.openapitools.client.model.ListBotsResponse; -import org.openapitools.client.model.SendABotMessageRequest; +import org.openapitools.client.model.SendABotMessageResponse; +import org.openapitools.client.model.SendbirdExtendedMessagePayload; import org.openapitools.client.model.SendbirdGroupChannelDetail; -import org.openapitools.client.model.SendbirdMessageResponse; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.client.model.UpdateBotByIdData; +import org.openapitools.client.model.UpdateBotByIdResponse; +import org.openapitools.client.model.ViewBotByIdResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class BotApi { private ApiClient apiClient; @@ -160,6 +166,112 @@ public APIcreateABotRequest createABot() throws ApiException { return new APIcreateABotRequest(); } +private ApiResponse deleteBotByIdWithHttpInfo(String botUserid, String apiToken) throws ApiException { + Object localVarPostBody = null; + + // verify the required parameter 'botUserid' is set + if (botUserid == null) { + throw new ApiException(400, "Missing the required parameter 'botUserid' when calling deleteBotById"); + } + + // create path and map variables + String localVarPath = "/v3/bots/{bot_userid}" + .replaceAll("\\{" + "bot_userid" + "\\}", apiClient.escapeString(botUserid.toString())); + + // query params + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + + if (apiToken != null) + localVarHeaderParams.put("Api-Token", apiClient.parameterToString(apiToken)); + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { }; + + GenericType localVarReturnType = new GenericType() {}; + + return apiClient.invokeAPI("BotApi.deleteBotById", localVarPath, "DELETE", localVarQueryParams, localVarPostBody, + localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, + localVarAuthNames, localVarReturnType, false); + } + + public class APIdeleteBotByIdRequest { + private String botUserid; + private String apiToken; + + private APIdeleteBotByIdRequest(String botUserid) { + this.botUserid = botUserid; + } + + /** + * Set apiToken + * @param apiToken (optional) + * @return APIdeleteBotByIdRequest + */ + public APIdeleteBotByIdRequest apiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + /** + * Execute deleteBotById request + * @return Object + * @throws ApiException if fails to make API call + * @http.response.details + + + +
Status Code Description Response Headers
200 Successful response -
+ + */ + + public Object execute() throws ApiException { + return this.executeWithHttpInfo().getData(); + } + + /** + * Execute deleteBotById request with HTTP info returned + * @return ApiResponse<Object> + * @throws ApiException if fails to make API call + * @http.response.details + + + +
Status Code Description Response Headers
200 Successful response -
+ + */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteBotByIdWithHttpInfo(botUserid, apiToken); + } + } + + /** + * Delete a bot + * ## Delete a bot Deletes a bot from an application. https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-delete-a-bot ---------------------------- + * @param botUserid (required) + * @return deleteBotByIdRequest + * @throws ApiException if fails to make API call + + + */ + public APIdeleteBotByIdRequest deleteBotById(String botUserid) throws ApiException { + return new APIdeleteBotByIdRequest(botUserid); + } + private ApiResponse joinChannelsWithHttpInfo(String botUserid, String apiToken, JoinChannelsRequest joinChannelsRequest) throws ApiException { Object localVarPostBody = joinChannelsRequest; @@ -619,14 +731,24 @@ public APIlistBotsRequest listBots() throws ApiException { return new APIlistBotsRequest(); } -private ApiResponse sendABotMessageWithHttpInfo(String botUserid, String apiToken, SendABotMessageRequest sendABotMessageRequest) throws ApiException { - Object localVarPostBody = sendABotMessageRequest; +private ApiResponse sendABotMessageWithHttpInfo(String botUserid, String messageType, String channelUrl, String apiToken, String message, List mentioned, SendbirdExtendedMessagePayload extendedMessagePayload, File _file, Boolean requireAuth, String mentionType, List mentionedUserIds, Boolean isSilent, List sortedMetaarray, String apnsBundleId, Object appleCriticalAlertOptions, String sound, BigDecimal volume, Long createdAt, String customType, String data, String dedupId, Boolean markAsRead, Boolean sendPush) throws ApiException { + Object localVarPostBody = null; // verify the required parameter 'botUserid' is set if (botUserid == null) { throw new ApiException(400, "Missing the required parameter 'botUserid' when calling sendABotMessage"); } + // verify the required parameter 'messageType' is set + if (messageType == null) { + throw new ApiException(400, "Missing the required parameter 'messageType' when calling sendABotMessage"); + } + + // verify the required parameter 'channelUrl' is set + if (channelUrl == null) { + throw new ApiException(400, "Missing the required parameter 'channelUrl' when calling sendABotMessage"); + } + // create path and map variables String localVarPath = "/v3/bots/{bot_userid}/send" .replaceAll("\\{" + "bot_userid" + "\\}", apiClient.escapeString(botUserid.toString())); @@ -642,20 +764,62 @@ private ApiResponse sendABotMessageWithHttpInfo(String localVarHeaderParams.put("api-token", apiClient.parameterToString(apiToken)); - + if (messageType != null) + localVarFormParams.put("message_type", messageType); +if (channelUrl != null) + localVarFormParams.put("channel_url", channelUrl); +if (message != null) + localVarFormParams.put("message", message); +if (mentioned != null) + localVarFormParams.put("mentioned", mentioned); +if (extendedMessagePayload != null) + localVarFormParams.put("extended_message_payload", extendedMessagePayload); +if (_file != null) + localVarFormParams.put("file", _file); +if (requireAuth != null) + localVarFormParams.put("require_auth", requireAuth); +if (mentionType != null) + localVarFormParams.put("mention_type", mentionType); +if (mentionedUserIds != null) + localVarFormParams.put("mentioned_user_ids", mentionedUserIds); +if (isSilent != null) + localVarFormParams.put("is_silent", isSilent); +if (sortedMetaarray != null) + localVarFormParams.put("sorted_metaarray", sortedMetaarray); +if (apnsBundleId != null) + localVarFormParams.put("apns_bundle_id", apnsBundleId); +if (appleCriticalAlertOptions != null) + localVarFormParams.put("apple_critical_alert_options", appleCriticalAlertOptions); +if (sound != null) + localVarFormParams.put("sound", sound); +if (volume != null) + localVarFormParams.put("volume", volume); +if (createdAt != null) + localVarFormParams.put("created_at", createdAt); +if (customType != null) + localVarFormParams.put("custom_type", customType); +if (data != null) + localVarFormParams.put("data", data); +if (dedupId != null) + localVarFormParams.put("dedup_id", dedupId); +if (markAsRead != null) + localVarFormParams.put("mark_as_read", markAsRead); +if (sendPush != null) + localVarFormParams.put("send_push", sendPush); + final String[] localVarAccepts = { "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { - "application/json" + "multipart/form-data" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.sendABotMessage", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -664,13 +828,53 @@ private ApiResponse sendABotMessageWithHttpInfo(String public class APIsendABotMessageRequest { private String botUserid; + private String messageType; + private String channelUrl; private String apiToken; - private SendABotMessageRequest sendABotMessageRequest; + private String message; + private List mentioned; + private SendbirdExtendedMessagePayload extendedMessagePayload; + private File _file; + private Boolean requireAuth; + private String mentionType; + private List mentionedUserIds; + private Boolean isSilent; + private List sortedMetaarray; + private String apnsBundleId; + private Object appleCriticalAlertOptions; + private String sound; + private BigDecimal volume; + private Long createdAt; + private String customType; + private String data; + private String dedupId; + private Boolean markAsRead; + private Boolean sendPush; private APIsendABotMessageRequest(String botUserid) { this.botUserid = botUserid; } + /** + * Set messageType + * @param messageType Specifies the type of message to send. MESG for text message, FILE for file message. (required) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest messageType(String messageType) { + this.messageType = messageType; + return this; + } + + /** + * Set channelUrl + * @param channelUrl Specifies the URL of the channel to send the message to. (required) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest channelUrl(String channelUrl) { + this.channelUrl = channelUrl; + return this; + } + /** * Set apiToken * @param apiToken (optional) @@ -682,18 +886,198 @@ public APIsendABotMessageRequest apiToken(String apiToken) { } /** - * Set sendABotMessageRequest - * @param sendABotMessageRequest (optional) + * Set message + * @param message Specifies the content of the message. * This property is required when message_type is MESG. (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest message(String message) { + this.message = message; + return this; + } + + /** + * Set mentioned + * @param mentioned * This property is available when message_type is MESG. (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest mentioned(List mentioned) { + this.mentioned = mentioned; + return this; + } + + /** + * Set extendedMessagePayload + * @param extendedMessagePayload (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest extendedMessagePayload(SendbirdExtendedMessagePayload extendedMessagePayload) { + this.extendedMessagePayload = extendedMessagePayload; + return this; + } + + /** + * Set _file + * @param _file When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest _file(File _file) { + this._file = _file; + return this; + } + + /** + * Set requireAuth + * @param requireAuth Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest requireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + return this; + } + + /** + * Set mentionType + * @param mentionType * This property is available when message_type is FILE. (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest mentionType(String mentionType) { + this.mentionType = mentionType; + return this; + } + + /** + * Set mentionedUserIds + * @param mentionedUserIds * This property is available when message_type is FILE. (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest mentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + return this; + } + + /** + * Set isSilent + * @param isSilent * This property is available when message_type is FILE. (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest isSilent(Boolean isSilent) { + this.isSilent = isSilent; + return this; + } + + /** + * Set sortedMetaarray + * @param sortedMetaarray (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + /** + * Set apnsBundleId + * @param apnsBundleId * This property is available when message_type is FILE. (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest apnsBundleId(String apnsBundleId) { + this.apnsBundleId = apnsBundleId; + return this; + } + + /** + * Set appleCriticalAlertOptions + * @param appleCriticalAlertOptions * This property is available when message_type is FILE. (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest appleCriticalAlertOptions(Object appleCriticalAlertOptions) { + this.appleCriticalAlertOptions = appleCriticalAlertOptions; + return this; + } + + /** + * Set sound + * @param sound * This property is available when message_type is FILE. (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest sound(String sound) { + this.sound = sound; + return this; + } + + /** + * Set volume + * @param volume * This property is available when message_type is FILE. (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest volume(BigDecimal volume) { + this.volume = volume; + return this; + } + + /** + * Set createdAt + * @param createdAt (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Set customType + * @param customType (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Set data + * @param data (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest data(String data) { + this.data = data; + return this; + } + + /** + * Set dedupId + * @param dedupId (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest dedupId(String dedupId) { + this.dedupId = dedupId; + return this; + } + + /** + * Set markAsRead + * @param markAsRead (optional) + * @return APIsendABotMessageRequest + */ + public APIsendABotMessageRequest markAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + return this; + } + + /** + * Set sendPush + * @param sendPush (optional) * @return APIsendABotMessageRequest */ - public APIsendABotMessageRequest sendABotMessageRequest(SendABotMessageRequest sendABotMessageRequest) { - this.sendABotMessageRequest = sendABotMessageRequest; + public APIsendABotMessageRequest sendPush(Boolean sendPush) { + this.sendPush = sendPush; return this; } /** * Execute sendABotMessage request - * @return SendbirdMessageResponse + * @return SendABotMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -703,13 +1087,13 @@ public APIsendABotMessageRequest sendABotMessageRequest(SendABotMessageRequest s */ - public SendbirdMessageResponse execute() throws ApiException { + public SendABotMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute sendABotMessage request with HTTP info returned - * @return ApiResponse<SendbirdMessageResponse> + * @return ApiResponse<SendABotMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -718,8 +1102,8 @@ public SendbirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return sendABotMessageWithHttpInfo(botUserid, apiToken, sendABotMessageRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return sendABotMessageWithHttpInfo(botUserid, messageType, channelUrl, apiToken, message, mentioned, extendedMessagePayload, _file, requireAuth, mentionType, mentionedUserIds, isSilent, sortedMetaarray, apnsBundleId, appleCriticalAlertOptions, sound, volume, createdAt, customType, data, dedupId, markAsRead, sendPush); } } @@ -735,4 +1119,227 @@ public ApiResponse executeWithHttpInfo() throws ApiExce public APIsendABotMessageRequest sendABotMessage(String botUserid) throws ApiException { return new APIsendABotMessageRequest(botUserid); } + +private ApiResponse updateBotByIdWithHttpInfo(String botUserid, String apiToken, UpdateBotByIdData updateBotByIdData) throws ApiException { + Object localVarPostBody = updateBotByIdData; + + // verify the required parameter 'botUserid' is set + if (botUserid == null) { + throw new ApiException(400, "Missing the required parameter 'botUserid' when calling updateBotById"); + } + + // create path and map variables + String localVarPath = "/v3/bots/{bot_userid}" + .replaceAll("\\{" + "bot_userid" + "\\}", apiClient.escapeString(botUserid.toString())); + + // query params + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + + if (apiToken != null) + localVarHeaderParams.put("Api-Token", apiClient.parameterToString(apiToken)); + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { }; + + GenericType localVarReturnType = new GenericType() {}; + + return apiClient.invokeAPI("BotApi.updateBotById", localVarPath, "PUT", localVarQueryParams, localVarPostBody, + localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, + localVarAuthNames, localVarReturnType, false); + } + + public class APIupdateBotByIdRequest { + private String botUserid; + private String apiToken; + private UpdateBotByIdData updateBotByIdData; + + private APIupdateBotByIdRequest(String botUserid) { + this.botUserid = botUserid; + } + + /** + * Set apiToken + * @param apiToken (optional) + * @return APIupdateBotByIdRequest + */ + public APIupdateBotByIdRequest apiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + /** + * Set updateBotByIdData + * @param updateBotByIdData (optional) + * @return APIupdateBotByIdRequest + */ + public APIupdateBotByIdRequest updateBotByIdData(UpdateBotByIdData updateBotByIdData) { + this.updateBotByIdData = updateBotByIdData; + return this; + } + + /** + * Execute updateBotById request + * @return UpdateBotByIdResponse + * @throws ApiException if fails to make API call + * @http.response.details + + + +
Status Code Description Response Headers
200 Successful response -
+ + */ + + public UpdateBotByIdResponse execute() throws ApiException { + return this.executeWithHttpInfo().getData(); + } + + /** + * Execute updateBotById request with HTTP info returned + * @return ApiResponse<UpdateBotByIdResponse> + * @throws ApiException if fails to make API call + * @http.response.details + + + +
Status Code Description Response Headers
200 Successful response -
+ + */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateBotByIdWithHttpInfo(botUserid, apiToken, updateBotByIdData); + } + } + + /** + * Update a bot + * ## Update a bot Updates information on a bot. https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-update-a-bot ---------------------------- + * @param botUserid (required) + * @return updateBotByIdRequest + * @throws ApiException if fails to make API call + + + */ + public APIupdateBotByIdRequest updateBotById(String botUserid) throws ApiException { + return new APIupdateBotByIdRequest(botUserid); + } + +private ApiResponse viewBotByIdWithHttpInfo(String botUserid, String apiToken) throws ApiException { + Object localVarPostBody = null; + + // verify the required parameter 'botUserid' is set + if (botUserid == null) { + throw new ApiException(400, "Missing the required parameter 'botUserid' when calling viewBotById"); + } + + // create path and map variables + String localVarPath = "/v3/bots/{bot_userid}" + .replaceAll("\\{" + "bot_userid" + "\\}", apiClient.escapeString(botUserid.toString())); + + // query params + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + + if (apiToken != null) + localVarHeaderParams.put("Api-Token", apiClient.parameterToString(apiToken)); + + + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + + final String[] localVarContentTypes = { + + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + + String[] localVarAuthNames = new String[] { }; + + GenericType localVarReturnType = new GenericType() {}; + + return apiClient.invokeAPI("BotApi.viewBotById", localVarPath, "GET", localVarQueryParams, localVarPostBody, + localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, + localVarAuthNames, localVarReturnType, false); + } + + public class APIviewBotByIdRequest { + private String botUserid; + private String apiToken; + + private APIviewBotByIdRequest(String botUserid) { + this.botUserid = botUserid; + } + + /** + * Set apiToken + * @param apiToken (optional) + * @return APIviewBotByIdRequest + */ + public APIviewBotByIdRequest apiToken(String apiToken) { + this.apiToken = apiToken; + return this; + } + + /** + * Execute viewBotById request + * @return ViewBotByIdResponse + * @throws ApiException if fails to make API call + * @http.response.details + + + +
Status Code Description Response Headers
200 Successful response -
+ + */ + + public ViewBotByIdResponse execute() throws ApiException { + return this.executeWithHttpInfo().getData(); + } + + /** + * Execute viewBotById request with HTTP info returned + * @return ApiResponse<ViewBotByIdResponse> + * @throws ApiException if fails to make API call + * @http.response.details + + + +
Status Code Description Response Headers
200 Successful response -
+ + */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return viewBotByIdWithHttpInfo(botUserid, apiToken); + } + } + + /** + * View a bot + * ## View a bot Retrieves information on a bot. https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-view-a-bot ---------------------------- + * @param botUserid (required) + * @return viewBotByIdRequest + * @throws ApiException if fails to make API call + + + */ + public APIviewBotByIdRequest viewBotById(String botUserid) throws ApiException { + return new APIviewBotByIdRequest(botUserid); + } } diff --git a/src/main/java/org/sendbird/client/api/GroupChannelApi.java b/src/main/java/org/sendbird/client/api/GroupChannelApi.java index 8b04fb29..d6459156 100644 --- a/src/main/java/org/sendbird/client/api/GroupChannelApi.java +++ b/src/main/java/org/sendbird/client/api/GroupChannelApi.java @@ -32,7 +32,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class GroupChannelApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/MessageApi.java b/src/main/java/org/sendbird/client/api/MessageApi.java index c715e9b1..20de7993 100644 --- a/src/main/java/org/sendbird/client/api/MessageApi.java +++ b/src/main/java/org/sendbird/client/api/MessageApi.java @@ -25,7 +25,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class MessageApi { private ApiClient apiClient; @@ -56,7 +56,7 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse addExtraDataToAMessageWithHttpInfo(String channelType, String channelUrl, String messageId, String apiToken, AddExtraDataToAMessageRequest addExtraDataToAMessageRequest) throws ApiException { +private ApiResponse addExtraDataToAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, AddExtraDataToAMessageRequest addExtraDataToAMessageRequest) throws ApiException { Object localVarPostBody = addExtraDataToAMessageRequest; // verify the required parameter 'channelType' is set @@ -114,11 +114,11 @@ private ApiResponse addExtraDataToAMessageWithHt public class APIaddExtraDataToAMessageRequest { private String channelType; private String channelUrl; - private String messageId; + private Long messageId; private String apiToken; private AddExtraDataToAMessageRequest addExtraDataToAMessageRequest; - private APIaddExtraDataToAMessageRequest(String channelType, String channelUrl, String messageId) { + private APIaddExtraDataToAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; this.channelUrl = channelUrl; this.messageId = messageId; @@ -187,11 +187,11 @@ public ApiResponse executeWithHttpInfo() throws */ - public APIaddExtraDataToAMessageRequest addExtraDataToAMessage(String channelType, String channelUrl, String messageId) throws ApiException { + public APIaddExtraDataToAMessageRequest addExtraDataToAMessage(String channelType, String channelUrl, Long messageId) throws ApiException { return new APIaddExtraDataToAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse deleteAMessageWithHttpInfo(String channelType, String channelUrl, String messageId, String apiToken) throws ApiException { +private ApiResponse deleteAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelType' is set @@ -249,10 +249,10 @@ private ApiResponse deleteAMessageWithHttpInfo(String channelType, Strin public class APIdeleteAMessageRequest { private String channelType; private String channelUrl; - private String messageId; + private Long messageId; private String apiToken; - private APIdeleteAMessageRequest(String channelType, String channelUrl, String messageId) { + private APIdeleteAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; this.channelUrl = channelUrl; this.messageId = messageId; @@ -311,11 +311,11 @@ public ApiResponse executeWithHttpInfo() throws ApiException { */ - public APIdeleteAMessageRequest deleteAMessage(String channelType, String channelUrl, String messageId) throws ApiException { + public APIdeleteAMessageRequest deleteAMessage(String channelType, String channelUrl, Long messageId) throws ApiException { return new APIdeleteAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse getAMessageWithHttpInfo(String channelType, String channelUrl, String messageId, Boolean includeReactions, Boolean includeThreadInfo, Boolean includeParentMessageInfo, Boolean includePollDetails, Boolean withSortedMetaArray, String apiToken) throws ApiException { +private ApiResponse getAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, Boolean includeReactions, Boolean includeThreadInfo, Boolean includeParentMessageInfo, Boolean includePollDetails, Boolean withSortedMetaArray, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelType' is set @@ -378,7 +378,7 @@ private ApiResponse getAMessageWithHttpInfo(String chan public class APIgetAMessageRequest { private String channelType; private String channelUrl; - private String messageId; + private Long messageId; private Boolean includeReactions; private Boolean includeThreadInfo; private Boolean includeParentMessageInfo; @@ -386,7 +386,7 @@ public class APIgetAMessageRequest { private Boolean withSortedMetaArray; private String apiToken; - private APIgetAMessageRequest(String channelType, String channelUrl, String messageId) { + private APIgetAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; this.channelUrl = channelUrl; this.messageId = messageId; @@ -495,7 +495,7 @@ public ApiResponse executeWithHttpInfo() throws ApiExce */ - public APIgetAMessageRequest getAMessage(String channelType, String channelUrl, String messageId) throws ApiException { + public APIgetAMessageRequest getAMessage(String channelType, String channelUrl, Long messageId) throws ApiException { return new APIgetAMessageRequest(channelType, channelUrl, messageId); } @@ -1213,7 +1213,7 @@ public APImigrateMessagesRequest migrateMessages(String targetChannelUrl) throws return new APImigrateMessagesRequest(targetChannelUrl); } -private ApiResponse removeExtraDataFromAMessageWithHttpInfo(String channelType, String channelUrl, String messageId, String keys, String apiToken) throws ApiException { +private ApiResponse removeExtraDataFromAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String keys, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelType' is set @@ -1272,11 +1272,11 @@ private ApiResponse removeExtraDataFromAMessageWithHttpInfo(String chann public class APIremoveExtraDataFromAMessageRequest { private String channelType; private String channelUrl; - private String messageId; + private Long messageId; private String keys; private String apiToken; - private APIremoveExtraDataFromAMessageRequest(String channelType, String channelUrl, String messageId) { + private APIremoveExtraDataFromAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; this.channelUrl = channelUrl; this.messageId = messageId; @@ -1345,7 +1345,7 @@ public ApiResponse executeWithHttpInfo() throws ApiException { */ - public APIremoveExtraDataFromAMessageRequest removeExtraDataFromAMessage(String channelType, String channelUrl, String messageId) throws ApiException { + public APIremoveExtraDataFromAMessageRequest removeExtraDataFromAMessage(String channelType, String channelUrl, Long messageId) throws ApiException { return new APIremoveExtraDataFromAMessageRequest(channelType, channelUrl, messageId); } @@ -1475,7 +1475,7 @@ public APIsendAMessageRequest sendAMessage(String channelType, String channelUrl return new APIsendAMessageRequest(channelType, channelUrl); } -private ApiResponse updateAMessageWithHttpInfo(String channelType, String channelUrl, String messageId, String apiToken, UpdateAMessageRequest updateAMessageRequest) throws ApiException { +private ApiResponse updateAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, UpdateAMessageRequest updateAMessageRequest) throws ApiException { Object localVarPostBody = updateAMessageRequest; // verify the required parameter 'channelType' is set @@ -1533,11 +1533,11 @@ private ApiResponse updateAMessageWithHttpInfo(String c public class APIupdateAMessageRequest { private String channelType; private String channelUrl; - private String messageId; + private Long messageId; private String apiToken; private UpdateAMessageRequest updateAMessageRequest; - private APIupdateAMessageRequest(String channelType, String channelUrl, String messageId) { + private APIupdateAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; this.channelUrl = channelUrl; this.messageId = messageId; @@ -1606,11 +1606,11 @@ public ApiResponse executeWithHttpInfo() throws ApiExce */ - public APIupdateAMessageRequest updateAMessage(String channelType, String channelUrl, String messageId) throws ApiException { + public APIupdateAMessageRequest updateAMessage(String channelType, String channelUrl, Long messageId) throws ApiException { return new APIupdateAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse updateExtraDataInAMessageWithHttpInfo(String channelType, String channelUrl, String messageId, String apiToken, UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest) throws ApiException { +private ApiResponse updateExtraDataInAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest) throws ApiException { Object localVarPostBody = updateExtraDataInAMessageRequest; // verify the required parameter 'channelType' is set @@ -1668,11 +1668,11 @@ private ApiResponse updateExtraDataInAMessage public class APIupdateExtraDataInAMessageRequest { private String channelType; private String channelUrl; - private String messageId; + private Long messageId; private String apiToken; private UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest; - private APIupdateExtraDataInAMessageRequest(String channelType, String channelUrl, String messageId) { + private APIupdateExtraDataInAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; this.channelUrl = channelUrl; this.messageId = messageId; @@ -1741,7 +1741,7 @@ public ApiResponse executeWithHttpInfo() thro */ - public APIupdateExtraDataInAMessageRequest updateExtraDataInAMessage(String channelType, String channelUrl, String messageId) throws ApiException { + public APIupdateExtraDataInAMessageRequest updateExtraDataInAMessage(String channelType, String channelUrl, Long messageId) throws ApiException { return new APIupdateExtraDataInAMessageRequest(channelType, channelUrl, messageId); } } diff --git a/src/main/java/org/sendbird/client/api/MetadataApi.java b/src/main/java/org/sendbird/client/api/MetadataApi.java index 243119d3..93a537d4 100644 --- a/src/main/java/org/sendbird/client/api/MetadataApi.java +++ b/src/main/java/org/sendbird/client/api/MetadataApi.java @@ -17,7 +17,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class MetadataApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/ModerationApi.java b/src/main/java/org/sendbird/client/api/ModerationApi.java index 8338dec1..733b6ee2 100644 --- a/src/main/java/org/sendbird/client/api/ModerationApi.java +++ b/src/main/java/org/sendbird/client/api/ModerationApi.java @@ -21,7 +21,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ModerationApi { private ApiClient apiClient; @@ -158,7 +158,7 @@ public ApiResponse executeWithHttpInfo() throws ApiException /** * Block a user - * ## Block a user A user can block another user if the user doesn't wish to receive any messages or notifications from the blocked user in a 1-to-1 group channel. In a 1-to-N group channel, the user can still receive messages from the blocked user, but this depends on the UI settings of the chat view. In any case, notifications from the blocked user won't be delivered to the 1-to-N group channel. You can choose whether or not the user can view [which users are blocked](https://sendbird.com/docs/chat/platform-api/v3/moderation/listing-blocked-and-blocking-users/list-blocked-and-blocking-users) in the channel UI. Sendbird application provides two blocking options: include or exclude blocked users when sending invitations, and turn on or off notifications from blocked users. [Explicit and classic block modes](https://sendbird.com/docs/chat/platform-api/v3/deprecated#2-explicit-and-classic-block-modes) have been deprecated and are only supported for customers who started using them before they were deprecated. - **Include or exclude blocked users when sending invitations**: Determines whether or not to automatically filter out blocked users when a user invites a group of users to a new group channel. By default, blocked users are included when sending invitations. The value of this option can be changed by Sendbird if your Sendbird application isn't integrated to the client app. If you want to change the value, [contact our sales team](https://get.sendbird.com/talk-to-sales.html). - **Turn on or off notifications from blocked users**: Determines whether or not to receive message notifications from the blocked user in a specific 1-to-N group channel where they are both members. By default, a user doesn't receive notifications from blocked users. The value of this option can be set individually per channel. If you want to use this option, [contact our sales team](https://get.sendbird.com/talk-to-sales.html). > **Note**: To learn more about other available moderation tools, see [Moderation Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions). The following tables explain what happens to a user's chat experience when the user blocks another user in a 1-to-1 or 1-to-N group channel. In the case of a 1-to-1 group channel, the block mode is only maintained with the original members. If other than the original members are added, the rules for 1-to-N group channel begin to apply. [https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users](https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users) + * ## Block a user A user can block another user if the user doesn't wish to receive any messages or notifications from the blocked user in a 1-to-1 group channel. In a 1-to-N group channel, the user can still receive messages from the blocked user, but this depends on the UI settings of the chat view. In any case, notifications from the blocked user won't be delivered to the 1-to-N group channel. You can choose whether or not the user can view [which users are blocked](https://sendbird.com/docs/chat/platform-api/v3/moderation/listing-blocked-and-blocking-users/list-blocked-and-blocking-users) in the channel UI. Sendbird application provides two blocking options: include or exclude blocked users when sending invitations, and turn on or off notifications from blocked users. [Explicit and classic block modes](https://sendbird.com/docs/chat/platform-api/v3/deprecated#2-explicit-and-classic-block-modes) have been deprecated and are only supported for customers who started using them before they were deprecated. - **Include or exclude blocked users when sending invitations**: Determines whether or not to automatically filter out blocked users when a user invites a group of users to a new group channel. By default, blocked users are included when sending invitations. The value of this option can be changed by Sendbird if your Sendbird application isn't integrated with the client app. If you want to change the value, [contact our sales team](https://get.sendbird.com/talk-to-sales.html). - **Turn on or off notifications from blocked users**: Determines whether or not to receive message notifications from the blocked user in a specific 1-to-N group channel where they are both members. By default, a user doesn't receive notifications from blocked users. The value of this option can be set individually per channel. If you want to use this option, [contact our sales team](https://get.sendbird.com/talk-to-sales.html). > **Note**: To learn more about other available moderation tools, see [Moderation Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions). The following tables explain what happens to a user's chat experience when the user blocks another user in a 1-to-1 or 1-to-N group channel. In the case of a 1-to-1 group channel, the block mode is only maintained with the original members. If other than the original members are added, the rules for 1-to-N group channel begin to apply. [https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users](https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users) * @param userId (Required) (required) * @return blockAUserRequest * @throws ApiException if fails to make API call diff --git a/src/main/java/org/sendbird/client/api/OpenChannelApi.java b/src/main/java/org/sendbird/client/api/OpenChannelApi.java index 2d1d7022..2112e457 100644 --- a/src/main/java/org/sendbird/client/api/OpenChannelApi.java +++ b/src/main/java/org/sendbird/client/api/OpenChannelApi.java @@ -20,7 +20,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class OpenChannelApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/StatisticsApi.java b/src/main/java/org/sendbird/client/api/StatisticsApi.java index 7feade35..f382c3d3 100644 --- a/src/main/java/org/sendbird/client/api/StatisticsApi.java +++ b/src/main/java/org/sendbird/client/api/StatisticsApi.java @@ -16,7 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class StatisticsApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/UserApi.java b/src/main/java/org/sendbird/client/api/UserApi.java index 95ad710a..19cb362a 100644 --- a/src/main/java/org/sendbird/client/api/UserApi.java +++ b/src/main/java/org/sendbird/client/api/UserApi.java @@ -45,7 +45,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class UserApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java index 4a67e1b0..d2b97d6c 100644 --- a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java +++ b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java index 181d26fe..475ba97e 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java @@ -23,7 +23,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java index 0bf4bf54..1abc07ef 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/src/test/java/org/openapitools/client/model/AcceptAnInvitationRequestTest.java b/src/test/java/org/openapitools/client/model/AcceptAnInvitationRequestTest.java index 5f317ced..81de6d9c 100644 --- a/src/test/java/org/openapitools/client/model/AcceptAnInvitationRequestTest.java +++ b/src/test/java/org/openapitools/client/model/AcceptAnInvitationRequestTest.java @@ -20,6 +20,10 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/CreateABotResponseTest.java b/src/test/java/org/openapitools/client/model/CreateABotResponseTest.java index 8b8f6411..1d50851f 100644 --- a/src/test/java/org/openapitools/client/model/CreateABotResponseTest.java +++ b/src/test/java/org/openapitools/client/model/CreateABotResponseTest.java @@ -21,7 +21,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.openapitools.client.model.CreateABotResponseBot; -import org.openapitools.client.model.CreateABotResponseBotStyle; +import org.openapitools.client.model.ListBotsResponseBotsInnerBotStyle; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/CreateAGroupChannelRequestTest.java b/src/test/java/org/openapitools/client/model/CreateAGroupChannelRequestTest.java index 359c23cf..ab6c47a0 100644 --- a/src/test/java/org/openapitools/client/model/CreateAGroupChannelRequestTest.java +++ b/src/test/java/org/openapitools/client/model/CreateAGroupChannelRequestTest.java @@ -24,6 +24,10 @@ import java.util.ArrayList; import java.util.List; import org.openapitools.client.model.SendbirdUser; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/CreateAUserRequestTest.java b/src/test/java/org/openapitools/client/model/CreateAUserRequestTest.java index c2d8bc57..9662a104 100644 --- a/src/test/java/org/openapitools/client/model/CreateAUserRequestTest.java +++ b/src/test/java/org/openapitools/client/model/CreateAUserRequestTest.java @@ -23,6 +23,10 @@ import java.io.File; import java.util.ArrayList; import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/GetAGroupChannelResponseTest.java b/src/test/java/org/openapitools/client/model/GetAGroupChannelResponseTest.java index 97e385f9..8d8e41a2 100644 --- a/src/test/java/org/openapitools/client/model/GetAGroupChannelResponseTest.java +++ b/src/test/java/org/openapitools/client/model/GetAGroupChannelResponseTest.java @@ -29,8 +29,8 @@ import org.openapitools.client.model.SendbirdDisappearingMessage; import org.openapitools.client.model.SendbirdGroupChannel; import org.openapitools.client.model.SendbirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendbirdGroupChannelLastMessage; import org.openapitools.client.model.SendbirdMember; -import org.openapitools.client.model.SendbirdMessageResponse; import org.openapitools.client.model.SendbirdPushTriggerOption; import org.openapitools.client.model.SendbirdSmsFallback; import org.openapitools.jackson.nullable.JsonNullable; diff --git a/src/test/java/org/openapitools/client/model/InviteAsMembersResponseTest.java b/src/test/java/org/openapitools/client/model/InviteAsMembersResponseTest.java index 02c6ea0d..d6dde7d0 100644 --- a/src/test/java/org/openapitools/client/model/InviteAsMembersResponseTest.java +++ b/src/test/java/org/openapitools/client/model/InviteAsMembersResponseTest.java @@ -28,8 +28,8 @@ import org.openapitools.client.model.SendbirdBasicUserInfo; import org.openapitools.client.model.SendbirdDisappearingMessage; import org.openapitools.client.model.SendbirdGroupChannel; +import org.openapitools.client.model.SendbirdGroupChannelLastMessage; import org.openapitools.client.model.SendbirdMember; -import org.openapitools.client.model.SendbirdMessageResponse; import org.openapitools.client.model.SendbirdPushTriggerOption; import org.openapitools.client.model.SendbirdSmsFallback; import org.openapitools.client.model.SendbirdUser; diff --git a/src/test/java/org/openapitools/client/model/JoinAChannelRequestTest.java b/src/test/java/org/openapitools/client/model/JoinAChannelRequestTest.java index fb226949..76c2578c 100644 --- a/src/test/java/org/openapitools/client/model/JoinAChannelRequestTest.java +++ b/src/test/java/org/openapitools/client/model/JoinAChannelRequestTest.java @@ -20,6 +20,10 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerAiTest.java b/src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerAiTest.java deleted file mode 100644 index 051e87ec..00000000 --- a/src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerAiTest.java +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for ListBotsResponseBotsInnerAi - */ -public class ListBotsResponseBotsInnerAiTest { - private final ListBotsResponseBotsInnerAi model = new ListBotsResponseBotsInnerAi(); - - /** - * Model tests for ListBotsResponseBotsInnerAi - */ - @Test - public void testListBotsResponseBotsInnerAi() { - // TODO: test ListBotsResponseBotsInnerAi - } - - /** - * Test the property 'backend' - */ - @Test - public void backendTest() { - // TODO: test backend - } - - /** - * Test the property 'feedback' - */ - @Test - public void feedbackTest() { - // TODO: test feedback - } - - /** - * Test the property 'frequencyPenalty' - */ - @Test - public void frequencyPenaltyTest() { - // TODO: test frequencyPenalty - } - - /** - * Test the property 'instructionMode' - */ - @Test - public void instructionModeTest() { - // TODO: test instructionMode - } - - /** - * Test the property 'maxTokens' - */ - @Test - public void maxTokensTest() { - // TODO: test maxTokens - } - - /** - * Test the property 'model' - */ - @Test - public void modelTest() { - // TODO: test model - } - - /** - * Test the property 'presencePenalty' - */ - @Test - public void presencePenaltyTest() { - // TODO: test presencePenalty - } - - /** - * Test the property 'stream' - */ - @Test - public void streamTest() { - // TODO: test stream - } - - /** - * Test the property 'systemMessage' - */ - @Test - public void systemMessageTest() { - // TODO: test systemMessage - } - - /** - * Test the property 'systemMessageForContextPrefix' - */ - @Test - public void systemMessageForContextPrefixTest() { - // TODO: test systemMessageForContextPrefix - } - - /** - * Test the property 'temperature' - */ - @Test - public void temperatureTest() { - // TODO: test temperature - } - - /** - * Test the property 'topP' - */ - @Test - public void topPTest() { - // TODO: test topP - } - -} diff --git a/src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerTest.java b/src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerTest.java index 3539097a..fee12fc0 100644 --- a/src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerTest.java +++ b/src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerTest.java @@ -22,7 +22,6 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.ListBotsResponseBotsInnerAi; import org.openapitools.client.model.ListBotsResponseBotsInnerBot; import org.openapitools.client.model.ListBotsResponseBotsInnerBotStyle; import org.openapitools.client.model.ListBotsResponseBotsInnerFirstMessagesInner; @@ -46,14 +45,6 @@ public void testListBotsResponseBotsInner() { // TODO: test ListBotsResponseBotsInner } - /** - * Test the property 'ai' - */ - @Test - public void aiTest() { - // TODO: test ai - } - /** * Test the property 'bot' */ diff --git a/src/test/java/org/openapitools/client/model/SendABotMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendABotMessageRequestTest.java deleted file mode 100644 index 06454bdd..00000000 --- a/src/test/java/org/openapitools/client/model/SendABotMessageRequestTest.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendbirdExtendedMessagePayload; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendABotMessageRequest - */ -public class SendABotMessageRequestTest { - private final SendABotMessageRequest model = new SendABotMessageRequest(); - - /** - * Model tests for SendABotMessageRequest - */ - @Test - public void testSendABotMessageRequest() { - // TODO: test SendABotMessageRequest - } - - /** - * Test the property 'channelUrl' - */ - @Test - public void channelUrlTest() { - // TODO: test channelUrl - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'dedupId' - */ - @Test - public void dedupIdTest() { - // TODO: test dedupId - } - - /** - * Test the property 'extendedMessagePayload' - */ - @Test - public void extendedMessagePayloadTest() { - // TODO: test extendedMessagePayload - } - - /** - * Test the property 'markAsRead' - */ - @Test - public void markAsReadTest() { - // TODO: test markAsRead - } - - /** - * Test the property 'mentioned' - */ - @Test - public void mentionedTest() { - // TODO: test mentioned - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'sendPush' - */ - @Test - public void sendPushTest() { - // TODO: test sendPush - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendABotMessageResponseTest.java b/src/test/java/org/openapitools/client/model/SendABotMessageResponseTest.java new file mode 100644 index 00000000..361c470d --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendABotMessageResponseTest.java @@ -0,0 +1,51 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendbirdMessageResponse; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendABotMessageResponse + */ +public class SendABotMessageResponseTest { + private final SendABotMessageResponse model = new SendABotMessageResponse(); + + /** + * Model tests for SendABotMessageResponse + */ + @Test + public void testSendABotMessageResponse() { + // TODO: test SendABotMessageResponse + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateOneOfTest.java b/src/test/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOfTest.java similarity index 73% rename from src/test/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateOneOfTest.java rename to src/test/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOfTest.java index 93b5ea8a..ce39817c 100644 --- a/src/test/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateOneOfTest.java +++ b/src/test/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOfTest.java @@ -26,17 +26,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for SendTextMessageRequestBodyPushMessageTemplateOneOf + * Model tests for SendAMessageRequestPushMessageTemplateOneOf */ -public class SendTextMessageRequestBodyPushMessageTemplateOneOfTest { - private final SendTextMessageRequestBodyPushMessageTemplateOneOf model = new SendTextMessageRequestBodyPushMessageTemplateOneOf(); +public class SendAMessageRequestPushMessageTemplateOneOfTest { + private final SendAMessageRequestPushMessageTemplateOneOf model = new SendAMessageRequestPushMessageTemplateOneOf(); /** - * Model tests for SendTextMessageRequestBodyPushMessageTemplateOneOf + * Model tests for SendAMessageRequestPushMessageTemplateOneOf */ @Test - public void testSendTextMessageRequestBodyPushMessageTemplateOneOf() { - // TODO: test SendTextMessageRequestBodyPushMessageTemplateOneOf + public void testSendAMessageRequestPushMessageTemplateOneOf() { + // TODO: test SendAMessageRequestPushMessageTemplateOneOf } /** diff --git a/src/test/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateTest.java b/src/test/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateTest.java new file mode 100644 index 00000000..728e9816 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateTest.java @@ -0,0 +1,59 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendAMessageRequestPushMessageTemplateOneOf; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendAMessageRequestPushMessageTemplate + */ +public class SendAMessageRequestPushMessageTemplateTest { + private final SendAMessageRequestPushMessageTemplate model = new SendAMessageRequestPushMessageTemplate(); + + /** + * Model tests for SendAMessageRequestPushMessageTemplate + */ + @Test + public void testSendAMessageRequestPushMessageTemplate() { + // TODO: test SendAMessageRequestPushMessageTemplate + } + + /** + * Test the property 'title' + */ + @Test + public void titleTest() { + // TODO: test title + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendAMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendAMessageRequestTest.java index f3513704..696eee1a 100644 --- a/src/test/java/org/openapitools/client/model/SendAMessageRequestTest.java +++ b/src/test/java/org/openapitools/client/model/SendAMessageRequestTest.java @@ -23,10 +23,7 @@ import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendAdminMessageRequestBody; -import org.openapitools.client.model.SendFileMessageRequestBody; -import org.openapitools.client.model.SendTextMessageRequestBody; -import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplate; +import org.openapitools.client.model.SendAMessageRequestPushMessageTemplate; import org.openapitools.client.model.SendbirdFile; import org.openapitools.client.model.SendbirdSortedMetaarrayInner; @@ -49,203 +46,211 @@ public void testSendAMessageRequest() { } /** - * Test the property 'apnsBundleId' + * Test the property 'messageType' */ @Test - public void apnsBundleIdTest() { - // TODO: test apnsBundleId + public void messageTypeTest() { + // TODO: test messageType } /** - * Test the property 'appleCriticalAlertOptions' + * Test the property 'userId' */ @Test - public void appleCriticalAlertOptionsTest() { - // TODO: test appleCriticalAlertOptions + public void userIdTest() { + // TODO: test userId } /** - * Test the property 'createdAt' + * Test the property 'message' */ @Test - public void createdAtTest() { - // TODO: test createdAt + public void messageTest() { + // TODO: test message } /** - * Test the property 'customType' + * Test the property 'pushMessageTemplate' */ @Test - public void customTypeTest() { - // TODO: test customType + public void pushMessageTemplateTest() { + // TODO: test pushMessageTemplate } /** - * Test the property 'data' + * Test the property 'pollId' */ @Test - public void dataTest() { - // TODO: test data + public void pollIdTest() { + // TODO: test pollId } /** - * Test the property 'dedupId' + * Test the property 'files' */ @Test - public void dedupIdTest() { - // TODO: test dedupId + public void filesTest() { + // TODO: test files } /** - * Test the property 'includePollDetails' + * Test the property 'requireAuth' */ @Test - public void includePollDetailsTest() { - // TODO: test includePollDetails + public void requireAuthTest() { + // TODO: test requireAuth } /** - * Test the property 'isSilent' + * Test the property 'thumbnail1' */ @Test - public void isSilentTest() { - // TODO: test isSilent + public void thumbnail1Test() { + // TODO: test thumbnail1 } /** - * Test the property 'markAsRead' + * Test the property 'thumbnail2' */ @Test - public void markAsReadTest() { - // TODO: test markAsRead + public void thumbnail2Test() { + // TODO: test thumbnail2 } /** - * Test the property 'mentionType' + * Test the property 'thumbnail3' */ @Test - public void mentionTypeTest() { - // TODO: test mentionType + public void thumbnail3Test() { + // TODO: test thumbnail3 } /** - * Test the property 'mentionedUserIds' + * Test the property 'thumbnails' */ @Test - public void mentionedUserIdsTest() { - // TODO: test mentionedUserIds + public void thumbnailsTest() { + // TODO: test thumbnails } /** - * Test the property 'message' + * Test the property 'apnsBundleId' */ @Test - public void messageTest() { - // TODO: test message + public void apnsBundleIdTest() { + // TODO: test apnsBundleId } /** - * Test the property 'messageType' + * Test the property 'appleCriticalAlertOptions' */ @Test - public void messageTypeTest() { - // TODO: test messageType + public void appleCriticalAlertOptionsTest() { + // TODO: test appleCriticalAlertOptions } /** - * Test the property 'pollId' + * Test the property 'createdAt' */ @Test - public void pollIdTest() { - // TODO: test pollId + public void createdAtTest() { + // TODO: test createdAt } /** - * Test the property 'pushMessageTemplate' + * Test the property 'customType' */ @Test - public void pushMessageTemplateTest() { - // TODO: test pushMessageTemplate + public void customTypeTest() { + // TODO: test customType } /** - * Test the property 'sendPush' + * Test the property 'data' */ @Test - public void sendPushTest() { - // TODO: test sendPush + public void dataTest() { + // TODO: test data } /** - * Test the property 'sortedMetaarray' + * Test the property 'dedupId' */ @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray + public void dedupIdTest() { + // TODO: test dedupId } /** - * Test the property 'sound' + * Test the property 'includePollDetails' */ @Test - public void soundTest() { - // TODO: test sound + public void includePollDetailsTest() { + // TODO: test includePollDetails } /** - * Test the property 'volume' + * Test the property 'isSilent' */ @Test - public void volumeTest() { - // TODO: test volume + public void isSilentTest() { + // TODO: test isSilent } /** - * Test the property 'files' + * Test the property 'markAsRead' */ @Test - public void filesTest() { - // TODO: test files + public void markAsReadTest() { + // TODO: test markAsRead } /** - * Test the property 'requireAuth' + * Test the property 'mentionType' */ @Test - public void requireAuthTest() { - // TODO: test requireAuth + public void mentionTypeTest() { + // TODO: test mentionType } /** - * Test the property 'thumbnail1' + * Test the property 'mentionedUserIds' */ @Test - public void thumbnail1Test() { - // TODO: test thumbnail1 + public void mentionedUserIdsTest() { + // TODO: test mentionedUserIds } /** - * Test the property 'thumbnail2' + * Test the property 'sendPush' */ @Test - public void thumbnail2Test() { - // TODO: test thumbnail2 + public void sendPushTest() { + // TODO: test sendPush } /** - * Test the property 'thumbnail3' + * Test the property 'sortedMetaarray' */ @Test - public void thumbnail3Test() { - // TODO: test thumbnail3 + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray } /** - * Test the property 'thumbnails' + * Test the property 'sound' */ @Test - public void thumbnailsTest() { - // TODO: test thumbnails + public void soundTest() { + // TODO: test sound + } + + /** + * Test the property 'volume' + */ + @Test + public void volumeTest() { + // TODO: test volume } } diff --git a/src/test/java/org/openapitools/client/model/SendBirdGroupChannelTest.java b/src/test/java/org/openapitools/client/model/SendBirdGroupChannelTest.java index 4290ec11..d3371fb0 100644 --- a/src/test/java/org/openapitools/client/model/SendBirdGroupChannelTest.java +++ b/src/test/java/org/openapitools/client/model/SendBirdGroupChannelTest.java @@ -26,8 +26,8 @@ import java.util.Map; import org.openapitools.client.model.SendbirdBasicUserInfo; import org.openapitools.client.model.SendbirdDisappearingMessage; +import org.openapitools.client.model.SendbirdGroupChannelLastMessage; import org.openapitools.client.model.SendbirdMember; -import org.openapitools.client.model.SendbirdMessageResponse; import org.openapitools.client.model.SendbirdPushTriggerOption; import org.openapitools.client.model.SendbirdSmsFallback; import org.openapitools.jackson.nullable.JsonNullable; diff --git a/src/test/java/org/openapitools/client/model/SendBirdMessageResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdMessageResponseTest.java index 67991aba..fd2de0ba 100644 --- a/src/test/java/org/openapitools/client/model/SendBirdMessageResponseTest.java +++ b/src/test/java/org/openapitools/client/model/SendBirdMessageResponseTest.java @@ -23,8 +23,8 @@ import java.util.ArrayList; import java.util.List; import org.openapitools.client.model.SendbirdBasicUserInfo; -import org.openapitools.client.model.SendbirdExtendedMessagePayload; import org.openapitools.client.model.SendbirdFile; +import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload; import org.openapitools.client.model.SendbirdMessageResponseMessageEvents; import org.openapitools.client.model.SendbirdParentMessageInfo; import org.openapitools.client.model.SendbirdReaction; diff --git a/src/test/java/org/openapitools/client/model/SendBirdOpenChannelTest.java b/src/test/java/org/openapitools/client/model/SendBirdOpenChannelTest.java index 4c6c3725..4b786e59 100644 --- a/src/test/java/org/openapitools/client/model/SendBirdOpenChannelTest.java +++ b/src/test/java/org/openapitools/client/model/SendBirdOpenChannelTest.java @@ -23,6 +23,10 @@ import java.util.ArrayList; import java.util.List; import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/SendBirdParentMessageInfoTest.java b/src/test/java/org/openapitools/client/model/SendBirdParentMessageInfoTest.java index 22a4fcd1..445a641d 100644 --- a/src/test/java/org/openapitools/client/model/SendBirdParentMessageInfoTest.java +++ b/src/test/java/org/openapitools/client/model/SendBirdParentMessageInfoTest.java @@ -24,10 +24,6 @@ import java.util.List; import org.openapitools.client.model.SendbirdFile; import org.openapitools.client.model.SendbirdUser; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/SendBirdUserTest.java b/src/test/java/org/openapitools/client/model/SendBirdUserTest.java index a8af26fd..d786b5ad 100644 --- a/src/test/java/org/openapitools/client/model/SendBirdUserTest.java +++ b/src/test/java/org/openapitools/client/model/SendBirdUserTest.java @@ -213,12 +213,4 @@ public void isCreatedTest() { // TODO: test isCreated } - /** - * Test the property 'sessionTokens' - */ - @Test - public void sessionTokensTest() { - // TODO: test sessionTokens - } - } diff --git a/src/test/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateTest.java b/src/test/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateTest.java index 1d979d68..b6faaeac 100644 --- a/src/test/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateTest.java +++ b/src/test/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateTest.java @@ -20,7 +20,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplateOneOf; +import org.openapitools.client.model.SendAMessageRequestPushMessageTemplateOneOf; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/SendbirdBasicUserInfoTest.java b/src/test/java/org/openapitools/client/model/SendbirdBasicUserInfoTest.java index 04122b4f..4b4511d6 100644 --- a/src/test/java/org/openapitools/client/model/SendbirdBasicUserInfoTest.java +++ b/src/test/java/org/openapitools/client/model/SendbirdBasicUserInfoTest.java @@ -20,6 +20,10 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/SendbirdGroupChannelDetailTest.java b/src/test/java/org/openapitools/client/model/SendbirdGroupChannelDetailTest.java index 22cd6139..bb4059b3 100644 --- a/src/test/java/org/openapitools/client/model/SendbirdGroupChannelDetailTest.java +++ b/src/test/java/org/openapitools/client/model/SendbirdGroupChannelDetailTest.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -32,10 +31,6 @@ import org.openapitools.client.model.SendbirdMessageResponse; import org.openapitools.client.model.SendbirdSmsFallback; import org.openapitools.client.model.SendbirdUser; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/SendbirdGroupChannelLastMessageTest.java b/src/test/java/org/openapitools/client/model/SendbirdGroupChannelLastMessageTest.java new file mode 100644 index 00000000..558deee8 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendbirdGroupChannelLastMessageTest.java @@ -0,0 +1,296 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendbirdFile; +import org.openapitools.client.model.SendbirdMessageResponse; +import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendbirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendbirdParentMessageInfo; +import org.openapitools.client.model.SendbirdReaction; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendbirdGroupChannelLastMessage + */ +public class SendbirdGroupChannelLastMessageTest { + private final SendbirdGroupChannelLastMessage model = new SendbirdGroupChannelLastMessage(); + + /** + * Model tests for SendbirdGroupChannelLastMessage + */ + @Test + public void testSendbirdGroupChannelLastMessage() { + // TODO: test SendbirdGroupChannelLastMessage + } + + /** + * Test the property 'requireAuth' + */ + @Test + public void requireAuthTest() { + // TODO: test requireAuth + } + + /** + * Test the property 'messageSurvivalSeconds' + */ + @Test + public void messageSurvivalSecondsTest() { + // TODO: test messageSurvivalSeconds + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'mentionedUsers' + */ + @Test + public void mentionedUsersTest() { + // TODO: test mentionedUsers + } + + /** + * Test the property 'translations' + */ + @Test + public void translationsTest() { + // TODO: test translations + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'isOpMsg' + */ + @Test + public void isOpMsgTest() { + // TODO: test isOpMsg + } + + /** + * Test the property 'reactions' + */ + @Test + public void reactionsTest() { + // TODO: test reactions + } + + /** + * Test the property 'isRemoved' + */ + @Test + public void isRemovedTest() { + // TODO: test isRemoved + } + + /** + * Test the property 'user' + */ + @Test + public void userTest() { + // TODO: test user + } + + /** + * Test the property '_file' + */ + @Test + public void _fileTest() { + // TODO: test _file + } + + /** + * Test the property 'files' + */ + @Test + public void filesTest() { + // TODO: test files + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'messageRetentionHour' + */ + @Test + public void messageRetentionHourTest() { + // TODO: test messageRetentionHour + } + + /** + * Test the property 'silent' + */ + @Test + public void silentTest() { + // TODO: test silent + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'channelType' + */ + @Test + public void channelTypeTest() { + // TODO: test channelType + } + + /** + * Test the property 'reqId' + */ + @Test + public void reqIdTest() { + // TODO: test reqId + } + + /** + * Test the property 'mentionType' + */ + @Test + public void mentionTypeTest() { + // TODO: test mentionType + } + + /** + * Test the property 'channelUrl' + */ + @Test + public void channelUrlTest() { + // TODO: test channelUrl + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + + /** + * Test the property 'threadInfo' + */ + @Test + public void threadInfoTest() { + // TODO: test threadInfo + } + + /** + * Test the property 'parentMessageId' + */ + @Test + public void parentMessageIdTest() { + // TODO: test parentMessageId + } + + /** + * Test the property 'parentMessageInfo' + */ + @Test + public void parentMessageInfoTest() { + // TODO: test parentMessageInfo + } + + /** + * Test the property 'isReplyToChannel' + */ + @Test + public void isReplyToChannelTest() { + // TODO: test isReplyToChannel + } + + /** + * Test the property 'messageEvents' + */ + @Test + public void messageEventsTest() { + // TODO: test messageEvents + } + + /** + * Test the property 'extendedMessagePayload' + */ + @Test + public void extendedMessagePayloadTest() { + // TODO: test extendedMessagePayload + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayloadTest.java b/src/test/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayloadTest.java new file mode 100644 index 00000000..24f6c117 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayloadTest.java @@ -0,0 +1,61 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendbirdExtendedMessagePayload; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendbirdMessageResponseExtendedMessagePayload + */ +public class SendbirdMessageResponseExtendedMessagePayloadTest { + private final SendbirdMessageResponseExtendedMessagePayload model = new SendbirdMessageResponseExtendedMessagePayload(); + + /** + * Model tests for SendbirdMessageResponseExtendedMessagePayload + */ + @Test + public void testSendbirdMessageResponseExtendedMessagePayload() { + // TODO: test SendbirdMessageResponseExtendedMessagePayload + } + + /** + * Test the property 'customView' + */ + @Test + public void customViewTest() { + // TODO: test customView + } + + /** + * Test the property 'suggestedReplies' + */ + @Test + public void suggestedRepliesTest() { + // TODO: test suggestedReplies + } + +} diff --git a/src/test/java/org/openapitools/client/model/UpdateAGroupChannelRequestTest.java b/src/test/java/org/openapitools/client/model/UpdateAGroupChannelRequestTest.java index 7fe2134b..c4bd82d8 100644 --- a/src/test/java/org/openapitools/client/model/UpdateAGroupChannelRequestTest.java +++ b/src/test/java/org/openapitools/client/model/UpdateAGroupChannelRequestTest.java @@ -23,6 +23,10 @@ import java.io.File; import java.util.ArrayList; import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/UpdateAUserRequestTest.java b/src/test/java/org/openapitools/client/model/UpdateAUserRequestTest.java index 88373692..e0951f39 100644 --- a/src/test/java/org/openapitools/client/model/UpdateAUserRequestTest.java +++ b/src/test/java/org/openapitools/client/model/UpdateAUserRequestTest.java @@ -23,6 +23,10 @@ import java.io.File; import java.util.ArrayList; import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/UpdateBotByIdDataTest.java b/src/test/java/org/openapitools/client/model/UpdateBotByIdDataTest.java new file mode 100644 index 00000000..a2dd8f1f --- /dev/null +++ b/src/test/java/org/openapitools/client/model/UpdateBotByIdDataTest.java @@ -0,0 +1,106 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for UpdateBotByIdData + */ +public class UpdateBotByIdDataTest { + private final UpdateBotByIdData model = new UpdateBotByIdData(); + + /** + * Model tests for UpdateBotByIdData + */ + @Test + public void testUpdateBotByIdData() { + // TODO: test UpdateBotByIdData + } + + /** + * Test the property 'botUserid' + */ + @Test + public void botUseridTest() { + // TODO: test botUserid + } + + /** + * Test the property 'botNickname' + */ + @Test + public void botNicknameTest() { + // TODO: test botNickname + } + + /** + * Test the property 'botProfileUrl' + */ + @Test + public void botProfileUrlTest() { + // TODO: test botProfileUrl + } + + /** + * Test the property 'botCallbackUrl' + */ + @Test + public void botCallbackUrlTest() { + // TODO: test botCallbackUrl + } + + /** + * Test the property 'isPrivacyMode' + */ + @Test + public void isPrivacyModeTest() { + // TODO: test isPrivacyMode + } + + /** + * Test the property 'enableMarkAsRead' + */ + @Test + public void enableMarkAsReadTest() { + // TODO: test enableMarkAsRead + } + + /** + * Test the property 'showMember' + */ + @Test + public void showMemberTest() { + // TODO: test showMember + } + + /** + * Test the property 'channelInvitationPreference' + */ + @Test + public void channelInvitationPreferenceTest() { + // TODO: test channelInvitationPreference + } + +} diff --git a/src/test/java/org/openapitools/client/model/UpdateBotByIdResponseTest.java b/src/test/java/org/openapitools/client/model/UpdateBotByIdResponseTest.java new file mode 100644 index 00000000..609e541c --- /dev/null +++ b/src/test/java/org/openapitools/client/model/UpdateBotByIdResponseTest.java @@ -0,0 +1,91 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.ViewBotByIdResponseBot; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for UpdateBotByIdResponse + */ +public class UpdateBotByIdResponseTest { + private final UpdateBotByIdResponse model = new UpdateBotByIdResponse(); + + /** + * Model tests for UpdateBotByIdResponse + */ + @Test + public void testUpdateBotByIdResponse() { + // TODO: test UpdateBotByIdResponse + } + + /** + * Test the property 'bot' + */ + @Test + public void botTest() { + // TODO: test bot + } + + /** + * Test the property 'botCallbackUrl' + */ + @Test + public void botCallbackUrlTest() { + // TODO: test botCallbackUrl + } + + /** + * Test the property 'enableMarkAsRead' + */ + @Test + public void enableMarkAsReadTest() { + // TODO: test enableMarkAsRead + } + + /** + * Test the property 'isPrivacyMode' + */ + @Test + public void isPrivacyModeTest() { + // TODO: test isPrivacyMode + } + + /** + * Test the property 'showMember' + */ + @Test + public void showMemberTest() { + // TODO: test showMember + } + + /** + * Test the property 'channelInvitationPreference' + */ + @Test + public void channelInvitationPreferenceTest() { + // TODO: test channelInvitationPreference + } + +} diff --git a/src/test/java/org/openapitools/client/model/CreateABotResponseBotStyleTest.java b/src/test/java/org/openapitools/client/model/ViewBotByIdResponseBotTest.java similarity index 54% rename from src/test/java/org/openapitools/client/model/CreateABotResponseBotStyleTest.java rename to src/test/java/org/openapitools/client/model/ViewBotByIdResponseBotTest.java index 3f3d23b4..524609af 100644 --- a/src/test/java/org/openapitools/client/model/CreateABotResponseBotStyleTest.java +++ b/src/test/java/org/openapitools/client/model/ViewBotByIdResponseBotTest.java @@ -20,60 +20,71 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.ListBotsResponseBotsInnerBotStyleColor; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** - * Model tests for CreateABotResponseBotStyle + * Model tests for ViewBotByIdResponseBot */ -public class CreateABotResponseBotStyleTest { - private final CreateABotResponseBotStyle model = new CreateABotResponseBotStyle(); +public class ViewBotByIdResponseBotTest { + private final ViewBotByIdResponseBot model = new ViewBotByIdResponseBot(); /** - * Model tests for CreateABotResponseBotStyle + * Model tests for ViewBotByIdResponseBot */ @Test - public void testCreateABotResponseBotStyle() { - // TODO: test CreateABotResponseBotStyle + public void testViewBotByIdResponseBot() { + // TODO: test ViewBotByIdResponseBot } /** - * Test the property 'autoOpen' + * Test the property 'botToken' */ @Test - public void autoOpenTest() { - // TODO: test autoOpen + public void botTokenTest() { + // TODO: test botToken } /** - * Test the property 'color' + * Test the property 'botProfileUrl' */ @Test - public void colorTest() { - // TODO: test color + public void botProfileUrlTest() { + // TODO: test botProfileUrl } /** - * Test the property 'toggleButtonType' + * Test the property 'botUserid' */ @Test - public void toggleButtonTypeTest() { - // TODO: test toggleButtonType + public void botUseridTest() { + // TODO: test botUserid } /** - * Test the property 'toggleButtonUrl' + * Test the property 'botNickname' */ @Test - public void toggleButtonUrlTest() { - // TODO: test toggleButtonUrl + public void botNicknameTest() { + // TODO: test botNickname + } + + /** + * Test the property 'botType' + */ + @Test + public void botTypeTest() { + // TODO: test botType + } + + /** + * Test the property 'botMetadata' + */ + @Test + public void botMetadataTest() { + // TODO: test botMetadata } } diff --git a/src/test/java/org/openapitools/client/model/ViewBotByIdResponseTest.java b/src/test/java/org/openapitools/client/model/ViewBotByIdResponseTest.java new file mode 100644 index 00000000..01bc40b2 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/ViewBotByIdResponseTest.java @@ -0,0 +1,91 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.ViewBotByIdResponseBot; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for ViewBotByIdResponse + */ +public class ViewBotByIdResponseTest { + private final ViewBotByIdResponse model = new ViewBotByIdResponse(); + + /** + * Model tests for ViewBotByIdResponse + */ + @Test + public void testViewBotByIdResponse() { + // TODO: test ViewBotByIdResponse + } + + /** + * Test the property 'bot' + */ + @Test + public void botTest() { + // TODO: test bot + } + + /** + * Test the property 'botCallbackUrl' + */ + @Test + public void botCallbackUrlTest() { + // TODO: test botCallbackUrl + } + + /** + * Test the property 'enableMarkAsRead' + */ + @Test + public void enableMarkAsReadTest() { + // TODO: test enableMarkAsRead + } + + /** + * Test the property 'isPrivacyMode' + */ + @Test + public void isPrivacyModeTest() { + // TODO: test isPrivacyMode + } + + /** + * Test the property 'showMember' + */ + @Test + public void showMemberTest() { + // TODO: test showMember + } + + /** + * Test the property 'channelInvitationPreference' + */ + @Test + public void channelInvitationPreferenceTest() { + // TODO: test channelInvitationPreference + } + +} diff --git a/src/test/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponseTest.java b/src/test/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponseTest.java index 109e66bf..0e209e35 100644 --- a/src/test/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponseTest.java +++ b/src/test/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponseTest.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponseTest.java b/src/test/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponseTest.java index 3c46cf67..79c511e1 100644 --- a/src/test/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponseTest.java +++ b/src/test/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponseTest.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/sendbird/client/api/BotApiTest.java b/src/test/java/org/sendbird/client/api/BotApiTest.java index 022a687f..31ea4c6b 100644 --- a/src/test/java/org/sendbird/client/api/BotApiTest.java +++ b/src/test/java/org/sendbird/client/api/BotApiTest.java @@ -15,13 +15,19 @@ import org.sendbird.client.*; import org.sendbird.client.auth.*; +import java.math.BigDecimal; import org.openapitools.client.model.CreateABotRequest; import org.openapitools.client.model.CreateABotResponse; +import java.io.File; import org.openapitools.client.model.JoinChannelsRequest; import org.openapitools.client.model.ListBotsResponse; -import org.openapitools.client.model.SendABotMessageRequest; +import org.openapitools.client.model.SendABotMessageResponse; +import org.openapitools.client.model.SendbirdExtendedMessagePayload; import org.openapitools.client.model.SendbirdGroupChannelDetail; -import org.openapitools.client.model.SendbirdMessageResponse; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.client.model.UpdateBotByIdData; +import org.openapitools.client.model.UpdateBotByIdResponse; +import org.openapitools.client.model.ViewBotByIdResponse; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; @@ -57,6 +63,23 @@ public void createABotTest() throws ApiException { // TODO: test validations } + /** + * Delete a bot + * + * ## Delete a bot Deletes a bot from an application. https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-delete-a-bot ---------------------------- + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteBotByIdTest() throws ApiException { + //String botUserid = null; + //String apiToken = null; + //Object response = api.deleteBotById(botUserid) + // .apiToken(apiToken) + // .execute(); + // TODO: test validations + } + /** * Join channels * @@ -140,12 +163,88 @@ public void listBotsTest() throws ApiException { */ @Test public void sendABotMessageTest() throws ApiException { + //String botUserid = null; + //String messageType = null; + //String channelUrl = null; + //String apiToken = null; + //String message = null; + //List mentioned = null; + //SendbirdExtendedMessagePayload extendedMessagePayload = null; + //File _file = null; + //Boolean requireAuth = null; + //String mentionType = null; + //List mentionedUserIds = null; + //Boolean isSilent = null; + //List sortedMetaarray = null; + //String apnsBundleId = null; + //Object appleCriticalAlertOptions = null; + //String sound = null; + //BigDecimal volume = null; + //Long createdAt = null; + //String customType = null; + //String data = null; + //String dedupId = null; + //Boolean markAsRead = null; + //Boolean sendPush = null; + //SendABotMessageResponse response = api.sendABotMessage(botUserid) + // .messageType(messageType) + // .channelUrl(channelUrl) + // .apiToken(apiToken) + // .message(message) + // .mentioned(mentioned) + // .extendedMessagePayload(extendedMessagePayload) + // ._file(_file) + // .requireAuth(requireAuth) + // .mentionType(mentionType) + // .mentionedUserIds(mentionedUserIds) + // .isSilent(isSilent) + // .sortedMetaarray(sortedMetaarray) + // .apnsBundleId(apnsBundleId) + // .appleCriticalAlertOptions(appleCriticalAlertOptions) + // .sound(sound) + // .volume(volume) + // .createdAt(createdAt) + // .customType(customType) + // .data(data) + // .dedupId(dedupId) + // .markAsRead(markAsRead) + // .sendPush(sendPush) + // .execute(); + // TODO: test validations + } + + /** + * Update a bot + * + * ## Update a bot Updates information on a bot. https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-update-a-bot ---------------------------- + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateBotByIdTest() throws ApiException { + //String botUserid = null; + //String apiToken = null; + //UpdateBotByIdData updateBotByIdData = null; + //UpdateBotByIdResponse response = api.updateBotById(botUserid) + // .apiToken(apiToken) + // .updateBotByIdData(updateBotByIdData) + // .execute(); + // TODO: test validations + } + + /** + * View a bot + * + * ## View a bot Retrieves information on a bot. https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-view-a-bot ---------------------------- + * + * @throws ApiException if the Api call fails + */ + @Test + public void viewBotByIdTest() throws ApiException { //String botUserid = null; //String apiToken = null; - //SendABotMessageRequest sendABotMessageRequest = null; - //SendbirdMessageResponse response = api.sendABotMessage(botUserid) + //ViewBotByIdResponse response = api.viewBotById(botUserid) // .apiToken(apiToken) - // .sendABotMessageRequest(sendABotMessageRequest) // .execute(); // TODO: test validations } diff --git a/src/test/java/org/sendbird/client/api/GroupChannelApiTest.java b/src/test/java/org/sendbird/client/api/GroupChannelApiTest.java index 1d4b7d1c..3c22a061 100644 --- a/src/test/java/org/sendbird/client/api/GroupChannelApiTest.java +++ b/src/test/java/org/sendbird/client/api/GroupChannelApiTest.java @@ -292,12 +292,6 @@ public void listChannelsTest() throws ApiException { //String metacounterValueLt = null; //String metacounterValueLte = null; //Boolean includeSortedMetaarrayInLastMessage = null; - //String customType = null; - //Boolean readReceipt = null; - //Boolean member = null; - //Boolean isDistinct = null; - //String membersIn = null; - //String userId = null; //GroupChatListChannelsResponse response = api.listChannels() // .apiToken(apiToken) // .token(token) @@ -336,12 +330,6 @@ public void listChannelsTest() throws ApiException { // .metacounterValueLt(metacounterValueLt) // .metacounterValueLte(metacounterValueLte) // .includeSortedMetaarrayInLastMessage(includeSortedMetaarrayInLastMessage) - // .customType(customType) - // .readReceipt(readReceipt) - // .member(member) - // .isDistinct(isDistinct) - // .membersIn(membersIn) - // .userId(userId) // .execute(); // TODO: test validations } diff --git a/src/test/java/org/sendbird/client/api/MessageApiTest.java b/src/test/java/org/sendbird/client/api/MessageApiTest.java index a203a982..eb874426 100644 --- a/src/test/java/org/sendbird/client/api/MessageApiTest.java +++ b/src/test/java/org/sendbird/client/api/MessageApiTest.java @@ -20,6 +20,7 @@ import org.openapitools.client.model.GetTotalNumberOfMessagesInAChannelResponse; import org.openapitools.client.model.ListMessagesResponse; import org.openapitools.client.model.MarkChannelMessagesAsReadRequest; +import org.openapitools.client.model.MigrateMessagesRequest; import org.openapitools.client.model.SendAMessageRequest; import org.openapitools.client.model.SendbirdMessageResponse; import org.openapitools.client.model.UpdateAMessageRequest; @@ -53,7 +54,7 @@ public class MessageApiTest { public void addExtraDataToAMessageTest() throws ApiException { //String channelType = null; //String channelUrl = null; - //String messageId = null; + //Long messageId = null; //String apiToken = null; //AddExtraDataToAMessageRequest addExtraDataToAMessageRequest = null; //AddExtraDataToAMessageResponse response = api.addExtraDataToAMessage(channelType, channelUrl, messageId) @@ -74,7 +75,7 @@ public void addExtraDataToAMessageTest() throws ApiException { public void deleteAMessageTest() throws ApiException { //String channelType = null; //String channelUrl = null; - //String messageId = null; + //Long messageId = null; //String apiToken = null; //Object response = api.deleteAMessage(channelType, channelUrl, messageId) // .apiToken(apiToken) @@ -93,7 +94,7 @@ public void deleteAMessageTest() throws ApiException { public void getAMessageTest() throws ApiException { //String channelType = null; //String channelUrl = null; - //String messageId = null; + //Long messageId = null; //Boolean includeReactions = null; //Boolean includeThreadInfo = null; //Boolean includeParentMessageInfo = null; @@ -217,10 +218,10 @@ public void markChannelMessagesAsReadTest() throws ApiException { public void migrateMessagesTest() throws ApiException { //String targetChannelUrl = null; //String apiToken = null; - //Object body = null; + //MigrateMessagesRequest migrateMessagesRequest = null; //Object response = api.migrateMessages(targetChannelUrl) // .apiToken(apiToken) - // .body(body) + // .migrateMessagesRequest(migrateMessagesRequest) // .execute(); // TODO: test validations } @@ -236,7 +237,7 @@ public void migrateMessagesTest() throws ApiException { public void removeExtraDataFromAMessageTest() throws ApiException { //String channelType = null; //String channelUrl = null; - //String messageId = null; + //Long messageId = null; //String keys = null; //String apiToken = null; //Object response = api.removeExtraDataFromAMessage(channelType, channelUrl, messageId) @@ -277,7 +278,7 @@ public void sendAMessageTest() throws ApiException { public void updateAMessageTest() throws ApiException { //String channelType = null; //String channelUrl = null; - //String messageId = null; + //Long messageId = null; //String apiToken = null; //UpdateAMessageRequest updateAMessageRequest = null; //SendbirdMessageResponse response = api.updateAMessage(channelType, channelUrl, messageId) @@ -298,7 +299,7 @@ public void updateAMessageTest() throws ApiException { public void updateExtraDataInAMessageTest() throws ApiException { //String channelType = null; //String channelUrl = null; - //String messageId = null; + //Long messageId = null; //String apiToken = null; //UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest = null; //UpdateExtraDataInAMessageResponse response = api.updateExtraDataInAMessage(channelType, channelUrl, messageId) diff --git a/src/test/java/org/sendbird/client/api/MetadataApiTest.java b/src/test/java/org/sendbird/client/api/MetadataApiTest.java index 9309169b..fe56334a 100644 --- a/src/test/java/org/sendbird/client/api/MetadataApiTest.java +++ b/src/test/java/org/sendbird/client/api/MetadataApiTest.java @@ -68,8 +68,7 @@ public void deleteAChannelMetadataWhenDeletingAllItemsOfAChannelMetadataTest() t //String channelUrl = null; //String key = null; //String apiToken = null; - //Object response = api.deleteAChannelMetadataWhenDeletingAllItemsOfAChannelMetadata(channelType, channelUrl) - // .key(key) + //Object response = api.deleteAChannelMetadataWhenDeletingAllItemsOfAChannelMetadata(channelType, channelUrl, key) // .apiToken(apiToken) // .execute(); // TODO: test validations diff --git a/src/test/java/org/sendbird/client/api/ModerationApiTest.java b/src/test/java/org/sendbird/client/api/ModerationApiTest.java index 80dc3340..f3b67ca2 100644 --- a/src/test/java/org/sendbird/client/api/ModerationApiTest.java +++ b/src/test/java/org/sendbird/client/api/ModerationApiTest.java @@ -42,7 +42,7 @@ public class ModerationApiTest { /** * Block a user * - * ## Block a user A user can block another user if the user doesn't wish to receive any messages or notifications from the blocked user in a 1-to-1 group channel. In a 1-to-N group channel, the user can still receive messages from the blocked user, but this depends on the UI settings of the chat view. In any case, notifications from the blocked user won't be delivered to the 1-to-N group channel. You can choose whether or not the user can view [which users are blocked](https://sendbird.com/docs/chat/platform-api/v3/moderation/listing-blocked-and-blocking-users/list-blocked-and-blocking-users) in the channel UI. Sendbird application provides two blocking options: include or exclude blocked users when sending invitations, and turn on or off notifications from blocked users. [Explicit and classic block modes](https://sendbird.com/docs/chat/platform-api/v3/deprecated#2-explicit-and-classic-block-modes) have been deprecated and are only supported for customers who started using them before they were deprecated. - **Include or exclude blocked users when sending invitations**: Determines whether or not to automatically filter out blocked users when a user invites a group of users to a new group channel. By default, blocked users are included when sending invitations. The value of this option can be changed by Sendbird if your Sendbird application isn't integrated to the client app. If you want to change the value, [contact our sales team](https://get.sendbird.com/talk-to-sales.html). - **Turn on or off notifications from blocked users**: Determines whether or not to receive message notifications from the blocked user in a specific 1-to-N group channel where they are both members. By default, a user doesn't receive notifications from blocked users. The value of this option can be set individually per channel. If you want to use this option, [contact our sales team](https://get.sendbird.com/talk-to-sales.html). > **Note**: To learn more about other available moderation tools, see [Moderation Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions). The following tables explain what happens to a user's chat experience when the user blocks another user in a 1-to-1 or 1-to-N group channel. In the case of a 1-to-1 group channel, the block mode is only maintained with the original members. If other than the original members are added, the rules for 1-to-N group channel begin to apply. [https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users](https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users) + * ## Block a user A user can block another user if the user doesn't wish to receive any messages or notifications from the blocked user in a 1-to-1 group channel. In a 1-to-N group channel, the user can still receive messages from the blocked user, but this depends on the UI settings of the chat view. In any case, notifications from the blocked user won't be delivered to the 1-to-N group channel. You can choose whether or not the user can view [which users are blocked](https://sendbird.com/docs/chat/platform-api/v3/moderation/listing-blocked-and-blocking-users/list-blocked-and-blocking-users) in the channel UI. Sendbird application provides two blocking options: include or exclude blocked users when sending invitations, and turn on or off notifications from blocked users. [Explicit and classic block modes](https://sendbird.com/docs/chat/platform-api/v3/deprecated#2-explicit-and-classic-block-modes) have been deprecated and are only supported for customers who started using them before they were deprecated. - **Include or exclude blocked users when sending invitations**: Determines whether or not to automatically filter out blocked users when a user invites a group of users to a new group channel. By default, blocked users are included when sending invitations. The value of this option can be changed by Sendbird if your Sendbird application isn't integrated with the client app. If you want to change the value, [contact our sales team](https://get.sendbird.com/talk-to-sales.html). - **Turn on or off notifications from blocked users**: Determines whether or not to receive message notifications from the blocked user in a specific 1-to-N group channel where they are both members. By default, a user doesn't receive notifications from blocked users. The value of this option can be set individually per channel. If you want to use this option, [contact our sales team](https://get.sendbird.com/talk-to-sales.html). > **Note**: To learn more about other available moderation tools, see [Moderation Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions). The following tables explain what happens to a user's chat experience when the user blocks another user in a 1-to-1 or 1-to-N group channel. In the case of a 1-to-1 group channel, the block mode is only maintained with the original members. If other than the original members are added, the rules for 1-to-N group channel begin to apply. [https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users](https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users) * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/org/sendbird/client/api/UserApiTest.java b/src/test/java/org/sendbird/client/api/UserApiTest.java index d67bbdcd..8f52d5b8 100644 --- a/src/test/java/org/sendbird/client/api/UserApiTest.java +++ b/src/test/java/org/sendbird/client/api/UserApiTest.java @@ -229,6 +229,9 @@ public void listMyGroupChannelsTest() throws ApiException { //String queryType = null; //String membersNickname = null; //String membersNicknameContains = null; + //String membersNicknameStartswith = null; + //String searchQuery = null; + //String searchFields = null; //String metadataKey = null; //String metadataValues = null; //String metadataValueStartswith = null; @@ -239,12 +242,9 @@ public void listMyGroupChannelsTest() throws ApiException { //String metacounterValueLt = null; //String metacounterValueLte = null; //Boolean includeSortedMetaarrayInLastMessage = null; - //String customType = null; - //Boolean readReceipt = null; - //Boolean member = null; - //Boolean isDistinct = null; - //String membersIn = null; - //String userId2 = null; + //String hiddenMode = null; + //String unreadFilter = null; + //String memberStateFilter = null; //ListMyGroupChannelsResponse response = api.listMyGroupChannels(userId) // .apiToken(apiToken) // .token(token) @@ -273,6 +273,9 @@ public void listMyGroupChannelsTest() throws ApiException { // .queryType(queryType) // .membersNickname(membersNickname) // .membersNicknameContains(membersNicknameContains) + // .membersNicknameStartswith(membersNicknameStartswith) + // .searchQuery(searchQuery) + // .searchFields(searchFields) // .metadataKey(metadataKey) // .metadataValues(metadataValues) // .metadataValueStartswith(metadataValueStartswith) @@ -283,12 +286,9 @@ public void listMyGroupChannelsTest() throws ApiException { // .metacounterValueLt(metacounterValueLt) // .metacounterValueLte(metacounterValueLte) // .includeSortedMetaarrayInLastMessage(includeSortedMetaarrayInLastMessage) - // .customType(customType) - // .readReceipt(readReceipt) - // .member(member) - // .isDistinct(isDistinct) - // .membersIn(membersIn) - // .userId2(userId2) + // .hiddenMode(hiddenMode) + // .unreadFilter(unreadFilter) + // .memberStateFilter(memberStateFilter) // .execute(); // TODO: test validations } From 089252b7f3381287c6df2c2bb76483f0994b266c Mon Sep 17 00:00:00 2001 From: danney-chun <63285271+danney-chun@users.noreply.github.com> Date: Fri, 17 Oct 2025 08:44:30 +0900 Subject: [PATCH 02/10] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0ecc9f85..d2ff6764 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: 'temurin' From dfaef5748c7d2a787cea69f667d1ba5ffa361c32 Mon Sep 17 00:00:00 2001 From: danney-chun <63285271+danney-chun@users.noreply.github.com> Date: Fri, 17 Oct 2025 08:54:26 +0900 Subject: [PATCH 03/10] fixed build error --- .github/workflows/maven.yml | 2 +- .openapi-generator/FILES | 620 +++--- api/openapi.yaml | 6 - docs/AnnouncementApi.md | 12 +- docs/BotApi.md | 62 +- docs/GroupChannelApi.md | 142 +- docs/MessageApi.md | 82 +- docs/MetadataApi.md | 20 +- docs/ModerationApi.md | 42 +- docs/OpenChannelApi.md | 50 +- docs/SendBirdAcceptAnInvitationRequest.md | 14 + ...irdAddARegistrationOrDeviceTokenRequest.md | 15 + ...rdAddARegistrationOrDeviceTokenResponse.md | 15 + docs/SendBirdAddExtraDataToAMessageRequest.md | 13 + .../SendBirdAddExtraDataToAMessageResponse.md | 13 + docs/SendBirdBlockAUserRequest.md | 14 + docs/SendBirdBlockAUserResponse.md | 14 + docs/SendBirdCheckIfMemberResponse.md | 24 + ...APushNotificationContentTemplateRequest.md | 22 + ...PushNotificationContentTemplateResponse.md | 13 + docs/SendBirdCreateABotRequest.md | 21 + docs/SendBirdCreateABotResponse.md | 20 + docs/SendBirdCreateABotResponseBot.md | 21 + docs/SendBirdCreateAChannelMetadataRequest.md | 14 + .../SendBirdCreateAChannelMetadataResponse.md | 14 + docs/SendBirdCreateAGroupChannelRequest.md | 31 + docs/SendBirdCreateAUserRequest.md | 19 + docs/SendBirdCreateAnOpenChannelRequest.md | 21 + docs/SendBirdCreateUserTokenRequest.md | 13 + docs/SendBirdCreateUserTokenResponse.md | 14 + docs/SendBirdFreezeAGroupChannelRequest.md | 13 + docs/SendBirdFreezeAnOpenChannelRequest.md | 13 + docs/SendBirdGetAGroupChannelResponse.md | 99 + docs/SendBirdGetAGroupChannelResponseAllOf.md | 13 + ...dGetChannelInvitationPreferenceResponse.md | 13 + ...TotalNumberOfMessagesInAChannelResponse.md | 13 + ...SendBirdGroupChannelListMembersResponse.md | 14 + docs/SendBirdGroupChatListChannelsResponse.md | 15 + docs/SendBirdHideAChannelRequest.md | 16 + docs/SendBirdInviteAsMembersRequest.md | 16 + docs/SendBirdInviteAsMembersResponse.md | 99 + docs/SendBirdInviteAsMembersResponseAllOf.md | 13 + docs/SendBirdJoinAChannelRequest.md | 14 + docs/SendBirdJoinChannelsRequest.md | 13 + docs/SendBirdLeaveAChannelRequest.md | 28 + docs/SendBirdLeaveMyGroupChannelsRequest.md | 13 + docs/SendBirdListBlockedUsersResponse.md | 14 + docs/SendBirdListBotsResponse.md | 14 + docs/SendBirdListBotsResponseBotsInner.md | 22 + docs/SendBirdListBotsResponseBotsInnerBot.md | 20 + ...ndBirdListBotsResponseBotsInnerBotStyle.md | 16 + ...dListBotsResponseBotsInnerBotStyleColor.md | 15 + ...BotsResponseBotsInnerFirstMessagesInner.md | 14 + ...ResponseBotsInnerFirstMessagesInnerData.md | 13 + ...dBirdListBotsResponseBotsInnerSafeguard.md | 16 + docs/SendBirdListMessagesResponse.md | 13 + docs/SendBirdListMyGroupChannelsResponse.md | 15 + docs/SendBirdListOpenChannelsResponse.md | 15 + docs/SendBirdListOperatorsResponse.md | 14 + ...dListRegistrationOrDeviceTokensResponse.md | 16 + docs/SendBirdListUsersResponse.md | 14 + docs/SendBirdMarkAllMessagesAsReadRequest.md | 13 + ...endBirdMarkChannelMessagesAsReadRequest.md | 13 + ...dBirdMigrateMessagesAdminMessageRequest.md | 29 + ...ndBirdMigrateMessagesFileMessageRequest.md | 34 + ...ssagesFileMessageRequestThumbnailsInner.md | 37 + docs/SendBirdMigrateMessagesRequest.md | 15 + ...BirdMigrateMessagesRequestMessagesInner.md | 46 + ...ndBirdMigrateMessagesTextMessageRequest.md | 29 + ...RegisterOperatorsToAGroupChannelRequest.md | 13 + ...emoveARegistrationOrDeviceTokenResponse.md | 14 + ...oveAllRegistrationOrDeviceTokenResponse.md | 14 + docs/SendBirdResetChatHistoryRequest.md | 14 + docs/SendBirdResetChatHistoryResponse.md | 13 + docs/SendBirdScheduleAnAnnouncementRequest.md | 30 + ...AnnouncementRequestCreateChannelOptions.md | 17 + ...irdScheduleAnAnnouncementRequestMessage.md | 17 + .../SendBirdScheduleAnAnnouncementResponse.md | 36 + ...rdScheduleAnAnnouncementResponseMessage.md | 18 + docs/SendBirdSendABotMessageResponse.md | 13 + docs/SendBirdSendAMessageRequest.md | 57 + ...dSendAMessageRequestPushMessageTemplate.md | 39 + ...AMessageRequestPushMessageTemplateOneOf.md | 14 + docs/SendBirdSendAdminMessageRequestBody.md | 41 + docs/SendBirdSendFileMessageRequestBody.md | 50 + docs/SendBirdSendTextMessageRequestBody.md | 48 + ...xtMessageRequestBodyPushMessageTemplate.md | 39 + docs/SendBirdSendbirdBasicUserInfo.md | 30 + docs/SendBirdSendbirdDisappearingMessage.md | 14 + .../SendBirdSendbirdExtendedMessagePayload.md | 15 + docs/SendBirdSendbirdFile.md | 18 + docs/SendBirdSendbirdGroupChannel.md | 98 + docs/SendBirdSendbirdGroupChannelDetail.md | 45 + ...ndBirdSendbirdGroupChannelDetailChannel.md | 20 + ...SendBirdSendbirdGroupChannelLastMessage.md | 28 + docs/SendBirdSendbirdMember.md | 54 + docs/SendBirdSendbirdMessageResponse.md | 42 + ...rdMessageResponseExtendedMessagePayload.md | 28 + ...irdSendbirdMessageResponseMessageEvents.md | 16 + docs/SendBirdSendbirdOpenChannel.md | 25 + docs/SendBirdSendbirdParentMessageInfo.md | 19 + docs/SendBirdSendbirdPushTriggerOption.md | 15 + docs/SendBirdSendbirdReaction.md | 15 + docs/SendBirdSendbirdSmsFallback.md | 14 + docs/SendBirdSendbirdSortedMetaarrayInner.md | 14 + docs/SendBirdSendbirdThumbnail.md | 18 + docs/SendBirdSendbirdUser.md | 44 + docs/SendBirdStartTypingIndicatorsRequest.md | 13 + docs/SendBirdUpdateAChannelMetadataRequest.md | 14 + docs/SendBirdUpdateAGroupChannelRequest.md | 22 + docs/SendBirdUpdateAMessageRequest.md | 29 + docs/SendBirdUpdateAUserRequest.md | 21 + docs/SendBirdUpdateAnOpenChannelRequest.md | 18 + docs/SendBirdUpdateBotByIdData.md | 20 + docs/SendBirdUpdateBotByIdResponse.md | 18 + ...pdateChannelInvitationPreferenceRequest.md | 13 + ...dateChannelInvitationPreferenceResponse.md | 13 + ...dUpdateCountPreferenceOfAChannelRequest.md | 24 + ...teCountPreferenceOfChannelByUrlResponse.md | 24 + ...endBirdUpdateExtraDataInAMessageRequest.md | 15 + ...ndBirdUpdateExtraDataInAMessageResponse.md | 13 + ...UpdatePushPreferencesForAChannelRequest.md | 25 + ...pdatePushPreferencesForAChannelResponse.md | 15 + docs/SendBirdUpdatePushPreferencesRequest.md | 26 + docs/SendBirdUpdatePushPreferencesResponse.md | 26 + docs/SendBirdViewBotByIdResponse.md | 18 + docs/SendBirdViewBotByIdResponseBot.md | 18 + ...rdViewCountPreferenceOfAChannelResponse.md | 24 + ...berOfChannelsWithUnreadMessagesResponse.md | 13 + ...irdViewNumberOfDailyActiveUsersResponse.md | 13 + ...dViewNumberOfMonthlyActiveUsersResponse.md | 13 + ...dBirdViewNumberOfUnreadMessagesResponse.md | 13 + ...dViewPushPreferencesForAChannelResponse.md | 15 + docs/SendBirdViewPushPreferencesResponse.md | 26 + docs/StatisticsApi.md | 12 +- docs/UserApi.md | 208 +- .../client/model/AbstractOpenApiSchema.java | 2 +- .../SendBirdAcceptAnInvitationRequest.java | 168 ++ ...dAddARegistrationOrDeviceTokenRequest.java | 177 ++ ...AddARegistrationOrDeviceTokenResponse.java | 178 ++ ...SendBirdAddExtraDataToAMessageRequest.java | 121 ++ ...endBirdAddExtraDataToAMessageResponse.java | 124 ++ .../model/SendBirdBlockAUserRequest.java | 155 ++ .../model/SendBirdBlockAUserResponse.java | 156 ++ .../model/SendBirdCheckIfMemberResponse.java | 182 ++ ...ushNotificationContentTemplateRequest.java | 148 ++ ...shNotificationContentTemplateResponse.java | 113 ++ .../model/SendBirdCreateABotRequest.java | 369 ++++ .../model/SendBirdCreateABotResponse.java | 339 ++++ .../model/SendBirdCreateABotResponseBot.java | 369 ++++ ...SendBirdCreateAChannelMetadataRequest.java | 145 ++ ...endBirdCreateAChannelMetadataResponse.java | 145 ++ .../SendBirdCreateAGroupChannelRequest.java | 745 +++++++ .../model/SendBirdCreateAUserRequest.java | 351 ++++ .../SendBirdCreateAnOpenChannelRequest.java | 380 ++++ .../model/SendBirdCreateUserTokenRequest.java | 113 ++ .../SendBirdCreateUserTokenResponse.java | 145 ++ .../SendBirdFreezeAGroupChannelRequest.java | 113 ++ .../SendBirdFreezeAnOpenChannelRequest.java | 113 ++ .../SendBirdGetAGroupChannelResponse.java | 1771 ++++++++++++++++ ...SendBirdGetAGroupChannelResponseAllOf.java | 114 ++ ...etChannelInvitationPreferenceResponse.java | 113 ++ ...talNumberOfMessagesInAChannelResponse.java | 113 ++ ...ndBirdGroupChannelListMembersResponse.java | 153 ++ ...SendBirdGroupChatListChannelsResponse.java | 188 ++ .../model/SendBirdHideAChannelRequest.java | 209 ++ .../model/SendBirdInviteAsMembersRequest.java | 216 ++ .../SendBirdInviteAsMembersResponse.java | 1779 +++++++++++++++++ .../SendBirdInviteAsMembersResponseAllOf.java | 124 ++ .../model/SendBirdJoinAChannelRequest.java | 168 ++ .../model/SendBirdJoinChannelsRequest.java | 120 ++ .../model/SendBirdLeaveAChannelRequest.java | 257 +++ .../SendBirdLeaveMyGroupChannelsRequest.java | 113 ++ .../SendBirdListBlockedUsersResponse.java | 156 ++ .../model/SendBirdListBotsResponse.java | 156 ++ .../SendBirdListBotsResponseBotsInner.java | 415 ++++ .../SendBirdListBotsResponseBotsInnerBot.java | 337 ++++ ...BirdListBotsResponseBotsInnerBotStyle.java | 241 +++ ...istBotsResponseBotsInnerBotStyleColor.java | 177 ++ ...tsResponseBotsInnerFirstMessagesInner.java | 146 ++ ...sponseBotsInnerFirstMessagesInnerData.java | 123 ++ ...irdListBotsResponseBotsInnerSafeguard.java | 219 ++ .../model/SendBirdListMessagesResponse.java | 124 ++ .../SendBirdListMyGroupChannelsResponse.java | 188 ++ .../SendBirdListOpenChannelsResponse.java | 188 ++ .../model/SendBirdListOperatorsResponse.java | 156 ++ ...istRegistrationOrDeviceTokensResponse.java | 228 +++ .../model/SendBirdListUsersResponse.java | 156 ++ .../SendBirdMarkAllMessagesAsReadRequest.java | 123 ++ ...dBirdMarkChannelMessagesAsReadRequest.java | 113 ++ ...irdMigrateMessagesAdminMessageRequest.java | 420 ++++ ...BirdMigrateMessagesFileMessageRequest.java | 589 ++++++ ...agesFileMessageRequestThumbnailsInner.java | 243 +++ .../model/SendBirdMigrateMessagesRequest.java | 188 ++ ...rdMigrateMessagesRequestMessagesInner.java | 305 +++ ...BirdMigrateMessagesTextMessageRequest.java | 420 ++++ ...gisterOperatorsToAGroupChannelRequest.java | 120 ++ ...oveARegistrationOrDeviceTokenResponse.java | 146 ++ ...eAllRegistrationOrDeviceTokenResponse.java | 156 ++ .../SendBirdResetChatHistoryRequest.java | 145 ++ .../SendBirdResetChatHistoryResponse.java | 113 ++ ...SendBirdScheduleAnAnnouncementRequest.java | 669 +++++++ ...nouncementRequestCreateChannelOptions.java | 241 +++ ...dScheduleAnAnnouncementRequestMessage.java | 241 +++ ...endBirdScheduleAnAnnouncementResponse.java | 852 ++++++++ ...ScheduleAnAnnouncementResponseMessage.java | 273 +++ .../SendBirdSendABotMessageResponse.java | 114 ++ .../model/SendBirdSendAMessageRequest.java | 1015 ++++++++++ ...endAMessageRequestPushMessageTemplate.java | 251 +++ ...essageRequestPushMessageTemplateOneOf.java | 145 ++ .../SendBirdSendAdminMessageRequestBody.java | 553 +++++ .../SendBirdSendFileMessageRequestBody.java | 850 ++++++++ .../SendBirdSendTextMessageRequestBody.java | 778 +++++++ ...MessageRequestBodyPushMessageTemplate.java | 251 +++ .../model/SendBirdSendbirdBasicUserInfo.java | 405 ++++ .../SendBirdSendbirdDisappearingMessage.java | 145 ++ ...endBirdSendbirdExtendedMessagePayload.java | 156 ++ .../client/model/SendBirdSendbirdFile.java | 284 +++ .../model/SendBirdSendbirdGroupChannel.java | 1736 ++++++++++++++++ .../SendBirdSendbirdGroupChannelDetail.java | 1180 +++++++++++ ...BirdSendbirdGroupChannelDetailChannel.java | 337 ++++ ...ndBirdSendbirdGroupChannelLastMessage.java | 215 ++ .../client/model/SendBirdSendbirdMember.java | 937 +++++++++ .../SendBirdSendbirdMessageResponse.java | 1105 ++++++++++ ...MessageResponseExtendedMessagePayload.java | 204 ++ ...dSendbirdMessageResponseMessageEvents.java | 209 ++ .../model/SendBirdSendbirdOpenChannel.java | 531 +++++ .../SendBirdSendbirdParentMessageInfo.java | 317 +++ .../SendBirdSendbirdPushTriggerOption.java | 64 + .../model/SendBirdSendbirdReaction.java | 187 ++ .../model/SendBirdSendbirdSmsFallback.java | 155 ++ .../SendBirdSendbirdSortedMetaarrayInner.java | 155 ++ .../model/SendBirdSendbirdThumbnail.java | 273 +++ .../client/model/SendBirdSendbirdUser.java | 872 ++++++++ .../SendBirdStartTypingIndicatorsRequest.java | 120 ++ ...SendBirdUpdateAChannelMetadataRequest.java | 145 ++ .../SendBirdUpdateAGroupChannelRequest.java | 435 ++++ .../model/SendBirdUpdateAMessageRequest.java | 352 ++++ .../model/SendBirdUpdateAUserRequest.java | 443 ++++ .../SendBirdUpdateAnOpenChannelRequest.java | 284 +++ .../model/SendBirdUpdateBotByIdData.java | 337 ++++ .../model/SendBirdUpdateBotByIdResponse.java | 274 +++ ...ateChannelInvitationPreferenceRequest.java | 113 ++ ...teChannelInvitationPreferenceResponse.java | 113 ++ ...pdateCountPreferenceOfAChannelRequest.java | 152 ++ ...CountPreferenceOfChannelByUrlResponse.java | 152 ++ ...dBirdUpdateExtraDataInAMessageRequest.java | 188 ++ ...BirdUpdateExtraDataInAMessageResponse.java | 124 ++ ...datePushPreferencesForAChannelRequest.java | 184 ++ ...atePushPreferencesForAChannelResponse.java | 178 ++ .../SendBirdUpdatePushPreferencesRequest.java | 540 +++++ ...SendBirdUpdatePushPreferencesResponse.java | 540 +++++ .../model/SendBirdViewBotByIdResponse.java | 274 +++ .../model/SendBirdViewBotByIdResponseBot.java | 273 +++ ...ViewCountPreferenceOfAChannelResponse.java | 152 ++ ...rOfChannelsWithUnreadMessagesResponse.java | 113 ++ ...dViewNumberOfDailyActiveUsersResponse.java | 113 ++ ...iewNumberOfMonthlyActiveUsersResponse.java | 113 ++ ...irdViewNumberOfUnreadMessagesResponse.java | 113 ++ ...iewPushPreferencesForAChannelResponse.java | 178 ++ .../SendBirdViewPushPreferencesResponse.java | 540 +++++ .../java/org/sendbird/client/ApiClient.java | 2 +- .../org/sendbird/client/ApiException.java | 2 +- .../org/sendbird/client/Configuration.java | 2 +- src/main/java/org/sendbird/client/JSON.java | 2 +- .../sendbird/client/JavaTimeFormatter.java | 2 +- src/main/java/org/sendbird/client/Pair.java | 2 +- .../java/org/sendbird/client/StringUtil.java | 2 +- .../sendbird/client/api/AnnouncementApi.java | 32 +- .../java/org/sendbird/client/api/BotApi.java | 146 +- .../sendbird/client/api/GroupChannelApi.java | 334 ++-- .../org/sendbird/client/api/MessageApi.java | 196 +- .../org/sendbird/client/api/MetadataApi.java | 50 +- .../sendbird/client/api/ModerationApi.java | 106 +- .../sendbird/client/api/OpenChannelApi.java | 118 +- .../sendbird/client/api/StatisticsApi.java | 30 +- .../java/org/sendbird/client/api/UserApi.java | 498 ++--- .../org/sendbird/client/auth/ApiKeyAuth.java | 2 +- .../sendbird/client/auth/HttpBasicAuth.java | 2 +- .../sendbird/client/auth/HttpBearerAuth.java | 2 +- ...SendBirdAcceptAnInvitationRequestTest.java | 62 + ...ARegistrationOrDeviceTokenRequestTest.java | 66 + ...RegistrationOrDeviceTokenResponseTest.java | 67 + ...BirdAddExtraDataToAMessageRequestTest.java | 53 + ...irdAddExtraDataToAMessageResponseTest.java | 53 + .../model/SendBirdBlockAUserRequestTest.java | 60 + .../model/SendBirdBlockAUserResponseTest.java | 61 + .../SendBirdCheckIfMemberResponseTest.java | 58 + ...otificationContentTemplateRequestTest.java | 50 + ...tificationContentTemplateResponseTest.java | 50 + .../model/SendBirdCreateABotRequestTest.java | 114 ++ .../SendBirdCreateABotResponseBotTest.java | 114 ++ .../model/SendBirdCreateABotResponseTest.java | 108 + ...BirdCreateAChannelMetadataRequestTest.java | 58 + ...irdCreateAChannelMetadataResponseTest.java | 58 + ...endBirdCreateAGroupChannelRequestTest.java | 202 ++ .../model/SendBirdCreateAUserRequestTest.java | 105 + ...endBirdCreateAnOpenChannelRequestTest.java | 117 ++ .../SendBirdCreateUserTokenRequestTest.java | 50 + .../SendBirdCreateUserTokenResponseTest.java | 58 + ...endBirdFreezeAGroupChannelRequestTest.java | 50 + ...endBirdFreezeAnOpenChannelRequestTest.java | 50 + ...BirdGetAGroupChannelResponseAllOfTest.java | 51 + .../SendBirdGetAGroupChannelResponseTest.java | 427 ++++ ...annelInvitationPreferenceResponseTest.java | 50 + ...umberOfMessagesInAChannelResponseTest.java | 50 + ...rdGroupChannelListMembersResponseTest.java | 61 + ...BirdGroupChatListChannelsResponseTest.java | 69 + .../SendBirdHideAChannelRequestTest.java | 74 + .../SendBirdInviteAsMembersRequestTest.java | 76 + ...dBirdInviteAsMembersResponseAllOfTest.java | 53 + .../SendBirdInviteAsMembersResponseTest.java | 427 ++++ .../SendBirdJoinAChannelRequestTest.java | 62 + .../SendBirdJoinChannelsRequestTest.java | 52 + .../SendBirdLeaveAChannelRequestTest.java | 76 + ...ndBirdLeaveMyGroupChannelsRequestTest.java | 50 + .../SendBirdListBlockedUsersResponseTest.java | 61 + ...otsResponseBotsInnerBotStyleColorTest.java | 66 + ...ListBotsResponseBotsInnerBotStyleTest.java | 79 + ...dBirdListBotsResponseBotsInnerBotTest.java | 106 + ...seBotsInnerFirstMessagesInnerDataTest.java | 52 + ...sponseBotsInnerFirstMessagesInnerTest.java | 59 + ...istBotsResponseBotsInnerSafeguardTest.java | 76 + ...SendBirdListBotsResponseBotsInnerTest.java | 128 ++ .../model/SendBirdListBotsResponseTest.java | 61 + .../SendBirdListMessagesResponseTest.java | 53 + ...ndBirdListMyGroupChannelsResponseTest.java | 69 + .../SendBirdListOpenChannelsResponseTest.java | 69 + .../SendBirdListOperatorsResponseTest.java | 61 + ...egistrationOrDeviceTokensResponseTest.java | 77 + .../model/SendBirdListUsersResponseTest.java | 61 + ...dBirdMarkAllMessagesAsReadRequestTest.java | 52 + ...dMarkChannelMessagesAsReadRequestTest.java | 50 + ...igrateMessagesAdminMessageRequestTest.java | 116 ++ ...MigrateMessagesFileMessageRequestTest.java | 157 ++ ...FileMessageRequestThumbnailsInnerTest.java | 35 + ...grateMessagesRequestMessagesInnerTest.java | 184 ++ .../SendBirdMigrateMessagesRequestTest.java | 69 + ...MigrateMessagesTextMessageRequestTest.java | 116 ++ ...erOperatorsToAGroupChannelRequestTest.java | 52 + ...RegistrationOrDeviceTokenResponseTest.java | 59 + ...RegistrationOrDeviceTokenResponseTest.java | 61 + .../SendBirdResetChatHistoryRequestTest.java | 58 + .../SendBirdResetChatHistoryResponseTest.java | 50 + ...cementRequestCreateChannelOptionsTest.java | 82 + ...eduleAnAnnouncementRequestMessageTest.java | 82 + ...BirdScheduleAnAnnouncementRequestTest.java | 190 ++ ...duleAnAnnouncementResponseMessageTest.java | 90 + ...irdScheduleAnAnnouncementResponseTest.java | 237 +++ .../SendBirdSendABotMessageResponseTest.java | 51 + ...geRequestPushMessageTemplateOneOfTest.java | 58 + ...MessageRequestPushMessageTemplateTest.java | 59 + .../SendBirdSendAMessageRequestTest.java | 256 +++ ...ndBirdSendAdminMessageRequestBodyTest.java | 142 ++ ...endBirdSendFileMessageRequestBodyTest.java | 215 ++ ...ageRequestBodyPushMessageTemplateTest.java | 59 + ...endBirdSendTextMessageRequestBodyTest.java | 199 ++ .../SendBirdSendbirdBasicUserInfoTest.java | 110 + ...ndBirdSendbirdDisappearingMessageTest.java | 58 + ...irdSendbirdExtendedMessagePayloadTest.java | 60 + .../model/SendBirdSendbirdFileTest.java | 93 + ...SendbirdGroupChannelDetailChannelTest.java | 106 + ...endBirdSendbirdGroupChannelDetailTest.java | 317 +++ ...rdSendbirdGroupChannelLastMessageTest.java | 296 +++ .../SendBirdSendbirdGroupChannelTest.java | 416 ++++ .../model/SendBirdSendbirdMemberTest.java | 225 +++ ...ageResponseExtendedMessagePayloadTest.java | 61 + ...dbirdMessageResponseMessageEventsTest.java | 74 + .../SendBirdSendbirdMessageResponseTest.java | 295 +++ .../SendBirdSendbirdOpenChannelTest.java | 153 ++ ...SendBirdSendbirdParentMessageInfoTest.java | 102 + ...SendBirdSendbirdPushTriggerOptionTest.java | 33 + .../model/SendBirdSendbirdReactionTest.java | 68 + .../SendBirdSendbirdSmsFallbackTest.java | 60 + ...dBirdSendbirdSortedMetaarrayInnerTest.java | 60 + .../model/SendBirdSendbirdThumbnailTest.java | 90 + .../model/SendBirdSendbirdUserTest.java | 216 ++ ...dBirdStartTypingIndicatorsRequestTest.java | 52 + ...BirdUpdateAChannelMetadataRequestTest.java | 58 + ...endBirdUpdateAGroupChannelRequestTest.java | 129 ++ .../SendBirdUpdateAMessageRequestTest.java | 100 + .../model/SendBirdUpdateAUserRequestTest.java | 121 ++ ...endBirdUpdateAnOpenChannelRequestTest.java | 93 + .../model/SendBirdUpdateBotByIdDataTest.java | 106 + .../SendBirdUpdateBotByIdResponseTest.java | 91 + ...hannelInvitationPreferenceRequestTest.java | 50 + ...annelInvitationPreferenceResponseTest.java | 50 + ...eCountPreferenceOfAChannelRequestTest.java | 50 + ...tPreferenceOfChannelByUrlResponseTest.java | 50 + ...dUpdateExtraDataInAMessageRequestTest.java | 69 + ...UpdateExtraDataInAMessageResponseTest.java | 53 + ...PushPreferencesForAChannelRequestTest.java | 58 + ...ushPreferencesForAChannelResponseTest.java | 67 + ...dBirdUpdatePushPreferencesRequestTest.java | 157 ++ ...BirdUpdatePushPreferencesResponseTest.java | 157 ++ .../SendBirdViewBotByIdResponseBotTest.java | 90 + .../SendBirdViewBotByIdResponseTest.java | 91 + ...CountPreferenceOfAChannelResponseTest.java | 50 + ...hannelsWithUnreadMessagesResponseTest.java | 50 + ...wNumberOfDailyActiveUsersResponseTest.java | 50 + ...umberOfMonthlyActiveUsersResponseTest.java | 50 + ...iewNumberOfUnreadMessagesResponseTest.java | 50 + ...ushPreferencesForAChannelResponseTest.java | 67 + ...ndBirdViewPushPreferencesResponseTest.java | 157 ++ 404 files changed, 54991 insertions(+), 1336 deletions(-) create mode 100644 docs/SendBirdAcceptAnInvitationRequest.md create mode 100644 docs/SendBirdAddARegistrationOrDeviceTokenRequest.md create mode 100644 docs/SendBirdAddARegistrationOrDeviceTokenResponse.md create mode 100644 docs/SendBirdAddExtraDataToAMessageRequest.md create mode 100644 docs/SendBirdAddExtraDataToAMessageResponse.md create mode 100644 docs/SendBirdBlockAUserRequest.md create mode 100644 docs/SendBirdBlockAUserResponse.md create mode 100644 docs/SendBirdCheckIfMemberResponse.md create mode 100644 docs/SendBirdChooseAPushNotificationContentTemplateRequest.md create mode 100644 docs/SendBirdChooseAPushNotificationContentTemplateResponse.md create mode 100644 docs/SendBirdCreateABotRequest.md create mode 100644 docs/SendBirdCreateABotResponse.md create mode 100644 docs/SendBirdCreateABotResponseBot.md create mode 100644 docs/SendBirdCreateAChannelMetadataRequest.md create mode 100644 docs/SendBirdCreateAChannelMetadataResponse.md create mode 100644 docs/SendBirdCreateAGroupChannelRequest.md create mode 100644 docs/SendBirdCreateAUserRequest.md create mode 100644 docs/SendBirdCreateAnOpenChannelRequest.md create mode 100644 docs/SendBirdCreateUserTokenRequest.md create mode 100644 docs/SendBirdCreateUserTokenResponse.md create mode 100644 docs/SendBirdFreezeAGroupChannelRequest.md create mode 100644 docs/SendBirdFreezeAnOpenChannelRequest.md create mode 100644 docs/SendBirdGetAGroupChannelResponse.md create mode 100644 docs/SendBirdGetAGroupChannelResponseAllOf.md create mode 100644 docs/SendBirdGetChannelInvitationPreferenceResponse.md create mode 100644 docs/SendBirdGetTotalNumberOfMessagesInAChannelResponse.md create mode 100644 docs/SendBirdGroupChannelListMembersResponse.md create mode 100644 docs/SendBirdGroupChatListChannelsResponse.md create mode 100644 docs/SendBirdHideAChannelRequest.md create mode 100644 docs/SendBirdInviteAsMembersRequest.md create mode 100644 docs/SendBirdInviteAsMembersResponse.md create mode 100644 docs/SendBirdInviteAsMembersResponseAllOf.md create mode 100644 docs/SendBirdJoinAChannelRequest.md create mode 100644 docs/SendBirdJoinChannelsRequest.md create mode 100644 docs/SendBirdLeaveAChannelRequest.md create mode 100644 docs/SendBirdLeaveMyGroupChannelsRequest.md create mode 100644 docs/SendBirdListBlockedUsersResponse.md create mode 100644 docs/SendBirdListBotsResponse.md create mode 100644 docs/SendBirdListBotsResponseBotsInner.md create mode 100644 docs/SendBirdListBotsResponseBotsInnerBot.md create mode 100644 docs/SendBirdListBotsResponseBotsInnerBotStyle.md create mode 100644 docs/SendBirdListBotsResponseBotsInnerBotStyleColor.md create mode 100644 docs/SendBirdListBotsResponseBotsInnerFirstMessagesInner.md create mode 100644 docs/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.md create mode 100644 docs/SendBirdListBotsResponseBotsInnerSafeguard.md create mode 100644 docs/SendBirdListMessagesResponse.md create mode 100644 docs/SendBirdListMyGroupChannelsResponse.md create mode 100644 docs/SendBirdListOpenChannelsResponse.md create mode 100644 docs/SendBirdListOperatorsResponse.md create mode 100644 docs/SendBirdListRegistrationOrDeviceTokensResponse.md create mode 100644 docs/SendBirdListUsersResponse.md create mode 100644 docs/SendBirdMarkAllMessagesAsReadRequest.md create mode 100644 docs/SendBirdMarkChannelMessagesAsReadRequest.md create mode 100644 docs/SendBirdMigrateMessagesAdminMessageRequest.md create mode 100644 docs/SendBirdMigrateMessagesFileMessageRequest.md create mode 100644 docs/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.md create mode 100644 docs/SendBirdMigrateMessagesRequest.md create mode 100644 docs/SendBirdMigrateMessagesRequestMessagesInner.md create mode 100644 docs/SendBirdMigrateMessagesTextMessageRequest.md create mode 100644 docs/SendBirdRegisterOperatorsToAGroupChannelRequest.md create mode 100644 docs/SendBirdRemoveARegistrationOrDeviceTokenResponse.md create mode 100644 docs/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md create mode 100644 docs/SendBirdResetChatHistoryRequest.md create mode 100644 docs/SendBirdResetChatHistoryResponse.md create mode 100644 docs/SendBirdScheduleAnAnnouncementRequest.md create mode 100644 docs/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.md create mode 100644 docs/SendBirdScheduleAnAnnouncementRequestMessage.md create mode 100644 docs/SendBirdScheduleAnAnnouncementResponse.md create mode 100644 docs/SendBirdScheduleAnAnnouncementResponseMessage.md create mode 100644 docs/SendBirdSendABotMessageResponse.md create mode 100644 docs/SendBirdSendAMessageRequest.md create mode 100644 docs/SendBirdSendAMessageRequestPushMessageTemplate.md create mode 100644 docs/SendBirdSendAMessageRequestPushMessageTemplateOneOf.md create mode 100644 docs/SendBirdSendAdminMessageRequestBody.md create mode 100644 docs/SendBirdSendFileMessageRequestBody.md create mode 100644 docs/SendBirdSendTextMessageRequestBody.md create mode 100644 docs/SendBirdSendTextMessageRequestBodyPushMessageTemplate.md create mode 100644 docs/SendBirdSendbirdBasicUserInfo.md create mode 100644 docs/SendBirdSendbirdDisappearingMessage.md create mode 100644 docs/SendBirdSendbirdExtendedMessagePayload.md create mode 100644 docs/SendBirdSendbirdFile.md create mode 100644 docs/SendBirdSendbirdGroupChannel.md create mode 100644 docs/SendBirdSendbirdGroupChannelDetail.md create mode 100644 docs/SendBirdSendbirdGroupChannelDetailChannel.md create mode 100644 docs/SendBirdSendbirdGroupChannelLastMessage.md create mode 100644 docs/SendBirdSendbirdMember.md create mode 100644 docs/SendBirdSendbirdMessageResponse.md create mode 100644 docs/SendBirdSendbirdMessageResponseExtendedMessagePayload.md create mode 100644 docs/SendBirdSendbirdMessageResponseMessageEvents.md create mode 100644 docs/SendBirdSendbirdOpenChannel.md create mode 100644 docs/SendBirdSendbirdParentMessageInfo.md create mode 100644 docs/SendBirdSendbirdPushTriggerOption.md create mode 100644 docs/SendBirdSendbirdReaction.md create mode 100644 docs/SendBirdSendbirdSmsFallback.md create mode 100644 docs/SendBirdSendbirdSortedMetaarrayInner.md create mode 100644 docs/SendBirdSendbirdThumbnail.md create mode 100644 docs/SendBirdSendbirdUser.md create mode 100644 docs/SendBirdStartTypingIndicatorsRequest.md create mode 100644 docs/SendBirdUpdateAChannelMetadataRequest.md create mode 100644 docs/SendBirdUpdateAGroupChannelRequest.md create mode 100644 docs/SendBirdUpdateAMessageRequest.md create mode 100644 docs/SendBirdUpdateAUserRequest.md create mode 100644 docs/SendBirdUpdateAnOpenChannelRequest.md create mode 100644 docs/SendBirdUpdateBotByIdData.md create mode 100644 docs/SendBirdUpdateBotByIdResponse.md create mode 100644 docs/SendBirdUpdateChannelInvitationPreferenceRequest.md create mode 100644 docs/SendBirdUpdateChannelInvitationPreferenceResponse.md create mode 100644 docs/SendBirdUpdateCountPreferenceOfAChannelRequest.md create mode 100644 docs/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.md create mode 100644 docs/SendBirdUpdateExtraDataInAMessageRequest.md create mode 100644 docs/SendBirdUpdateExtraDataInAMessageResponse.md create mode 100644 docs/SendBirdUpdatePushPreferencesForAChannelRequest.md create mode 100644 docs/SendBirdUpdatePushPreferencesForAChannelResponse.md create mode 100644 docs/SendBirdUpdatePushPreferencesRequest.md create mode 100644 docs/SendBirdUpdatePushPreferencesResponse.md create mode 100644 docs/SendBirdViewBotByIdResponse.md create mode 100644 docs/SendBirdViewBotByIdResponseBot.md create mode 100644 docs/SendBirdViewCountPreferenceOfAChannelResponse.md create mode 100644 docs/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.md create mode 100644 docs/SendBirdViewNumberOfDailyActiveUsersResponse.md create mode 100644 docs/SendBirdViewNumberOfMonthlyActiveUsersResponse.md create mode 100644 docs/SendBirdViewNumberOfUnreadMessagesResponse.md create mode 100644 docs/SendBirdViewPushPreferencesForAChannelResponse.md create mode 100644 docs/SendBirdViewPushPreferencesResponse.md create mode 100644 src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java create mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdBlockAUserRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdBlockAUserResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdCheckIfMemberResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateABotRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseBotTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateAUserRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOfTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdHideAChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOfTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdJoinAChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdJoinChannelsRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdLeaveAChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBlockedUsersResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColorTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguardTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListMessagesResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListOpenChannelsResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListOperatorsResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdListUsersResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInnerTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessageTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessageTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendABotMessageResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOfTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBodyTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBodyTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplateTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfoTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessageTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayloadTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdFileTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannelTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessageTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdMemberTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayloadTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEventsTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdOpenChannelTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfoTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOptionTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdReactionTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdSmsFallbackTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInnerTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdThumbnailTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdUserTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateAMessageRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateAUserRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdDataTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequestTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBotTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponseTest.java create mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponseTest.java diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d2ff6764..0ecc9f85 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v4 + uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }} distribution: 'temurin' diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 3d993c71..20e5a93c 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -4,139 +4,139 @@ api/openapi.yaml build.gradle build.sbt -docs/AcceptAnInvitationRequest.md -docs/AddARegistrationOrDeviceTokenRequest.md -docs/AddARegistrationOrDeviceTokenResponse.md -docs/AddExtraDataToAMessageRequest.md -docs/AddExtraDataToAMessageResponse.md docs/AnnouncementApi.md -docs/BlockAUserRequest.md -docs/BlockAUserResponse.md docs/BotApi.md -docs/CheckIfMemberResponse.md -docs/ChooseAPushNotificationContentTemplateRequest.md -docs/ChooseAPushNotificationContentTemplateResponse.md -docs/CreateABotRequest.md -docs/CreateABotResponse.md -docs/CreateABotResponseBot.md -docs/CreateAChannelMetadataRequest.md -docs/CreateAChannelMetadataResponse.md -docs/CreateAGroupChannelRequest.md -docs/CreateAUserRequest.md -docs/CreateAnOpenChannelRequest.md -docs/CreateUserTokenRequest.md -docs/CreateUserTokenResponse.md -docs/FreezeAGroupChannelRequest.md -docs/FreezeAnOpenChannelRequest.md -docs/GetAGroupChannelResponse.md -docs/GetAGroupChannelResponseAllOf.md -docs/GetChannelInvitationPreferenceResponse.md -docs/GetTotalNumberOfMessagesInAChannelResponse.md docs/GroupChannelApi.md -docs/GroupChannelListMembersResponse.md -docs/GroupChatListChannelsResponse.md -docs/HideAChannelRequest.md -docs/InviteAsMembersRequest.md -docs/InviteAsMembersResponse.md -docs/InviteAsMembersResponseAllOf.md -docs/JoinAChannelRequest.md -docs/JoinChannelsRequest.md -docs/LeaveAChannelRequest.md -docs/LeaveMyGroupChannelsRequest.md -docs/ListBlockedUsersResponse.md -docs/ListBotsResponse.md -docs/ListBotsResponseBotsInner.md -docs/ListBotsResponseBotsInnerBot.md -docs/ListBotsResponseBotsInnerBotStyle.md -docs/ListBotsResponseBotsInnerBotStyleColor.md -docs/ListBotsResponseBotsInnerFirstMessagesInner.md -docs/ListBotsResponseBotsInnerFirstMessagesInnerData.md -docs/ListBotsResponseBotsInnerSafeguard.md -docs/ListMessagesResponse.md -docs/ListMyGroupChannelsResponse.md -docs/ListOpenChannelsResponse.md -docs/ListOperatorsResponse.md -docs/ListRegistrationOrDeviceTokensResponse.md -docs/ListUsersResponse.md -docs/MarkAllMessagesAsReadRequest.md -docs/MarkChannelMessagesAsReadRequest.md docs/MessageApi.md docs/MetadataApi.md -docs/MigrateMessagesAdminMessageRequest.md -docs/MigrateMessagesFileMessageRequest.md -docs/MigrateMessagesFileMessageRequestThumbnailsInner.md -docs/MigrateMessagesRequest.md -docs/MigrateMessagesRequestMessagesInner.md -docs/MigrateMessagesTextMessageRequest.md docs/ModerationApi.md docs/OpenChannelApi.md -docs/RegisterOperatorsToAGroupChannelRequest.md -docs/RemoveARegistrationOrDeviceTokenResponse.md -docs/RemoveAllRegistrationOrDeviceTokenResponse.md -docs/ResetChatHistoryRequest.md -docs/ResetChatHistoryResponse.md -docs/ScheduleAnAnnouncementRequest.md -docs/ScheduleAnAnnouncementRequestCreateChannelOptions.md -docs/ScheduleAnAnnouncementRequestMessage.md -docs/ScheduleAnAnnouncementResponse.md -docs/ScheduleAnAnnouncementResponseMessage.md -docs/SendABotMessageResponse.md -docs/SendAMessageRequest.md -docs/SendAMessageRequestPushMessageTemplate.md -docs/SendAMessageRequestPushMessageTemplateOneOf.md -docs/SendAdminMessageRequestBody.md -docs/SendFileMessageRequestBody.md -docs/SendTextMessageRequestBody.md -docs/SendTextMessageRequestBodyPushMessageTemplate.md -docs/SendbirdBasicUserInfo.md -docs/SendbirdDisappearingMessage.md -docs/SendbirdExtendedMessagePayload.md -docs/SendbirdFile.md -docs/SendbirdGroupChannel.md -docs/SendbirdGroupChannelDetail.md -docs/SendbirdGroupChannelDetailChannel.md -docs/SendbirdGroupChannelLastMessage.md -docs/SendbirdMember.md -docs/SendbirdMessageResponse.md -docs/SendbirdMessageResponseExtendedMessagePayload.md -docs/SendbirdMessageResponseMessageEvents.md -docs/SendbirdOpenChannel.md -docs/SendbirdParentMessageInfo.md -docs/SendbirdPushTriggerOption.md -docs/SendbirdReaction.md -docs/SendbirdSmsFallback.md -docs/SendbirdSortedMetaarrayInner.md -docs/SendbirdThumbnail.md -docs/SendbirdUser.md -docs/StartTypingIndicatorsRequest.md +docs/SendBirdAcceptAnInvitationRequest.md +docs/SendBirdAddARegistrationOrDeviceTokenRequest.md +docs/SendBirdAddARegistrationOrDeviceTokenResponse.md +docs/SendBirdAddExtraDataToAMessageRequest.md +docs/SendBirdAddExtraDataToAMessageResponse.md +docs/SendBirdBlockAUserRequest.md +docs/SendBirdBlockAUserResponse.md +docs/SendBirdCheckIfMemberResponse.md +docs/SendBirdChooseAPushNotificationContentTemplateRequest.md +docs/SendBirdChooseAPushNotificationContentTemplateResponse.md +docs/SendBirdCreateABotRequest.md +docs/SendBirdCreateABotResponse.md +docs/SendBirdCreateABotResponseBot.md +docs/SendBirdCreateAChannelMetadataRequest.md +docs/SendBirdCreateAChannelMetadataResponse.md +docs/SendBirdCreateAGroupChannelRequest.md +docs/SendBirdCreateAUserRequest.md +docs/SendBirdCreateAnOpenChannelRequest.md +docs/SendBirdCreateUserTokenRequest.md +docs/SendBirdCreateUserTokenResponse.md +docs/SendBirdFreezeAGroupChannelRequest.md +docs/SendBirdFreezeAnOpenChannelRequest.md +docs/SendBirdGetAGroupChannelResponse.md +docs/SendBirdGetAGroupChannelResponseAllOf.md +docs/SendBirdGetChannelInvitationPreferenceResponse.md +docs/SendBirdGetTotalNumberOfMessagesInAChannelResponse.md +docs/SendBirdGroupChannelListMembersResponse.md +docs/SendBirdGroupChatListChannelsResponse.md +docs/SendBirdHideAChannelRequest.md +docs/SendBirdInviteAsMembersRequest.md +docs/SendBirdInviteAsMembersResponse.md +docs/SendBirdInviteAsMembersResponseAllOf.md +docs/SendBirdJoinAChannelRequest.md +docs/SendBirdJoinChannelsRequest.md +docs/SendBirdLeaveAChannelRequest.md +docs/SendBirdLeaveMyGroupChannelsRequest.md +docs/SendBirdListBlockedUsersResponse.md +docs/SendBirdListBotsResponse.md +docs/SendBirdListBotsResponseBotsInner.md +docs/SendBirdListBotsResponseBotsInnerBot.md +docs/SendBirdListBotsResponseBotsInnerBotStyle.md +docs/SendBirdListBotsResponseBotsInnerBotStyleColor.md +docs/SendBirdListBotsResponseBotsInnerFirstMessagesInner.md +docs/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.md +docs/SendBirdListBotsResponseBotsInnerSafeguard.md +docs/SendBirdListMessagesResponse.md +docs/SendBirdListMyGroupChannelsResponse.md +docs/SendBirdListOpenChannelsResponse.md +docs/SendBirdListOperatorsResponse.md +docs/SendBirdListRegistrationOrDeviceTokensResponse.md +docs/SendBirdListUsersResponse.md +docs/SendBirdMarkAllMessagesAsReadRequest.md +docs/SendBirdMarkChannelMessagesAsReadRequest.md +docs/SendBirdMigrateMessagesAdminMessageRequest.md +docs/SendBirdMigrateMessagesFileMessageRequest.md +docs/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.md +docs/SendBirdMigrateMessagesRequest.md +docs/SendBirdMigrateMessagesRequestMessagesInner.md +docs/SendBirdMigrateMessagesTextMessageRequest.md +docs/SendBirdRegisterOperatorsToAGroupChannelRequest.md +docs/SendBirdRemoveARegistrationOrDeviceTokenResponse.md +docs/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md +docs/SendBirdResetChatHistoryRequest.md +docs/SendBirdResetChatHistoryResponse.md +docs/SendBirdScheduleAnAnnouncementRequest.md +docs/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.md +docs/SendBirdScheduleAnAnnouncementRequestMessage.md +docs/SendBirdScheduleAnAnnouncementResponse.md +docs/SendBirdScheduleAnAnnouncementResponseMessage.md +docs/SendBirdSendABotMessageResponse.md +docs/SendBirdSendAMessageRequest.md +docs/SendBirdSendAMessageRequestPushMessageTemplate.md +docs/SendBirdSendAMessageRequestPushMessageTemplateOneOf.md +docs/SendBirdSendAdminMessageRequestBody.md +docs/SendBirdSendFileMessageRequestBody.md +docs/SendBirdSendTextMessageRequestBody.md +docs/SendBirdSendTextMessageRequestBodyPushMessageTemplate.md +docs/SendBirdSendbirdBasicUserInfo.md +docs/SendBirdSendbirdDisappearingMessage.md +docs/SendBirdSendbirdExtendedMessagePayload.md +docs/SendBirdSendbirdFile.md +docs/SendBirdSendbirdGroupChannel.md +docs/SendBirdSendbirdGroupChannelDetail.md +docs/SendBirdSendbirdGroupChannelDetailChannel.md +docs/SendBirdSendbirdGroupChannelLastMessage.md +docs/SendBirdSendbirdMember.md +docs/SendBirdSendbirdMessageResponse.md +docs/SendBirdSendbirdMessageResponseExtendedMessagePayload.md +docs/SendBirdSendbirdMessageResponseMessageEvents.md +docs/SendBirdSendbirdOpenChannel.md +docs/SendBirdSendbirdParentMessageInfo.md +docs/SendBirdSendbirdPushTriggerOption.md +docs/SendBirdSendbirdReaction.md +docs/SendBirdSendbirdSmsFallback.md +docs/SendBirdSendbirdSortedMetaarrayInner.md +docs/SendBirdSendbirdThumbnail.md +docs/SendBirdSendbirdUser.md +docs/SendBirdStartTypingIndicatorsRequest.md +docs/SendBirdUpdateAChannelMetadataRequest.md +docs/SendBirdUpdateAGroupChannelRequest.md +docs/SendBirdUpdateAMessageRequest.md +docs/SendBirdUpdateAUserRequest.md +docs/SendBirdUpdateAnOpenChannelRequest.md +docs/SendBirdUpdateBotByIdData.md +docs/SendBirdUpdateBotByIdResponse.md +docs/SendBirdUpdateChannelInvitationPreferenceRequest.md +docs/SendBirdUpdateChannelInvitationPreferenceResponse.md +docs/SendBirdUpdateCountPreferenceOfAChannelRequest.md +docs/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.md +docs/SendBirdUpdateExtraDataInAMessageRequest.md +docs/SendBirdUpdateExtraDataInAMessageResponse.md +docs/SendBirdUpdatePushPreferencesForAChannelRequest.md +docs/SendBirdUpdatePushPreferencesForAChannelResponse.md +docs/SendBirdUpdatePushPreferencesRequest.md +docs/SendBirdUpdatePushPreferencesResponse.md +docs/SendBirdViewBotByIdResponse.md +docs/SendBirdViewBotByIdResponseBot.md +docs/SendBirdViewCountPreferenceOfAChannelResponse.md +docs/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.md +docs/SendBirdViewNumberOfDailyActiveUsersResponse.md +docs/SendBirdViewNumberOfMonthlyActiveUsersResponse.md +docs/SendBirdViewNumberOfUnreadMessagesResponse.md +docs/SendBirdViewPushPreferencesForAChannelResponse.md +docs/SendBirdViewPushPreferencesResponse.md docs/StatisticsApi.md -docs/UpdateAChannelMetadataRequest.md -docs/UpdateAGroupChannelRequest.md -docs/UpdateAMessageRequest.md -docs/UpdateAUserRequest.md -docs/UpdateAnOpenChannelRequest.md -docs/UpdateBotByIdData.md -docs/UpdateBotByIdResponse.md -docs/UpdateChannelInvitationPreferenceRequest.md -docs/UpdateChannelInvitationPreferenceResponse.md -docs/UpdateCountPreferenceOfAChannelRequest.md -docs/UpdateCountPreferenceOfChannelByUrlResponse.md -docs/UpdateExtraDataInAMessageRequest.md -docs/UpdateExtraDataInAMessageResponse.md -docs/UpdatePushPreferencesForAChannelRequest.md -docs/UpdatePushPreferencesForAChannelResponse.md -docs/UpdatePushPreferencesRequest.md -docs/UpdatePushPreferencesResponse.md docs/UserApi.md -docs/ViewBotByIdResponse.md -docs/ViewBotByIdResponseBot.md -docs/ViewCountPreferenceOfAChannelResponse.md -docs/ViewNumberOfChannelsWithUnreadMessagesResponse.md -docs/ViewNumberOfDailyActiveUsersResponse.md -docs/ViewNumberOfMonthlyActiveUsersResponse.md -docs/ViewNumberOfUnreadMessagesResponse.md -docs/ViewPushPreferencesForAChannelResponse.md -docs/ViewPushPreferencesResponse.md git_push.sh gradle.properties gradle/wrapper/gradle-wrapper.jar @@ -147,130 +147,130 @@ pom.xml settings.gradle src/main/AndroidManifest.xml src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java -src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java -src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java -src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java -src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java -src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java -src/main/java/org/openapitools/client/model/BlockAUserRequest.java -src/main/java/org/openapitools/client/model/BlockAUserResponse.java -src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java -src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java -src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java -src/main/java/org/openapitools/client/model/CreateABotRequest.java -src/main/java/org/openapitools/client/model/CreateABotResponse.java -src/main/java/org/openapitools/client/model/CreateABotResponseBot.java -src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java -src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java -src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java -src/main/java/org/openapitools/client/model/CreateAUserRequest.java -src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java -src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java -src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java -src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java -src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java -src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java -src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java -src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java -src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java -src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java -src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java -src/main/java/org/openapitools/client/model/HideAChannelRequest.java -src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java -src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java -src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java -src/main/java/org/openapitools/client/model/JoinAChannelRequest.java -src/main/java/org/openapitools/client/model/JoinChannelsRequest.java -src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java -src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java -src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java -src/main/java/org/openapitools/client/model/ListBotsResponse.java -src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java -src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java -src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java -src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java -src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java -src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java -src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java -src/main/java/org/openapitools/client/model/ListMessagesResponse.java -src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java -src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java -src/main/java/org/openapitools/client/model/ListOperatorsResponse.java -src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java -src/main/java/org/openapitools/client/model/ListUsersResponse.java -src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java -src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java -src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java -src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java -src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java -src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java -src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java -src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java -src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java -src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java -src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java -src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java -src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java -src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java -src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java -src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java -src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java -src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java -src/main/java/org/openapitools/client/model/SendABotMessageResponse.java -src/main/java/org/openapitools/client/model/SendAMessageRequest.java -src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java -src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java -src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java -src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java -src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java -src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java -src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java -src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java -src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java -src/main/java/org/openapitools/client/model/SendbirdFile.java -src/main/java/org/openapitools/client/model/SendbirdGroupChannel.java -src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java -src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java -src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java -src/main/java/org/openapitools/client/model/SendbirdMember.java -src/main/java/org/openapitools/client/model/SendbirdMessageResponse.java -src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java -src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java -src/main/java/org/openapitools/client/model/SendbirdOpenChannel.java -src/main/java/org/openapitools/client/model/SendbirdParentMessageInfo.java -src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java -src/main/java/org/openapitools/client/model/SendbirdReaction.java -src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java -src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java -src/main/java/org/openapitools/client/model/SendbirdThumbnail.java -src/main/java/org/openapitools/client/model/SendbirdUser.java -src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java -src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java -src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java -src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java -src/main/java/org/openapitools/client/model/UpdateAUserRequest.java -src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java -src/main/java/org/openapitools/client/model/UpdateBotByIdData.java -src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java -src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java -src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java -src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java -src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java -src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java -src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java -src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java -src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java -src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java -src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java -src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java -src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java -src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java -src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java -src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java -src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java -src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java -src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java -src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java +src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java +src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java +src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java +src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java +src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java +src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java +src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java +src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java +src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java +src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java +src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java +src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java +src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java +src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java +src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java +src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java +src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java +src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java +src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java +src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java +src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java +src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java +src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java +src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java +src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java +src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java +src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java +src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java +src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java +src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java +src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java +src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java +src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java +src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java +src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java +src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java +src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java +src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java +src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java +src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java +src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java +src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java +src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java +src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java +src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java +src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java +src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java +src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java +src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java +src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java +src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java +src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java +src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java +src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java +src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java +src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java +src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java +src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java +src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java +src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java +src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java +src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java +src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java +src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java +src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java +src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java +src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java +src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java +src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java +src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java +src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java +src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java +src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java +src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java +src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java +src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java +src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java +src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java +src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java +src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java +src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java +src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java +src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java +src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java +src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java +src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java +src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java +src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java +src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java +src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java +src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java +src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java +src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java +src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java src/main/java/org/sendbird/client/ApiClient.java src/main/java/org/sendbird/client/ApiException.java src/main/java/org/sendbird/client/ApiResponse.java @@ -295,3 +295,127 @@ src/main/java/org/sendbird/client/auth/ApiKeyAuth.java src/main/java/org/sendbird/client/auth/Authentication.java src/main/java/org/sendbird/client/auth/HttpBasicAuth.java src/main/java/org/sendbird/client/auth/HttpBearerAuth.java +src/test/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdBlockAUserRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdBlockAUserResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdCheckIfMemberResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdCreateABotRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseBotTest.java +src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdCreateAUserRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOfTest.java +src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdHideAChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOfTest.java +src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdJoinAChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdJoinChannelsRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdLeaveAChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdListBlockedUsersResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColorTest.java +src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleTest.java +src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotTest.java +src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest.java +src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest.java +src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguardTest.java +src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerTest.java +src/test/java/org/openapitools/client/model/SendBirdListBotsResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdListMessagesResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdListOpenChannelsResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdListOperatorsResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdListUsersResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest.java +src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInnerTest.java +src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest.java +src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessageTest.java +src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessageTest.java +src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdSendABotMessageResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOfTest.java +src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateTest.java +src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBodyTest.java +src/test/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBodyTest.java +src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplateTest.java +src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfoTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessageTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayloadTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdFileTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannelTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessageTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdMemberTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayloadTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEventsTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdOpenChannelTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfoTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOptionTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdReactionTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdSmsFallbackTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInnerTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdThumbnailTest.java +src/test/java/org/openapitools/client/model/SendBirdSendbirdUserTest.java +src/test/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateAMessageRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateAUserRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdDataTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequestTest.java +src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBotTest.java +src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponseTest.java +src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponseTest.java diff --git a/api/openapi.yaml b/api/openapi.yaml index 7b8289f8..a4684ef9 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -9234,12 +9234,6 @@ components: properties: {} type: object MigrateMessagesRequest: - example: - rewind_read_ts: true - messages: - - null - - null - update_read_ts: true properties: messages: items: diff --git a/docs/AnnouncementApi.md b/docs/AnnouncementApi.md index 8342c51c..55f78d99 100644 --- a/docs/AnnouncementApi.md +++ b/docs/AnnouncementApi.md @@ -10,7 +10,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## scheduleAnAnnouncement -> ScheduleAnAnnouncementResponse scheduleAnAnnouncement().apiToken(apiToken).scheduleAnAnnouncementRequest(scheduleAnAnnouncementRequest).execute(); +> SendBirdScheduleAnAnnouncementResponse scheduleAnAnnouncement().apiToken(apiToken).sendBirdScheduleAnAnnouncementRequest(sendBirdScheduleAnAnnouncementRequest).execute(); Schedule an announcement @@ -37,11 +37,11 @@ public class Example { AnnouncementApi apiInstance = new AnnouncementApi(defaultClient); String apiToken = "{{API_TOKEN}}"; // String | - ScheduleAnAnnouncementRequest scheduleAnAnnouncementRequest = new ScheduleAnAnnouncementRequest(); // ScheduleAnAnnouncementRequest | + SendBirdScheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest = new SendBirdScheduleAnAnnouncementRequest(); // SendBirdScheduleAnAnnouncementRequest | try { - ScheduleAnAnnouncementResponse result = api.scheduleAnAnnouncement() + SendBirdScheduleAnAnnouncementResponse result = api.scheduleAnAnnouncement() .apiToken(apiToken) - .scheduleAnAnnouncementRequest(scheduleAnAnnouncementRequest) + .sendBirdScheduleAnAnnouncementRequest(sendBirdScheduleAnAnnouncementRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -61,11 +61,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **apiToken** | **String**| | [optional] | -| **scheduleAnAnnouncementRequest** | [**ScheduleAnAnnouncementRequest**](ScheduleAnAnnouncementRequest.md)| | [optional] | +| **sendBirdScheduleAnAnnouncementRequest** | [**SendBirdScheduleAnAnnouncementRequest**](SendBirdScheduleAnAnnouncementRequest.md)| | [optional] | ### Return type -[**ScheduleAnAnnouncementResponse**](ScheduleAnAnnouncementResponse.md) +[**SendBirdScheduleAnAnnouncementResponse**](SendBirdScheduleAnAnnouncementResponse.md) ### Authorization diff --git a/docs/BotApi.md b/docs/BotApi.md index ceea5ed3..c09d8875 100644 --- a/docs/BotApi.md +++ b/docs/BotApi.md @@ -18,7 +18,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## createABot -> CreateABotResponse createABot().apiToken(apiToken).createABotRequest(createABotRequest).execute(); +> SendBirdCreateABotResponse createABot().apiToken(apiToken).sendBirdCreateABotRequest(sendBirdCreateABotRequest).execute(); Create a bot @@ -48,11 +48,11 @@ public class Example { BotApi apiInstance = new BotApi(defaultClient); String apiToken = "{{API_TOKEN}}"; // String | - CreateABotRequest createABotRequest = new CreateABotRequest(); // CreateABotRequest | + SendBirdCreateABotRequest sendBirdCreateABotRequest = new SendBirdCreateABotRequest(); // SendBirdCreateABotRequest | try { - CreateABotResponse result = api.createABot() + SendBirdCreateABotResponse result = api.createABot() .apiToken(apiToken) - .createABotRequest(createABotRequest) + .sendBirdCreateABotRequest(sendBirdCreateABotRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -72,11 +72,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **apiToken** | **String**| | [optional] | -| **createABotRequest** | [**CreateABotRequest**](CreateABotRequest.md)| | [optional] | +| **sendBirdCreateABotRequest** | [**SendBirdCreateABotRequest**](SendBirdCreateABotRequest.md)| | [optional] | ### Return type -[**CreateABotResponse**](CreateABotResponse.md) +[**SendBirdCreateABotResponse**](SendBirdCreateABotResponse.md) ### Authorization @@ -169,7 +169,7 @@ No authorization required ## joinChannels -> SendbirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).joinChannelsRequest(joinChannelsRequest).execute(); +> SendBirdSendbirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).sendBirdJoinChannelsRequest(sendBirdJoinChannelsRequest).execute(); Join channels @@ -197,11 +197,11 @@ public class Example { BotApi apiInstance = new BotApi(defaultClient); String botUserid = "botUserid_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - JoinChannelsRequest joinChannelsRequest = new JoinChannelsRequest(); // JoinChannelsRequest | + SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest = new SendBirdJoinChannelsRequest(); // SendBirdJoinChannelsRequest | try { - SendbirdGroupChannelDetail result = api.joinChannels(botUserid) + SendBirdSendbirdGroupChannelDetail result = api.joinChannels(botUserid) .apiToken(apiToken) - .joinChannelsRequest(joinChannelsRequest) + .sendBirdJoinChannelsRequest(sendBirdJoinChannelsRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -222,11 +222,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **botUserid** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **joinChannelsRequest** | [**JoinChannelsRequest**](JoinChannelsRequest.md)| | [optional] | +| **sendBirdJoinChannelsRequest** | [**SendBirdJoinChannelsRequest**](SendBirdJoinChannelsRequest.md)| | [optional] | ### Return type -[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) +[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) ### Authorization @@ -393,7 +393,7 @@ No authorization required ## listBots -> ListBotsResponse listBots().token(token).limit(limit).apiToken(apiToken).execute(); +> SendBirdListBotsResponse listBots().token(token).limit(limit).apiToken(apiToken).execute(); List bots @@ -423,7 +423,7 @@ public class Example { Integer limit = 56; // Integer | String apiToken = "{{API_TOKEN}}"; // String | try { - ListBotsResponse result = api.listBots() + SendBirdListBotsResponse result = api.listBots() .token(token) .limit(limit) .apiToken(apiToken) @@ -451,7 +451,7 @@ public class Example { ### Return type -[**ListBotsResponse**](ListBotsResponse.md) +[**SendBirdListBotsResponse**](SendBirdListBotsResponse.md) ### Authorization @@ -470,7 +470,7 @@ No authorization required ## sendABotMessage -> SendABotMessageResponse sendABotMessage(botUserid).messageType(messageType).channelUrl(channelUrl).apiToken(apiToken).message(message).mentioned(mentioned).extendedMessagePayload(extendedMessagePayload)._file(_file).requireAuth(requireAuth).mentionType(mentionType).mentionedUserIds(mentionedUserIds).isSilent(isSilent).sortedMetaarray(sortedMetaarray).apnsBundleId(apnsBundleId).appleCriticalAlertOptions(appleCriticalAlertOptions).sound(sound).volume(volume).createdAt(createdAt).customType(customType).data(data).dedupId(dedupId).markAsRead(markAsRead).sendPush(sendPush).execute(); +> SendBirdSendABotMessageResponse sendABotMessage(botUserid).messageType(messageType).channelUrl(channelUrl).apiToken(apiToken).message(message).mentioned(mentioned).extendedMessagePayload(extendedMessagePayload)._file(_file).requireAuth(requireAuth).mentionType(mentionType).mentionedUserIds(mentionedUserIds).isSilent(isSilent).sortedMetaarray(sortedMetaarray).apnsBundleId(apnsBundleId).appleCriticalAlertOptions(appleCriticalAlertOptions).sound(sound).volume(volume).createdAt(createdAt).customType(customType).data(data).dedupId(dedupId).markAsRead(markAsRead).sendPush(sendPush).execute(); Send a bot's message @@ -508,13 +508,13 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | String message = "message_example"; // String | Specifies the content of the message. * This property is required when message_type is MESG. List mentioned = Arrays.asList(); // List | * This property is available when message_type is MESG. - SendbirdExtendedMessagePayload extendedMessagePayload = new SendbirdExtendedMessagePayload(); // SendbirdExtendedMessagePayload | + SendBirdSendbirdExtendedMessagePayload extendedMessagePayload = new SendBirdSendbirdExtendedMessagePayload(); // SendBirdSendbirdExtendedMessagePayload | File _file = new File("/path/to/file"); // File | When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. Boolean requireAuth = true; // Boolean | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. String mentionType = "users"; // String | * This property is available when message_type is FILE. List mentionedUserIds = Arrays.asList(); // List | * This property is available when message_type is FILE. Boolean isSilent = true; // Boolean | * This property is available when message_type is FILE. - List sortedMetaarray = Arrays.asList(); // List | + List sortedMetaarray = Arrays.asList(); // List | String apnsBundleId = "apnsBundleId_example"; // String | * This property is available when message_type is FILE. Object appleCriticalAlertOptions = null; // Object | * This property is available when message_type is FILE. String sound = "sound_example"; // String | * This property is available when message_type is FILE. @@ -526,7 +526,7 @@ public class Example { Boolean markAsRead = true; // Boolean | Boolean sendPush = true; // Boolean | try { - SendABotMessageResponse result = api.sendABotMessage(botUserid) + SendBirdSendABotMessageResponse result = api.sendABotMessage(botUserid) .messageType(messageType) .channelUrl(channelUrl) .apiToken(apiToken) @@ -573,13 +573,13 @@ public class Example { | **apiToken** | **String**| | [optional] | | **message** | **String**| Specifies the content of the message. * This property is required when message_type is MESG. | [optional] | | **mentioned** | **List<String>**| * This property is available when message_type is MESG. | [optional] | -| **extendedMessagePayload** | [**SendbirdExtendedMessagePayload**](SendbirdExtendedMessagePayload.md)| | [optional] | +| **extendedMessagePayload** | [**SendBirdSendbirdExtendedMessagePayload**](SendBirdSendbirdExtendedMessagePayload.md)| | [optional] | | **_file** | **File**| When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. | [optional] | | **requireAuth** | **Boolean**| Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. | [optional] | | **mentionType** | **String**| * This property is available when message_type is FILE. | [optional] [enum: users, channel] | | **mentionedUserIds** | **List<String>**| * This property is available when message_type is FILE. | [optional] | | **isSilent** | **Boolean**| * This property is available when message_type is FILE. | [optional] | -| **sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md)| | [optional] | +| **sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md)| | [optional] | | **apnsBundleId** | **String**| * This property is available when message_type is FILE. | [optional] | | **appleCriticalAlertOptions** | **Object**| * This property is available when message_type is FILE. | [optional] | | **sound** | **String**| * This property is available when message_type is FILE. | [optional] | @@ -593,7 +593,7 @@ public class Example { ### Return type -[**SendABotMessageResponse**](SendABotMessageResponse.md) +[**SendBirdSendABotMessageResponse**](SendBirdSendABotMessageResponse.md) ### Authorization @@ -612,7 +612,7 @@ No authorization required ## updateBotById -> UpdateBotByIdResponse updateBotById(botUserid).apiToken(apiToken).updateBotByIdData(updateBotByIdData).execute(); +> SendBirdUpdateBotByIdResponse updateBotById(botUserid).apiToken(apiToken).sendBirdUpdateBotByIdData(sendBirdUpdateBotByIdData).execute(); Update a bot @@ -641,11 +641,11 @@ public class Example { BotApi apiInstance = new BotApi(defaultClient); String botUserid = "botUserid_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | - UpdateBotByIdData updateBotByIdData = new UpdateBotByIdData(); // UpdateBotByIdData | + SendBirdUpdateBotByIdData sendBirdUpdateBotByIdData = new SendBirdUpdateBotByIdData(); // SendBirdUpdateBotByIdData | try { - UpdateBotByIdResponse result = api.updateBotById(botUserid) + SendBirdUpdateBotByIdResponse result = api.updateBotById(botUserid) .apiToken(apiToken) - .updateBotByIdData(updateBotByIdData) + .sendBirdUpdateBotByIdData(sendBirdUpdateBotByIdData) .execute(); System.out.println(result); } catch (ApiException e) { @@ -666,11 +666,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **botUserid** | **String**| | | | **apiToken** | **String**| | [optional] | -| **updateBotByIdData** | [**UpdateBotByIdData**](UpdateBotByIdData.md)| | [optional] | +| **sendBirdUpdateBotByIdData** | [**SendBirdUpdateBotByIdData**](SendBirdUpdateBotByIdData.md)| | [optional] | ### Return type -[**UpdateBotByIdResponse**](UpdateBotByIdResponse.md) +[**SendBirdUpdateBotByIdResponse**](SendBirdUpdateBotByIdResponse.md) ### Authorization @@ -689,7 +689,7 @@ No authorization required ## viewBotById -> ViewBotByIdResponse viewBotById(botUserid).apiToken(apiToken).execute(); +> SendBirdViewBotByIdResponse viewBotById(botUserid).apiToken(apiToken).execute(); View a bot @@ -719,7 +719,7 @@ public class Example { String botUserid = "botUserid_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | try { - ViewBotByIdResponse result = api.viewBotById(botUserid) + SendBirdViewBotByIdResponse result = api.viewBotById(botUserid) .apiToken(apiToken) .execute(); System.out.println(result); @@ -744,7 +744,7 @@ public class Example { ### Return type -[**ViewBotByIdResponse**](ViewBotByIdResponse.md) +[**SendBirdViewBotByIdResponse**](SendBirdViewBotByIdResponse.md) ### Authorization diff --git a/docs/GroupChannelApi.md b/docs/GroupChannelApi.md index ffbc34cf..9b0f6b27 100644 --- a/docs/GroupChannelApi.md +++ b/docs/GroupChannelApi.md @@ -28,7 +28,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## acceptAnInvitation -> SendbirdGroupChannelDetail acceptAnInvitation(channelUrl).apiToken(apiToken).acceptAnInvitationRequest(acceptAnInvitationRequest).execute(); +> SendBirdSendbirdGroupChannelDetail acceptAnInvitation(channelUrl).apiToken(apiToken).sendBirdAcceptAnInvitationRequest(sendBirdAcceptAnInvitationRequest).execute(); Accept an invitation @@ -59,11 +59,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - AcceptAnInvitationRequest acceptAnInvitationRequest = new AcceptAnInvitationRequest(); // AcceptAnInvitationRequest | + SendBirdAcceptAnInvitationRequest sendBirdAcceptAnInvitationRequest = new SendBirdAcceptAnInvitationRequest(); // SendBirdAcceptAnInvitationRequest | try { - SendbirdGroupChannelDetail result = api.acceptAnInvitation(channelUrl) + SendBirdSendbirdGroupChannelDetail result = api.acceptAnInvitation(channelUrl) .apiToken(apiToken) - .acceptAnInvitationRequest(acceptAnInvitationRequest) + .sendBirdAcceptAnInvitationRequest(sendBirdAcceptAnInvitationRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -84,11 +84,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **acceptAnInvitationRequest** | [**AcceptAnInvitationRequest**](AcceptAnInvitationRequest.md)| | [optional] | +| **sendBirdAcceptAnInvitationRequest** | [**SendBirdAcceptAnInvitationRequest**](SendBirdAcceptAnInvitationRequest.md)| | [optional] | ### Return type -[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) +[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) ### Authorization @@ -190,7 +190,7 @@ No authorization required ## checkIfMember -> CheckIfMemberResponse checkIfMember(channelUrl, userId).apiToken(apiToken).execute(); +> SendBirdCheckIfMemberResponse checkIfMember(channelUrl, userId).apiToken(apiToken).execute(); Check if member @@ -223,7 +223,7 @@ public class Example { String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - CheckIfMemberResponse result = api.checkIfMember(channelUrl, userId) + SendBirdCheckIfMemberResponse result = api.checkIfMember(channelUrl, userId) .apiToken(apiToken) .execute(); System.out.println(result); @@ -249,7 +249,7 @@ public class Example { ### Return type -[**CheckIfMemberResponse**](CheckIfMemberResponse.md) +[**SendBirdCheckIfMemberResponse**](SendBirdCheckIfMemberResponse.md) ### Authorization @@ -268,7 +268,7 @@ No authorization required ## createAGroupChannel -> SendbirdGroupChannelDetail createAGroupChannel().apiToken(apiToken).createAGroupChannelRequest(createAGroupChannelRequest).execute(); +> SendBirdSendbirdGroupChannelDetail createAGroupChannel().apiToken(apiToken).sendBirdCreateAGroupChannelRequest(sendBirdCreateAGroupChannelRequest).execute(); Create a group channel @@ -297,11 +297,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String apiToken = "{{API_TOKEN}}"; // String | - CreateAGroupChannelRequest createAGroupChannelRequest = new CreateAGroupChannelRequest(); // CreateAGroupChannelRequest | + SendBirdCreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest = new SendBirdCreateAGroupChannelRequest(); // SendBirdCreateAGroupChannelRequest | try { - SendbirdGroupChannelDetail result = api.createAGroupChannel() + SendBirdSendbirdGroupChannelDetail result = api.createAGroupChannel() .apiToken(apiToken) - .createAGroupChannelRequest(createAGroupChannelRequest) + .sendBirdCreateAGroupChannelRequest(sendBirdCreateAGroupChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -321,11 +321,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **apiToken** | **String**| | [optional] | -| **createAGroupChannelRequest** | [**CreateAGroupChannelRequest**](CreateAGroupChannelRequest.md)| | [optional] | +| **sendBirdCreateAGroupChannelRequest** | [**SendBirdCreateAGroupChannelRequest**](SendBirdCreateAGroupChannelRequest.md)| | [optional] | ### Return type -[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) +[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) ### Authorization @@ -417,7 +417,7 @@ No authorization required ## getAGroupChannel -> GetAGroupChannelResponse getAGroupChannel(channelUrl).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMember(showMember).memberActiveMode(memberActiveMode).userId(userId).apiToken(apiToken).execute(); +> SendBirdGetAGroupChannelResponse getAGroupChannel(channelUrl).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMember(showMember).memberActiveMode(memberActiveMode).userId(userId).apiToken(apiToken).execute(); Get a group channel @@ -455,7 +455,7 @@ public class Example { String userId = "userId_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | try { - GetAGroupChannelResponse result = api.getAGroupChannel(channelUrl) + SendBirdGetAGroupChannelResponse result = api.getAGroupChannel(channelUrl) .showDeliveryReceipt(showDeliveryReceipt) .showReadReceipt(showReadReceipt) .showMember(showMember) @@ -490,7 +490,7 @@ public class Example { ### Return type -[**GetAGroupChannelResponse**](GetAGroupChannelResponse.md) +[**SendBirdGetAGroupChannelResponse**](SendBirdGetAGroupChannelResponse.md) ### Authorization @@ -509,7 +509,7 @@ No authorization required ## hideAChannel -> Object hideAChannel(channelUrl).apiToken(apiToken).hideAChannelRequest(hideAChannelRequest).execute(); +> Object hideAChannel(channelUrl).apiToken(apiToken).sendBirdHideAChannelRequest(sendBirdHideAChannelRequest).execute(); Hide a channel @@ -539,11 +539,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - HideAChannelRequest hideAChannelRequest = new HideAChannelRequest(); // HideAChannelRequest | + SendBirdHideAChannelRequest sendBirdHideAChannelRequest = new SendBirdHideAChannelRequest(); // SendBirdHideAChannelRequest | try { Object result = api.hideAChannel(channelUrl) .apiToken(apiToken) - .hideAChannelRequest(hideAChannelRequest) + .sendBirdHideAChannelRequest(sendBirdHideAChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -564,7 +564,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **hideAChannelRequest** | [**HideAChannelRequest**](HideAChannelRequest.md)| | [optional] | +| **sendBirdHideAChannelRequest** | [**SendBirdHideAChannelRequest**](SendBirdHideAChannelRequest.md)| | [optional] | ### Return type @@ -587,7 +587,7 @@ No authorization required ## inviteAsMembers -> InviteAsMembersResponse inviteAsMembers(channelUrl).apiToken(apiToken).inviteAsMembersRequest(inviteAsMembersRequest).execute(); +> SendBirdInviteAsMembersResponse inviteAsMembers(channelUrl).apiToken(apiToken).sendBirdInviteAsMembersRequest(sendBirdInviteAsMembersRequest).execute(); Invite as members @@ -618,11 +618,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - InviteAsMembersRequest inviteAsMembersRequest = new InviteAsMembersRequest(); // InviteAsMembersRequest | + SendBirdInviteAsMembersRequest sendBirdInviteAsMembersRequest = new SendBirdInviteAsMembersRequest(); // SendBirdInviteAsMembersRequest | try { - InviteAsMembersResponse result = api.inviteAsMembers(channelUrl) + SendBirdInviteAsMembersResponse result = api.inviteAsMembers(channelUrl) .apiToken(apiToken) - .inviteAsMembersRequest(inviteAsMembersRequest) + .sendBirdInviteAsMembersRequest(sendBirdInviteAsMembersRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -643,11 +643,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **inviteAsMembersRequest** | [**InviteAsMembersRequest**](InviteAsMembersRequest.md)| | [optional] | +| **sendBirdInviteAsMembersRequest** | [**SendBirdInviteAsMembersRequest**](SendBirdInviteAsMembersRequest.md)| | [optional] | ### Return type -[**InviteAsMembersResponse**](InviteAsMembersResponse.md) +[**SendBirdInviteAsMembersResponse**](SendBirdInviteAsMembersResponse.md) ### Authorization @@ -666,7 +666,7 @@ No authorization required ## joinAChannel -> SendbirdGroupChannelDetail joinAChannel(channelUrl).apiToken(apiToken).joinAChannelRequest(joinAChannelRequest).execute(); +> SendBirdSendbirdGroupChannelDetail joinAChannel(channelUrl).apiToken(apiToken).sendBirdJoinAChannelRequest(sendBirdJoinAChannelRequest).execute(); Join a channel @@ -694,11 +694,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - JoinAChannelRequest joinAChannelRequest = new JoinAChannelRequest(); // JoinAChannelRequest | + SendBirdJoinAChannelRequest sendBirdJoinAChannelRequest = new SendBirdJoinAChannelRequest(); // SendBirdJoinAChannelRequest | try { - SendbirdGroupChannelDetail result = api.joinAChannel(channelUrl) + SendBirdSendbirdGroupChannelDetail result = api.joinAChannel(channelUrl) .apiToken(apiToken) - .joinAChannelRequest(joinAChannelRequest) + .sendBirdJoinAChannelRequest(sendBirdJoinAChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -719,11 +719,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **joinAChannelRequest** | [**JoinAChannelRequest**](JoinAChannelRequest.md)| | [optional] | +| **sendBirdJoinAChannelRequest** | [**SendBirdJoinAChannelRequest**](SendBirdJoinAChannelRequest.md)| | [optional] | ### Return type -[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) +[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) ### Authorization @@ -742,7 +742,7 @@ No authorization required ## leaveAChannel -> Object leaveAChannel(channelUrl).apiToken(apiToken).leaveAChannelRequest(leaveAChannelRequest).execute(); +> Object leaveAChannel(channelUrl).apiToken(apiToken).sendBirdLeaveAChannelRequest(sendBirdLeaveAChannelRequest).execute(); Leave a channel @@ -771,11 +771,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | - LeaveAChannelRequest leaveAChannelRequest = new LeaveAChannelRequest(); // LeaveAChannelRequest | + SendBirdLeaveAChannelRequest sendBirdLeaveAChannelRequest = new SendBirdLeaveAChannelRequest(); // SendBirdLeaveAChannelRequest | try { Object result = api.leaveAChannel(channelUrl) .apiToken(apiToken) - .leaveAChannelRequest(leaveAChannelRequest) + .sendBirdLeaveAChannelRequest(sendBirdLeaveAChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -796,7 +796,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| | | | **apiToken** | **String**| | [optional] | -| **leaveAChannelRequest** | [**LeaveAChannelRequest**](LeaveAChannelRequest.md)| | [optional] | +| **sendBirdLeaveAChannelRequest** | [**SendBirdLeaveAChannelRequest**](SendBirdLeaveAChannelRequest.md)| | [optional] | ### Return type @@ -819,7 +819,7 @@ No authorization required ## listChannels -> GroupChatListChannelsResponse listChannels().apiToken(apiToken).token(token).limit(limit).distinctMode(distinctMode).publicMode(publicMode).superMode(superMode).createdAfter(createdAfter).createdBefore(createdBefore).showEmpty(showEmpty).showMember(showMember).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMetadata(showMetadata).showFrozen(showFrozen).order(order).metadataOrderKey(metadataOrderKey).customTypes(customTypes).customTypeStartswith(customTypeStartswith).channelUrls(channelUrls).name(name).nameContains(nameContains).nameStartswith(nameStartswith).membersExactlyIn(membersExactlyIn).membersIncludeIn(membersIncludeIn).queryType(queryType).membersNickname(membersNickname).membersNicknameContains(membersNicknameContains).metadataKey(metadataKey).metadataValues(metadataValues).metadataValueStartswith(metadataValueStartswith).metacounterKey(metacounterKey).metacounterValues(metacounterValues).metacounterValueGt(metacounterValueGt).metacounterValueGte(metacounterValueGte).metacounterValueLt(metacounterValueLt).metacounterValueLte(metacounterValueLte).includeSortedMetaarrayInLastMessage(includeSortedMetaarrayInLastMessage).execute(); +> SendBirdGroupChatListChannelsResponse listChannels().apiToken(apiToken).token(token).limit(limit).distinctMode(distinctMode).publicMode(publicMode).superMode(superMode).createdAfter(createdAfter).createdBefore(createdBefore).showEmpty(showEmpty).showMember(showMember).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMetadata(showMetadata).showFrozen(showFrozen).order(order).metadataOrderKey(metadataOrderKey).customTypes(customTypes).customTypeStartswith(customTypeStartswith).channelUrls(channelUrls).name(name).nameContains(nameContains).nameStartswith(nameStartswith).membersExactlyIn(membersExactlyIn).membersIncludeIn(membersIncludeIn).queryType(queryType).membersNickname(membersNickname).membersNicknameContains(membersNicknameContains).metadataKey(metadataKey).metadataValues(metadataValues).metadataValueStartswith(metadataValueStartswith).metacounterKey(metacounterKey).metacounterValues(metacounterValues).metacounterValueGt(metacounterValueGt).metacounterValueGte(metacounterValueGte).metacounterValueLt(metacounterValueLt).metacounterValueLte(metacounterValueLte).includeSortedMetaarrayInLastMessage(includeSortedMetaarrayInLastMessage).execute(); List channels @@ -885,7 +885,7 @@ public class Example { String metacounterValueLte = "metacounterValueLte_example"; // String | Searches for group channels with metacounter containing an item with the key specified by the metadata_key parameter, where the value of that item is lower than or equal to the value specified by this parameter. To use this parameter, the metacounter_key parameter should be specified. Boolean includeSortedMetaarrayInLastMessage = false; // Boolean | Determines whether to include the sorted_metaarray as one of the last_message’s properties in the response. try { - GroupChatListChannelsResponse result = api.listChannels() + SendBirdGroupChatListChannelsResponse result = api.listChannels() .apiToken(apiToken) .token(token) .limit(limit) @@ -981,7 +981,7 @@ public class Example { ### Return type -[**GroupChatListChannelsResponse**](GroupChatListChannelsResponse.md) +[**SendBirdGroupChatListChannelsResponse**](SendBirdGroupChatListChannelsResponse.md) ### Authorization @@ -1000,7 +1000,7 @@ No authorization required ## listMembers -> GroupChannelListMembersResponse listMembers(channelUrl).token(token).limit(limit).userId(userId).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMemberIsMuted(showMemberIsMuted).order(order).operatorFilter(operatorFilter).memberStateFilter(memberStateFilter).mutedMemberFilter(mutedMemberFilter).memberActiveModeFilter(memberActiveModeFilter).nicknameStartswith(nicknameStartswith).includePushPreference(includePushPreference).apiToken(apiToken).execute(); +> SendBirdGroupChannelListMembersResponse listMembers(channelUrl).token(token).limit(limit).userId(userId).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMemberIsMuted(showMemberIsMuted).order(order).operatorFilter(operatorFilter).memberStateFilter(memberStateFilter).mutedMemberFilter(mutedMemberFilter).memberActiveModeFilter(memberActiveModeFilter).nicknameStartswith(nicknameStartswith).includePushPreference(includePushPreference).apiToken(apiToken).execute(); List members @@ -1049,7 +1049,7 @@ public class Example { Boolean includePushPreference = true; // Boolean | Determines whether to include information about the push preference of each member, such as `push_enabled`, `push_trigger_option`, and `do_not_disturb`. (Default: `false`) String apiToken = "{{API_TOKEN}}"; // String | try { - GroupChannelListMembersResponse result = api.listMembers(channelUrl) + SendBirdGroupChannelListMembersResponse result = api.listMembers(channelUrl) .token(token) .limit(limit) .userId(userId) @@ -1100,7 +1100,7 @@ public class Example { ### Return type -[**GroupChannelListMembersResponse**](GroupChannelListMembersResponse.md) +[**SendBirdGroupChannelListMembersResponse**](SendBirdGroupChannelListMembersResponse.md) ### Authorization @@ -1119,7 +1119,7 @@ No authorization required ## listOperators -> ListOperatorsResponse listOperators(channelUrl).token(token).limit(limit).apiToken(apiToken).execute(); +> SendBirdListOperatorsResponse listOperators(channelUrl).token(token).limit(limit).apiToken(apiToken).execute(); List operators @@ -1154,7 +1154,7 @@ public class Example { Integer limit = 56; // Integer | Specifies the number of results to return per page. Acceptable values are 1 to 100, inclusive. (Default: 10) String apiToken = "{{API_TOKEN}}"; // String | try { - ListOperatorsResponse result = api.listOperators(channelUrl) + SendBirdListOperatorsResponse result = api.listOperators(channelUrl) .token(token) .limit(limit) .apiToken(apiToken) @@ -1183,7 +1183,7 @@ public class Example { ### Return type -[**ListOperatorsResponse**](ListOperatorsResponse.md) +[**SendBirdListOperatorsResponse**](SendBirdListOperatorsResponse.md) ### Authorization @@ -1202,7 +1202,7 @@ No authorization required ## registerOperatorsToAGroupChannel -> Object registerOperatorsToAGroupChannel(channelUrl).apiToken(apiToken).registerOperatorsToAGroupChannelRequest(registerOperatorsToAGroupChannelRequest).execute(); +> Object registerOperatorsToAGroupChannel(channelUrl).apiToken(apiToken).sendBirdRegisterOperatorsToAGroupChannelRequest(sendBirdRegisterOperatorsToAGroupChannelRequest).execute(); Register operators to a group channel @@ -1230,11 +1230,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest = new RegisterOperatorsToAGroupChannelRequest(); // RegisterOperatorsToAGroupChannelRequest | + SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest = new SendBirdRegisterOperatorsToAGroupChannelRequest(); // SendBirdRegisterOperatorsToAGroupChannelRequest | try { Object result = api.registerOperatorsToAGroupChannel(channelUrl) .apiToken(apiToken) - .registerOperatorsToAGroupChannelRequest(registerOperatorsToAGroupChannelRequest) + .sendBirdRegisterOperatorsToAGroupChannelRequest(sendBirdRegisterOperatorsToAGroupChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1255,7 +1255,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **registerOperatorsToAGroupChannelRequest** | [**RegisterOperatorsToAGroupChannelRequest**](RegisterOperatorsToAGroupChannelRequest.md)| | [optional] | +| **sendBirdRegisterOperatorsToAGroupChannelRequest** | [**SendBirdRegisterOperatorsToAGroupChannelRequest**](SendBirdRegisterOperatorsToAGroupChannelRequest.md)| | [optional] | ### Return type @@ -1278,7 +1278,7 @@ No authorization required ## resetChatHistory -> ResetChatHistoryResponse resetChatHistory(channelUrl).apiToken(apiToken).resetChatHistoryRequest(resetChatHistoryRequest).execute(); +> SendBirdResetChatHistoryResponse resetChatHistory(channelUrl).apiToken(apiToken).sendBirdResetChatHistoryRequest(sendBirdResetChatHistoryRequest).execute(); Reset chat history @@ -1310,11 +1310,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - ResetChatHistoryRequest resetChatHistoryRequest = new ResetChatHistoryRequest(); // ResetChatHistoryRequest | + SendBirdResetChatHistoryRequest sendBirdResetChatHistoryRequest = new SendBirdResetChatHistoryRequest(); // SendBirdResetChatHistoryRequest | try { - ResetChatHistoryResponse result = api.resetChatHistory(channelUrl) + SendBirdResetChatHistoryResponse result = api.resetChatHistory(channelUrl) .apiToken(apiToken) - .resetChatHistoryRequest(resetChatHistoryRequest) + .sendBirdResetChatHistoryRequest(sendBirdResetChatHistoryRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1335,11 +1335,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **resetChatHistoryRequest** | [**ResetChatHistoryRequest**](ResetChatHistoryRequest.md)| | [optional] | +| **sendBirdResetChatHistoryRequest** | [**SendBirdResetChatHistoryRequest**](SendBirdResetChatHistoryRequest.md)| | [optional] | ### Return type -[**ResetChatHistoryResponse**](ResetChatHistoryResponse.md) +[**SendBirdResetChatHistoryResponse**](SendBirdResetChatHistoryResponse.md) ### Authorization @@ -1358,7 +1358,7 @@ No authorization required ## startTypingIndicators -> Object startTypingIndicators(channelUrl).apiToken(apiToken).startTypingIndicatorsRequest(startTypingIndicatorsRequest).execute(); +> Object startTypingIndicators(channelUrl).apiToken(apiToken).sendBirdStartTypingIndicatorsRequest(sendBirdStartTypingIndicatorsRequest).execute(); Start typing indicators @@ -1392,11 +1392,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - StartTypingIndicatorsRequest startTypingIndicatorsRequest = new StartTypingIndicatorsRequest(); // StartTypingIndicatorsRequest | + SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest = new SendBirdStartTypingIndicatorsRequest(); // SendBirdStartTypingIndicatorsRequest | try { Object result = api.startTypingIndicators(channelUrl) .apiToken(apiToken) - .startTypingIndicatorsRequest(startTypingIndicatorsRequest) + .sendBirdStartTypingIndicatorsRequest(sendBirdStartTypingIndicatorsRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1417,7 +1417,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **startTypingIndicatorsRequest** | [**StartTypingIndicatorsRequest**](StartTypingIndicatorsRequest.md)| | [optional] | +| **sendBirdStartTypingIndicatorsRequest** | [**SendBirdStartTypingIndicatorsRequest**](SendBirdStartTypingIndicatorsRequest.md)| | [optional] | ### Return type @@ -1440,7 +1440,7 @@ No authorization required ## stopTypingIndicators -> Object stopTypingIndicators(channelUrl).apiToken(apiToken).startTypingIndicatorsRequest(startTypingIndicatorsRequest).execute(); +> Object stopTypingIndicators(channelUrl).apiToken(apiToken).sendBirdStartTypingIndicatorsRequest(sendBirdStartTypingIndicatorsRequest).execute(); Stop typing indicators @@ -1472,11 +1472,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - StartTypingIndicatorsRequest startTypingIndicatorsRequest = new StartTypingIndicatorsRequest(); // StartTypingIndicatorsRequest | + SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest = new SendBirdStartTypingIndicatorsRequest(); // SendBirdStartTypingIndicatorsRequest | try { Object result = api.stopTypingIndicators(channelUrl) .apiToken(apiToken) - .startTypingIndicatorsRequest(startTypingIndicatorsRequest) + .sendBirdStartTypingIndicatorsRequest(sendBirdStartTypingIndicatorsRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1497,7 +1497,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **startTypingIndicatorsRequest** | [**StartTypingIndicatorsRequest**](StartTypingIndicatorsRequest.md)| | [optional] | +| **sendBirdStartTypingIndicatorsRequest** | [**SendBirdStartTypingIndicatorsRequest**](SendBirdStartTypingIndicatorsRequest.md)| | [optional] | ### Return type @@ -1603,7 +1603,7 @@ No authorization required ## updateAGroupChannel -> SendbirdGroupChannelDetail updateAGroupChannel(channelUrl).apiToken(apiToken).updateAGroupChannelRequest(updateAGroupChannelRequest).execute(); +> SendBirdSendbirdGroupChannelDetail updateAGroupChannel(channelUrl).apiToken(apiToken).sendBirdUpdateAGroupChannelRequest(sendBirdUpdateAGroupChannelRequest).execute(); Update a group channel @@ -1631,11 +1631,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | - UpdateAGroupChannelRequest updateAGroupChannelRequest = new UpdateAGroupChannelRequest(); // UpdateAGroupChannelRequest | + SendBirdUpdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest = new SendBirdUpdateAGroupChannelRequest(); // SendBirdUpdateAGroupChannelRequest | try { - SendbirdGroupChannelDetail result = api.updateAGroupChannel(channelUrl) + SendBirdSendbirdGroupChannelDetail result = api.updateAGroupChannel(channelUrl) .apiToken(apiToken) - .updateAGroupChannelRequest(updateAGroupChannelRequest) + .sendBirdUpdateAGroupChannelRequest(sendBirdUpdateAGroupChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1656,11 +1656,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| | | | **apiToken** | **String**| | [optional] | -| **updateAGroupChannelRequest** | [**UpdateAGroupChannelRequest**](UpdateAGroupChannelRequest.md)| | [optional] | +| **sendBirdUpdateAGroupChannelRequest** | [**SendBirdUpdateAGroupChannelRequest**](SendBirdUpdateAGroupChannelRequest.md)| | [optional] | ### Return type -[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) +[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) ### Authorization diff --git a/docs/MessageApi.md b/docs/MessageApi.md index 3a76fd5c..8cf0392a 100644 --- a/docs/MessageApi.md +++ b/docs/MessageApi.md @@ -20,7 +20,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## addExtraDataToAMessage -> AddExtraDataToAMessageResponse addExtraDataToAMessage(channelType, channelUrl, messageId).apiToken(apiToken).addExtraDataToAMessageRequest(addExtraDataToAMessageRequest).execute(); +> SendBirdAddExtraDataToAMessageResponse addExtraDataToAMessage(channelType, channelUrl, messageId).apiToken(apiToken).sendBirdAddExtraDataToAMessageRequest(sendBirdAddExtraDataToAMessageRequest).execute(); Add extra data to a message @@ -51,11 +51,11 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) Long messageId = 56L; // Long | (Required) String apiToken = "{{API_TOKEN}}"; // String | - AddExtraDataToAMessageRequest addExtraDataToAMessageRequest = new AddExtraDataToAMessageRequest(); // AddExtraDataToAMessageRequest | + SendBirdAddExtraDataToAMessageRequest sendBirdAddExtraDataToAMessageRequest = new SendBirdAddExtraDataToAMessageRequest(); // SendBirdAddExtraDataToAMessageRequest | try { - AddExtraDataToAMessageResponse result = api.addExtraDataToAMessage(channelType, channelUrl, messageId) + SendBirdAddExtraDataToAMessageResponse result = api.addExtraDataToAMessage(channelType, channelUrl, messageId) .apiToken(apiToken) - .addExtraDataToAMessageRequest(addExtraDataToAMessageRequest) + .sendBirdAddExtraDataToAMessageRequest(sendBirdAddExtraDataToAMessageRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -78,11 +78,11 @@ public class Example { | **channelUrl** | **String**| (Required) | | | **messageId** | **Long**| (Required) | | | **apiToken** | **String**| | [optional] | -| **addExtraDataToAMessageRequest** | [**AddExtraDataToAMessageRequest**](AddExtraDataToAMessageRequest.md)| | [optional] | +| **sendBirdAddExtraDataToAMessageRequest** | [**SendBirdAddExtraDataToAMessageRequest**](SendBirdAddExtraDataToAMessageRequest.md)| | [optional] | ### Return type -[**AddExtraDataToAMessageResponse**](AddExtraDataToAMessageResponse.md) +[**SendBirdAddExtraDataToAMessageResponse**](SendBirdAddExtraDataToAMessageResponse.md) ### Authorization @@ -179,7 +179,7 @@ No authorization required ## getAMessage -> SendbirdMessageResponse getAMessage(channelType, channelUrl, messageId).includeReactions(includeReactions).includeThreadInfo(includeThreadInfo).includeParentMessageInfo(includeParentMessageInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).apiToken(apiToken).execute(); +> SendBirdSendbirdMessageResponse getAMessage(channelType, channelUrl, messageId).includeReactions(includeReactions).includeThreadInfo(includeThreadInfo).includeParentMessageInfo(includeParentMessageInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).apiToken(apiToken).execute(); Get a message @@ -226,7 +226,7 @@ public class Example { Boolean withSortedMetaArray = true; // Boolean | String apiToken = "{{API_TOKEN}}"; // String | try { - SendbirdMessageResponse result = api.getAMessage(channelType, channelUrl, messageId) + SendBirdSendbirdMessageResponse result = api.getAMessage(channelType, channelUrl, messageId) .includeReactions(includeReactions) .includeThreadInfo(includeThreadInfo) .includeParentMessageInfo(includeParentMessageInfo) @@ -263,7 +263,7 @@ public class Example { ### Return type -[**SendbirdMessageResponse**](SendbirdMessageResponse.md) +[**SendBirdSendbirdMessageResponse**](SendBirdSendbirdMessageResponse.md) ### Authorization @@ -282,7 +282,7 @@ No authorization required ## getTotalNumberOfMessagesInAChannel -> GetTotalNumberOfMessagesInAChannelResponse getTotalNumberOfMessagesInAChannel(channelType, channelUrl).apiToken(apiToken).execute(); +> SendBirdGetTotalNumberOfMessagesInAChannelResponse getTotalNumberOfMessagesInAChannel(channelType, channelUrl).apiToken(apiToken).execute(); Get total number of messages in a channel @@ -313,7 +313,7 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - GetTotalNumberOfMessagesInAChannelResponse result = api.getTotalNumberOfMessagesInAChannel(channelType, channelUrl) + SendBirdGetTotalNumberOfMessagesInAChannelResponse result = api.getTotalNumberOfMessagesInAChannel(channelType, channelUrl) .apiToken(apiToken) .execute(); System.out.println(result); @@ -339,7 +339,7 @@ public class Example { ### Return type -[**GetTotalNumberOfMessagesInAChannelResponse**](GetTotalNumberOfMessagesInAChannelResponse.md) +[**SendBirdGetTotalNumberOfMessagesInAChannelResponse**](SendBirdGetTotalNumberOfMessagesInAChannelResponse.md) ### Authorization @@ -358,7 +358,7 @@ No authorization required ## listMessages -> ListMessagesResponse listMessages(channelType, channelUrl).messageTs(messageTs).messageId(messageId).prevLimit(prevLimit).nextLimit(nextLimit).include(include).reverse(reverse).senderId(senderId).senderIds(senderIds).operatorFilter(operatorFilter).customTypes(customTypes).messageType(messageType).includingRemoved(includingRemoved).includeReactions(includeReactions).includeReplyType(includeReplyType).includeParentMessageInfo(includeParentMessageInfo).includeThreadInfo(includeThreadInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).showSubchannelMessagesOnly(showSubchannelMessagesOnly).userId(userId).apiToken(apiToken).execute(); +> SendBirdListMessagesResponse listMessages(channelType, channelUrl).messageTs(messageTs).messageId(messageId).prevLimit(prevLimit).nextLimit(nextLimit).include(include).reverse(reverse).senderId(senderId).senderIds(senderIds).operatorFilter(operatorFilter).customTypes(customTypes).messageType(messageType).includingRemoved(includingRemoved).includeReactions(includeReactions).includeReplyType(includeReplyType).includeParentMessageInfo(includeParentMessageInfo).includeThreadInfo(includeThreadInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).showSubchannelMessagesOnly(showSubchannelMessagesOnly).userId(userId).apiToken(apiToken).execute(); List messages @@ -417,7 +417,7 @@ public class Example { String userId = "userId_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | try { - ListMessagesResponse result = api.listMessages(channelType, channelUrl) + SendBirdListMessagesResponse result = api.listMessages(channelType, channelUrl) .messageTs(messageTs) .messageId(messageId) .prevLimit(prevLimit) @@ -483,7 +483,7 @@ public class Example { ### Return type -[**ListMessagesResponse**](ListMessagesResponse.md) +[**SendBirdListMessagesResponse**](SendBirdListMessagesResponse.md) ### Authorization @@ -502,7 +502,7 @@ No authorization required ## markChannelMessagesAsRead -> Object markChannelMessagesAsRead(channelUrl).apiToken(apiToken).markChannelMessagesAsReadRequest(markChannelMessagesAsReadRequest).execute(); +> Object markChannelMessagesAsRead(channelUrl).apiToken(apiToken).sendBirdMarkChannelMessagesAsReadRequest(sendBirdMarkChannelMessagesAsReadRequest).execute(); Mark all messages as read @@ -530,11 +530,11 @@ public class Example { MessageApi apiInstance = new MessageApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - MarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest = new MarkChannelMessagesAsReadRequest(); // MarkChannelMessagesAsReadRequest | + SendBirdMarkChannelMessagesAsReadRequest sendBirdMarkChannelMessagesAsReadRequest = new SendBirdMarkChannelMessagesAsReadRequest(); // SendBirdMarkChannelMessagesAsReadRequest | try { Object result = api.markChannelMessagesAsRead(channelUrl) .apiToken(apiToken) - .markChannelMessagesAsReadRequest(markChannelMessagesAsReadRequest) + .sendBirdMarkChannelMessagesAsReadRequest(sendBirdMarkChannelMessagesAsReadRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -555,7 +555,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **markChannelMessagesAsReadRequest** | [**MarkChannelMessagesAsReadRequest**](MarkChannelMessagesAsReadRequest.md)| | [optional] | +| **sendBirdMarkChannelMessagesAsReadRequest** | [**SendBirdMarkChannelMessagesAsReadRequest**](SendBirdMarkChannelMessagesAsReadRequest.md)| | [optional] | ### Return type @@ -578,7 +578,7 @@ No authorization required ## migrateMessages -> Object migrateMessages(targetChannelUrl).apiToken(apiToken).migrateMessagesRequest(migrateMessagesRequest).execute(); +> Object migrateMessages(targetChannelUrl).apiToken(apiToken).sendBirdMigrateMessagesRequest(sendBirdMigrateMessagesRequest).execute(); Migrate messages @@ -618,11 +618,11 @@ public class Example { MessageApi apiInstance = new MessageApi(defaultClient); String targetChannelUrl = "targetChannelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - MigrateMessagesRequest migrateMessagesRequest = new MigrateMessagesRequest(); // MigrateMessagesRequest | + SendBirdMigrateMessagesRequest sendBirdMigrateMessagesRequest = new SendBirdMigrateMessagesRequest(); // SendBirdMigrateMessagesRequest | try { Object result = api.migrateMessages(targetChannelUrl) .apiToken(apiToken) - .migrateMessagesRequest(migrateMessagesRequest) + .sendBirdMigrateMessagesRequest(sendBirdMigrateMessagesRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -643,7 +643,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **targetChannelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **migrateMessagesRequest** | [**MigrateMessagesRequest**](MigrateMessagesRequest.md)| | [optional] | +| **sendBirdMigrateMessagesRequest** | [**SendBirdMigrateMessagesRequest**](SendBirdMigrateMessagesRequest.md)| | [optional] | ### Return type @@ -747,7 +747,7 @@ No authorization required ## sendAMessage -> SendbirdMessageResponse sendAMessage(channelType, channelUrl).apiToken(apiToken).sendAMessageRequest(sendAMessageRequest).execute(); +> SendBirdSendbirdMessageResponse sendAMessage(channelType, channelUrl).apiToken(apiToken).sendBirdSendAMessageRequest(sendBirdSendAMessageRequest).execute(); Send a message @@ -778,11 +778,11 @@ public class Example { String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendAMessageRequest sendAMessageRequest = new SendAMessageRequest(); // SendAMessageRequest | + SendBirdSendAMessageRequest sendBirdSendAMessageRequest = new SendBirdSendAMessageRequest(); // SendBirdSendAMessageRequest | try { - SendbirdMessageResponse result = api.sendAMessage(channelType, channelUrl) + SendBirdSendbirdMessageResponse result = api.sendAMessage(channelType, channelUrl) .apiToken(apiToken) - .sendAMessageRequest(sendAMessageRequest) + .sendBirdSendAMessageRequest(sendBirdSendAMessageRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -804,11 +804,11 @@ public class Example { | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendAMessageRequest** | [**SendAMessageRequest**](SendAMessageRequest.md)| | [optional] | +| **sendBirdSendAMessageRequest** | [**SendBirdSendAMessageRequest**](SendBirdSendAMessageRequest.md)| | [optional] | ### Return type -[**SendbirdMessageResponse**](SendbirdMessageResponse.md) +[**SendBirdSendbirdMessageResponse**](SendBirdSendbirdMessageResponse.md) ### Authorization @@ -827,7 +827,7 @@ No authorization required ## updateAMessage -> SendbirdMessageResponse updateAMessage(channelType, channelUrl, messageId).apiToken(apiToken).updateAMessageRequest(updateAMessageRequest).execute(); +> SendBirdSendbirdMessageResponse updateAMessage(channelType, channelUrl, messageId).apiToken(apiToken).sendBirdUpdateAMessageRequest(sendBirdUpdateAMessageRequest).execute(); Update a message @@ -858,11 +858,11 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) Long messageId = 56L; // Long | (Required) String apiToken = "{{API_TOKEN}}"; // String | - UpdateAMessageRequest updateAMessageRequest = new UpdateAMessageRequest(); // UpdateAMessageRequest | + SendBirdUpdateAMessageRequest sendBirdUpdateAMessageRequest = new SendBirdUpdateAMessageRequest(); // SendBirdUpdateAMessageRequest | try { - SendbirdMessageResponse result = api.updateAMessage(channelType, channelUrl, messageId) + SendBirdSendbirdMessageResponse result = api.updateAMessage(channelType, channelUrl, messageId) .apiToken(apiToken) - .updateAMessageRequest(updateAMessageRequest) + .sendBirdUpdateAMessageRequest(sendBirdUpdateAMessageRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -885,11 +885,11 @@ public class Example { | **channelUrl** | **String**| (Required) | | | **messageId** | **Long**| (Required) | | | **apiToken** | **String**| | [optional] | -| **updateAMessageRequest** | [**UpdateAMessageRequest**](UpdateAMessageRequest.md)| | [optional] | +| **sendBirdUpdateAMessageRequest** | [**SendBirdUpdateAMessageRequest**](SendBirdUpdateAMessageRequest.md)| | [optional] | ### Return type -[**SendbirdMessageResponse**](SendbirdMessageResponse.md) +[**SendBirdSendbirdMessageResponse**](SendBirdSendbirdMessageResponse.md) ### Authorization @@ -908,7 +908,7 @@ No authorization required ## updateExtraDataInAMessage -> UpdateExtraDataInAMessageResponse updateExtraDataInAMessage(channelType, channelUrl, messageId).apiToken(apiToken).updateExtraDataInAMessageRequest(updateExtraDataInAMessageRequest).execute(); +> SendBirdUpdateExtraDataInAMessageResponse updateExtraDataInAMessage(channelType, channelUrl, messageId).apiToken(apiToken).sendBirdUpdateExtraDataInAMessageRequest(sendBirdUpdateExtraDataInAMessageRequest).execute(); Update extra data in a message @@ -939,11 +939,11 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) Long messageId = 56L; // Long | (Required) String apiToken = "{{API_TOKEN}}"; // String | - UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest = new UpdateExtraDataInAMessageRequest(); // UpdateExtraDataInAMessageRequest | + SendBirdUpdateExtraDataInAMessageRequest sendBirdUpdateExtraDataInAMessageRequest = new SendBirdUpdateExtraDataInAMessageRequest(); // SendBirdUpdateExtraDataInAMessageRequest | try { - UpdateExtraDataInAMessageResponse result = api.updateExtraDataInAMessage(channelType, channelUrl, messageId) + SendBirdUpdateExtraDataInAMessageResponse result = api.updateExtraDataInAMessage(channelType, channelUrl, messageId) .apiToken(apiToken) - .updateExtraDataInAMessageRequest(updateExtraDataInAMessageRequest) + .sendBirdUpdateExtraDataInAMessageRequest(sendBirdUpdateExtraDataInAMessageRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -966,11 +966,11 @@ public class Example { | **channelUrl** | **String**| (Required) | | | **messageId** | **Long**| (Required) | | | **apiToken** | **String**| | [optional] | -| **updateExtraDataInAMessageRequest** | [**UpdateExtraDataInAMessageRequest**](UpdateExtraDataInAMessageRequest.md)| | [optional] | +| **sendBirdUpdateExtraDataInAMessageRequest** | [**SendBirdUpdateExtraDataInAMessageRequest**](SendBirdUpdateExtraDataInAMessageRequest.md)| | [optional] | ### Return type -[**UpdateExtraDataInAMessageResponse**](UpdateExtraDataInAMessageResponse.md) +[**SendBirdUpdateExtraDataInAMessageResponse**](SendBirdUpdateExtraDataInAMessageResponse.md) ### Authorization diff --git a/docs/MetadataApi.md b/docs/MetadataApi.md index 10fad1d9..20427e71 100644 --- a/docs/MetadataApi.md +++ b/docs/MetadataApi.md @@ -13,7 +13,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## createAChannelMetadata -> CreateAChannelMetadataResponse createAChannelMetadata(channelType, channelUrl).apiToken(apiToken).createAChannelMetadataRequest(createAChannelMetadataRequest).execute(); +> SendBirdCreateAChannelMetadataResponse createAChannelMetadata(channelType, channelUrl).apiToken(apiToken).sendBirdCreateAChannelMetadataRequest(sendBirdCreateAChannelMetadataRequest).execute(); Create a channel metadata @@ -43,11 +43,11 @@ public class Example { String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - CreateAChannelMetadataRequest createAChannelMetadataRequest = new CreateAChannelMetadataRequest(); // CreateAChannelMetadataRequest | + SendBirdCreateAChannelMetadataRequest sendBirdCreateAChannelMetadataRequest = new SendBirdCreateAChannelMetadataRequest(); // SendBirdCreateAChannelMetadataRequest | try { - CreateAChannelMetadataResponse result = api.createAChannelMetadata(channelType, channelUrl) + SendBirdCreateAChannelMetadataResponse result = api.createAChannelMetadata(channelType, channelUrl) .apiToken(apiToken) - .createAChannelMetadataRequest(createAChannelMetadataRequest) + .sendBirdCreateAChannelMetadataRequest(sendBirdCreateAChannelMetadataRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -69,11 +69,11 @@ public class Example { | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **createAChannelMetadataRequest** | [**CreateAChannelMetadataRequest**](CreateAChannelMetadataRequest.md)| | [optional] | +| **sendBirdCreateAChannelMetadataRequest** | [**SendBirdCreateAChannelMetadataRequest**](SendBirdCreateAChannelMetadataRequest.md)| | [optional] | ### Return type -[**CreateAChannelMetadataResponse**](CreateAChannelMetadataResponse.md) +[**SendBirdCreateAChannelMetadataResponse**](SendBirdCreateAChannelMetadataResponse.md) ### Authorization @@ -177,7 +177,7 @@ No authorization required ## updateAChannelMetadata -> Object updateAChannelMetadata(channelType, channelUrl).apiToken(apiToken).updateAChannelMetadataRequest(updateAChannelMetadataRequest).execute(); +> Object updateAChannelMetadata(channelType, channelUrl).apiToken(apiToken).sendBirdUpdateAChannelMetadataRequest(sendBirdUpdateAChannelMetadataRequest).execute(); Update a channel metadata - When updating existing items of a channel metadata by their keys or adding new items to the metadata @@ -214,11 +214,11 @@ public class Example { String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - UpdateAChannelMetadataRequest updateAChannelMetadataRequest = new UpdateAChannelMetadataRequest(); // UpdateAChannelMetadataRequest | + SendBirdUpdateAChannelMetadataRequest sendBirdUpdateAChannelMetadataRequest = new SendBirdUpdateAChannelMetadataRequest(); // SendBirdUpdateAChannelMetadataRequest | try { Object result = api.updateAChannelMetadata(channelType, channelUrl) .apiToken(apiToken) - .updateAChannelMetadataRequest(updateAChannelMetadataRequest) + .sendBirdUpdateAChannelMetadataRequest(sendBirdUpdateAChannelMetadataRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -240,7 +240,7 @@ public class Example { | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **updateAChannelMetadataRequest** | [**UpdateAChannelMetadataRequest**](UpdateAChannelMetadataRequest.md)| | [optional] | +| **sendBirdUpdateAChannelMetadataRequest** | [**SendBirdUpdateAChannelMetadataRequest**](SendBirdUpdateAChannelMetadataRequest.md)| | [optional] | ### Return type diff --git a/docs/ModerationApi.md b/docs/ModerationApi.md index b5213647..f10cb375 100644 --- a/docs/ModerationApi.md +++ b/docs/ModerationApi.md @@ -14,7 +14,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## blockAUser -> BlockAUserResponse blockAUser(userId).apiToken(apiToken).blockAUserRequest(blockAUserRequest).execute(); +> SendBirdBlockAUserResponse blockAUser(userId).apiToken(apiToken).sendBirdBlockAUserRequest(sendBirdBlockAUserRequest).execute(); Block a user @@ -50,11 +50,11 @@ public class Example { ModerationApi apiInstance = new ModerationApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - BlockAUserRequest blockAUserRequest = new BlockAUserRequest(); // BlockAUserRequest | + SendBirdBlockAUserRequest sendBirdBlockAUserRequest = new SendBirdBlockAUserRequest(); // SendBirdBlockAUserRequest | try { - BlockAUserResponse result = api.blockAUser(userId) + SendBirdBlockAUserResponse result = api.blockAUser(userId) .apiToken(apiToken) - .blockAUserRequest(blockAUserRequest) + .sendBirdBlockAUserRequest(sendBirdBlockAUserRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -75,11 +75,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **blockAUserRequest** | [**BlockAUserRequest**](BlockAUserRequest.md)| | [optional] | +| **sendBirdBlockAUserRequest** | [**SendBirdBlockAUserRequest**](SendBirdBlockAUserRequest.md)| | [optional] | ### Return type -[**BlockAUserResponse**](BlockAUserResponse.md) +[**SendBirdBlockAUserResponse**](SendBirdBlockAUserResponse.md) ### Authorization @@ -98,7 +98,7 @@ No authorization required ## freezeAGroupChannel -> SendbirdGroupChannelDetail freezeAGroupChannel(channelUrl).apiToken(apiToken).freezeAGroupChannelRequest(freezeAGroupChannelRequest).execute(); +> SendBirdSendbirdGroupChannelDetail freezeAGroupChannel(channelUrl).apiToken(apiToken).sendBirdFreezeAGroupChannelRequest(sendBirdFreezeAGroupChannelRequest).execute(); Freeze a group channel @@ -129,11 +129,11 @@ public class Example { ModerationApi apiInstance = new ModerationApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - FreezeAGroupChannelRequest freezeAGroupChannelRequest = new FreezeAGroupChannelRequest(); // FreezeAGroupChannelRequest | + SendBirdFreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest = new SendBirdFreezeAGroupChannelRequest(); // SendBirdFreezeAGroupChannelRequest | try { - SendbirdGroupChannelDetail result = api.freezeAGroupChannel(channelUrl) + SendBirdSendbirdGroupChannelDetail result = api.freezeAGroupChannel(channelUrl) .apiToken(apiToken) - .freezeAGroupChannelRequest(freezeAGroupChannelRequest) + .sendBirdFreezeAGroupChannelRequest(sendBirdFreezeAGroupChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -154,11 +154,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **freezeAGroupChannelRequest** | [**FreezeAGroupChannelRequest**](FreezeAGroupChannelRequest.md)| | [optional] | +| **sendBirdFreezeAGroupChannelRequest** | [**SendBirdFreezeAGroupChannelRequest**](SendBirdFreezeAGroupChannelRequest.md)| | [optional] | ### Return type -[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) +[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) ### Authorization @@ -177,7 +177,7 @@ No authorization required ## freezeAnOpenChannel -> SendbirdOpenChannel freezeAnOpenChannel(channelUrl).apiToken(apiToken).freezeAnOpenChannelRequest(freezeAnOpenChannelRequest).execute(); +> SendBirdSendbirdOpenChannel freezeAnOpenChannel(channelUrl).apiToken(apiToken).sendBirdFreezeAnOpenChannelRequest(sendBirdFreezeAnOpenChannelRequest).execute(); Freeze an open channel @@ -208,11 +208,11 @@ public class Example { ModerationApi apiInstance = new ModerationApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - FreezeAnOpenChannelRequest freezeAnOpenChannelRequest = new FreezeAnOpenChannelRequest(); // FreezeAnOpenChannelRequest | + SendBirdFreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest = new SendBirdFreezeAnOpenChannelRequest(); // SendBirdFreezeAnOpenChannelRequest | try { - SendbirdOpenChannel result = api.freezeAnOpenChannel(channelUrl) + SendBirdSendbirdOpenChannel result = api.freezeAnOpenChannel(channelUrl) .apiToken(apiToken) - .freezeAnOpenChannelRequest(freezeAnOpenChannelRequest) + .sendBirdFreezeAnOpenChannelRequest(sendBirdFreezeAnOpenChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -233,11 +233,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **freezeAnOpenChannelRequest** | [**FreezeAnOpenChannelRequest**](FreezeAnOpenChannelRequest.md)| | [optional] | +| **sendBirdFreezeAnOpenChannelRequest** | [**SendBirdFreezeAnOpenChannelRequest**](SendBirdFreezeAnOpenChannelRequest.md)| | [optional] | ### Return type -[**SendbirdOpenChannel**](SendbirdOpenChannel.md) +[**SendBirdSendbirdOpenChannel**](SendBirdSendbirdOpenChannel.md) ### Authorization @@ -256,7 +256,7 @@ No authorization required ## listBlockedUsers -> ListBlockedUsersResponse listBlockedUsers(userId)._list(_list).token(token).limit(limit).userIds(userIds).metadatakey(metadatakey).metadatavaluesIn(metadatavaluesIn).apiToken(apiToken).execute(); +> SendBirdListBlockedUsersResponse listBlockedUsers(userId)._list(_list).token(token).limit(limit).userIds(userIds).metadatakey(metadatakey).metadatavaluesIn(metadatavaluesIn).apiToken(apiToken).execute(); List blocked users @@ -295,7 +295,7 @@ public class Example { String metadatavaluesIn = "metadatavaluesIn_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | try { - ListBlockedUsersResponse result = api.listBlockedUsers(userId) + SendBirdListBlockedUsersResponse result = api.listBlockedUsers(userId) ._list(_list) .token(token) .limit(limit) @@ -332,7 +332,7 @@ public class Example { ### Return type -[**ListBlockedUsersResponse**](ListBlockedUsersResponse.md) +[**SendBirdListBlockedUsersResponse**](SendBirdListBlockedUsersResponse.md) ### Authorization diff --git a/docs/OpenChannelApi.md b/docs/OpenChannelApi.md index f376e44e..cbc35b3d 100644 --- a/docs/OpenChannelApi.md +++ b/docs/OpenChannelApi.md @@ -17,7 +17,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## createAnOpenChannel -> SendbirdOpenChannel createAnOpenChannel().apiToken(apiToken).createAnOpenChannelRequest(createAnOpenChannelRequest).execute(); +> SendBirdSendbirdOpenChannel createAnOpenChannel().apiToken(apiToken).sendBirdCreateAnOpenChannelRequest(sendBirdCreateAnOpenChannelRequest).execute(); Create an open channel @@ -46,11 +46,11 @@ public class Example { OpenChannelApi apiInstance = new OpenChannelApi(defaultClient); String apiToken = "{{API_TOKEN}}"; // String | - CreateAnOpenChannelRequest createAnOpenChannelRequest = new CreateAnOpenChannelRequest(); // CreateAnOpenChannelRequest | + SendBirdCreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest = new SendBirdCreateAnOpenChannelRequest(); // SendBirdCreateAnOpenChannelRequest | try { - SendbirdOpenChannel result = api.createAnOpenChannel() + SendBirdSendbirdOpenChannel result = api.createAnOpenChannel() .apiToken(apiToken) - .createAnOpenChannelRequest(createAnOpenChannelRequest) + .sendBirdCreateAnOpenChannelRequest(sendBirdCreateAnOpenChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -70,11 +70,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **apiToken** | **String**| | [optional] | -| **createAnOpenChannelRequest** | [**CreateAnOpenChannelRequest**](CreateAnOpenChannelRequest.md)| | [optional] | +| **sendBirdCreateAnOpenChannelRequest** | [**SendBirdCreateAnOpenChannelRequest**](SendBirdCreateAnOpenChannelRequest.md)| | [optional] | ### Return type -[**SendbirdOpenChannel**](SendbirdOpenChannel.md) +[**SendBirdSendbirdOpenChannel**](SendBirdSendbirdOpenChannel.md) ### Authorization @@ -166,7 +166,7 @@ No authorization required ## getAnOpenChannel -> SendbirdOpenChannel getAnOpenChannel(channelUrl).apiToken(apiToken).includeOperators(includeOperators).execute(); +> SendBirdSendbirdOpenChannel getAnOpenChannel(channelUrl).apiToken(apiToken).includeOperators(includeOperators).execute(); Get an open channel @@ -196,7 +196,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | Boolean includeOperators = true; // Boolean | Determines whether to include a list of operators in the response. (Default: false) try { - SendbirdOpenChannel result = api.getAnOpenChannel(channelUrl) + SendBirdSendbirdOpenChannel result = api.getAnOpenChannel(channelUrl) .apiToken(apiToken) .includeOperators(includeOperators) .execute(); @@ -223,7 +223,7 @@ public class Example { ### Return type -[**SendbirdOpenChannel**](SendbirdOpenChannel.md) +[**SendBirdSendbirdOpenChannel**](SendBirdSendbirdOpenChannel.md) ### Authorization @@ -242,7 +242,7 @@ No authorization required ## listChannelOperators -> ListOperatorsResponse listChannelOperators(channelUrl).token(token).limit(limit).apiToken(apiToken).execute(); +> SendBirdListOperatorsResponse listChannelOperators(channelUrl).token(token).limit(limit).apiToken(apiToken).execute(); List operators of an open channel @@ -277,7 +277,7 @@ public class Example { Integer limit = 56; // Integer | String apiToken = "{{API_TOKEN}}"; // String | try { - ListOperatorsResponse result = api.listChannelOperators(channelUrl) + SendBirdListOperatorsResponse result = api.listChannelOperators(channelUrl) .token(token) .limit(limit) .apiToken(apiToken) @@ -306,7 +306,7 @@ public class Example { ### Return type -[**ListOperatorsResponse**](ListOperatorsResponse.md) +[**SendBirdListOperatorsResponse**](SendBirdListOperatorsResponse.md) ### Authorization @@ -325,7 +325,7 @@ No authorization required ## listOpenChannels -> ListOpenChannelsResponse listOpenChannels().token(token).channelUrls(channelUrls).limit(limit).customTypes(customTypes).nameContains(nameContains).urlContains(urlContains).showFrozen(showFrozen).showMetadata(showMetadata).apiToken(apiToken).execute(); +> SendBirdListOpenChannelsResponse listOpenChannels().token(token).channelUrls(channelUrls).limit(limit).customTypes(customTypes).nameContains(nameContains).urlContains(urlContains).showFrozen(showFrozen).showMetadata(showMetadata).apiToken(apiToken).execute(); List open channels @@ -361,7 +361,7 @@ public class Example { Boolean showMetadata = true; // Boolean | Determines whether to include channel metadata in the response. (Default: false) String apiToken = "{{API_TOKEN}}"; // String | try { - ListOpenChannelsResponse result = api.listOpenChannels() + SendBirdListOpenChannelsResponse result = api.listOpenChannels() .token(token) .channelUrls(channelUrls) .limit(limit) @@ -401,7 +401,7 @@ public class Example { ### Return type -[**ListOpenChannelsResponse**](ListOpenChannelsResponse.md) +[**SendBirdListOpenChannelsResponse**](SendBirdListOpenChannelsResponse.md) ### Authorization @@ -420,7 +420,7 @@ No authorization required ## registerOperators -> Object registerOperators(channelUrl).apiToken(apiToken).registerOperatorsToAGroupChannelRequest(registerOperatorsToAGroupChannelRequest).execute(); +> Object registerOperators(channelUrl).apiToken(apiToken).sendBirdRegisterOperatorsToAGroupChannelRequest(sendBirdRegisterOperatorsToAGroupChannelRequest).execute(); Register operators to an open channel @@ -448,11 +448,11 @@ public class Example { OpenChannelApi apiInstance = new OpenChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest = new RegisterOperatorsToAGroupChannelRequest(); // RegisterOperatorsToAGroupChannelRequest | + SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest = new SendBirdRegisterOperatorsToAGroupChannelRequest(); // SendBirdRegisterOperatorsToAGroupChannelRequest | try { Object result = api.registerOperators(channelUrl) .apiToken(apiToken) - .registerOperatorsToAGroupChannelRequest(registerOperatorsToAGroupChannelRequest) + .sendBirdRegisterOperatorsToAGroupChannelRequest(sendBirdRegisterOperatorsToAGroupChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -473,7 +473,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **registerOperatorsToAGroupChannelRequest** | [**RegisterOperatorsToAGroupChannelRequest**](RegisterOperatorsToAGroupChannelRequest.md)| | [optional] | +| **sendBirdRegisterOperatorsToAGroupChannelRequest** | [**SendBirdRegisterOperatorsToAGroupChannelRequest**](SendBirdRegisterOperatorsToAGroupChannelRequest.md)| | [optional] | ### Return type @@ -579,7 +579,7 @@ No authorization required ## updateAnOpenChannel -> SendbirdOpenChannel updateAnOpenChannel(channelUrl).apiToken(apiToken).updateAnOpenChannelRequest(updateAnOpenChannelRequest).execute(); +> SendBirdSendbirdOpenChannel updateAnOpenChannel(channelUrl).apiToken(apiToken).sendBirdUpdateAnOpenChannelRequest(sendBirdUpdateAnOpenChannelRequest).execute(); Update an open channel @@ -607,11 +607,11 @@ public class Example { OpenChannelApi apiInstance = new OpenChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - UpdateAnOpenChannelRequest updateAnOpenChannelRequest = new UpdateAnOpenChannelRequest(); // UpdateAnOpenChannelRequest | + SendBirdUpdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest = new SendBirdUpdateAnOpenChannelRequest(); // SendBirdUpdateAnOpenChannelRequest | try { - SendbirdOpenChannel result = api.updateAnOpenChannel(channelUrl) + SendBirdSendbirdOpenChannel result = api.updateAnOpenChannel(channelUrl) .apiToken(apiToken) - .updateAnOpenChannelRequest(updateAnOpenChannelRequest) + .sendBirdUpdateAnOpenChannelRequest(sendBirdUpdateAnOpenChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -632,11 +632,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **updateAnOpenChannelRequest** | [**UpdateAnOpenChannelRequest**](UpdateAnOpenChannelRequest.md)| | [optional] | +| **sendBirdUpdateAnOpenChannelRequest** | [**SendBirdUpdateAnOpenChannelRequest**](SendBirdUpdateAnOpenChannelRequest.md)| | [optional] | ### Return type -[**SendbirdOpenChannel**](SendbirdOpenChannel.md) +[**SendBirdSendbirdOpenChannel**](SendBirdSendbirdOpenChannel.md) ### Authorization diff --git a/docs/SendBirdAcceptAnInvitationRequest.md b/docs/SendBirdAcceptAnInvitationRequest.md new file mode 100644 index 00000000..1d689407 --- /dev/null +++ b/docs/SendBirdAcceptAnInvitationRequest.md @@ -0,0 +1,14 @@ + + +# SendBirdAcceptAnInvitationRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**accessCode** | **String** | | [optional] | +|**userId** | **String** | | | + + + diff --git a/docs/SendBirdAddARegistrationOrDeviceTokenRequest.md b/docs/SendBirdAddARegistrationOrDeviceTokenRequest.md new file mode 100644 index 00000000..a13e24c0 --- /dev/null +++ b/docs/SendBirdAddARegistrationOrDeviceTokenRequest.md @@ -0,0 +1,15 @@ + + +# SendBirdAddARegistrationOrDeviceTokenRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apnsDeviceToken** | **String** | | [optional] | +|**gcmRegToken** | **String** | | [optional] | +|**huaweiDeviceToken** | **String** | | [optional] | + + + diff --git a/docs/SendBirdAddARegistrationOrDeviceTokenResponse.md b/docs/SendBirdAddARegistrationOrDeviceTokenResponse.md new file mode 100644 index 00000000..584c5cbb --- /dev/null +++ b/docs/SendBirdAddARegistrationOrDeviceTokenResponse.md @@ -0,0 +1,15 @@ + + +# SendBirdAddARegistrationOrDeviceTokenResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**token** | **String** | | [optional] | +|**type** | **String** | | [optional] | +|**user** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | + + + diff --git a/docs/SendBirdAddExtraDataToAMessageRequest.md b/docs/SendBirdAddExtraDataToAMessageRequest.md new file mode 100644 index 00000000..72a397e8 --- /dev/null +++ b/docs/SendBirdAddExtraDataToAMessageRequest.md @@ -0,0 +1,13 @@ + + +# SendBirdAddExtraDataToAMessageRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | | + + + diff --git a/docs/SendBirdAddExtraDataToAMessageResponse.md b/docs/SendBirdAddExtraDataToAMessageResponse.md new file mode 100644 index 00000000..ec75f375 --- /dev/null +++ b/docs/SendBirdAddExtraDataToAMessageResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdAddExtraDataToAMessageResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | + + + diff --git a/docs/SendBirdBlockAUserRequest.md b/docs/SendBirdBlockAUserRequest.md new file mode 100644 index 00000000..15aa9a1b --- /dev/null +++ b/docs/SendBirdBlockAUserRequest.md @@ -0,0 +1,14 @@ + + +# SendBirdBlockAUserRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**targetId** | **String** | | [optional] | +|**userIds** | **List<String>** | Specifies an array of IDs of all the users to block. This property can be used interchangeably with the users[] property when blocking multiple users at once. | [optional] | + + + diff --git a/docs/SendBirdBlockAUserResponse.md b/docs/SendBirdBlockAUserResponse.md new file mode 100644 index 00000000..cb7a4356 --- /dev/null +++ b/docs/SendBirdBlockAUserResponse.md @@ -0,0 +1,14 @@ + + +# SendBirdBlockAUserResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**users** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | +|**next** | **String** | | [optional] | + + + diff --git a/docs/SendBirdCheckIfMemberResponse.md b/docs/SendBirdCheckIfMemberResponse.md new file mode 100644 index 00000000..eec983ca --- /dev/null +++ b/docs/SendBirdCheckIfMemberResponse.md @@ -0,0 +1,24 @@ + + +# SendBirdCheckIfMemberResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**isMember** | **Boolean** | | [optional] | +|**state** | [**StateEnum**](#StateEnum) | | [optional] | + + + +## Enum: StateEnum + +| Name | Value | +|---- | -----| +| INVITED | "invited" | +| JOINED | "joined" | +| NONE | "none" | + + + diff --git a/docs/SendBirdChooseAPushNotificationContentTemplateRequest.md b/docs/SendBirdChooseAPushNotificationContentTemplateRequest.md new file mode 100644 index 00000000..33b8c42b --- /dev/null +++ b/docs/SendBirdChooseAPushNotificationContentTemplateRequest.md @@ -0,0 +1,22 @@ + + +# SendBirdChooseAPushNotificationContentTemplateRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | [**NameEnum**](#NameEnum) | Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default) | | + + + +## Enum: NameEnum + +| Name | Value | +|---- | -----| +| DEFAULT | "default" | +| ALTERNATIVE | "alternative" | + + + diff --git a/docs/SendBirdChooseAPushNotificationContentTemplateResponse.md b/docs/SendBirdChooseAPushNotificationContentTemplateResponse.md new file mode 100644 index 00000000..d2202902 --- /dev/null +++ b/docs/SendBirdChooseAPushNotificationContentTemplateResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdChooseAPushNotificationContentTemplateResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | | [optional] | + + + diff --git a/docs/SendBirdCreateABotRequest.md b/docs/SendBirdCreateABotRequest.md new file mode 100644 index 00000000..3e2e4269 --- /dev/null +++ b/docs/SendBirdCreateABotRequest.md @@ -0,0 +1,21 @@ + + +# SendBirdCreateABotRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**botCallbackUrl** | **String** | | | +|**botNickname** | **String** | Specifies the bot's nickname. The length is limited to 80 characters. | | +|**botProfileUrl** | **String** | | | +|**botType** | **String** | | | +|**botUserid** | **String** | Specifies the unique ID of a bot. The length is limited to 80 characters. | | +|**isPrivacyMode** | **Boolean** | Determines whether to forward all or specific messages to the bot in channels where the bot is a member. If set to true, only messages starting with a \"/\" or mentioning the bot_userid are forwarded to the bot. If set to false, all messages are forwarded. This property can help protect the privacy of users' chat logs by configuring the bot to only receive messages addressed to the bot. | | +|**channelInvitationPreference** | **Integer** | | [optional] | +|**enableMarkAsRead** | **Boolean** | | [optional] | +|**showMember** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdCreateABotResponse.md b/docs/SendBirdCreateABotResponse.md new file mode 100644 index 00000000..6562c3ae --- /dev/null +++ b/docs/SendBirdCreateABotResponse.md @@ -0,0 +1,20 @@ + + +# SendBirdCreateABotResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**bot** | [**SendBirdCreateABotResponseBot**](SendBirdCreateABotResponseBot.md) | | | +|**botCallbackUrl** | **String** | | [optional] | +|**botStyle** | [**SendBirdListBotsResponseBotsInnerBotStyle**](SendBirdListBotsResponseBotsInnerBotStyle.md) | | [optional] | +|**channelInvitationPreference** | **Integer** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**enableMarkAsRead** | **Boolean** | | [optional] | +|**isPrivacyMode** | **Boolean** | | [optional] | +|**showMember** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdCreateABotResponseBot.md b/docs/SendBirdCreateABotResponseBot.md new file mode 100644 index 00000000..3321920d --- /dev/null +++ b/docs/SendBirdCreateABotResponseBot.md @@ -0,0 +1,21 @@ + + +# SendBirdCreateABotResponseBot + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**aiAgentType** | **String** | | [optional] | +|**botMetadata** | **Object** | | [optional] | +|**botNickname** | **String** | | [optional] | +|**botProfileUrl** | **String** | | [optional] | +|**botRequireAuthForProfileImage** | **Boolean** | | [optional] | +|**botToken** | **String** | | [optional] | +|**botType** | **String** | | [optional] | +|**botUserid** | **String** | | | +|**feedback** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdCreateAChannelMetadataRequest.md b/docs/SendBirdCreateAChannelMetadataRequest.md new file mode 100644 index 00000000..ca11a728 --- /dev/null +++ b/docs/SendBirdCreateAChannelMetadataRequest.md @@ -0,0 +1,14 @@ + + +# SendBirdCreateAChannelMetadataRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**includeTs** | **Boolean** | | [optional] | +|**metadata** | **Object** | | | + + + diff --git a/docs/SendBirdCreateAChannelMetadataResponse.md b/docs/SendBirdCreateAChannelMetadataResponse.md new file mode 100644 index 00000000..5e51de49 --- /dev/null +++ b/docs/SendBirdCreateAChannelMetadataResponse.md @@ -0,0 +1,14 @@ + + +# SendBirdCreateAChannelMetadataResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**includeTs** | **Long** | | [optional] | +|**metadata** | **Object** | | [optional] | + + + diff --git a/docs/SendBirdCreateAGroupChannelRequest.md b/docs/SendBirdCreateAGroupChannelRequest.md new file mode 100644 index 00000000..363c9881 --- /dev/null +++ b/docs/SendBirdCreateAGroupChannelRequest.md @@ -0,0 +1,31 @@ + + +# SendBirdCreateAGroupChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**accessCode** | **String** | | [optional] | +|**blockSdkUserChannelJoin** | **Boolean** | | [optional] | +|**channelUrl** | **String** | | [optional] | +|**coverFile** | **File** | Uploads a file for the channel cover image. | [optional] | +|**coverUrl** | **String** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**hiddenStatus** | **Object** | Specifies one or more key-value pair items which set the channel's hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:<br />- unhidden (default): the channel is included in when retrieving a list of group channels.<br />- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.<br />- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message. | [optional] | +|**invitationStatus** | **Object** | Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined) | [optional] | +|**inviterId** | **String** | | [optional] | +|**isDistinct** | **Boolean** | | [optional] | +|**isEphemeral** | **Boolean** | | [optional] | +|**isPublic** | **Boolean** | | [optional] | +|**isSuper** | **Boolean** | | [optional] | +|**name** | **String** | | [optional] | +|**operatorIds** | **List<String>** | | [optional] | +|**strict** | **Boolean** | | [optional] | +|**userIds** | **List<String>** | | [optional] | +|**users** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | | + + + diff --git a/docs/SendBirdCreateAUserRequest.md b/docs/SendBirdCreateAUserRequest.md new file mode 100644 index 00000000..26f2ad9a --- /dev/null +++ b/docs/SendBirdCreateAUserRequest.md @@ -0,0 +1,19 @@ + + +# SendBirdCreateAUserRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**discoveryKeys** | **List<String>** | | [optional] | +|**issueAccessToken** | **Boolean** | | [optional] | +|**metadata** | **Object** | | [optional] | +|**nickname** | **String** | | | +|**profileFile** | **File** | Specifies the file of the user's profile image. An acceptable image is limited to a JPG, JPEG, or PNG file of up to 5 MB. When passing a file, you should send a multipart request. If the profile_file property is specified, the profile_url property is not required. | [optional] | +|**profileUrl** | **String** | | | +|**userId** | **String** | | | + + + diff --git a/docs/SendBirdCreateAnOpenChannelRequest.md b/docs/SendBirdCreateAnOpenChannelRequest.md new file mode 100644 index 00000000..b109f846 --- /dev/null +++ b/docs/SendBirdCreateAnOpenChannelRequest.md @@ -0,0 +1,21 @@ + + +# SendBirdCreateAnOpenChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**isDynamicPartitioned** | **Boolean** | | [optional] | +|**channelUrl** | **String** | | [optional] | +|**coverFile** | **File** | | [optional] | +|**coverUrl** | **String** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**isEphemeral** | **Boolean** | | [optional] | +|**name** | **String** | | [optional] | +|**operatorIds** | **List<String>** | | [optional] | + + + diff --git a/docs/SendBirdCreateUserTokenRequest.md b/docs/SendBirdCreateUserTokenRequest.md new file mode 100644 index 00000000..2d9041aa --- /dev/null +++ b/docs/SendBirdCreateUserTokenRequest.md @@ -0,0 +1,13 @@ + + +# SendBirdCreateUserTokenRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**expiresAt** | **Long** | | [optional] | + + + diff --git a/docs/SendBirdCreateUserTokenResponse.md b/docs/SendBirdCreateUserTokenResponse.md new file mode 100644 index 00000000..80682675 --- /dev/null +++ b/docs/SendBirdCreateUserTokenResponse.md @@ -0,0 +1,14 @@ + + +# SendBirdCreateUserTokenResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**expiresAt** | **Long** | | [optional] | +|**token** | **String** | | [optional] | + + + diff --git a/docs/SendBirdFreezeAGroupChannelRequest.md b/docs/SendBirdFreezeAGroupChannelRequest.md new file mode 100644 index 00000000..c30894d8 --- /dev/null +++ b/docs/SendBirdFreezeAGroupChannelRequest.md @@ -0,0 +1,13 @@ + + +# SendBirdFreezeAGroupChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**freeze** | **Boolean** | | | + + + diff --git a/docs/SendBirdFreezeAnOpenChannelRequest.md b/docs/SendBirdFreezeAnOpenChannelRequest.md new file mode 100644 index 00000000..61e799a2 --- /dev/null +++ b/docs/SendBirdFreezeAnOpenChannelRequest.md @@ -0,0 +1,13 @@ + + +# SendBirdFreezeAnOpenChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**freeze** | **Boolean** | Determines whether to freeze the channel. (Default: true) | | + + + diff --git a/docs/SendBirdGetAGroupChannelResponse.md b/docs/SendBirdGetAGroupChannelResponse.md new file mode 100644 index 00000000..92dc464d --- /dev/null +++ b/docs/SendBirdGetAGroupChannelResponse.md @@ -0,0 +1,99 @@ + + +# SendBirdGetAGroupChannelResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channel** | [**SendBirdSendbirdGroupChannelDetailChannel**](SendBirdSendbirdGroupChannelDetailChannel.md) | | [optional] | +|**channelUrl** | **String** | | | +|**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | +|**coverUrl** | **String** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**createdBy** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**deliveryReceipt** | **Object** | | [optional] | +|**disappearingMessage** | [**SendBirdSendbirdDisappearingMessage**](SendBirdSendbirdDisappearingMessage.md) | | [optional] | +|**freeze** | **Boolean** | | [optional] | +|**hasAiBot** | **Boolean** | | [optional] | +|**hasBot** | **Boolean** | | [optional] | +|**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | +|**ignoreProfanityFilter** | **Boolean** | | [optional] | +|**invitedAt** | **Long** | | [optional] | +|**inviter** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**isAccessCodeRequired** | **Boolean** | | [optional] | +|**isBroadcast** | **Boolean** | | [optional] | +|**isDiscoverable** | **Boolean** | | [optional] | +|**isDistinct** | **Boolean** | | [optional] | +|**isEphemeral** | **Boolean** | | [optional] | +|**isExclusive** | **Boolean** | | [optional] | +|**isHidden** | **Boolean** | | [optional] | +|**isMuted** | **Boolean** | | [optional] | +|**isPublic** | **Boolean** | | [optional] | +|**isPushEnabled** | **Boolean** | | [optional] | +|**isSuper** | **Boolean** | | [optional] | +|**joinedMemberCount** | **Integer** | | [optional] | +|**joinedTs** | **Long** | | [optional] | +|**lastMessage** | [**SendBirdSendbirdGroupChannelLastMessage**](SendBirdSendbirdGroupChannelLastMessage.md) | | [optional] | +|**maxLengthMessage** | **Integer** | | [optional] | +|**memberCount** | **Integer** | | [optional] | +|**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | +|**members** | [**List<SendBirdSendbirdMember>**](SendBirdSendbirdMember.md) | | [optional] | +|**messageSurvivalSeconds** | **Integer** | | [optional] | +|**metadata** | **Object** | | [optional] | +|**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | +|**name** | **String** | | [optional] | +|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**readReceipt** | **Map<String, Long>** | | [optional] | +|**smsFallback** | [**SendBirdSendbirdSmsFallback**](SendBirdSendbirdSmsFallback.md) | | [optional] | +|**tsMessageOffset** | **Long** | | [optional] | +|**unreadMentionCount** | **Integer** | | [optional] | +|**unreadMessageCount** | **Integer** | | [optional] | +|**userLastRead** | **Long** | | [optional] | + + + +## Enum: CountPreferenceEnum + +| Name | Value | +|---- | -----| +| FALSE | "false" | +| ALL | "all" | +| UNREAD_MESSAGE_COUNT_ONLY | "unread_message_count_only" | +| UNREAD_MENTIONED_COUNT_ONLY | "unread_mentioned_count_only" | + + + +## Enum: HiddenStateEnum + +| Name | Value | +|---- | -----| +| HIDDEN_ALLOW_AUTO_UNHIDE | "hidden_allow_auto_unhide" | +| HIDDEN_PREVENT_AUTO_UNHIDE | "hidden_prevent_auto_unhide" | +| UNHIDDEN | "unhidden" | + + + +## Enum: MemberStateEnum + +| Name | Value | +|---- | -----| +| INVITED | "invited" | +| JOINED | "joined" | +| NONE | "none" | + + + +## Enum: MyRoleEnum + +| Name | Value | +|---- | -----| +| EMPTY | "" | +| NONE | "none" | +| OPERATOR | "operator" | + + + diff --git a/docs/SendBirdGetAGroupChannelResponseAllOf.md b/docs/SendBirdGetAGroupChannelResponseAllOf.md new file mode 100644 index 00000000..801783d0 --- /dev/null +++ b/docs/SendBirdGetAGroupChannelResponseAllOf.md @@ -0,0 +1,13 @@ + + +# SendBirdGetAGroupChannelResponseAllOf + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channel** | [**SendBirdSendbirdGroupChannelDetailChannel**](SendBirdSendbirdGroupChannelDetailChannel.md) | | [optional] | + + + diff --git a/docs/SendBirdGetChannelInvitationPreferenceResponse.md b/docs/SendBirdGetChannelInvitationPreferenceResponse.md new file mode 100644 index 00000000..732d34fe --- /dev/null +++ b/docs/SendBirdGetChannelInvitationPreferenceResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdGetChannelInvitationPreferenceResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**autoAccept** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdGetTotalNumberOfMessagesInAChannelResponse.md b/docs/SendBirdGetTotalNumberOfMessagesInAChannelResponse.md new file mode 100644 index 00000000..31a3ea1f --- /dev/null +++ b/docs/SendBirdGetTotalNumberOfMessagesInAChannelResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdGetTotalNumberOfMessagesInAChannelResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**total** | **Integer** | | [optional] | + + + diff --git a/docs/SendBirdGroupChannelListMembersResponse.md b/docs/SendBirdGroupChannelListMembersResponse.md new file mode 100644 index 00000000..90c35b2a --- /dev/null +++ b/docs/SendBirdGroupChannelListMembersResponse.md @@ -0,0 +1,14 @@ + + +# SendBirdGroupChannelListMembersResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**members** | [**List<SendBirdSendbirdMember>**](SendBirdSendbirdMember.md) | | | +|**next** | **String** | | [optional] | + + + diff --git a/docs/SendBirdGroupChatListChannelsResponse.md b/docs/SendBirdGroupChatListChannelsResponse.md new file mode 100644 index 00000000..ba39d155 --- /dev/null +++ b/docs/SendBirdGroupChatListChannelsResponse.md @@ -0,0 +1,15 @@ + + +# SendBirdGroupChatListChannelsResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channels** | [**List<SendBirdSendbirdGroupChannel>**](SendBirdSendbirdGroupChannel.md) | | [optional] | +|**next** | **String** | | [optional] | +|**ts** | **Long** | | [optional] | + + + diff --git a/docs/SendBirdHideAChannelRequest.md b/docs/SendBirdHideAChannelRequest.md new file mode 100644 index 00000000..92b4323e --- /dev/null +++ b/docs/SendBirdHideAChannelRequest.md @@ -0,0 +1,16 @@ + + +# SendBirdHideAChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**allowAutoUnhide** | **Boolean** | Determines the state and operating behavior of the channel in a channel list. If set to true, the channel is hidden from a user's channel list but it will reappear when there is a new message. If set to false, the channel is hidden from a user's channel list and it will remain hidden unless the value of the property changes to true through [unarchiving](#2-unhide-or-unarchive-a-channel). (Default: true)<br /><br /> When a user who has hidden the channel sends a message in that channel through the [Platform API](/docs/chat/v3/platform-api/guides/messages#2-send-a-message), the `allow_auto_unhide` property is changed to true, making the channel reappear in the channel list. | [optional] | +|**hidePreviousMessages** | **Boolean** | When the channel gets appeared back in either the list of the user in the user_id property or the lists of all channel members (should_hide_all = true), determines whether to conceal the messages sent and received before hiding or archiving the channel. (Default: false)<br /><br /> This property is effective only when the value of the [global application settings resource](/docs/chat/v3/platform-api/guides/global-application-settings#-3-resource-representation)'s display_past_message property is false. | [optional] | +|**shouldHideAll** | **Boolean** | Determines whether to make the specified channel disappear from the channel list of all channel members. When this is set to true, the user_id property isn't effective and doesn't need to be specified in the request. (Default: false) | [optional] | +|**userId** | **String** | Specifies the unique ID of the user whose channel will be hidden or archived from the list. This property is required when should_hide_all is set to false, which is the default value. However, when should_hide_all is set to true, this property isn't effective. | | + + + diff --git a/docs/SendBirdInviteAsMembersRequest.md b/docs/SendBirdInviteAsMembersRequest.md new file mode 100644 index 00000000..74777c81 --- /dev/null +++ b/docs/SendBirdInviteAsMembersRequest.md @@ -0,0 +1,16 @@ + + +# SendBirdInviteAsMembersRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**hiddenStatus** | **Object** | Specifies one or more key-value pair items which set the channel's hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:<br />- unhidden (default): the channel is included in when retrieving a list of group channels.<br />- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.<br />- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message. | [optional] | +|**invitationStatus** | **Object** | Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined) | [optional] | +|**inviterId** | **String** | | [optional] | +|**userIds** | **List<String>** | | | + + + diff --git a/docs/SendBirdInviteAsMembersResponse.md b/docs/SendBirdInviteAsMembersResponse.md new file mode 100644 index 00000000..6c8102b6 --- /dev/null +++ b/docs/SendBirdInviteAsMembersResponse.md @@ -0,0 +1,99 @@ + + +# SendBirdInviteAsMembersResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channelUrl** | **String** | | | +|**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | +|**coverUrl** | **String** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**createdBy** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**deliveryReceipt** | **Object** | | [optional] | +|**disappearingMessage** | [**SendBirdSendbirdDisappearingMessage**](SendBirdSendbirdDisappearingMessage.md) | | [optional] | +|**freeze** | **Boolean** | | [optional] | +|**hasAiBot** | **Boolean** | | [optional] | +|**hasBot** | **Boolean** | | [optional] | +|**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | +|**ignoreProfanityFilter** | **Boolean** | | [optional] | +|**invitedAt** | **Long** | | [optional] | +|**inviter** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**isAccessCodeRequired** | **Boolean** | | [optional] | +|**isBroadcast** | **Boolean** | | [optional] | +|**isDiscoverable** | **Boolean** | | [optional] | +|**isDistinct** | **Boolean** | | [optional] | +|**isEphemeral** | **Boolean** | | [optional] | +|**isExclusive** | **Boolean** | | [optional] | +|**isHidden** | **Boolean** | | [optional] | +|**isMuted** | **Boolean** | | [optional] | +|**isPublic** | **Boolean** | | [optional] | +|**isPushEnabled** | **Boolean** | | [optional] | +|**isSuper** | **Boolean** | | [optional] | +|**joinedMemberCount** | **Integer** | | [optional] | +|**joinedTs** | **Long** | | [optional] | +|**lastMessage** | [**SendBirdSendbirdGroupChannelLastMessage**](SendBirdSendbirdGroupChannelLastMessage.md) | | [optional] | +|**maxLengthMessage** | **Integer** | | [optional] | +|**memberCount** | **Integer** | | [optional] | +|**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | +|**members** | [**List<SendBirdSendbirdMember>**](SendBirdSendbirdMember.md) | | [optional] | +|**messageSurvivalSeconds** | **Integer** | | [optional] | +|**metadata** | **Object** | | [optional] | +|**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | +|**name** | **String** | | [optional] | +|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**readReceipt** | **Map<String, Long>** | | [optional] | +|**smsFallback** | [**SendBirdSendbirdSmsFallback**](SendBirdSendbirdSmsFallback.md) | | [optional] | +|**tsMessageOffset** | **Long** | | [optional] | +|**unreadMentionCount** | **Integer** | | [optional] | +|**unreadMessageCount** | **Integer** | | [optional] | +|**userLastRead** | **Long** | | [optional] | +|**operators** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | + + + +## Enum: CountPreferenceEnum + +| Name | Value | +|---- | -----| +| FALSE | "false" | +| ALL | "all" | +| UNREAD_MESSAGE_COUNT_ONLY | "unread_message_count_only" | +| UNREAD_MENTIONED_COUNT_ONLY | "unread_mentioned_count_only" | + + + +## Enum: HiddenStateEnum + +| Name | Value | +|---- | -----| +| HIDDEN_ALLOW_AUTO_UNHIDE | "hidden_allow_auto_unhide" | +| HIDDEN_PREVENT_AUTO_UNHIDE | "hidden_prevent_auto_unhide" | +| UNHIDDEN | "unhidden" | + + + +## Enum: MemberStateEnum + +| Name | Value | +|---- | -----| +| INVITED | "invited" | +| JOINED | "joined" | +| NONE | "none" | + + + +## Enum: MyRoleEnum + +| Name | Value | +|---- | -----| +| EMPTY | "" | +| NONE | "none" | +| OPERATOR | "operator" | + + + diff --git a/docs/SendBirdInviteAsMembersResponseAllOf.md b/docs/SendBirdInviteAsMembersResponseAllOf.md new file mode 100644 index 00000000..dddb9c2c --- /dev/null +++ b/docs/SendBirdInviteAsMembersResponseAllOf.md @@ -0,0 +1,13 @@ + + +# SendBirdInviteAsMembersResponseAllOf + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**operators** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | + + + diff --git a/docs/SendBirdJoinAChannelRequest.md b/docs/SendBirdJoinAChannelRequest.md new file mode 100644 index 00000000..3d6336df --- /dev/null +++ b/docs/SendBirdJoinAChannelRequest.md @@ -0,0 +1,14 @@ + + +# SendBirdJoinAChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**userId** | **String** | Specifies the unique ID of the user to join the public group channel. | | +|**accessCode** | **String** | This property should be specified if the public group channel to join requires an access code to users, which means that the is_access_code_required property of the channel resource is true. | [optional] | + + + diff --git a/docs/SendBirdJoinChannelsRequest.md b/docs/SendBirdJoinChannelsRequest.md new file mode 100644 index 00000000..75563661 --- /dev/null +++ b/docs/SendBirdJoinChannelsRequest.md @@ -0,0 +1,13 @@ + + +# SendBirdJoinChannelsRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channelUrls** | **List<String>** | | | + + + diff --git a/docs/SendBirdLeaveAChannelRequest.md b/docs/SendBirdLeaveAChannelRequest.md new file mode 100644 index 00000000..dcc88238 --- /dev/null +++ b/docs/SendBirdLeaveAChannelRequest.md @@ -0,0 +1,28 @@ + + +# SendBirdLeaveAChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**userIds** | **List<String>** | Specifies an array of one or more IDs of the users to leave the channel. | | +|**shouldLeaveAll** | **Boolean** | Determines whether to make all members leave the channel. (Default: false) | [optional] | +|**shouldRemoveOperatorStatus** | **Boolean** | Determines whether to remove a user from the channel's operator list if the user who is leaving the channel is an operator. (Default: false) | [optional] | +|**reason** | [**ReasonEnum**](#ReasonEnum) | Specifies the reason for leaving a channel. Acceptable values are admin_removed, admin_deleted, admin_deactivated, left_by_own_choice, and channel_operator_removed. | [optional] | + + + +## Enum: ReasonEnum + +| Name | Value | +|---- | -----| +| LEFT_BY_OWN_CHOICE | "LEFT_BY_OWN_CHOICE" | +| CHANNEL_OPERATOR_REMOVED | "CHANNEL_OPERATOR_REMOVED" | +| ADMIN_REMOVED | "ADMIN_REMOVED" | +| ADMIN_DELETED | "ADMIN_DELETED" | +| ADMIN_DEACTIVATED | "ADMIN_DEACTIVATED" | + + + diff --git a/docs/SendBirdLeaveMyGroupChannelsRequest.md b/docs/SendBirdLeaveMyGroupChannelsRequest.md new file mode 100644 index 00000000..84c2852d --- /dev/null +++ b/docs/SendBirdLeaveMyGroupChannelsRequest.md @@ -0,0 +1,13 @@ + + +# SendBirdLeaveMyGroupChannelsRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**customType** | **String** | | [optional] | + + + diff --git a/docs/SendBirdListBlockedUsersResponse.md b/docs/SendBirdListBlockedUsersResponse.md new file mode 100644 index 00000000..fc380e58 --- /dev/null +++ b/docs/SendBirdListBlockedUsersResponse.md @@ -0,0 +1,14 @@ + + +# SendBirdListBlockedUsersResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**users** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | +|**next** | **String** | | [optional] | + + + diff --git a/docs/SendBirdListBotsResponse.md b/docs/SendBirdListBotsResponse.md new file mode 100644 index 00000000..2366a945 --- /dev/null +++ b/docs/SendBirdListBotsResponse.md @@ -0,0 +1,14 @@ + + +# SendBirdListBotsResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**bots** | [**List<SendBirdListBotsResponseBotsInner>**](SendBirdListBotsResponseBotsInner.md) | | [optional] | +|**next** | **String** | | [optional] | + + + diff --git a/docs/SendBirdListBotsResponseBotsInner.md b/docs/SendBirdListBotsResponseBotsInner.md new file mode 100644 index 00000000..cd437484 --- /dev/null +++ b/docs/SendBirdListBotsResponseBotsInner.md @@ -0,0 +1,22 @@ + + +# SendBirdListBotsResponseBotsInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**bot** | [**SendBirdListBotsResponseBotsInnerBot**](SendBirdListBotsResponseBotsInnerBot.md) | | [optional] | +|**botCallbackUrl** | **String** | | [optional] | +|**botStyle** | [**SendBirdListBotsResponseBotsInnerBotStyle**](SendBirdListBotsResponseBotsInnerBotStyle.md) | | [optional] | +|**channelInvitationPreference** | **Integer** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**enableMarkAsRead** | **Boolean** | | [optional] | +|**firstMessages** | [**List<SendBirdListBotsResponseBotsInnerFirstMessagesInner>**](SendBirdListBotsResponseBotsInnerFirstMessagesInner.md) | | [optional] | +|**isPrivacyMode** | **Boolean** | | [optional] | +|**safeguard** | [**SendBirdListBotsResponseBotsInnerSafeguard**](SendBirdListBotsResponseBotsInnerSafeguard.md) | | [optional] | +|**showMember** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdListBotsResponseBotsInnerBot.md b/docs/SendBirdListBotsResponseBotsInnerBot.md new file mode 100644 index 00000000..10862d39 --- /dev/null +++ b/docs/SendBirdListBotsResponseBotsInnerBot.md @@ -0,0 +1,20 @@ + + +# SendBirdListBotsResponseBotsInnerBot + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**aiAgentType** | **String** | | [optional] | +|**botMetadata** | **Object** | | [optional] | +|**botNickname** | **String** | | [optional] | +|**botProfileUrl** | **String** | | [optional] | +|**botRequireAuthForProfileImage** | **Boolean** | | [optional] | +|**botToken** | **String** | | [optional] | +|**botType** | **String** | | [optional] | +|**botUserid** | **String** | | | + + + diff --git a/docs/SendBirdListBotsResponseBotsInnerBotStyle.md b/docs/SendBirdListBotsResponseBotsInnerBotStyle.md new file mode 100644 index 00000000..bf650927 --- /dev/null +++ b/docs/SendBirdListBotsResponseBotsInnerBotStyle.md @@ -0,0 +1,16 @@ + + +# SendBirdListBotsResponseBotsInnerBotStyle + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**autoOpen** | **Boolean** | | [optional] | +|**color** | [**SendBirdListBotsResponseBotsInnerBotStyleColor**](SendBirdListBotsResponseBotsInnerBotStyleColor.md) | | [optional] | +|**toggleButtonType** | **String** | | [optional] | +|**toggleButtonUrl** | **String** | | [optional] | + + + diff --git a/docs/SendBirdListBotsResponseBotsInnerBotStyleColor.md b/docs/SendBirdListBotsResponseBotsInnerBotStyleColor.md new file mode 100644 index 00000000..bc510fbd --- /dev/null +++ b/docs/SendBirdListBotsResponseBotsInnerBotStyleColor.md @@ -0,0 +1,15 @@ + + +# SendBirdListBotsResponseBotsInnerBotStyleColor + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**accentColor** | **String** | | [optional] | +|**botMessageColor** | **String** | | [optional] | +|**theme** | **String** | | [optional] | + + + diff --git a/docs/SendBirdListBotsResponseBotsInnerFirstMessagesInner.md b/docs/SendBirdListBotsResponseBotsInnerFirstMessagesInner.md new file mode 100644 index 00000000..ea5cc884 --- /dev/null +++ b/docs/SendBirdListBotsResponseBotsInnerFirstMessagesInner.md @@ -0,0 +1,14 @@ + + +# SendBirdListBotsResponseBotsInnerFirstMessagesInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**SendBirdListBotsResponseBotsInnerFirstMessagesInnerData**](SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.md) | | [optional] | +|**message** | **String** | | [optional] | + + + diff --git a/docs/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.md b/docs/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.md new file mode 100644 index 00000000..49d8ba6a --- /dev/null +++ b/docs/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.md @@ -0,0 +1,13 @@ + + +# SendBirdListBotsResponseBotsInnerFirstMessagesInnerData + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**suggestedReplies** | **List<String>** | | [optional] | + + + diff --git a/docs/SendBirdListBotsResponseBotsInnerSafeguard.md b/docs/SendBirdListBotsResponseBotsInnerSafeguard.md new file mode 100644 index 00000000..2b4386d4 --- /dev/null +++ b/docs/SendBirdListBotsResponseBotsInnerSafeguard.md @@ -0,0 +1,16 @@ + + +# SendBirdListBotsResponseBotsInnerSafeguard + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**bannedPhrases** | **List<Object>** | | [optional] | +|**enabled** | **Boolean** | | [optional] | +|**message** | **String** | | [optional] | +|**piiMasking** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdListMessagesResponse.md b/docs/SendBirdListMessagesResponse.md new file mode 100644 index 00000000..99c3e2d7 --- /dev/null +++ b/docs/SendBirdListMessagesResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdListMessagesResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messages** | [**List<SendBirdSendbirdMessageResponse>**](SendBirdSendbirdMessageResponse.md) | | [optional] | + + + diff --git a/docs/SendBirdListMyGroupChannelsResponse.md b/docs/SendBirdListMyGroupChannelsResponse.md new file mode 100644 index 00000000..8ee46bc9 --- /dev/null +++ b/docs/SendBirdListMyGroupChannelsResponse.md @@ -0,0 +1,15 @@ + + +# SendBirdListMyGroupChannelsResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channels** | [**List<SendBirdSendbirdGroupChannel>**](SendBirdSendbirdGroupChannel.md) | | [optional] | +|**next** | **String** | | [optional] | +|**ts** | **Long** | | [optional] | + + + diff --git a/docs/SendBirdListOpenChannelsResponse.md b/docs/SendBirdListOpenChannelsResponse.md new file mode 100644 index 00000000..a6646be2 --- /dev/null +++ b/docs/SendBirdListOpenChannelsResponse.md @@ -0,0 +1,15 @@ + + +# SendBirdListOpenChannelsResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channels** | [**List<SendBirdSendbirdOpenChannel>**](SendBirdSendbirdOpenChannel.md) | | [optional] | +|**next** | **String** | | [optional] | +|**ts** | **Long** | | [optional] | + + + diff --git a/docs/SendBirdListOperatorsResponse.md b/docs/SendBirdListOperatorsResponse.md new file mode 100644 index 00000000..c6ff5992 --- /dev/null +++ b/docs/SendBirdListOperatorsResponse.md @@ -0,0 +1,14 @@ + + +# SendBirdListOperatorsResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**next** | **String** | | [optional] | +|**operators** | [**List<SendBirdSendbirdBasicUserInfo>**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | + + + diff --git a/docs/SendBirdListRegistrationOrDeviceTokensResponse.md b/docs/SendBirdListRegistrationOrDeviceTokensResponse.md new file mode 100644 index 00000000..5c9f1d66 --- /dev/null +++ b/docs/SendBirdListRegistrationOrDeviceTokensResponse.md @@ -0,0 +1,16 @@ + + +# SendBirdListRegistrationOrDeviceTokensResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**token** | **List<String>** | | [optional] | +|**tokens** | **List<String>** | | [optional] | +|**type** | **String** | | [optional] | +|**user** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | + + + diff --git a/docs/SendBirdListUsersResponse.md b/docs/SendBirdListUsersResponse.md new file mode 100644 index 00000000..13b7bb1c --- /dev/null +++ b/docs/SendBirdListUsersResponse.md @@ -0,0 +1,14 @@ + + +# SendBirdListUsersResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**next** | **String** | | [optional] | +|**users** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | + + + diff --git a/docs/SendBirdMarkAllMessagesAsReadRequest.md b/docs/SendBirdMarkAllMessagesAsReadRequest.md new file mode 100644 index 00000000..b52021df --- /dev/null +++ b/docs/SendBirdMarkAllMessagesAsReadRequest.md @@ -0,0 +1,13 @@ + + +# SendBirdMarkAllMessagesAsReadRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channelUrls** | **List<String>** | Specifies an array of one or more group channel URLs where unread messages need to be marked as read. If not specified, unread messages in all group channels a user joined are marked as read. | [optional] | + + + diff --git a/docs/SendBirdMarkChannelMessagesAsReadRequest.md b/docs/SendBirdMarkChannelMessagesAsReadRequest.md new file mode 100644 index 00000000..b046af19 --- /dev/null +++ b/docs/SendBirdMarkChannelMessagesAsReadRequest.md @@ -0,0 +1,13 @@ + + +# SendBirdMarkChannelMessagesAsReadRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**userId** | **String** | | [optional] | + + + diff --git a/docs/SendBirdMigrateMessagesAdminMessageRequest.md b/docs/SendBirdMigrateMessagesAdminMessageRequest.md new file mode 100644 index 00000000..6185741c --- /dev/null +++ b/docs/SendBirdMigrateMessagesAdminMessageRequest.md @@ -0,0 +1,29 @@ + + +# SendBirdMigrateMessagesAdminMessageRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | | | +|**message** | **String** | | | +|**timestamp** | **Long** | | | +|**customType** | **String** | | [optional] | +|**isSilent** | **Boolean** | | [optional] | +|**mentionedUserIds** | **List<String>** | | [optional] | +|**data** | **String** | | [optional] | +|**dedupId** | **String** | | [optional] | +|**sortedMetaarray** | **List<Object>** | | [optional] | + + + +## Enum: MessageTypeEnum + +| Name | Value | +|---- | -----| +| ADMM | "ADMM" | + + + diff --git a/docs/SendBirdMigrateMessagesFileMessageRequest.md b/docs/SendBirdMigrateMessagesFileMessageRequest.md new file mode 100644 index 00000000..c12cf379 --- /dev/null +++ b/docs/SendBirdMigrateMessagesFileMessageRequest.md @@ -0,0 +1,34 @@ + + +# SendBirdMigrateMessagesFileMessageRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**userId** | **String** | | | +|**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | | | +|**url** | **String** | | | +|**timestamp** | **Long** | | | +|**fileName** | **String** | | [optional] | +|**fileSize** | **Integer** | | [optional] | +|**fileType** | **String** | | [optional] | +|**thumbnails** | [**List<SendBirdMigrateMessagesFileMessageRequestThumbnailsInner>**](SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.md) | | [optional] | +|**requireAuth** | **Boolean** | | [optional] | +|**customType** | **String** | | [optional] | +|**customField** | **String** | | [optional] | +|**mentionedUserIds** | **List<String>** | | [optional] | +|**dedupId** | **String** | | [optional] | +|**sortedMetaarray** | **List<Object>** | | [optional] | + + + +## Enum: MessageTypeEnum + +| Name | Value | +|---- | -----| +| FILE | "FILE" | + + + diff --git a/docs/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.md b/docs/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.md new file mode 100644 index 00000000..4fbf59f5 --- /dev/null +++ b/docs/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.md @@ -0,0 +1,37 @@ + + +# SendBirdMigrateMessagesFileMessageRequestThumbnailsInner + +## oneOf schemas +* [Object](Object.md) +* [String](String.md) + +## Example +```java +// Import classes: +import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequestThumbnailsInner; +import org.openapitools.client.model.Object; +import org.openapitools.client.model.String; + +public class Example { + public static void main(String[] args) { + SendBirdMigrateMessagesFileMessageRequestThumbnailsInner exampleSendBirdMigrateMessagesFileMessageRequestThumbnailsInner = new SendBirdMigrateMessagesFileMessageRequestThumbnailsInner(); + + // create a new Object + Object exampleObject = new Object(); + // set SendBirdMigrateMessagesFileMessageRequestThumbnailsInner to Object + exampleSendBirdMigrateMessagesFileMessageRequestThumbnailsInner.setActualInstance(exampleObject); + // to get back the Object set earlier + Object testObject = (Object) exampleSendBirdMigrateMessagesFileMessageRequestThumbnailsInner.getActualInstance(); + + // create a new String + String exampleString = new String(); + // set SendBirdMigrateMessagesFileMessageRequestThumbnailsInner to String + exampleSendBirdMigrateMessagesFileMessageRequestThumbnailsInner.setActualInstance(exampleString); + // to get back the String set earlier + String testString = (String) exampleSendBirdMigrateMessagesFileMessageRequestThumbnailsInner.getActualInstance(); + } +} +``` + + diff --git a/docs/SendBirdMigrateMessagesRequest.md b/docs/SendBirdMigrateMessagesRequest.md new file mode 100644 index 00000000..95160277 --- /dev/null +++ b/docs/SendBirdMigrateMessagesRequest.md @@ -0,0 +1,15 @@ + + +# SendBirdMigrateMessagesRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messages** | [**List<SendBirdMigrateMessagesRequestMessagesInner>**](SendBirdMigrateMessagesRequestMessagesInner.md) | | [optional] | +|**updateReadTs** | **Boolean** | | [optional] | +|**rewindReadTs** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdMigrateMessagesRequestMessagesInner.md b/docs/SendBirdMigrateMessagesRequestMessagesInner.md new file mode 100644 index 00000000..9f332503 --- /dev/null +++ b/docs/SendBirdMigrateMessagesRequestMessagesInner.md @@ -0,0 +1,46 @@ + + +# SendBirdMigrateMessagesRequestMessagesInner + +## oneOf schemas +* [SendBirdMigrateMessagesAdminMessageRequest](SendBirdMigrateMessagesAdminMessageRequest.md) +* [SendBirdMigrateMessagesFileMessageRequest](SendBirdMigrateMessagesFileMessageRequest.md) +* [SendBirdMigrateMessagesTextMessageRequest](SendBirdMigrateMessagesTextMessageRequest.md) + +## Example +```java +// Import classes: +import org.openapitools.client.model.SendBirdMigrateMessagesRequestMessagesInner; +import org.openapitools.client.model.SendBirdMigrateMessagesAdminMessageRequest; +import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequest; +import org.openapitools.client.model.SendBirdMigrateMessagesTextMessageRequest; + +public class Example { + public static void main(String[] args) { + SendBirdMigrateMessagesRequestMessagesInner exampleSendBirdMigrateMessagesRequestMessagesInner = new SendBirdMigrateMessagesRequestMessagesInner(); + + // create a new SendBirdMigrateMessagesAdminMessageRequest + SendBirdMigrateMessagesAdminMessageRequest exampleSendBirdMigrateMessagesAdminMessageRequest = new SendBirdMigrateMessagesAdminMessageRequest(); + // set SendBirdMigrateMessagesRequestMessagesInner to SendBirdMigrateMessagesAdminMessageRequest + exampleSendBirdMigrateMessagesRequestMessagesInner.setActualInstance(exampleSendBirdMigrateMessagesAdminMessageRequest); + // to get back the SendBirdMigrateMessagesAdminMessageRequest set earlier + SendBirdMigrateMessagesAdminMessageRequest testSendBirdMigrateMessagesAdminMessageRequest = (SendBirdMigrateMessagesAdminMessageRequest) exampleSendBirdMigrateMessagesRequestMessagesInner.getActualInstance(); + + // create a new SendBirdMigrateMessagesFileMessageRequest + SendBirdMigrateMessagesFileMessageRequest exampleSendBirdMigrateMessagesFileMessageRequest = new SendBirdMigrateMessagesFileMessageRequest(); + // set SendBirdMigrateMessagesRequestMessagesInner to SendBirdMigrateMessagesFileMessageRequest + exampleSendBirdMigrateMessagesRequestMessagesInner.setActualInstance(exampleSendBirdMigrateMessagesFileMessageRequest); + // to get back the SendBirdMigrateMessagesFileMessageRequest set earlier + SendBirdMigrateMessagesFileMessageRequest testSendBirdMigrateMessagesFileMessageRequest = (SendBirdMigrateMessagesFileMessageRequest) exampleSendBirdMigrateMessagesRequestMessagesInner.getActualInstance(); + + // create a new SendBirdMigrateMessagesTextMessageRequest + SendBirdMigrateMessagesTextMessageRequest exampleSendBirdMigrateMessagesTextMessageRequest = new SendBirdMigrateMessagesTextMessageRequest(); + // set SendBirdMigrateMessagesRequestMessagesInner to SendBirdMigrateMessagesTextMessageRequest + exampleSendBirdMigrateMessagesRequestMessagesInner.setActualInstance(exampleSendBirdMigrateMessagesTextMessageRequest); + // to get back the SendBirdMigrateMessagesTextMessageRequest set earlier + SendBirdMigrateMessagesTextMessageRequest testSendBirdMigrateMessagesTextMessageRequest = (SendBirdMigrateMessagesTextMessageRequest) exampleSendBirdMigrateMessagesRequestMessagesInner.getActualInstance(); + } +} +``` + + diff --git a/docs/SendBirdMigrateMessagesTextMessageRequest.md b/docs/SendBirdMigrateMessagesTextMessageRequest.md new file mode 100644 index 00000000..b382f735 --- /dev/null +++ b/docs/SendBirdMigrateMessagesTextMessageRequest.md @@ -0,0 +1,29 @@ + + +# SendBirdMigrateMessagesTextMessageRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**userId** | **String** | | | +|**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | | | +|**message** | **String** | | | +|**timestamp** | **Long** | | | +|**customType** | **String** | | [optional] | +|**mentionedUserIds** | **List<String>** | | [optional] | +|**data** | **String** | | [optional] | +|**dedupId** | **String** | | [optional] | +|**sortedMetaarray** | **List<Object>** | | [optional] | + + + +## Enum: MessageTypeEnum + +| Name | Value | +|---- | -----| +| MESG | "MESG" | + + + diff --git a/docs/SendBirdRegisterOperatorsToAGroupChannelRequest.md b/docs/SendBirdRegisterOperatorsToAGroupChannelRequest.md new file mode 100644 index 00000000..3cdaf514 --- /dev/null +++ b/docs/SendBirdRegisterOperatorsToAGroupChannelRequest.md @@ -0,0 +1,13 @@ + + +# SendBirdRegisterOperatorsToAGroupChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**operatorIds** | **List<String>** | | | + + + diff --git a/docs/SendBirdRemoveARegistrationOrDeviceTokenResponse.md b/docs/SendBirdRemoveARegistrationOrDeviceTokenResponse.md new file mode 100644 index 00000000..88ed9835 --- /dev/null +++ b/docs/SendBirdRemoveARegistrationOrDeviceTokenResponse.md @@ -0,0 +1,14 @@ + + +# SendBirdRemoveARegistrationOrDeviceTokenResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**token** | **String** | | [optional] | +|**user** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | + + + diff --git a/docs/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md b/docs/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md new file mode 100644 index 00000000..07df6016 --- /dev/null +++ b/docs/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md @@ -0,0 +1,14 @@ + + +# SendBirdRemoveAllRegistrationOrDeviceTokenResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**token** | **List<String>** | | [optional] | +|**user** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | + + + diff --git a/docs/SendBirdResetChatHistoryRequest.md b/docs/SendBirdResetChatHistoryRequest.md new file mode 100644 index 00000000..d3942bd6 --- /dev/null +++ b/docs/SendBirdResetChatHistoryRequest.md @@ -0,0 +1,14 @@ + + +# SendBirdResetChatHistoryRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**resetAll** | **Boolean** | | [optional] | +|**userId** | **String** | | | + + + diff --git a/docs/SendBirdResetChatHistoryResponse.md b/docs/SendBirdResetChatHistoryResponse.md new file mode 100644 index 00000000..badbdd79 --- /dev/null +++ b/docs/SendBirdResetChatHistoryResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdResetChatHistoryResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**tsMessageOffset** | **Long** | The timestamp in Unix milliseconds indicating the point in time that determines when the user can view messages in a specific channel. Messages sent on or before this timestamp can't be viewed by the user. | [optional] | + + + diff --git a/docs/SendBirdScheduleAnAnnouncementRequest.md b/docs/SendBirdScheduleAnAnnouncementRequest.md new file mode 100644 index 00000000..3b54f0b0 --- /dev/null +++ b/docs/SendBirdScheduleAnAnnouncementRequest.md @@ -0,0 +1,30 @@ + + +# SendBirdScheduleAnAnnouncementRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**announcementGroup** | **String** | | [optional] | +|**assignSenderAsChannelInviter** | **Boolean** | | [optional] | +|**ceaseAt** | **String** | | [optional] | +|**createChannel** | **Boolean** | | [optional] | +|**createChannelOptions** | [**SendBirdScheduleAnAnnouncementRequestCreateChannelOptions**](SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.md) | | [optional] | +|**enablePush** | **Boolean** | | [optional] | +|**endAt** | **Long** | | [optional] | +|**keepChannelHiddenForSender** | **Boolean** | | [optional] | +|**markAsRead** | **Boolean** | | [optional] | +|**message** | [**SendBirdScheduleAnAnnouncementRequestMessage**](SendBirdScheduleAnAnnouncementRequestMessage.md) | | [optional] | +|**resumeAt** | **String** | | [optional] | +|**scheduledAt** | **Long** | | [optional] | +|**sendToFrozenChannels** | **Boolean** | | [optional] | +|**targetAt** | **String** | | [optional] | +|**targetChannelType** | **String** | | [optional] | +|**targetCustomType** | **String** | | [optional] | +|**targetList** | **List<String>** | | [optional] | +|**uniqueId** | **String** | | [optional] | + + + diff --git a/docs/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.md b/docs/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.md new file mode 100644 index 00000000..52f87066 --- /dev/null +++ b/docs/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.md @@ -0,0 +1,17 @@ + + +# SendBirdScheduleAnAnnouncementRequestCreateChannelOptions + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**coverUrl** | **String** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**distinct** | **Boolean** | | [optional] | +|**name** | **String** | | [optional] | + + + diff --git a/docs/SendBirdScheduleAnAnnouncementRequestMessage.md b/docs/SendBirdScheduleAnAnnouncementRequestMessage.md new file mode 100644 index 00000000..d9b8b2bf --- /dev/null +++ b/docs/SendBirdScheduleAnAnnouncementRequestMessage.md @@ -0,0 +1,17 @@ + + +# SendBirdScheduleAnAnnouncementRequestMessage + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | **String** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**type** | **String** | | [optional] | +|**userId** | **String** | | [optional] | + + + diff --git a/docs/SendBirdScheduleAnAnnouncementResponse.md b/docs/SendBirdScheduleAnAnnouncementResponse.md new file mode 100644 index 00000000..90278241 --- /dev/null +++ b/docs/SendBirdScheduleAnAnnouncementResponse.md @@ -0,0 +1,36 @@ + + +# SendBirdScheduleAnAnnouncementResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**announcementGroup** | **String** | | [optional] | +|**ceaseAt** | **String** | | [optional] | +|**completedAt** | **Long** | | [optional] | +|**createChannel** | **Boolean** | | [optional] | +|**createChannelOptions** | [**SendBirdScheduleAnAnnouncementRequestCreateChannelOptions**](SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.md) | | [optional] | +|**enablePush** | **Boolean** | | [optional] | +|**endAt** | **Long** | | [optional] | +|**markAsRead** | **Boolean** | | [optional] | +|**message** | [**SendBirdScheduleAnAnnouncementResponseMessage**](SendBirdScheduleAnAnnouncementResponseMessage.md) | | [optional] | +|**openCount** | **Integer** | | [optional] | +|**openRate** | **BigDecimal** | | [optional] | +|**priority** | **String** | | [optional] | +|**resumeAt** | **String** | | [optional] | +|**scheduledAt** | **Long** | | [optional] | +|**sendToFrozenChannels** | **Boolean** | | [optional] | +|**sentChannelCount** | **Integer** | | [optional] | +|**sentUserCount** | **Integer** | | [optional] | +|**status** | **String** | | [optional] | +|**targetAt** | **String** | | [optional] | +|**targetChannelCount** | **Integer** | | [optional] | +|**targetChannelType** | **String** | | [optional] | +|**targetCustomType** | **String** | | [optional] | +|**targetUserCount** | **Integer** | | [optional] | +|**uniqueId** | **String** | | [optional] | + + + diff --git a/docs/SendBirdScheduleAnAnnouncementResponseMessage.md b/docs/SendBirdScheduleAnAnnouncementResponseMessage.md new file mode 100644 index 00000000..10eb3af8 --- /dev/null +++ b/docs/SendBirdScheduleAnAnnouncementResponseMessage.md @@ -0,0 +1,18 @@ + + +# SendBirdScheduleAnAnnouncementResponseMessage + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | **String** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**messageRetentionHour** | **Integer** | | [optional] | +|**type** | **String** | | [optional] | +|**userId** | **String** | | [optional] | + + + diff --git a/docs/SendBirdSendABotMessageResponse.md b/docs/SendBirdSendABotMessageResponse.md new file mode 100644 index 00000000..b7ad71f9 --- /dev/null +++ b/docs/SendBirdSendABotMessageResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdSendABotMessageResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**message** | [**SendBirdSendbirdMessageResponse**](SendBirdSendbirdMessageResponse.md) | | [optional] | + + + diff --git a/docs/SendBirdSendAMessageRequest.md b/docs/SendBirdSendAMessageRequest.md new file mode 100644 index 00000000..bb50ca47 --- /dev/null +++ b/docs/SendBirdSendAMessageRequest.md @@ -0,0 +1,57 @@ + + +# SendBirdSendAMessageRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | | | +|**userId** | **String** | | | +|**message** | **String** | Specifies the content of the message. * This property is required when message_type is MESG or ADMM. | [optional] | +|**pushMessageTemplate** | [**SendBirdSendAMessageRequestPushMessageTemplate**](SendBirdSendAMessageRequestPushMessageTemplate.md) | | [optional] | +|**pollId** | **Integer** | Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG. | [optional] | +|**files** | [**SendBirdSendbirdFile**](SendBirdSendbirdFile.md) | | [optional] | +|**requireAuth** | **Boolean** | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. | [optional] | +|**thumbnail1** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | +|**thumbnail2** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | +|**thumbnail3** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | +|**thumbnails** | **List<String>** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | +|**apnsBundleId** | **String** | | [optional] | +|**appleCriticalAlertOptions** | **Object** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**dedupId** | **String** | | [optional] | +|**includePollDetails** | **Boolean** | | [optional] | +|**isSilent** | **Boolean** | | [optional] | +|**markAsRead** | **Boolean** | | [optional] | +|**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] | +|**mentionedUserIds** | **List<String>** | | [optional] | +|**sendPush** | **Boolean** | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**sound** | **String** | | [optional] | +|**volume** | **BigDecimal** | | [optional] | + + + +## Enum: MessageTypeEnum + +| Name | Value | +|---- | -----| +| MESG | "MESG" | +| ADMM | "ADMM" | +| FILE | "FILE" | + + + +## Enum: MentionTypeEnum + +| Name | Value | +|---- | -----| +| USERS | "users" | +| CHANNEL | "channel" | + + + diff --git a/docs/SendBirdSendAMessageRequestPushMessageTemplate.md b/docs/SendBirdSendAMessageRequestPushMessageTemplate.md new file mode 100644 index 00000000..71f4e7ee --- /dev/null +++ b/docs/SendBirdSendAMessageRequestPushMessageTemplate.md @@ -0,0 +1,39 @@ + + +# SendBirdSendAMessageRequestPushMessageTemplate + +Specifies the content of a push notification customized for the message. This property only applies to group channels. To choose from a push notification content template within your Sendbird application, specify a string value of default or alternative. To create a new push notification content tailored to the message being sent, use the properties listed below to specify its title and body in a nested object format. * This property overrides the application's default push notification content template or the preference chosen by the user. * This property is available when message_type is MESG or ADMM. + +## oneOf schemas +* [SendBirdSendAMessageRequestPushMessageTemplateOneOf](SendBirdSendAMessageRequestPushMessageTemplateOneOf.md) +* [String](String.md) + +## Example +```java +// Import classes: +import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplate; +import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplateOneOf; +import org.openapitools.client.model.String; + +public class Example { + public static void main(String[] args) { + SendBirdSendAMessageRequestPushMessageTemplate exampleSendBirdSendAMessageRequestPushMessageTemplate = new SendBirdSendAMessageRequestPushMessageTemplate(); + + // create a new SendBirdSendAMessageRequestPushMessageTemplateOneOf + SendBirdSendAMessageRequestPushMessageTemplateOneOf exampleSendBirdSendAMessageRequestPushMessageTemplateOneOf = new SendBirdSendAMessageRequestPushMessageTemplateOneOf(); + // set SendBirdSendAMessageRequestPushMessageTemplate to SendBirdSendAMessageRequestPushMessageTemplateOneOf + exampleSendBirdSendAMessageRequestPushMessageTemplate.setActualInstance(exampleSendBirdSendAMessageRequestPushMessageTemplateOneOf); + // to get back the SendBirdSendAMessageRequestPushMessageTemplateOneOf set earlier + SendBirdSendAMessageRequestPushMessageTemplateOneOf testSendBirdSendAMessageRequestPushMessageTemplateOneOf = (SendBirdSendAMessageRequestPushMessageTemplateOneOf) exampleSendBirdSendAMessageRequestPushMessageTemplate.getActualInstance(); + + // create a new String + String exampleString = new String(); + // set SendBirdSendAMessageRequestPushMessageTemplate to String + exampleSendBirdSendAMessageRequestPushMessageTemplate.setActualInstance(exampleString); + // to get back the String set earlier + String testString = (String) exampleSendBirdSendAMessageRequestPushMessageTemplate.getActualInstance(); + } +} +``` + + diff --git a/docs/SendBirdSendAMessageRequestPushMessageTemplateOneOf.md b/docs/SendBirdSendAMessageRequestPushMessageTemplateOneOf.md new file mode 100644 index 00000000..c01c252a --- /dev/null +++ b/docs/SendBirdSendAMessageRequestPushMessageTemplateOneOf.md @@ -0,0 +1,14 @@ + + +# SendBirdSendAMessageRequestPushMessageTemplateOneOf + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**title** | **String** | Specifies the title of the custom push notification template. You can customize the title using the variables sender_name and message, which can be later replaced with corresponding real values when the template is sent out as a notification request to FCM, HMS, or APNs. | [optional] | +|**body** | **String** | Specifies the body of the custom push notification template. You can customize the body using the variables sender_name and message, which can be later replaced with corresponding real values when the template is sent out as a notification request to FCM, HMS, or APNs. If not specified, the body by default contains the message content inside the message property. | [optional] | + + + diff --git a/docs/SendBirdSendAdminMessageRequestBody.md b/docs/SendBirdSendAdminMessageRequestBody.md new file mode 100644 index 00000000..a65db806 --- /dev/null +++ b/docs/SendBirdSendAdminMessageRequestBody.md @@ -0,0 +1,41 @@ + + +# SendBirdSendAdminMessageRequestBody + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apnsBundleId** | **String** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**dedupId** | **String** | | [optional] | +|**isSilent** | **Boolean** | | [optional] | +|**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] | +|**mentionedUserIds** | **List<String>** | | [optional] | +|**message** | **String** | | | +|**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | Specifies the type of the message. The value of ADMM represents an admin message. | | +|**pushMessageTemplate** | [**SendBirdSendTextMessageRequestBodyPushMessageTemplate**](SendBirdSendTextMessageRequestBodyPushMessageTemplate.md) | | [optional] | +|**sendPush** | **Boolean** | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | + + + +## Enum: MentionTypeEnum + +| Name | Value | +|---- | -----| +| USERS | "users" | +| CHANNEL | "channel" | + + + +## Enum: MessageTypeEnum + +| Name | Value | +|---- | -----| +| ADMM | "ADMM" | + + + diff --git a/docs/SendBirdSendFileMessageRequestBody.md b/docs/SendBirdSendFileMessageRequestBody.md new file mode 100644 index 00000000..35c35d4a --- /dev/null +++ b/docs/SendBirdSendFileMessageRequestBody.md @@ -0,0 +1,50 @@ + + +# SendBirdSendFileMessageRequestBody + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apnsBundleId** | **String** | | [optional] | +|**appleCriticalAlertOptions** | **Object** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**dedupId** | **String** | | [optional] | +|**files** | [**SendBirdSendbirdFile**](SendBirdSendbirdFile.md) | | | +|**isSilent** | **Boolean** | | [optional] | +|**markAsRead** | **Boolean** | | [optional] | +|**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] | +|**mentionedUserIds** | **List<String>** | | [optional] | +|**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | Specifies the type of the message. The value of FILE represents a file message. | | +|**requireAuth** | **Boolean** | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. | [optional] | +|**sendPush** | **Boolean** | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**sound** | **String** | | [optional] | +|**thumbnail1** | **String** | | [optional] | +|**thumbnail2** | **String** | | [optional] | +|**thumbnail3** | **String** | | [optional] | +|**thumbnails** | **List<String>** | | [optional] | +|**volume** | **BigDecimal** | | [optional] | + + + +## Enum: MentionTypeEnum + +| Name | Value | +|---- | -----| +| USERS | "users" | +| CHANNEL | "channel" | + + + +## Enum: MessageTypeEnum + +| Name | Value | +|---- | -----| +| FILE | "FILE" | + + + diff --git a/docs/SendBirdSendTextMessageRequestBody.md b/docs/SendBirdSendTextMessageRequestBody.md new file mode 100644 index 00000000..f9ff9416 --- /dev/null +++ b/docs/SendBirdSendTextMessageRequestBody.md @@ -0,0 +1,48 @@ + + +# SendBirdSendTextMessageRequestBody + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apnsBundleId** | **String** | | [optional] | +|**appleCriticalAlertOptions** | **Object** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**dedupId** | **String** | | [optional] | +|**includePollDetails** | **Boolean** | | [optional] | +|**isSilent** | **Boolean** | | [optional] | +|**markAsRead** | **Boolean** | | [optional] | +|**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] | +|**mentionedUserIds** | **List<String>** | | [optional] | +|**message** | **String** | | | +|**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | Specifies the type of the message. The value of MESG represents a text message. | | +|**pollId** | **Integer** | | [optional] | +|**pushMessageTemplate** | [**SendBirdSendTextMessageRequestBodyPushMessageTemplate**](SendBirdSendTextMessageRequestBodyPushMessageTemplate.md) | | [optional] | +|**sendPush** | **Boolean** | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**sound** | **String** | | [optional] | +|**volume** | **BigDecimal** | | [optional] | + + + +## Enum: MentionTypeEnum + +| Name | Value | +|---- | -----| +| USERS | "users" | +| CHANNEL | "channel" | + + + +## Enum: MessageTypeEnum + +| Name | Value | +|---- | -----| +| MESG | "MESG" | + + + diff --git a/docs/SendBirdSendTextMessageRequestBodyPushMessageTemplate.md b/docs/SendBirdSendTextMessageRequestBodyPushMessageTemplate.md new file mode 100644 index 00000000..04ead51c --- /dev/null +++ b/docs/SendBirdSendTextMessageRequestBodyPushMessageTemplate.md @@ -0,0 +1,39 @@ + + +# SendBirdSendTextMessageRequestBodyPushMessageTemplate + +Specifies the content of a push notification customized for the message. This property only applies to group channels. To choose from a push notification content template within your Sendbird application, specify a string value of default or alternative. To create a new push notification content tailored to the message being sent, use the properties listed below to specify its title and body in a nested object format. * This property overrides the application's default push notification content template or the preference chosen by the user. + +## oneOf schemas +* [SendBirdSendAMessageRequestPushMessageTemplateOneOf](SendBirdSendAMessageRequestPushMessageTemplateOneOf.md) +* [String](String.md) + +## Example +```java +// Import classes: +import org.openapitools.client.model.SendBirdSendTextMessageRequestBodyPushMessageTemplate; +import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplateOneOf; +import org.openapitools.client.model.String; + +public class Example { + public static void main(String[] args) { + SendBirdSendTextMessageRequestBodyPushMessageTemplate exampleSendBirdSendTextMessageRequestBodyPushMessageTemplate = new SendBirdSendTextMessageRequestBodyPushMessageTemplate(); + + // create a new SendBirdSendAMessageRequestPushMessageTemplateOneOf + SendBirdSendAMessageRequestPushMessageTemplateOneOf exampleSendBirdSendAMessageRequestPushMessageTemplateOneOf = new SendBirdSendAMessageRequestPushMessageTemplateOneOf(); + // set SendBirdSendTextMessageRequestBodyPushMessageTemplate to SendBirdSendAMessageRequestPushMessageTemplateOneOf + exampleSendBirdSendTextMessageRequestBodyPushMessageTemplate.setActualInstance(exampleSendBirdSendAMessageRequestPushMessageTemplateOneOf); + // to get back the SendBirdSendAMessageRequestPushMessageTemplateOneOf set earlier + SendBirdSendAMessageRequestPushMessageTemplateOneOf testSendBirdSendAMessageRequestPushMessageTemplateOneOf = (SendBirdSendAMessageRequestPushMessageTemplateOneOf) exampleSendBirdSendTextMessageRequestBodyPushMessageTemplate.getActualInstance(); + + // create a new String + String exampleString = new String(); + // set SendBirdSendTextMessageRequestBodyPushMessageTemplate to String + exampleSendBirdSendTextMessageRequestBodyPushMessageTemplate.setActualInstance(exampleString); + // to get back the String set earlier + String testString = (String) exampleSendBirdSendTextMessageRequestBodyPushMessageTemplate.getActualInstance(); + } +} +``` + + diff --git a/docs/SendBirdSendbirdBasicUserInfo.md b/docs/SendBirdSendbirdBasicUserInfo.md new file mode 100644 index 00000000..91d6dfc5 --- /dev/null +++ b/docs/SendBirdSendbirdBasicUserInfo.md @@ -0,0 +1,30 @@ + + +# SendBirdSendbirdBasicUserInfo + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**requireAuthForProfileImage** | **Boolean** | | [optional] | +|**isActive** | **Boolean** | | [optional] | +|**isBlockedByMe** | **Boolean** | | [optional] | +|**role** | [**RoleEnum**](#RoleEnum) | | [optional] | +|**nickname** | **String** | | [optional] | +|**userId** | **String** | | | +|**profileUrl** | **String** | | [optional] | +|**metadata** | **Object** | | [optional] | + + + +## Enum: RoleEnum + +| Name | Value | +|---- | -----| +| EMPTY | "" | +| NONE | "none" | +| OPERATOR | "operator" | + + + diff --git a/docs/SendBirdSendbirdDisappearingMessage.md b/docs/SendBirdSendbirdDisappearingMessage.md new file mode 100644 index 00000000..caf9922e --- /dev/null +++ b/docs/SendBirdSendbirdDisappearingMessage.md @@ -0,0 +1,14 @@ + + +# SendBirdSendbirdDisappearingMessage + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageSurvivalSeconds** | **Integer** | | [optional] | +|**isTriggeredByMessageRead** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdSendbirdExtendedMessagePayload.md b/docs/SendBirdSendbirdExtendedMessagePayload.md new file mode 100644 index 00000000..6e604b33 --- /dev/null +++ b/docs/SendBirdSendbirdExtendedMessagePayload.md @@ -0,0 +1,15 @@ + + +# SendBirdSendbirdExtendedMessagePayload + +Specifies the extended message payload which is used to send a message with a custom message type. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**customView** | **Object** | JSON format you want to embed in message, eq : {\"title\": \"title\", \"image\": \"https://link.to/image.jpg\"} | [optional] | +|**suggestedReplies** | **List<String>** | Specifies an array of suggested replies to be sent with the message. | [optional] | + + + diff --git a/docs/SendBirdSendbirdFile.md b/docs/SendBirdSendbirdFile.md new file mode 100644 index 00000000..3ef78b0d --- /dev/null +++ b/docs/SendBirdSendbirdFile.md @@ -0,0 +1,18 @@ + + +# SendBirdSendbirdFile + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**url** | **String** | | [optional] | +|**fileName** | **String** | | [optional] | +|**fileSize** | **Integer** | | [optional] | +|**fileType** | **String** | | [optional] | +|**thumbnails** | [**List<SendBirdSendbirdThumbnail>**](SendBirdSendbirdThumbnail.md) | | [optional] | +|**requireAuth** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdSendbirdGroupChannel.md b/docs/SendBirdSendbirdGroupChannel.md new file mode 100644 index 00000000..1a2e1729 --- /dev/null +++ b/docs/SendBirdSendbirdGroupChannel.md @@ -0,0 +1,98 @@ + + +# SendBirdSendbirdGroupChannel + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channelUrl** | **String** | | | +|**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | +|**coverUrl** | **String** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**createdBy** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**deliveryReceipt** | **Object** | | [optional] | +|**disappearingMessage** | [**SendBirdSendbirdDisappearingMessage**](SendBirdSendbirdDisappearingMessage.md) | | [optional] | +|**freeze** | **Boolean** | | [optional] | +|**hasAiBot** | **Boolean** | | [optional] | +|**hasBot** | **Boolean** | | [optional] | +|**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | +|**ignoreProfanityFilter** | **Boolean** | | [optional] | +|**invitedAt** | **Long** | | [optional] | +|**inviter** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**isAccessCodeRequired** | **Boolean** | | [optional] | +|**isBroadcast** | **Boolean** | | [optional] | +|**isDiscoverable** | **Boolean** | | [optional] | +|**isDistinct** | **Boolean** | | [optional] | +|**isEphemeral** | **Boolean** | | [optional] | +|**isExclusive** | **Boolean** | | [optional] | +|**isHidden** | **Boolean** | | [optional] | +|**isMuted** | **Boolean** | | [optional] | +|**isPublic** | **Boolean** | | [optional] | +|**isPushEnabled** | **Boolean** | | [optional] | +|**isSuper** | **Boolean** | | [optional] | +|**joinedMemberCount** | **Integer** | | [optional] | +|**joinedTs** | **Long** | | [optional] | +|**lastMessage** | [**SendBirdSendbirdGroupChannelLastMessage**](SendBirdSendbirdGroupChannelLastMessage.md) | | [optional] | +|**maxLengthMessage** | **Integer** | | [optional] | +|**memberCount** | **Integer** | | [optional] | +|**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | +|**members** | [**List<SendBirdSendbirdMember>**](SendBirdSendbirdMember.md) | | [optional] | +|**messageSurvivalSeconds** | **Integer** | | [optional] | +|**metadata** | **Object** | | [optional] | +|**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | +|**name** | **String** | | [optional] | +|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**readReceipt** | **Map<String, Long>** | | [optional] | +|**smsFallback** | [**SendBirdSendbirdSmsFallback**](SendBirdSendbirdSmsFallback.md) | | [optional] | +|**tsMessageOffset** | **Long** | | [optional] | +|**unreadMentionCount** | **Integer** | | [optional] | +|**unreadMessageCount** | **Integer** | | [optional] | +|**userLastRead** | **Long** | | [optional] | + + + +## Enum: CountPreferenceEnum + +| Name | Value | +|---- | -----| +| FALSE | "false" | +| ALL | "all" | +| UNREAD_MESSAGE_COUNT_ONLY | "unread_message_count_only" | +| UNREAD_MENTIONED_COUNT_ONLY | "unread_mentioned_count_only" | + + + +## Enum: HiddenStateEnum + +| Name | Value | +|---- | -----| +| HIDDEN_ALLOW_AUTO_UNHIDE | "hidden_allow_auto_unhide" | +| HIDDEN_PREVENT_AUTO_UNHIDE | "hidden_prevent_auto_unhide" | +| UNHIDDEN | "unhidden" | + + + +## Enum: MemberStateEnum + +| Name | Value | +|---- | -----| +| INVITED | "invited" | +| JOINED | "joined" | +| NONE | "none" | + + + +## Enum: MyRoleEnum + +| Name | Value | +|---- | -----| +| EMPTY | "" | +| NONE | "none" | +| OPERATOR | "operator" | + + + diff --git a/docs/SendBirdSendbirdGroupChannelDetail.md b/docs/SendBirdSendbirdGroupChannelDetail.md new file mode 100644 index 00000000..539d4923 --- /dev/null +++ b/docs/SendBirdSendbirdGroupChannelDetail.md @@ -0,0 +1,45 @@ + + +# SendBirdSendbirdGroupChannelDetail + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channel** | [**SendBirdSendbirdGroupChannelDetailChannel**](SendBirdSendbirdGroupChannelDetailChannel.md) | | [optional] | +|**channelUrl** | **String** | | | +|**coverUrl** | **String** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**createdBy** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**deliveryReceipt** | **Map<String, Long>** | | [optional] | +|**disappearingMessage** | [**SendBirdSendbirdDisappearingMessage**](SendBirdSendbirdDisappearingMessage.md) | | [optional] | +|**freeze** | **Boolean** | | [optional] | +|**hasAiBot** | **Boolean** | | [optional] | +|**hasBot** | **Boolean** | | [optional] | +|**id** | **Integer** | | [optional] | +|**ignoreProfanityFilter** | **Boolean** | | [optional] | +|**isAccessCodeRequired** | **Boolean** | | [optional] | +|**isBroadcast** | **Boolean** | | [optional] | +|**isDiscoverable** | **Boolean** | | [optional] | +|**isDistinct** | **Boolean** | | [optional] | +|**isEphemeral** | **Boolean** | | [optional] | +|**isPublic** | **Boolean** | | [optional] | +|**isSuper** | **Boolean** | | [optional] | +|**joinedMemberCount** | **Integer** | | [optional] | +|**lastMessage** | [**SendBirdSendbirdMessageResponse**](SendBirdSendbirdMessageResponse.md) | | [optional] | +|**maxLengthMessage** | **Integer** | | [optional] | +|**memberCount** | **Integer** | | [optional] | +|**members** | [**List<SendBirdSendbirdMember>**](SendBirdSendbirdMember.md) | | [optional] | +|**messageSurvivalSeconds** | **Integer** | | [optional] | +|**name** | **String** | | [optional] | +|**operators** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | +|**readReceipt** | **Map<String, Long>** | | [optional] | +|**smsFallback** | [**SendBirdSendbirdSmsFallback**](SendBirdSendbirdSmsFallback.md) | | [optional] | +|**unreadMentionCount** | **Integer** | | [optional] | +|**unreadMessageCount** | **Integer** | | [optional] | + + + diff --git a/docs/SendBirdSendbirdGroupChannelDetailChannel.md b/docs/SendBirdSendbirdGroupChannelDetailChannel.md new file mode 100644 index 00000000..3bf3ab33 --- /dev/null +++ b/docs/SendBirdSendbirdGroupChannelDetailChannel.md @@ -0,0 +1,20 @@ + + +# SendBirdSendbirdGroupChannelDetailChannel + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channelUrl** | **String** | | [optional] | +|**coverUrl** | **String** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**maxLengthMessage** | **Integer** | | [optional] | +|**memberCount** | **Integer** | | [optional] | +|**name** | **String** | | [optional] | + + + diff --git a/docs/SendBirdSendbirdGroupChannelLastMessage.md b/docs/SendBirdSendbirdGroupChannelLastMessage.md new file mode 100644 index 00000000..aa0e6c63 --- /dev/null +++ b/docs/SendBirdSendbirdGroupChannelLastMessage.md @@ -0,0 +1,28 @@ + + +# SendBirdSendbirdGroupChannelLastMessage + +## oneOf schemas +* [SendBirdSendbirdMessageResponse](SendBirdSendbirdMessageResponse.md) + +## Example +```java +// Import classes: +import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdSendbirdMessageResponse; + +public class Example { + public static void main(String[] args) { + SendBirdSendbirdGroupChannelLastMessage exampleSendBirdSendbirdGroupChannelLastMessage = new SendBirdSendbirdGroupChannelLastMessage(); + + // create a new SendBirdSendbirdMessageResponse + SendBirdSendbirdMessageResponse exampleSendBirdSendbirdMessageResponse = new SendBirdSendbirdMessageResponse(); + // set SendBirdSendbirdGroupChannelLastMessage to SendBirdSendbirdMessageResponse + exampleSendBirdSendbirdGroupChannelLastMessage.setActualInstance(exampleSendBirdSendbirdMessageResponse); + // to get back the SendBirdSendbirdMessageResponse set earlier + SendBirdSendbirdMessageResponse testSendBirdSendbirdMessageResponse = (SendBirdSendbirdMessageResponse) exampleSendBirdSendbirdGroupChannelLastMessage.getActualInstance(); + } +} +``` + + diff --git a/docs/SendBirdSendbirdMember.md b/docs/SendBirdSendbirdMember.md new file mode 100644 index 00000000..1cf92130 --- /dev/null +++ b/docs/SendBirdSendbirdMember.md @@ -0,0 +1,54 @@ + + +# SendBirdSendbirdMember + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**deliveredTs** | **Long** | | [optional] | +|**doNotDisturb** | **Boolean** | | [optional] | +|**friendDiscoveryKey** | **List<String>** | | [optional] | +|**friendName** | **String** | | [optional] | +|**isActive** | **Boolean** | | [optional] | +|**isBlockedByMe** | **Boolean** | | [optional] | +|**isBlockingMe** | **Boolean** | | [optional] | +|**isMuted** | **Boolean** | | [optional] | +|**isOnline** | **Boolean** | | [optional] | +|**lastSeenAt** | **Long** | | [optional] | +|**metadata** | **Object** | | [optional] | +|**mutedDescription** | **String** | | [optional] | +|**mutedEndAt** | **Long** | | [optional] | +|**nickname** | **String** | | [optional] | +|**pushEnabled** | **Boolean** | | [optional] | +|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**profileUrl** | **String** | | [optional] | +|**requireAuthForProfileImage** | **Boolean** | | [optional] | +|**readTs** | **Long** | | [optional] | +|**role** | [**RoleEnum**](#RoleEnum) | | [optional] | +|**state** | [**StateEnum**](#StateEnum) | | [optional] | +|**userId** | **String** | | | + + + +## Enum: RoleEnum + +| Name | Value | +|---- | -----| +| EMPTY | "" | +| NONE | "none" | +| OPERATOR | "operator" | + + + +## Enum: StateEnum + +| Name | Value | +|---- | -----| +| EMPTY | "" | +| INVITED | "invited" | +| JOINED | "joined" | + + + diff --git a/docs/SendBirdSendbirdMessageResponse.md b/docs/SendBirdSendbirdMessageResponse.md new file mode 100644 index 00000000..c5b58730 --- /dev/null +++ b/docs/SendBirdSendbirdMessageResponse.md @@ -0,0 +1,42 @@ + + +# SendBirdSendbirdMessageResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**requireAuth** | **Boolean** | | [optional] | +|**messageSurvivalSeconds** | **Integer** | | [optional] | +|**customType** | **String** | | [optional] | +|**mentionedUsers** | [**List<SendBirdSendbirdBasicUserInfo>**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**translations** | **Object** | | [optional] | +|**updatedAt** | **Long** | | [optional] | +|**isOpMsg** | **Boolean** | | [optional] | +|**reactions** | [**List<SendBirdSendbirdReaction>**](SendBirdSendbirdReaction.md) | | [optional] | +|**isRemoved** | **Boolean** | | [optional] | +|**user** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**_file** | **Object** | | [optional] | +|**files** | [**List<SendBirdSendbirdFile>**](SendBirdSendbirdFile.md) | | [optional] | +|**message** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**messageRetentionHour** | **Integer** | | [optional] | +|**silent** | **Boolean** | | [optional] | +|**type** | **String** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**channelType** | **String** | | [optional] | +|**reqId** | **String** | | [optional] | +|**mentionType** | **String** | | [optional] | +|**channelUrl** | **String** | | [optional] | +|**messageId** | **Long** | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**threadInfo** | **Object** | | [optional] | +|**parentMessageId** | **Integer** | | [optional] | +|**parentMessageInfo** | [**SendBirdSendbirdParentMessageInfo**](SendBirdSendbirdParentMessageInfo.md) | | [optional] | +|**isReplyToChannel** | **Boolean** | | [optional] | +|**messageEvents** | [**SendBirdSendbirdMessageResponseMessageEvents**](SendBirdSendbirdMessageResponseMessageEvents.md) | | [optional] | +|**extendedMessagePayload** | [**SendBirdSendbirdMessageResponseExtendedMessagePayload**](SendBirdSendbirdMessageResponseExtendedMessagePayload.md) | | [optional] | + + + diff --git a/docs/SendBirdSendbirdMessageResponseExtendedMessagePayload.md b/docs/SendBirdSendbirdMessageResponseExtendedMessagePayload.md new file mode 100644 index 00000000..e41c0ef8 --- /dev/null +++ b/docs/SendBirdSendbirdMessageResponseExtendedMessagePayload.md @@ -0,0 +1,28 @@ + + +# SendBirdSendbirdMessageResponseExtendedMessagePayload + +## oneOf schemas +* [SendBirdSendbirdExtendedMessagePayload](SendBirdSendbirdExtendedMessagePayload.md) + +## Example +```java +// Import classes: +import org.openapitools.client.model.SendBirdSendbirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendbirdExtendedMessagePayload; + +public class Example { + public static void main(String[] args) { + SendBirdSendbirdMessageResponseExtendedMessagePayload exampleSendBirdSendbirdMessageResponseExtendedMessagePayload = new SendBirdSendbirdMessageResponseExtendedMessagePayload(); + + // create a new SendBirdSendbirdExtendedMessagePayload + SendBirdSendbirdExtendedMessagePayload exampleSendBirdSendbirdExtendedMessagePayload = new SendBirdSendbirdExtendedMessagePayload(); + // set SendBirdSendbirdMessageResponseExtendedMessagePayload to SendBirdSendbirdExtendedMessagePayload + exampleSendBirdSendbirdMessageResponseExtendedMessagePayload.setActualInstance(exampleSendBirdSendbirdExtendedMessagePayload); + // to get back the SendBirdSendbirdExtendedMessagePayload set earlier + SendBirdSendbirdExtendedMessagePayload testSendBirdSendbirdExtendedMessagePayload = (SendBirdSendbirdExtendedMessagePayload) exampleSendBirdSendbirdMessageResponseExtendedMessagePayload.getActualInstance(); + } +} +``` + + diff --git a/docs/SendBirdSendbirdMessageResponseMessageEvents.md b/docs/SendBirdSendbirdMessageResponseMessageEvents.md new file mode 100644 index 00000000..6c36911c --- /dev/null +++ b/docs/SendBirdSendbirdMessageResponseMessageEvents.md @@ -0,0 +1,16 @@ + + +# SendBirdSendbirdMessageResponseMessageEvents + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**sendPushNotification** | **String** | | [optional] | +|**updateUnreadCount** | **Boolean** | | [optional] | +|**updateMentionCount** | **Boolean** | | [optional] | +|**updateLastMessage** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdSendbirdOpenChannel.md b/docs/SendBirdSendbirdOpenChannel.md new file mode 100644 index 00000000..477a4c0c --- /dev/null +++ b/docs/SendBirdSendbirdOpenChannel.md @@ -0,0 +1,25 @@ + + +# SendBirdSendbirdOpenChannel + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**channelUrl** | **String** | | | +|**coverUrl** | **String** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**freeze** | **Boolean** | | [optional] | +|**isDynamicPartitioned** | **Boolean** | | [optional] | +|**isEphemeral** | **Boolean** | | [optional] | +|**maxLengthMessage** | **Integer** | | [optional] | +|**name** | **String** | | [optional] | +|**operators** | [**List<SendBirdSendbirdBasicUserInfo>**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**participantCount** | **Integer** | | [optional] | +|**metadata** | **Object** | | [optional] | + + + diff --git a/docs/SendBirdSendbirdParentMessageInfo.md b/docs/SendBirdSendbirdParentMessageInfo.md new file mode 100644 index 00000000..362861dd --- /dev/null +++ b/docs/SendBirdSendbirdParentMessageInfo.md @@ -0,0 +1,19 @@ + + +# SendBirdSendbirdParentMessageInfo + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**customType** | **String** | | [optional] | +|**message** | **String** | | [optional] | +|**type** | **String** | | [optional] | +|**ts** | **Long** | | [optional] | +|**user** | [**SendBirdSendbirdUser**](SendBirdSendbirdUser.md) | | [optional] | +|**_file** | [**SendBirdSendbirdFile**](SendBirdSendbirdFile.md) | | [optional] | +|**files** | [**List<SendBirdSendbirdFile>**](SendBirdSendbirdFile.md) | | [optional] | + + + diff --git a/docs/SendBirdSendbirdPushTriggerOption.md b/docs/SendBirdSendbirdPushTriggerOption.md new file mode 100644 index 00000000..4c7766ef --- /dev/null +++ b/docs/SendBirdSendbirdPushTriggerOption.md @@ -0,0 +1,15 @@ + + +# SendBirdSendbirdPushTriggerOption + +## Enum + + +* `ALL` (value: `"all"`) + +* `MENTION_ONLY` (value: `"mention_only"`) + +* `OFF` (value: `"off"`) + + + diff --git a/docs/SendBirdSendbirdReaction.md b/docs/SendBirdSendbirdReaction.md new file mode 100644 index 00000000..af8439cd --- /dev/null +++ b/docs/SendBirdSendbirdReaction.md @@ -0,0 +1,15 @@ + + +# SendBirdSendbirdReaction + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**key** | **String** | | [optional] | +|**updatedAt** | **Long** | | [optional] | +|**userIds** | **List<String>** | | [optional] | + + + diff --git a/docs/SendBirdSendbirdSmsFallback.md b/docs/SendBirdSendbirdSmsFallback.md new file mode 100644 index 00000000..1a5afee2 --- /dev/null +++ b/docs/SendBirdSendbirdSmsFallback.md @@ -0,0 +1,14 @@ + + +# SendBirdSendbirdSmsFallback + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**waitSeconds** | **Integer** | | [optional] | +|**excludeUserIds** | **List<String>** | | [optional] | + + + diff --git a/docs/SendBirdSendbirdSortedMetaarrayInner.md b/docs/SendBirdSendbirdSortedMetaarrayInner.md new file mode 100644 index 00000000..931cc1f9 --- /dev/null +++ b/docs/SendBirdSendbirdSortedMetaarrayInner.md @@ -0,0 +1,14 @@ + + +# SendBirdSendbirdSortedMetaarrayInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**key** | **String** | | [optional] | +|**value** | **List<String>** | | [optional] | + + + diff --git a/docs/SendBirdSendbirdThumbnail.md b/docs/SendBirdSendbirdThumbnail.md new file mode 100644 index 00000000..a091853a --- /dev/null +++ b/docs/SendBirdSendbirdThumbnail.md @@ -0,0 +1,18 @@ + + +# SendBirdSendbirdThumbnail + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**height** | **Integer** | | [optional] | +|**plainUrl** | **String** | | [optional] | +|**realHeight** | **Integer** | | [optional] | +|**realWidth** | **Integer** | | [optional] | +|**url** | **String** | | [optional] | +|**width** | **Integer** | | [optional] | + + + diff --git a/docs/SendBirdSendbirdUser.md b/docs/SendBirdSendbirdUser.md new file mode 100644 index 00000000..5f9d7a58 --- /dev/null +++ b/docs/SendBirdSendbirdUser.md @@ -0,0 +1,44 @@ + + +# SendBirdSendbirdUser + +User + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**accessToken** | **String** | | [optional] | +|**createdAt** | **Long** | | [optional] | +|**discoveryKeys** | **List<String>** | | [optional] | +|**hasEverLoggedIn** | **Boolean** | | [optional] | +|**isActive** | **Boolean** | | [optional] | +|**isHideMeFromFriends** | **Boolean** | | [optional] | +|**isOnline** | **Boolean** | | [optional] | +|**isShadowBlocked** | **Boolean** | | [optional] | +|**lastSeenAt** | **Long** | | [optional] | +|**locale** | **String** | | [optional] | +|**metadata** | **Object** | | [optional] | +|**nickname** | **String** | | [optional] | +|**preferredLanguages** | **List<String>** | | [optional] | +|**profileUrl** | **String** | | [optional] | +|**requireAuthForProfileImage** | **Boolean** | | [optional] | +|**userId** | **String** | | | +|**state** | [**StateEnum**](#StateEnum) | | [optional] | +|**unreadChannelCount** | **Integer** | | [optional] | +|**unreadMessageCount** | **Integer** | | [optional] | +|**phoneNumber** | **String** | | [optional] | +|**isCreated** | **Boolean** | | [optional] | + + + +## Enum: StateEnum + +| Name | Value | +|---- | -----| +| EMPTY | "" | +| INVITED | "invited" | +| JOINED | "joined" | + + + diff --git a/docs/SendBirdStartTypingIndicatorsRequest.md b/docs/SendBirdStartTypingIndicatorsRequest.md new file mode 100644 index 00000000..c4508cdf --- /dev/null +++ b/docs/SendBirdStartTypingIndicatorsRequest.md @@ -0,0 +1,13 @@ + + +# SendBirdStartTypingIndicatorsRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**userIds** | **List<String>** | | | + + + diff --git a/docs/SendBirdUpdateAChannelMetadataRequest.md b/docs/SendBirdUpdateAChannelMetadataRequest.md new file mode 100644 index 00000000..a054fe45 --- /dev/null +++ b/docs/SendBirdUpdateAChannelMetadataRequest.md @@ -0,0 +1,14 @@ + + +# SendBirdUpdateAChannelMetadataRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**metadata** | **Object** | | | +|**upsert** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdUpdateAGroupChannelRequest.md b/docs/SendBirdUpdateAGroupChannelRequest.md new file mode 100644 index 00000000..9ad47bcf --- /dev/null +++ b/docs/SendBirdUpdateAGroupChannelRequest.md @@ -0,0 +1,22 @@ + + +# SendBirdUpdateAGroupChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**accessCode** | **String** | | [optional] | +|**coverFile** | **File** | | [optional] | +|**coverUrl** | **String** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**isDistinct** | **Boolean** | | [optional] | +|**isPublic** | **Boolean** | | [optional] | +|**isSuper** | **Boolean** | | [optional] | +|**name** | **String** | | [optional] | +|**operatorIds** | **List<String>** | | [optional] | + + + diff --git a/docs/SendBirdUpdateAMessageRequest.md b/docs/SendBirdUpdateAMessageRequest.md new file mode 100644 index 00000000..1425232b --- /dev/null +++ b/docs/SendBirdUpdateAMessageRequest.md @@ -0,0 +1,29 @@ + + +# SendBirdUpdateAMessageRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**mentionType** | **String** | | [optional] | +|**mentionedUserIds** | **List<String>** | | [optional] | +|**message** | **String** | | [optional] | +|**url** | **String** | | [optional] | +|**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | | | + + + +## Enum: MessageTypeEnum + +| Name | Value | +|---- | -----| +| MESG | "MESG" | +| ADMM | "ADMM" | +| FILE | "FILE" | + + + diff --git a/docs/SendBirdUpdateAUserRequest.md b/docs/SendBirdUpdateAUserRequest.md new file mode 100644 index 00000000..025abd58 --- /dev/null +++ b/docs/SendBirdUpdateAUserRequest.md @@ -0,0 +1,21 @@ + + +# SendBirdUpdateAUserRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**discoveryKeys** | **List<String>** | | [optional] | +|**isActive** | **Boolean** | | [optional] | +|**issueAccessToken** | **Boolean** | | [optional] | +|**lastSeenAt** | **Long** | | [optional] | +|**leaveAllWhenDeactivated** | **Boolean** | | [optional] | +|**nickname** | **String** | | [optional] | +|**preferredLanguages** | **List<String>** | | [optional] | +|**profileFile** | **File** | | [optional] | +|**profileUrl** | **String** | | [optional] | + + + diff --git a/docs/SendBirdUpdateAnOpenChannelRequest.md b/docs/SendBirdUpdateAnOpenChannelRequest.md new file mode 100644 index 00000000..a72cbad7 --- /dev/null +++ b/docs/SendBirdUpdateAnOpenChannelRequest.md @@ -0,0 +1,18 @@ + + +# SendBirdUpdateAnOpenChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**coverFile** | **File** | | [optional] | +|**coverUrl** | **String** | | [optional] | +|**customType** | **String** | | [optional] | +|**data** | **String** | | [optional] | +|**name** | **String** | | [optional] | +|**operatorIds** | **List<String>** | | [optional] | + + + diff --git a/docs/SendBirdUpdateBotByIdData.md b/docs/SendBirdUpdateBotByIdData.md new file mode 100644 index 00000000..7faaf369 --- /dev/null +++ b/docs/SendBirdUpdateBotByIdData.md @@ -0,0 +1,20 @@ + + +# SendBirdUpdateBotByIdData + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**botUserid** | **String** | Specifies the ID of the bot to update. | | +|**botNickname** | **String** | Specifies the bot's nickname. The length is limited to 80 characters. | | +|**botProfileUrl** | **String** | Specifies the URL of the bot's profile image. The size is limited to 2,048 characters. | | +|**botCallbackUrl** | **String** | Specifies the server URL where bot is located to receive all events, requests, and data forwarded from an application. For security reasons, it is highly recommended that you use an SSL server. The length is limited to 1,024 characters. | | +|**isPrivacyMode** | **Boolean** | In the channels of where the bot is a member, determines whether to only forward the messages with the specific conditions to the bot or forword all messages to the bot, for privacy concerns. If set to true, only messages that start with a '/' or mention the bot_userid are forwarded to the bot. If set to false, all messages are forwarded. | | +|**enableMarkAsRead** | **Boolean** | Determines whether to mark the bot's message as read upon sending it. (Default: true) | | +|**showMember** | **Boolean** | Determines whether to include information about the members of each channel in a callback response. (Default: false) | | +|**channelInvitationPreference** | **Integer** | Determines whether the bot automatically joins the channel when invited or joins the channel after manually accepting an invitation using the API. If set to 0, it automatically joins the channel. If set to 1, the latter takes place. (Default: 0) | | + + + diff --git a/docs/SendBirdUpdateBotByIdResponse.md b/docs/SendBirdUpdateBotByIdResponse.md new file mode 100644 index 00000000..761061d5 --- /dev/null +++ b/docs/SendBirdUpdateBotByIdResponse.md @@ -0,0 +1,18 @@ + + +# SendBirdUpdateBotByIdResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**bot** | [**SendBirdViewBotByIdResponseBot**](SendBirdViewBotByIdResponseBot.md) | | [optional] | +|**botCallbackUrl** | **String** | | [optional] | +|**enableMarkAsRead** | **Boolean** | | [optional] | +|**isPrivacyMode** | **Boolean** | | [optional] | +|**showMember** | **Boolean** | | [optional] | +|**channelInvitationPreference** | **Integer** | | [optional] | + + + diff --git a/docs/SendBirdUpdateChannelInvitationPreferenceRequest.md b/docs/SendBirdUpdateChannelInvitationPreferenceRequest.md new file mode 100644 index 00000000..53c78e97 --- /dev/null +++ b/docs/SendBirdUpdateChannelInvitationPreferenceRequest.md @@ -0,0 +1,13 @@ + + +# SendBirdUpdateChannelInvitationPreferenceRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**autoAccept** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdUpdateChannelInvitationPreferenceResponse.md b/docs/SendBirdUpdateChannelInvitationPreferenceResponse.md new file mode 100644 index 00000000..db96d847 --- /dev/null +++ b/docs/SendBirdUpdateChannelInvitationPreferenceResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdUpdateChannelInvitationPreferenceResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**autoAccept** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdUpdateCountPreferenceOfAChannelRequest.md b/docs/SendBirdUpdateCountPreferenceOfAChannelRequest.md new file mode 100644 index 00000000..54e92186 --- /dev/null +++ b/docs/SendBirdUpdateCountPreferenceOfAChannelRequest.md @@ -0,0 +1,24 @@ + + +# SendBirdUpdateCountPreferenceOfAChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | | + + + +## Enum: CountPreferenceEnum + +| Name | Value | +|---- | -----| +| FALSE | "false" | +| ALL | "all" | +| UNREAD_MESSAGE_COUNT_ONLY | "unread_message_count_only" | +| UNREAD_MENTIONED_COUNT_ONLY | "unread_mentioned_count_only" | + + + diff --git a/docs/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.md b/docs/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.md new file mode 100644 index 00000000..e7d81ec7 --- /dev/null +++ b/docs/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.md @@ -0,0 +1,24 @@ + + +# SendBirdUpdateCountPreferenceOfChannelByUrlResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | + + + +## Enum: CountPreferenceEnum + +| Name | Value | +|---- | -----| +| FALSE | "false" | +| ALL | "all" | +| UNREAD_MESSAGE_COUNT_ONLY | "unread_message_count_only" | +| UNREAD_MENTIONED_COUNT_ONLY | "unread_mentioned_count_only" | + + + diff --git a/docs/SendBirdUpdateExtraDataInAMessageRequest.md b/docs/SendBirdUpdateExtraDataInAMessageRequest.md new file mode 100644 index 00000000..05a744a3 --- /dev/null +++ b/docs/SendBirdUpdateExtraDataInAMessageRequest.md @@ -0,0 +1,15 @@ + + +# SendBirdUpdateExtraDataInAMessageRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**mode** | **String** | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**upsert** | **Boolean** | | [optional] | + + + diff --git a/docs/SendBirdUpdateExtraDataInAMessageResponse.md b/docs/SendBirdUpdateExtraDataInAMessageResponse.md new file mode 100644 index 00000000..c747af05 --- /dev/null +++ b/docs/SendBirdUpdateExtraDataInAMessageResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdUpdateExtraDataInAMessageResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | + + + diff --git a/docs/SendBirdUpdatePushPreferencesForAChannelRequest.md b/docs/SendBirdUpdatePushPreferencesForAChannelRequest.md new file mode 100644 index 00000000..030a10c8 --- /dev/null +++ b/docs/SendBirdUpdatePushPreferencesForAChannelRequest.md @@ -0,0 +1,25 @@ + + +# SendBirdUpdatePushPreferencesForAChannelRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**pushTriggerOption** | [**PushTriggerOptionEnum**](#PushTriggerOptionEnum) | The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications. | | +|**pushSound** | **String** | | [optional] | + + + +## Enum: PushTriggerOptionEnum + +| Name | Value | +|---- | -----| +| DEFAULT | "default" | +| ALL | "all" | +| MENTION_ONLY | "mention_only" | +| FALSE | "false" | + + + diff --git a/docs/SendBirdUpdatePushPreferencesForAChannelResponse.md b/docs/SendBirdUpdatePushPreferencesForAChannelResponse.md new file mode 100644 index 00000000..5a5df7e7 --- /dev/null +++ b/docs/SendBirdUpdatePushPreferencesForAChannelResponse.md @@ -0,0 +1,15 @@ + + +# SendBirdUpdatePushPreferencesForAChannelResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**enable** | **Boolean** | | [optional] | +|**pushSound** | **String** | | [optional] | +|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | + + + diff --git a/docs/SendBirdUpdatePushPreferencesRequest.md b/docs/SendBirdUpdatePushPreferencesRequest.md new file mode 100644 index 00000000..fa3f6084 --- /dev/null +++ b/docs/SendBirdUpdatePushPreferencesRequest.md @@ -0,0 +1,26 @@ + + +# SendBirdUpdatePushPreferencesRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**blockPushFromBots** | **Boolean** | | [optional] | +|**doNotDisturb** | **Boolean** | | [optional] | +|**enablePushForReplies** | **Boolean** | | [optional] | +|**endHour** | **Integer** | | [optional] | +|**endMin** | **Integer** | | [optional] | +|**pushBlockedBotIds** | **List<String>** | | [optional] | +|**pushSound** | **String** | | [optional] | +|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**snoozeEnabled** | **Boolean** | | [optional] | +|**snoozeEndTs** | **Long** | | [optional] | +|**snoozeStartTs** | **Long** | | [optional] | +|**startHour** | **Integer** | | [optional] | +|**startMin** | **Integer** | | [optional] | +|**timezone** | **String** | | [optional] | + + + diff --git a/docs/SendBirdUpdatePushPreferencesResponse.md b/docs/SendBirdUpdatePushPreferencesResponse.md new file mode 100644 index 00000000..433a8571 --- /dev/null +++ b/docs/SendBirdUpdatePushPreferencesResponse.md @@ -0,0 +1,26 @@ + + +# SendBirdUpdatePushPreferencesResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**blockPushFromBots** | **Boolean** | | [optional] | +|**doNotDisturb** | **Boolean** | | [optional] | +|**enablePushForReplies** | **Boolean** | | [optional] | +|**endHour** | **Integer** | | [optional] | +|**endMin** | **Integer** | | [optional] | +|**pushBlockedBotIds** | **List<String>** | | [optional] | +|**pushSound** | **String** | | [optional] | +|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**snoozeEnabled** | **Boolean** | | [optional] | +|**snoozeEndTs** | **Long** | | [optional] | +|**snoozeStartTs** | **Long** | | [optional] | +|**startHour** | **Integer** | | [optional] | +|**startMin** | **Integer** | | [optional] | +|**timezone** | **String** | | [optional] | + + + diff --git a/docs/SendBirdViewBotByIdResponse.md b/docs/SendBirdViewBotByIdResponse.md new file mode 100644 index 00000000..7e9e5e3e --- /dev/null +++ b/docs/SendBirdViewBotByIdResponse.md @@ -0,0 +1,18 @@ + + +# SendBirdViewBotByIdResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**bot** | [**SendBirdViewBotByIdResponseBot**](SendBirdViewBotByIdResponseBot.md) | | [optional] | +|**botCallbackUrl** | **String** | | [optional] | +|**enableMarkAsRead** | **Boolean** | | [optional] | +|**isPrivacyMode** | **Boolean** | | [optional] | +|**showMember** | **Boolean** | | [optional] | +|**channelInvitationPreference** | **Integer** | | [optional] | + + + diff --git a/docs/SendBirdViewBotByIdResponseBot.md b/docs/SendBirdViewBotByIdResponseBot.md new file mode 100644 index 00000000..c6208e9b --- /dev/null +++ b/docs/SendBirdViewBotByIdResponseBot.md @@ -0,0 +1,18 @@ + + +# SendBirdViewBotByIdResponseBot + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**botToken** | **String** | | [optional] | +|**botProfileUrl** | **String** | | [optional] | +|**botUserid** | **String** | | [optional] | +|**botNickname** | **String** | | [optional] | +|**botType** | **String** | | [optional] | +|**botMetadata** | **Object** | | [optional] | + + + diff --git a/docs/SendBirdViewCountPreferenceOfAChannelResponse.md b/docs/SendBirdViewCountPreferenceOfAChannelResponse.md new file mode 100644 index 00000000..dc7315a5 --- /dev/null +++ b/docs/SendBirdViewCountPreferenceOfAChannelResponse.md @@ -0,0 +1,24 @@ + + +# SendBirdViewCountPreferenceOfAChannelResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | + + + +## Enum: CountPreferenceEnum + +| Name | Value | +|---- | -----| +| FALSE | "false" | +| ALL | "all" | +| UNREAD_MESSAGE_COUNT_ONLY | "unread_message_count_only" | +| UNREAD_MENTIONED_COUNT_ONLY | "unread_mentioned_count_only" | + + + diff --git a/docs/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.md b/docs/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.md new file mode 100644 index 00000000..4e02de0c --- /dev/null +++ b/docs/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdViewNumberOfChannelsWithUnreadMessagesResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**unreadCount** | **Integer** | | [optional] | + + + diff --git a/docs/SendBirdViewNumberOfDailyActiveUsersResponse.md b/docs/SendBirdViewNumberOfDailyActiveUsersResponse.md new file mode 100644 index 00000000..37cf4962 --- /dev/null +++ b/docs/SendBirdViewNumberOfDailyActiveUsersResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdViewNumberOfDailyActiveUsersResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**dau** | **Integer** | | [optional] | + + + diff --git a/docs/SendBirdViewNumberOfMonthlyActiveUsersResponse.md b/docs/SendBirdViewNumberOfMonthlyActiveUsersResponse.md new file mode 100644 index 00000000..72dd665e --- /dev/null +++ b/docs/SendBirdViewNumberOfMonthlyActiveUsersResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdViewNumberOfMonthlyActiveUsersResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**mau** | **Integer** | | [optional] | + + + diff --git a/docs/SendBirdViewNumberOfUnreadMessagesResponse.md b/docs/SendBirdViewNumberOfUnreadMessagesResponse.md new file mode 100644 index 00000000..d1827a37 --- /dev/null +++ b/docs/SendBirdViewNumberOfUnreadMessagesResponse.md @@ -0,0 +1,13 @@ + + +# SendBirdViewNumberOfUnreadMessagesResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**unreadCount** | **Integer** | | [optional] | + + + diff --git a/docs/SendBirdViewPushPreferencesForAChannelResponse.md b/docs/SendBirdViewPushPreferencesForAChannelResponse.md new file mode 100644 index 00000000..63590266 --- /dev/null +++ b/docs/SendBirdViewPushPreferencesForAChannelResponse.md @@ -0,0 +1,15 @@ + + +# SendBirdViewPushPreferencesForAChannelResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**enable** | **Boolean** | | [optional] | +|**pushSound** | **String** | | [optional] | +|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | + + + diff --git a/docs/SendBirdViewPushPreferencesResponse.md b/docs/SendBirdViewPushPreferencesResponse.md new file mode 100644 index 00000000..df705d0b --- /dev/null +++ b/docs/SendBirdViewPushPreferencesResponse.md @@ -0,0 +1,26 @@ + + +# SendBirdViewPushPreferencesResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**blockPushFromBots** | **Boolean** | | [optional] | +|**doNotDisturb** | **Boolean** | | [optional] | +|**enablePushForReplies** | **Boolean** | | [optional] | +|**endHour** | **Integer** | | [optional] | +|**endMin** | **Integer** | | [optional] | +|**pushBlockedBotIds** | **List<String>** | | [optional] | +|**pushSound** | **String** | | [optional] | +|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**snoozeEnabled** | **Boolean** | | [optional] | +|**snoozeEndTs** | **Long** | | [optional] | +|**snoozeStartTs** | **Long** | | [optional] | +|**startHour** | **Integer** | | [optional] | +|**startMin** | **Integer** | | [optional] | +|**timezone** | **String** | | [optional] | + + + diff --git a/docs/StatisticsApi.md b/docs/StatisticsApi.md index ec72c759..bf7a889e 100644 --- a/docs/StatisticsApi.md +++ b/docs/StatisticsApi.md @@ -11,7 +11,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## viewNumberOfDailyActiveUsers -> ViewNumberOfDailyActiveUsersResponse viewNumberOfDailyActiveUsers().date(date).apiToken(apiToken).execute(); +> SendBirdViewNumberOfDailyActiveUsersResponse viewNumberOfDailyActiveUsers().date(date).apiToken(apiToken).execute(); View number of daily active users @@ -43,7 +43,7 @@ public class Example { String date = "date_example"; // String | YYYY-MM-DD String apiToken = "{{API_TOKEN}}"; // String | try { - ViewNumberOfDailyActiveUsersResponse result = api.viewNumberOfDailyActiveUsers() + SendBirdViewNumberOfDailyActiveUsersResponse result = api.viewNumberOfDailyActiveUsers() .date(date) .apiToken(apiToken) .execute(); @@ -69,7 +69,7 @@ public class Example { ### Return type -[**ViewNumberOfDailyActiveUsersResponse**](ViewNumberOfDailyActiveUsersResponse.md) +[**SendBirdViewNumberOfDailyActiveUsersResponse**](SendBirdViewNumberOfDailyActiveUsersResponse.md) ### Authorization @@ -88,7 +88,7 @@ No authorization required ## viewNumberOfMonthlyActiveUsers -> ViewNumberOfMonthlyActiveUsersResponse viewNumberOfMonthlyActiveUsers().date(date).apiToken(apiToken).execute(); +> SendBirdViewNumberOfMonthlyActiveUsersResponse viewNumberOfMonthlyActiveUsers().date(date).apiToken(apiToken).execute(); View number of monthly active users @@ -120,7 +120,7 @@ public class Example { String date = "date_example"; // String | YYYY-MM-DD String apiToken = "{{API_TOKEN}}"; // String | try { - ViewNumberOfMonthlyActiveUsersResponse result = api.viewNumberOfMonthlyActiveUsers() + SendBirdViewNumberOfMonthlyActiveUsersResponse result = api.viewNumberOfMonthlyActiveUsers() .date(date) .apiToken(apiToken) .execute(); @@ -146,7 +146,7 @@ public class Example { ### Return type -[**ViewNumberOfMonthlyActiveUsersResponse**](ViewNumberOfMonthlyActiveUsersResponse.md) +[**SendBirdViewNumberOfMonthlyActiveUsersResponse**](SendBirdViewNumberOfMonthlyActiveUsersResponse.md) ### Authorization diff --git a/docs/UserApi.md b/docs/UserApi.md index 33193832..d429e63c 100644 --- a/docs/UserApi.md +++ b/docs/UserApi.md @@ -36,7 +36,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## addARegistrationOrDeviceToken -> AddARegistrationOrDeviceTokenResponse addARegistrationOrDeviceToken(userId, tokenType).apiToken(apiToken).addARegistrationOrDeviceTokenRequest(addARegistrationOrDeviceTokenRequest).execute(); +> SendBirdAddARegistrationOrDeviceTokenResponse addARegistrationOrDeviceToken(userId, tokenType).apiToken(apiToken).sendBirdAddARegistrationOrDeviceTokenRequest(sendBirdAddARegistrationOrDeviceTokenRequest).execute(); Add a registration or device token @@ -72,11 +72,11 @@ public class Example { String userId = "userId_example"; // String | (Required) String tokenType = "gcm"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - AddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest = new AddARegistrationOrDeviceTokenRequest(); // AddARegistrationOrDeviceTokenRequest | + SendBirdAddARegistrationOrDeviceTokenRequest sendBirdAddARegistrationOrDeviceTokenRequest = new SendBirdAddARegistrationOrDeviceTokenRequest(); // SendBirdAddARegistrationOrDeviceTokenRequest | try { - AddARegistrationOrDeviceTokenResponse result = api.addARegistrationOrDeviceToken(userId, tokenType) + SendBirdAddARegistrationOrDeviceTokenResponse result = api.addARegistrationOrDeviceToken(userId, tokenType) .apiToken(apiToken) - .addARegistrationOrDeviceTokenRequest(addARegistrationOrDeviceTokenRequest) + .sendBirdAddARegistrationOrDeviceTokenRequest(sendBirdAddARegistrationOrDeviceTokenRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -98,11 +98,11 @@ public class Example { | **userId** | **String**| (Required) | | | **tokenType** | **String**| (Required) | [enum: gcm, huawei, apns] | | **apiToken** | **String**| | [optional] | -| **addARegistrationOrDeviceTokenRequest** | [**AddARegistrationOrDeviceTokenRequest**](AddARegistrationOrDeviceTokenRequest.md)| | [optional] | +| **sendBirdAddARegistrationOrDeviceTokenRequest** | [**SendBirdAddARegistrationOrDeviceTokenRequest**](SendBirdAddARegistrationOrDeviceTokenRequest.md)| | [optional] | ### Return type -[**AddARegistrationOrDeviceTokenResponse**](AddARegistrationOrDeviceTokenResponse.md) +[**SendBirdAddARegistrationOrDeviceTokenResponse**](SendBirdAddARegistrationOrDeviceTokenResponse.md) ### Authorization @@ -121,7 +121,7 @@ No authorization required ## chooseAPushNotificationContentTemplate -> ChooseAPushNotificationContentTemplateResponse chooseAPushNotificationContentTemplate(userId).apiToken(apiToken).chooseAPushNotificationContentTemplateRequest(chooseAPushNotificationContentTemplateRequest).execute(); +> SendBirdChooseAPushNotificationContentTemplateResponse chooseAPushNotificationContentTemplate(userId).apiToken(apiToken).sendBirdChooseAPushNotificationContentTemplateRequest(sendBirdChooseAPushNotificationContentTemplateRequest).execute(); Choose a push notification content template @@ -154,11 +154,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - ChooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest = new ChooseAPushNotificationContentTemplateRequest(); // ChooseAPushNotificationContentTemplateRequest | + SendBirdChooseAPushNotificationContentTemplateRequest sendBirdChooseAPushNotificationContentTemplateRequest = new SendBirdChooseAPushNotificationContentTemplateRequest(); // SendBirdChooseAPushNotificationContentTemplateRequest | try { - ChooseAPushNotificationContentTemplateResponse result = api.chooseAPushNotificationContentTemplate(userId) + SendBirdChooseAPushNotificationContentTemplateResponse result = api.chooseAPushNotificationContentTemplate(userId) .apiToken(apiToken) - .chooseAPushNotificationContentTemplateRequest(chooseAPushNotificationContentTemplateRequest) + .sendBirdChooseAPushNotificationContentTemplateRequest(sendBirdChooseAPushNotificationContentTemplateRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -179,11 +179,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **chooseAPushNotificationContentTemplateRequest** | [**ChooseAPushNotificationContentTemplateRequest**](ChooseAPushNotificationContentTemplateRequest.md)| | [optional] | +| **sendBirdChooseAPushNotificationContentTemplateRequest** | [**SendBirdChooseAPushNotificationContentTemplateRequest**](SendBirdChooseAPushNotificationContentTemplateRequest.md)| | [optional] | ### Return type -[**ChooseAPushNotificationContentTemplateResponse**](ChooseAPushNotificationContentTemplateResponse.md) +[**SendBirdChooseAPushNotificationContentTemplateResponse**](SendBirdChooseAPushNotificationContentTemplateResponse.md) ### Authorization @@ -202,7 +202,7 @@ No authorization required ## createAUser -> SendbirdUser createAUser().apiToken(apiToken).createAUserRequest(createAUserRequest).execute(); +> SendBirdSendbirdUser createAUser().apiToken(apiToken).sendBirdCreateAUserRequest(sendBirdCreateAUserRequest).execute(); Create a user @@ -229,11 +229,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String apiToken = "{{API_TOKEN}}"; // String | - CreateAUserRequest createAUserRequest = new CreateAUserRequest(); // CreateAUserRequest | + SendBirdCreateAUserRequest sendBirdCreateAUserRequest = new SendBirdCreateAUserRequest(); // SendBirdCreateAUserRequest | try { - SendbirdUser result = api.createAUser() + SendBirdSendbirdUser result = api.createAUser() .apiToken(apiToken) - .createAUserRequest(createAUserRequest) + .sendBirdCreateAUserRequest(sendBirdCreateAUserRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -253,11 +253,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **apiToken** | **String**| | [optional] | -| **createAUserRequest** | [**CreateAUserRequest**](CreateAUserRequest.md)| | [optional] | +| **sendBirdCreateAUserRequest** | [**SendBirdCreateAUserRequest**](SendBirdCreateAUserRequest.md)| | [optional] | ### Return type -[**SendbirdUser**](SendbirdUser.md) +[**SendBirdSendbirdUser**](SendBirdSendbirdUser.md) ### Authorization @@ -276,7 +276,7 @@ No authorization required ## createUserToken -> CreateUserTokenResponse createUserToken(userId).apiToken(apiToken).createUserTokenRequest(createUserTokenRequest).execute(); +> SendBirdCreateUserTokenResponse createUserToken(userId).apiToken(apiToken).sendBirdCreateUserTokenRequest(sendBirdCreateUserTokenRequest).execute(); Create user token @@ -307,11 +307,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - CreateUserTokenRequest createUserTokenRequest = new CreateUserTokenRequest(); // CreateUserTokenRequest | + SendBirdCreateUserTokenRequest sendBirdCreateUserTokenRequest = new SendBirdCreateUserTokenRequest(); // SendBirdCreateUserTokenRequest | try { - CreateUserTokenResponse result = api.createUserToken(userId) + SendBirdCreateUserTokenResponse result = api.createUserToken(userId) .apiToken(apiToken) - .createUserTokenRequest(createUserTokenRequest) + .sendBirdCreateUserTokenRequest(sendBirdCreateUserTokenRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -332,11 +332,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **createUserTokenRequest** | [**CreateUserTokenRequest**](CreateUserTokenRequest.md)| | [optional] | +| **sendBirdCreateUserTokenRequest** | [**SendBirdCreateUserTokenRequest**](SendBirdCreateUserTokenRequest.md)| | [optional] | ### Return type -[**CreateUserTokenResponse**](CreateUserTokenResponse.md) +[**SendBirdCreateUserTokenResponse**](SendBirdCreateUserTokenResponse.md) ### Authorization @@ -431,7 +431,7 @@ No authorization required ## getChannelInvitationPreference -> GetChannelInvitationPreferenceResponse getChannelInvitationPreference(userId).apiToken(apiToken).execute(); +> SendBirdGetChannelInvitationPreferenceResponse getChannelInvitationPreference(userId).apiToken(apiToken).execute(); Get channel invitation preference @@ -460,7 +460,7 @@ public class Example { String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - GetChannelInvitationPreferenceResponse result = api.getChannelInvitationPreference(userId) + SendBirdGetChannelInvitationPreferenceResponse result = api.getChannelInvitationPreference(userId) .apiToken(apiToken) .execute(); System.out.println(result); @@ -485,7 +485,7 @@ public class Example { ### Return type -[**GetChannelInvitationPreferenceResponse**](GetChannelInvitationPreferenceResponse.md) +[**SendBirdGetChannelInvitationPreferenceResponse**](SendBirdGetChannelInvitationPreferenceResponse.md) ### Authorization @@ -504,7 +504,7 @@ No authorization required ## leaveMyGroupChannels -> Object leaveMyGroupChannels(userId).apiToken(apiToken).leaveMyGroupChannelsRequest(leaveMyGroupChannelsRequest).execute(); +> Object leaveMyGroupChannels(userId).apiToken(apiToken).sendBirdLeaveMyGroupChannelsRequest(sendBirdLeaveMyGroupChannelsRequest).execute(); Leave my group channels @@ -538,11 +538,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - LeaveMyGroupChannelsRequest leaveMyGroupChannelsRequest = new LeaveMyGroupChannelsRequest(); // LeaveMyGroupChannelsRequest | + SendBirdLeaveMyGroupChannelsRequest sendBirdLeaveMyGroupChannelsRequest = new SendBirdLeaveMyGroupChannelsRequest(); // SendBirdLeaveMyGroupChannelsRequest | try { Object result = api.leaveMyGroupChannels(userId) .apiToken(apiToken) - .leaveMyGroupChannelsRequest(leaveMyGroupChannelsRequest) + .sendBirdLeaveMyGroupChannelsRequest(sendBirdLeaveMyGroupChannelsRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -563,7 +563,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **leaveMyGroupChannelsRequest** | [**LeaveMyGroupChannelsRequest**](LeaveMyGroupChannelsRequest.md)| | [optional] | +| **sendBirdLeaveMyGroupChannelsRequest** | [**SendBirdLeaveMyGroupChannelsRequest**](SendBirdLeaveMyGroupChannelsRequest.md)| | [optional] | ### Return type @@ -586,7 +586,7 @@ No authorization required ## listMyGroupChannels -> ListMyGroupChannelsResponse listMyGroupChannels(userId).apiToken(apiToken).token(token).limit(limit).distinctMode(distinctMode).publicMode(publicMode).superMode(superMode).createdAfter(createdAfter).createdBefore(createdBefore).showEmpty(showEmpty).showMember(showMember).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMetadata(showMetadata).showFrozen(showFrozen).order(order).metadataOrderKey(metadataOrderKey).customTypes(customTypes).customTypeStartswith(customTypeStartswith).channelUrls(channelUrls).name(name).nameContains(nameContains).nameStartswith(nameStartswith).membersExactlyIn(membersExactlyIn).membersIncludeIn(membersIncludeIn).queryType(queryType).membersNickname(membersNickname).membersNicknameContains(membersNicknameContains).membersNicknameStartswith(membersNicknameStartswith).searchQuery(searchQuery).searchFields(searchFields).metadataKey(metadataKey).metadataValues(metadataValues).metadataValueStartswith(metadataValueStartswith).metacounterKey(metacounterKey).metacounterValues(metacounterValues).metacounterValueGt(metacounterValueGt).metacounterValueGte(metacounterValueGte).metacounterValueLt(metacounterValueLt).metacounterValueLte(metacounterValueLte).includeSortedMetaarrayInLastMessage(includeSortedMetaarrayInLastMessage).hiddenMode(hiddenMode).unreadFilter(unreadFilter).memberStateFilter(memberStateFilter).execute(); +> SendBirdListMyGroupChannelsResponse listMyGroupChannels(userId).apiToken(apiToken).token(token).limit(limit).distinctMode(distinctMode).publicMode(publicMode).superMode(superMode).createdAfter(createdAfter).createdBefore(createdBefore).showEmpty(showEmpty).showMember(showMember).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMetadata(showMetadata).showFrozen(showFrozen).order(order).metadataOrderKey(metadataOrderKey).customTypes(customTypes).customTypeStartswith(customTypeStartswith).channelUrls(channelUrls).name(name).nameContains(nameContains).nameStartswith(nameStartswith).membersExactlyIn(membersExactlyIn).membersIncludeIn(membersIncludeIn).queryType(queryType).membersNickname(membersNickname).membersNicknameContains(membersNicknameContains).membersNicknameStartswith(membersNicknameStartswith).searchQuery(searchQuery).searchFields(searchFields).metadataKey(metadataKey).metadataValues(metadataValues).metadataValueStartswith(metadataValueStartswith).metacounterKey(metacounterKey).metacounterValues(metacounterValues).metacounterValueGt(metacounterValueGt).metacounterValueGte(metacounterValueGte).metacounterValueLt(metacounterValueLt).metacounterValueLte(metacounterValueLte).includeSortedMetaarrayInLastMessage(includeSortedMetaarrayInLastMessage).hiddenMode(hiddenMode).unreadFilter(unreadFilter).memberStateFilter(memberStateFilter).execute(); List my group channels @@ -663,7 +663,7 @@ public class Example { String unreadFilter = "all"; // String | Restricts the search scope to only retrieve group channels with one or more unread messages. This filter doesn't support Supergroup channels. Acceptable values are all and unread_message. (Default: all) String memberStateFilter = "all"; // String | try { - ListMyGroupChannelsResponse result = api.listMyGroupChannels(userId) + SendBirdListMyGroupChannelsResponse result = api.listMyGroupChannels(userId) .apiToken(apiToken) .token(token) .limit(limit) @@ -772,7 +772,7 @@ public class Example { ### Return type -[**ListMyGroupChannelsResponse**](ListMyGroupChannelsResponse.md) +[**SendBirdListMyGroupChannelsResponse**](SendBirdListMyGroupChannelsResponse.md) ### Authorization @@ -791,7 +791,7 @@ No authorization required ## listRegistrationOrDeviceTokens -> ListRegistrationOrDeviceTokensResponse listRegistrationOrDeviceTokens(userId, tokenType).apiToken(apiToken).execute(); +> SendBirdListRegistrationOrDeviceTokensResponse listRegistrationOrDeviceTokens(userId, tokenType).apiToken(apiToken).execute(); List registration or device tokens @@ -821,7 +821,7 @@ public class Example { String tokenType = "gcm"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - ListRegistrationOrDeviceTokensResponse result = api.listRegistrationOrDeviceTokens(userId, tokenType) + SendBirdListRegistrationOrDeviceTokensResponse result = api.listRegistrationOrDeviceTokens(userId, tokenType) .apiToken(apiToken) .execute(); System.out.println(result); @@ -847,7 +847,7 @@ public class Example { ### Return type -[**ListRegistrationOrDeviceTokensResponse**](ListRegistrationOrDeviceTokensResponse.md) +[**SendBirdListRegistrationOrDeviceTokensResponse**](SendBirdListRegistrationOrDeviceTokensResponse.md) ### Authorization @@ -866,7 +866,7 @@ No authorization required ## listUsers -> ListUsersResponse listUsers().token(token).limit(limit).activeMode(activeMode).showBot(showBot).userIds(userIds).nickname(nickname).nicknameStartswith(nicknameStartswith).metadatakey(metadatakey).metadatavaluesIn(metadatavaluesIn).apiToken(apiToken).execute(); +> SendBirdListUsersResponse listUsers().token(token).limit(limit).activeMode(activeMode).showBot(showBot).userIds(userIds).nickname(nickname).nicknameStartswith(nicknameStartswith).metadatakey(metadatakey).metadatavaluesIn(metadatavaluesIn).apiToken(apiToken).execute(); List users @@ -903,7 +903,7 @@ public class Example { String metadatavaluesIn = "metadatavaluesIn_example"; // String | Searches for blocked users with metadata containing an item with the key specified by the metadatakey parameter above, and the value of that item matches one or more values specified by this parameter. The string should be specified with multiple urlencoded metadata values separated by commas (for example, `?metadatavalues_in=urlencoded_value_1, urlencoded_value_2`). This parameter should be specified in conjunction with the `metadatakey` above. String apiToken = "{{API_TOKEN}}"; // String | try { - ListUsersResponse result = api.listUsers() + SendBirdListUsersResponse result = api.listUsers() .token(token) .limit(limit) .activeMode(activeMode) @@ -945,7 +945,7 @@ public class Example { ### Return type -[**ListUsersResponse**](ListUsersResponse.md) +[**SendBirdListUsersResponse**](SendBirdListUsersResponse.md) ### Authorization @@ -964,7 +964,7 @@ No authorization required ## markAllMessagesAsRead -> Object markAllMessagesAsRead(userId).apiToken(apiToken).markAllMessagesAsReadRequest(markAllMessagesAsReadRequest).execute(); +> Object markAllMessagesAsRead(userId).apiToken(apiToken).sendBirdMarkAllMessagesAsReadRequest(sendBirdMarkAllMessagesAsReadRequest).execute(); Mark all messages as read @@ -992,11 +992,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - MarkAllMessagesAsReadRequest markAllMessagesAsReadRequest = new MarkAllMessagesAsReadRequest(); // MarkAllMessagesAsReadRequest | + SendBirdMarkAllMessagesAsReadRequest sendBirdMarkAllMessagesAsReadRequest = new SendBirdMarkAllMessagesAsReadRequest(); // SendBirdMarkAllMessagesAsReadRequest | try { Object result = api.markAllMessagesAsRead(userId) .apiToken(apiToken) - .markAllMessagesAsReadRequest(markAllMessagesAsReadRequest) + .sendBirdMarkAllMessagesAsReadRequest(sendBirdMarkAllMessagesAsReadRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1017,7 +1017,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **markAllMessagesAsReadRequest** | [**MarkAllMessagesAsReadRequest**](MarkAllMessagesAsReadRequest.md)| | [optional] | +| **sendBirdMarkAllMessagesAsReadRequest** | [**SendBirdMarkAllMessagesAsReadRequest**](SendBirdMarkAllMessagesAsReadRequest.md)| | [optional] | ### Return type @@ -1040,7 +1040,7 @@ No authorization required ## removeARegistrationOrDeviceToken -> RemoveARegistrationOrDeviceTokenResponse removeARegistrationOrDeviceToken(userId, tokenType, token).apiToken(apiToken).execute(); +> SendBirdRemoveARegistrationOrDeviceTokenResponse removeARegistrationOrDeviceToken(userId, tokenType, token).apiToken(apiToken).execute(); Remove a registration or device token - When unregistering a specific token @@ -1071,7 +1071,7 @@ public class Example { String token = "token_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - RemoveARegistrationOrDeviceTokenResponse result = api.removeARegistrationOrDeviceToken(userId, tokenType, token) + SendBirdRemoveARegistrationOrDeviceTokenResponse result = api.removeARegistrationOrDeviceToken(userId, tokenType, token) .apiToken(apiToken) .execute(); System.out.println(result); @@ -1098,7 +1098,7 @@ public class Example { ### Return type -[**RemoveARegistrationOrDeviceTokenResponse**](RemoveARegistrationOrDeviceTokenResponse.md) +[**SendBirdRemoveARegistrationOrDeviceTokenResponse**](SendBirdRemoveARegistrationOrDeviceTokenResponse.md) ### Authorization @@ -1117,7 +1117,7 @@ No authorization required ## removeARegistrationOrDeviceTokenFromAnOwner -> List<MarkChannelMessagesAsReadRequest> removeARegistrationOrDeviceTokenFromAnOwner(tokenType, token).apiToken(apiToken).execute(); +> List<SendBirdMarkChannelMessagesAsReadRequest> removeARegistrationOrDeviceTokenFromAnOwner(tokenType, token).apiToken(apiToken).execute(); Remove a registration or device token from an owner @@ -1147,7 +1147,7 @@ public class Example { String token = "token_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - List result = api.removeARegistrationOrDeviceTokenFromAnOwner(tokenType, token) + List result = api.removeARegistrationOrDeviceTokenFromAnOwner(tokenType, token) .apiToken(apiToken) .execute(); System.out.println(result); @@ -1173,7 +1173,7 @@ public class Example { ### Return type -[**List<MarkChannelMessagesAsReadRequest>**](MarkChannelMessagesAsReadRequest.md) +[**List<SendBirdMarkChannelMessagesAsReadRequest>**](SendBirdMarkChannelMessagesAsReadRequest.md) ### Authorization @@ -1192,7 +1192,7 @@ No authorization required ## removeAllRegistrationOrDeviceToken -> RemoveAllRegistrationOrDeviceTokenResponse removeAllRegistrationOrDeviceToken(userId).apiToken(apiToken).execute(); +> SendBirdRemoveAllRegistrationOrDeviceTokenResponse removeAllRegistrationOrDeviceToken(userId).apiToken(apiToken).execute(); Remove a registration or device token - When unregistering all device tokens @@ -1221,7 +1221,7 @@ public class Example { String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - RemoveAllRegistrationOrDeviceTokenResponse result = api.removeAllRegistrationOrDeviceToken(userId) + SendBirdRemoveAllRegistrationOrDeviceTokenResponse result = api.removeAllRegistrationOrDeviceToken(userId) .apiToken(apiToken) .execute(); System.out.println(result); @@ -1246,7 +1246,7 @@ public class Example { ### Return type -[**RemoveAllRegistrationOrDeviceTokenResponse**](RemoveAllRegistrationOrDeviceTokenResponse.md) +[**SendBirdRemoveAllRegistrationOrDeviceTokenResponse**](SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md) ### Authorization @@ -1350,7 +1350,7 @@ No authorization required ## updateAUser -> SendbirdUser updateAUser(userId).apiToken(apiToken).updateAUserRequest(updateAUserRequest).execute(); +> SendBirdSendbirdUser updateAUser(userId).apiToken(apiToken).sendBirdUpdateAUserRequest(sendBirdUpdateAUserRequest).execute(); Update a user @@ -1383,11 +1383,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - UpdateAUserRequest updateAUserRequest = new UpdateAUserRequest(); // UpdateAUserRequest | + SendBirdUpdateAUserRequest sendBirdUpdateAUserRequest = new SendBirdUpdateAUserRequest(); // SendBirdUpdateAUserRequest | try { - SendbirdUser result = api.updateAUser(userId) + SendBirdSendbirdUser result = api.updateAUser(userId) .apiToken(apiToken) - .updateAUserRequest(updateAUserRequest) + .sendBirdUpdateAUserRequest(sendBirdUpdateAUserRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1408,11 +1408,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **updateAUserRequest** | [**UpdateAUserRequest**](UpdateAUserRequest.md)| | [optional] | +| **sendBirdUpdateAUserRequest** | [**SendBirdUpdateAUserRequest**](SendBirdUpdateAUserRequest.md)| | [optional] | ### Return type -[**SendbirdUser**](SendbirdUser.md) +[**SendBirdSendbirdUser**](SendBirdSendbirdUser.md) ### Authorization @@ -1431,7 +1431,7 @@ No authorization required ## updateChannelInvitationPreference -> UpdateChannelInvitationPreferenceResponse updateChannelInvitationPreference(userId).apiToken(apiToken).updateChannelInvitationPreferenceRequest(updateChannelInvitationPreferenceRequest).execute(); +> SendBirdUpdateChannelInvitationPreferenceResponse updateChannelInvitationPreference(userId).apiToken(apiToken).sendBirdUpdateChannelInvitationPreferenceRequest(sendBirdUpdateChannelInvitationPreferenceRequest).execute(); Update channel invitation preference @@ -1459,11 +1459,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - UpdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest = new UpdateChannelInvitationPreferenceRequest(); // UpdateChannelInvitationPreferenceRequest | + SendBirdUpdateChannelInvitationPreferenceRequest sendBirdUpdateChannelInvitationPreferenceRequest = new SendBirdUpdateChannelInvitationPreferenceRequest(); // SendBirdUpdateChannelInvitationPreferenceRequest | try { - UpdateChannelInvitationPreferenceResponse result = api.updateChannelInvitationPreference(userId) + SendBirdUpdateChannelInvitationPreferenceResponse result = api.updateChannelInvitationPreference(userId) .apiToken(apiToken) - .updateChannelInvitationPreferenceRequest(updateChannelInvitationPreferenceRequest) + .sendBirdUpdateChannelInvitationPreferenceRequest(sendBirdUpdateChannelInvitationPreferenceRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1484,11 +1484,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **updateChannelInvitationPreferenceRequest** | [**UpdateChannelInvitationPreferenceRequest**](UpdateChannelInvitationPreferenceRequest.md)| | [optional] | +| **sendBirdUpdateChannelInvitationPreferenceRequest** | [**SendBirdUpdateChannelInvitationPreferenceRequest**](SendBirdUpdateChannelInvitationPreferenceRequest.md)| | [optional] | ### Return type -[**UpdateChannelInvitationPreferenceResponse**](UpdateChannelInvitationPreferenceResponse.md) +[**SendBirdUpdateChannelInvitationPreferenceResponse**](SendBirdUpdateChannelInvitationPreferenceResponse.md) ### Authorization @@ -1507,7 +1507,7 @@ No authorization required ## updateCountPreferenceOfAChannel -> UpdateCountPreferenceOfChannelByUrlResponse updateCountPreferenceOfAChannel(userId, channelUrl).apiToken(apiToken).updateCountPreferenceOfAChannelRequest(updateCountPreferenceOfAChannelRequest).execute(); +> SendBirdUpdateCountPreferenceOfChannelByUrlResponse updateCountPreferenceOfAChannel(userId, channelUrl).apiToken(apiToken).sendBirdUpdateCountPreferenceOfAChannelRequest(sendBirdUpdateCountPreferenceOfAChannelRequest).execute(); Update count preference of a channel @@ -1538,11 +1538,11 @@ public class Example { String userId = "userId_example"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - UpdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest = new UpdateCountPreferenceOfAChannelRequest(); // UpdateCountPreferenceOfAChannelRequest | + SendBirdUpdateCountPreferenceOfAChannelRequest sendBirdUpdateCountPreferenceOfAChannelRequest = new SendBirdUpdateCountPreferenceOfAChannelRequest(); // SendBirdUpdateCountPreferenceOfAChannelRequest | try { - UpdateCountPreferenceOfChannelByUrlResponse result = api.updateCountPreferenceOfAChannel(userId, channelUrl) + SendBirdUpdateCountPreferenceOfChannelByUrlResponse result = api.updateCountPreferenceOfAChannel(userId, channelUrl) .apiToken(apiToken) - .updateCountPreferenceOfAChannelRequest(updateCountPreferenceOfAChannelRequest) + .sendBirdUpdateCountPreferenceOfAChannelRequest(sendBirdUpdateCountPreferenceOfAChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1564,11 +1564,11 @@ public class Example { | **userId** | **String**| (Required) | | | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **updateCountPreferenceOfAChannelRequest** | [**UpdateCountPreferenceOfAChannelRequest**](UpdateCountPreferenceOfAChannelRequest.md)| | [optional] | +| **sendBirdUpdateCountPreferenceOfAChannelRequest** | [**SendBirdUpdateCountPreferenceOfAChannelRequest**](SendBirdUpdateCountPreferenceOfAChannelRequest.md)| | [optional] | ### Return type -[**UpdateCountPreferenceOfChannelByUrlResponse**](UpdateCountPreferenceOfChannelByUrlResponse.md) +[**SendBirdUpdateCountPreferenceOfChannelByUrlResponse**](SendBirdUpdateCountPreferenceOfChannelByUrlResponse.md) ### Authorization @@ -1587,7 +1587,7 @@ No authorization required ## updatePushPreferences -> UpdatePushPreferencesResponse updatePushPreferences(userId).apiToken(apiToken).updatePushPreferencesRequest(updatePushPreferencesRequest).execute(); +> SendBirdUpdatePushPreferencesResponse updatePushPreferences(userId).apiToken(apiToken).sendBirdUpdatePushPreferencesRequest(sendBirdUpdatePushPreferencesRequest).execute(); Update push preferences @@ -1618,11 +1618,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - UpdatePushPreferencesRequest updatePushPreferencesRequest = new UpdatePushPreferencesRequest(); // UpdatePushPreferencesRequest | + SendBirdUpdatePushPreferencesRequest sendBirdUpdatePushPreferencesRequest = new SendBirdUpdatePushPreferencesRequest(); // SendBirdUpdatePushPreferencesRequest | try { - UpdatePushPreferencesResponse result = api.updatePushPreferences(userId) + SendBirdUpdatePushPreferencesResponse result = api.updatePushPreferences(userId) .apiToken(apiToken) - .updatePushPreferencesRequest(updatePushPreferencesRequest) + .sendBirdUpdatePushPreferencesRequest(sendBirdUpdatePushPreferencesRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1643,11 +1643,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **updatePushPreferencesRequest** | [**UpdatePushPreferencesRequest**](UpdatePushPreferencesRequest.md)| | [optional] | +| **sendBirdUpdatePushPreferencesRequest** | [**SendBirdUpdatePushPreferencesRequest**](SendBirdUpdatePushPreferencesRequest.md)| | [optional] | ### Return type -[**UpdatePushPreferencesResponse**](UpdatePushPreferencesResponse.md) +[**SendBirdUpdatePushPreferencesResponse**](SendBirdUpdatePushPreferencesResponse.md) ### Authorization @@ -1666,7 +1666,7 @@ No authorization required ## updatePushPreferencesForAChannel -> UpdatePushPreferencesForAChannelResponse updatePushPreferencesForAChannel(userId, channelUrl).apiToken(apiToken).updatePushPreferencesForAChannelRequest(updatePushPreferencesForAChannelRequest).execute(); +> SendBirdUpdatePushPreferencesForAChannelResponse updatePushPreferencesForAChannel(userId, channelUrl).apiToken(apiToken).sendBirdUpdatePushPreferencesForAChannelRequest(sendBirdUpdatePushPreferencesForAChannelRequest).execute(); Update push preferences for a channel @@ -1698,11 +1698,11 @@ public class Example { String userId = "userId_example"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - UpdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest = new UpdatePushPreferencesForAChannelRequest(); // UpdatePushPreferencesForAChannelRequest | + SendBirdUpdatePushPreferencesForAChannelRequest sendBirdUpdatePushPreferencesForAChannelRequest = new SendBirdUpdatePushPreferencesForAChannelRequest(); // SendBirdUpdatePushPreferencesForAChannelRequest | try { - UpdatePushPreferencesForAChannelResponse result = api.updatePushPreferencesForAChannel(userId, channelUrl) + SendBirdUpdatePushPreferencesForAChannelResponse result = api.updatePushPreferencesForAChannel(userId, channelUrl) .apiToken(apiToken) - .updatePushPreferencesForAChannelRequest(updatePushPreferencesForAChannelRequest) + .sendBirdUpdatePushPreferencesForAChannelRequest(sendBirdUpdatePushPreferencesForAChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1724,11 +1724,11 @@ public class Example { | **userId** | **String**| (Required) | | | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **updatePushPreferencesForAChannelRequest** | [**UpdatePushPreferencesForAChannelRequest**](UpdatePushPreferencesForAChannelRequest.md)| | [optional] | +| **sendBirdUpdatePushPreferencesForAChannelRequest** | [**SendBirdUpdatePushPreferencesForAChannelRequest**](SendBirdUpdatePushPreferencesForAChannelRequest.md)| | [optional] | ### Return type -[**UpdatePushPreferencesForAChannelResponse**](UpdatePushPreferencesForAChannelResponse.md) +[**SendBirdUpdatePushPreferencesForAChannelResponse**](SendBirdUpdatePushPreferencesForAChannelResponse.md) ### Authorization @@ -1747,7 +1747,7 @@ No authorization required ## viewAUser -> SendbirdUser viewAUser(userId).includeUnreadCount(includeUnreadCount).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); +> SendBirdSendbirdUser viewAUser(userId).includeUnreadCount(includeUnreadCount).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); View a user @@ -1783,7 +1783,7 @@ public class Example { String superMode = "all"; // String | Restricts the search scope to retrieve only Supergroup or non-Supergroup channels. Acceptable values are `all`, `super`, and `nonsuper`. This parameter should be specified in conjunction with `include_unread_count` above. (Default: `all`) String apiToken = "{{API_TOKEN}}"; // String | try { - SendbirdUser result = api.viewAUser(userId) + SendBirdSendbirdUser result = api.viewAUser(userId) .includeUnreadCount(includeUnreadCount) .customTypes(customTypes) .superMode(superMode) @@ -1814,7 +1814,7 @@ public class Example { ### Return type -[**SendbirdUser**](SendbirdUser.md) +[**SendBirdSendbirdUser**](SendBirdSendbirdUser.md) ### Authorization @@ -1833,7 +1833,7 @@ No authorization required ## viewCountPreferenceOfAChannel -> ViewCountPreferenceOfAChannelResponse viewCountPreferenceOfAChannel(userId, channelUrl).apiToken(apiToken).execute(); +> SendBirdViewCountPreferenceOfAChannelResponse viewCountPreferenceOfAChannel(userId, channelUrl).apiToken(apiToken).execute(); View count preference of a channel @@ -1865,7 +1865,7 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - ViewCountPreferenceOfAChannelResponse result = api.viewCountPreferenceOfAChannel(userId, channelUrl) + SendBirdViewCountPreferenceOfAChannelResponse result = api.viewCountPreferenceOfAChannel(userId, channelUrl) .apiToken(apiToken) .execute(); System.out.println(result); @@ -1891,7 +1891,7 @@ public class Example { ### Return type -[**ViewCountPreferenceOfAChannelResponse**](ViewCountPreferenceOfAChannelResponse.md) +[**SendBirdViewCountPreferenceOfAChannelResponse**](SendBirdViewCountPreferenceOfAChannelResponse.md) ### Authorization @@ -1910,7 +1910,7 @@ No authorization required ## viewNumberOfChannelsWithUnreadMessages -> ViewNumberOfChannelsWithUnreadMessagesResponse viewNumberOfChannelsWithUnreadMessages(userId).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); +> SendBirdViewNumberOfChannelsWithUnreadMessagesResponse viewNumberOfChannelsWithUnreadMessages(userId).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); View number of channels with unread messages @@ -1941,7 +1941,7 @@ public class Example { String superMode = "all"; // String | Restricts the search scope to either Supergroup channels or non-Supergroup channels or both. Acceptable values are all, super, and nonsuper. (Default: all) String apiToken = "{{API_TOKEN}}"; // String | try { - ViewNumberOfChannelsWithUnreadMessagesResponse result = api.viewNumberOfChannelsWithUnreadMessages(userId) + SendBirdViewNumberOfChannelsWithUnreadMessagesResponse result = api.viewNumberOfChannelsWithUnreadMessages(userId) .customTypes(customTypes) .superMode(superMode) .apiToken(apiToken) @@ -1970,7 +1970,7 @@ public class Example { ### Return type -[**ViewNumberOfChannelsWithUnreadMessagesResponse**](ViewNumberOfChannelsWithUnreadMessagesResponse.md) +[**SendBirdViewNumberOfChannelsWithUnreadMessagesResponse**](SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.md) ### Authorization @@ -1989,7 +1989,7 @@ No authorization required ## viewNumberOfUnreadMessages -> ViewNumberOfUnreadMessagesResponse viewNumberOfUnreadMessages(userId).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); +> SendBirdViewNumberOfUnreadMessagesResponse viewNumberOfUnreadMessages(userId).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); View number of unread messages @@ -2027,7 +2027,7 @@ public class Example { String superMode = "superMode_example"; // String | Restricts the search scope to either Supergroup channels or non-Supergroup channels or both. Acceptable values are `all`, `super`, and `nonsuper`. (Default: `all`) String apiToken = "{{API_TOKEN}}"; // String | try { - ViewNumberOfUnreadMessagesResponse result = api.viewNumberOfUnreadMessages(userId) + SendBirdViewNumberOfUnreadMessagesResponse result = api.viewNumberOfUnreadMessages(userId) .customTypes(customTypes) .superMode(superMode) .apiToken(apiToken) @@ -2056,7 +2056,7 @@ public class Example { ### Return type -[**ViewNumberOfUnreadMessagesResponse**](ViewNumberOfUnreadMessagesResponse.md) +[**SendBirdViewNumberOfUnreadMessagesResponse**](SendBirdViewNumberOfUnreadMessagesResponse.md) ### Authorization @@ -2075,7 +2075,7 @@ No authorization required ## viewPushPreferences -> ViewPushPreferencesResponse viewPushPreferences(userId).apiToken(apiToken).execute(); +> SendBirdViewPushPreferencesResponse viewPushPreferences(userId).apiToken(apiToken).execute(); View push preferences @@ -2107,7 +2107,7 @@ public class Example { String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - ViewPushPreferencesResponse result = api.viewPushPreferences(userId) + SendBirdViewPushPreferencesResponse result = api.viewPushPreferences(userId) .apiToken(apiToken) .execute(); System.out.println(result); @@ -2132,7 +2132,7 @@ public class Example { ### Return type -[**ViewPushPreferencesResponse**](ViewPushPreferencesResponse.md) +[**SendBirdViewPushPreferencesResponse**](SendBirdViewPushPreferencesResponse.md) ### Authorization @@ -2151,7 +2151,7 @@ No authorization required ## viewPushPreferencesForAChannel -> ViewPushPreferencesForAChannelResponse viewPushPreferencesForAChannel(userId, channelUrl).apiToken(apiToken).execute(); +> SendBirdViewPushPreferencesForAChannelResponse viewPushPreferencesForAChannel(userId, channelUrl).apiToken(apiToken).execute(); View push preferences for a channel @@ -2184,7 +2184,7 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - ViewPushPreferencesForAChannelResponse result = api.viewPushPreferencesForAChannel(userId, channelUrl) + SendBirdViewPushPreferencesForAChannelResponse result = api.viewPushPreferencesForAChannel(userId, channelUrl) .apiToken(apiToken) .execute(); System.out.println(result); @@ -2210,7 +2210,7 @@ public class Example { ### Return type -[**ViewPushPreferencesForAChannelResponse**](ViewPushPreferencesForAChannelResponse.md) +[**SendBirdViewPushPreferencesForAChannelResponse**](SendBirdViewPushPreferencesForAChannelResponse.md) ### Authorization @@ -2229,7 +2229,7 @@ No authorization required ## viewWhoOwnsARegistrationOrDeviceToken -> List<MarkChannelMessagesAsReadRequest> viewWhoOwnsARegistrationOrDeviceToken(tokenType, token).apiToken(apiToken).execute(); +> List<SendBirdMarkChannelMessagesAsReadRequest> viewWhoOwnsARegistrationOrDeviceToken(tokenType, token).apiToken(apiToken).execute(); View who owns a registration or device token @@ -2260,7 +2260,7 @@ public class Example { String token = "token_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - List result = api.viewWhoOwnsARegistrationOrDeviceToken(tokenType, token) + List result = api.viewWhoOwnsARegistrationOrDeviceToken(tokenType, token) .apiToken(apiToken) .execute(); System.out.println(result); @@ -2286,7 +2286,7 @@ public class Example { ### Return type -[**List<MarkChannelMessagesAsReadRequest>**](MarkChannelMessagesAsReadRequest.md) +[**List<SendBirdMarkChannelMessagesAsReadRequest>**](SendBirdMarkChannelMessagesAsReadRequest.md) ### Authorization diff --git a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 7253c157..5b0ad2d4 100644 --- a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -24,7 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java b/src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java new file mode 100644 index 00000000..2aea8816 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java @@ -0,0 +1,168 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdAcceptAnInvitationRequest + */ +@JsonPropertyOrder({ + SendBirdAcceptAnInvitationRequest.JSON_PROPERTY_ACCESS_CODE, + SendBirdAcceptAnInvitationRequest.JSON_PROPERTY_USER_ID +}) +@JsonTypeName("acceptAnInvitation_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdAcceptAnInvitationRequest { + public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; + private JsonNullable accessCode = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + public SendBirdAcceptAnInvitationRequest() { + } + + public SendBirdAcceptAnInvitationRequest accessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + return this; + } + + /** + * Get accessCode + * @return accessCode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public String getAccessCode() { + return accessCode.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getAccessCode_JsonNullable() { + return accessCode; + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + public void setAccessCode_JsonNullable(JsonNullable accessCode) { + this.accessCode = accessCode; + } + + public void setAccessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + } + + + public SendBirdAcceptAnInvitationRequest userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + /** + * Return true if this acceptAnInvitation_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdAcceptAnInvitationRequest acceptAnInvitationRequest = (SendBirdAcceptAnInvitationRequest) o; + return equalsNullable(this.accessCode, acceptAnInvitationRequest.accessCode) && + Objects.equals(this.userId, acceptAnInvitationRequest.userId); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(hashCodeNullable(accessCode), userId); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdAcceptAnInvitationRequest {\n"); + sb.append(" accessCode: ").append(toIndentedString(accessCode)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java b/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java new file mode 100644 index 00000000..3e04388d --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java @@ -0,0 +1,177 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdAddARegistrationOrDeviceTokenRequest + */ +@JsonPropertyOrder({ + SendBirdAddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_APNS_DEVICE_TOKEN, + SendBirdAddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_GCM_REG_TOKEN, + SendBirdAddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_HUAWEI_DEVICE_TOKEN +}) +@JsonTypeName("addARegistrationOrDeviceToken_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdAddARegistrationOrDeviceTokenRequest { + public static final String JSON_PROPERTY_APNS_DEVICE_TOKEN = "apns_device_token"; + private String apnsDeviceToken; + + public static final String JSON_PROPERTY_GCM_REG_TOKEN = "gcm_reg_token"; + private String gcmRegToken; + + public static final String JSON_PROPERTY_HUAWEI_DEVICE_TOKEN = "huawei_device_token"; + private String huaweiDeviceToken; + + public SendBirdAddARegistrationOrDeviceTokenRequest() { + } + + public SendBirdAddARegistrationOrDeviceTokenRequest apnsDeviceToken(String apnsDeviceToken) { + this.apnsDeviceToken = apnsDeviceToken; + return this; + } + + /** + * Get apnsDeviceToken + * @return apnsDeviceToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_APNS_DEVICE_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getApnsDeviceToken() { + return apnsDeviceToken; + } + + + @JsonProperty(JSON_PROPERTY_APNS_DEVICE_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setApnsDeviceToken(String apnsDeviceToken) { + this.apnsDeviceToken = apnsDeviceToken; + } + + + public SendBirdAddARegistrationOrDeviceTokenRequest gcmRegToken(String gcmRegToken) { + this.gcmRegToken = gcmRegToken; + return this; + } + + /** + * Get gcmRegToken + * @return gcmRegToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_GCM_REG_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getGcmRegToken() { + return gcmRegToken; + } + + + @JsonProperty(JSON_PROPERTY_GCM_REG_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setGcmRegToken(String gcmRegToken) { + this.gcmRegToken = gcmRegToken; + } + + + public SendBirdAddARegistrationOrDeviceTokenRequest huaweiDeviceToken(String huaweiDeviceToken) { + this.huaweiDeviceToken = huaweiDeviceToken; + return this; + } + + /** + * Get huaweiDeviceToken + * @return huaweiDeviceToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HUAWEI_DEVICE_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getHuaweiDeviceToken() { + return huaweiDeviceToken; + } + + + @JsonProperty(JSON_PROPERTY_HUAWEI_DEVICE_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHuaweiDeviceToken(String huaweiDeviceToken) { + this.huaweiDeviceToken = huaweiDeviceToken; + } + + + /** + * Return true if this addARegistrationOrDeviceToken_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdAddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest = (SendBirdAddARegistrationOrDeviceTokenRequest) o; + return Objects.equals(this.apnsDeviceToken, addARegistrationOrDeviceTokenRequest.apnsDeviceToken) && + Objects.equals(this.gcmRegToken, addARegistrationOrDeviceTokenRequest.gcmRegToken) && + Objects.equals(this.huaweiDeviceToken, addARegistrationOrDeviceTokenRequest.huaweiDeviceToken); + } + + @Override + public int hashCode() { + return Objects.hash(apnsDeviceToken, gcmRegToken, huaweiDeviceToken); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdAddARegistrationOrDeviceTokenRequest {\n"); + sb.append(" apnsDeviceToken: ").append(toIndentedString(apnsDeviceToken)).append("\n"); + sb.append(" gcmRegToken: ").append(toIndentedString(gcmRegToken)).append("\n"); + sb.append(" huaweiDeviceToken: ").append(toIndentedString(huaweiDeviceToken)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java new file mode 100644 index 00000000..904826b3 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java @@ -0,0 +1,178 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdAddARegistrationOrDeviceTokenResponse + */ +@JsonPropertyOrder({ + SendBirdAddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_TOKEN, + SendBirdAddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_TYPE, + SendBirdAddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER +}) +@JsonTypeName("addARegistrationOrDeviceTokenResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdAddARegistrationOrDeviceTokenResponse { + public static final String JSON_PROPERTY_TOKEN = "token"; + private String token; + + public static final String JSON_PROPERTY_TYPE = "type"; + private String type; + + public static final String JSON_PROPERTY_USER = "user"; + private SendBirdSendbirdBasicUserInfo user; + + public SendBirdAddARegistrationOrDeviceTokenResponse() { + } + + public SendBirdAddARegistrationOrDeviceTokenResponse token(String token) { + this.token = token; + return this; + } + + /** + * Get token + * @return token + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getToken() { + return token; + } + + + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setToken(String token) { + this.token = token; + } + + + public SendBirdAddARegistrationOrDeviceTokenResponse type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getType() { + return type; + } + + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setType(String type) { + this.type = type; + } + + + public SendBirdAddARegistrationOrDeviceTokenResponse user(SendBirdSendbirdBasicUserInfo user) { + this.user = user; + return this; + } + + /** + * Get user + * @return user + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getUser() { + return user; + } + + + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUser(SendBirdSendbirdBasicUserInfo user) { + this.user = user; + } + + + /** + * Return true if this addARegistrationOrDeviceTokenResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdAddARegistrationOrDeviceTokenResponse addARegistrationOrDeviceTokenResponse = (SendBirdAddARegistrationOrDeviceTokenResponse) o; + return Objects.equals(this.token, addARegistrationOrDeviceTokenResponse.token) && + Objects.equals(this.type, addARegistrationOrDeviceTokenResponse.type) && + Objects.equals(this.user, addARegistrationOrDeviceTokenResponse.user); + } + + @Override + public int hashCode() { + return Objects.hash(token, type, user); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdAddARegistrationOrDeviceTokenResponse {\n"); + sb.append(" token: ").append(toIndentedString(token)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" user: ").append(toIndentedString(user)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java new file mode 100644 index 00000000..abe466be --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java @@ -0,0 +1,121 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdAddExtraDataToAMessageRequest + */ +@JsonPropertyOrder({ + SendBirdAddExtraDataToAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY +}) +@JsonTypeName("addExtraDataToAMessage_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdAddExtraDataToAMessageRequest { + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = new ArrayList<>(); + + public SendBirdAddExtraDataToAMessageRequest() { + } + + public SendBirdAddExtraDataToAMessageRequest sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdAddExtraDataToAMessageRequest addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + /** + * Return true if this addExtraDataToAMessage_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdAddExtraDataToAMessageRequest addExtraDataToAMessageRequest = (SendBirdAddExtraDataToAMessageRequest) o; + return Objects.equals(this.sortedMetaarray, addExtraDataToAMessageRequest.sortedMetaarray); + } + + @Override + public int hashCode() { + return Objects.hash(sortedMetaarray); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdAddExtraDataToAMessageRequest {\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java new file mode 100644 index 00000000..46ebe753 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java @@ -0,0 +1,124 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdAddExtraDataToAMessageResponse + */ +@JsonPropertyOrder({ + SendBirdAddExtraDataToAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY +}) +@JsonTypeName("addExtraDataToAMessageResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdAddExtraDataToAMessageResponse { + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public SendBirdAddExtraDataToAMessageResponse() { + } + + public SendBirdAddExtraDataToAMessageResponse sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdAddExtraDataToAMessageResponse addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + /** + * Return true if this addExtraDataToAMessageResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdAddExtraDataToAMessageResponse addExtraDataToAMessageResponse = (SendBirdAddExtraDataToAMessageResponse) o; + return Objects.equals(this.sortedMetaarray, addExtraDataToAMessageResponse.sortedMetaarray); + } + + @Override + public int hashCode() { + return Objects.hash(sortedMetaarray); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdAddExtraDataToAMessageResponse {\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java b/src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java new file mode 100644 index 00000000..ccbdf167 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java @@ -0,0 +1,155 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdBlockAUserRequest + */ +@JsonPropertyOrder({ + SendBirdBlockAUserRequest.JSON_PROPERTY_TARGET_ID, + SendBirdBlockAUserRequest.JSON_PROPERTY_USER_IDS +}) +@JsonTypeName("blockAUser_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdBlockAUserRequest { + public static final String JSON_PROPERTY_TARGET_ID = "target_id"; + private String targetId; + + public static final String JSON_PROPERTY_USER_IDS = "user_ids"; + private List userIds = null; + + public SendBirdBlockAUserRequest() { + } + + public SendBirdBlockAUserRequest targetId(String targetId) { + this.targetId = targetId; + return this; + } + + /** + * Get targetId + * @return targetId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TARGET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTargetId() { + return targetId; + } + + + @JsonProperty(JSON_PROPERTY_TARGET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTargetId(String targetId) { + this.targetId = targetId; + } + + + public SendBirdBlockAUserRequest userIds(List userIds) { + this.userIds = userIds; + return this; + } + + public SendBirdBlockAUserRequest addUserIdsItem(String userIdsItem) { + if (this.userIds == null) { + this.userIds = new ArrayList<>(); + } + this.userIds.add(userIdsItem); + return this; + } + + /** + * Specifies an array of IDs of all the users to block. This property can be used interchangeably with the users[] property when blocking multiple users at once. + * @return userIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies an array of IDs of all the users to block. This property can be used interchangeably with the users[] property when blocking multiple users at once.") + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getUserIds() { + return userIds; + } + + + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUserIds(List userIds) { + this.userIds = userIds; + } + + + /** + * Return true if this blockAUser_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdBlockAUserRequest blockAUserRequest = (SendBirdBlockAUserRequest) o; + return Objects.equals(this.targetId, blockAUserRequest.targetId) && + Objects.equals(this.userIds, blockAUserRequest.userIds); + } + + @Override + public int hashCode() { + return Objects.hash(targetId, userIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdBlockAUserRequest {\n"); + sb.append(" targetId: ").append(toIndentedString(targetId)).append("\n"); + sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java b/src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java new file mode 100644 index 00000000..8c9086cd --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java @@ -0,0 +1,156 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdUser; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdBlockAUserResponse + */ +@JsonPropertyOrder({ + SendBirdBlockAUserResponse.JSON_PROPERTY_USERS, + SendBirdBlockAUserResponse.JSON_PROPERTY_NEXT +}) +@JsonTypeName("blockAUserResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdBlockAUserResponse { + public static final String JSON_PROPERTY_USERS = "users"; + private List users = null; + + public static final String JSON_PROPERTY_NEXT = "next"; + private String next; + + public SendBirdBlockAUserResponse() { + } + + public SendBirdBlockAUserResponse users(List users) { + this.users = users; + return this; + } + + public SendBirdBlockAUserResponse addUsersItem(SendBirdSendbirdUser usersItem) { + if (this.users == null) { + this.users = new ArrayList<>(); + } + this.users.add(usersItem); + return this; + } + + /** + * Get users + * @return users + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getUsers() { + return users; + } + + + @JsonProperty(JSON_PROPERTY_USERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUsers(List users) { + this.users = users; + } + + + public SendBirdBlockAUserResponse next(String next) { + this.next = next; + return this; + } + + /** + * Get next + * @return next + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getNext() { + return next; + } + + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(String next) { + this.next = next; + } + + + /** + * Return true if this blockAUserResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdBlockAUserResponse blockAUserResponse = (SendBirdBlockAUserResponse) o; + return Objects.equals(this.users, blockAUserResponse.users) && + Objects.equals(this.next, blockAUserResponse.next); + } + + @Override + public int hashCode() { + return Objects.hash(users, next); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdBlockAUserResponse {\n"); + sb.append(" users: ").append(toIndentedString(users)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java new file mode 100644 index 00000000..6673140f --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java @@ -0,0 +1,182 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdCheckIfMemberResponse + */ +@JsonPropertyOrder({ + SendBirdCheckIfMemberResponse.JSON_PROPERTY_IS_MEMBER, + SendBirdCheckIfMemberResponse.JSON_PROPERTY_STATE +}) +@JsonTypeName("checkIfMemberResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdCheckIfMemberResponse { + public static final String JSON_PROPERTY_IS_MEMBER = "is_member"; + private Boolean isMember; + + /** + * Gets or Sets state + */ + public enum StateEnum { + INVITED("invited"), + + JOINED("joined"), + + NONE("none"); + + private String value; + + StateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static StateEnum fromValue(String value) { + for (StateEnum b : StateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_STATE = "state"; + private StateEnum state; + + public SendBirdCheckIfMemberResponse() { + } + + public SendBirdCheckIfMemberResponse isMember(Boolean isMember) { + this.isMember = isMember; + return this; + } + + /** + * Get isMember + * @return isMember + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsMember() { + return isMember; + } + + + @JsonProperty(JSON_PROPERTY_IS_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsMember(Boolean isMember) { + this.isMember = isMember; + } + + + public SendBirdCheckIfMemberResponse state(StateEnum state) { + this.state = state; + return this; + } + + /** + * Get state + * @return state + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public StateEnum getState() { + return state; + } + + + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setState(StateEnum state) { + this.state = state; + } + + + /** + * Return true if this checkIfMemberResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdCheckIfMemberResponse checkIfMemberResponse = (SendBirdCheckIfMemberResponse) o; + return Objects.equals(this.isMember, checkIfMemberResponse.isMember) && + Objects.equals(this.state, checkIfMemberResponse.state); + } + + @Override + public int hashCode() { + return Objects.hash(isMember, state); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdCheckIfMemberResponse {\n"); + sb.append(" isMember: ").append(toIndentedString(isMember)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java b/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java new file mode 100644 index 00000000..dbd79328 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java @@ -0,0 +1,148 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdChooseAPushNotificationContentTemplateRequest + */ +@JsonPropertyOrder({ + SendBirdChooseAPushNotificationContentTemplateRequest.JSON_PROPERTY_NAME +}) +@JsonTypeName("chooseAPushNotificationContentTemplate_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdChooseAPushNotificationContentTemplateRequest { + /** + * Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default) + */ + public enum NameEnum { + DEFAULT("default"), + + ALTERNATIVE("alternative"); + + private String value; + + NameEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static NameEnum fromValue(String value) { + for (NameEnum b : NameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_NAME = "name"; + private NameEnum name; + + public SendBirdChooseAPushNotificationContentTemplateRequest() { + } + + public SendBirdChooseAPushNotificationContentTemplateRequest name(NameEnum name) { + this.name = name; + return this; + } + + /** + * Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default) + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default)") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public NameEnum getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setName(NameEnum name) { + this.name = name; + } + + + /** + * Return true if this chooseAPushNotificationContentTemplate_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdChooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest = (SendBirdChooseAPushNotificationContentTemplateRequest) o; + return Objects.equals(this.name, chooseAPushNotificationContentTemplateRequest.name); + } + + @Override + public int hashCode() { + return Objects.hash(name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdChooseAPushNotificationContentTemplateRequest {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java b/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java new file mode 100644 index 00000000..2b55e888 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdChooseAPushNotificationContentTemplateResponse + */ +@JsonPropertyOrder({ + SendBirdChooseAPushNotificationContentTemplateResponse.JSON_PROPERTY_NAME +}) +@JsonTypeName("chooseAPushNotificationContentTemplateResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdChooseAPushNotificationContentTemplateResponse { + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public SendBirdChooseAPushNotificationContentTemplateResponse() { + } + + public SendBirdChooseAPushNotificationContentTemplateResponse name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + /** + * Return true if this chooseAPushNotificationContentTemplateResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdChooseAPushNotificationContentTemplateResponse chooseAPushNotificationContentTemplateResponse = (SendBirdChooseAPushNotificationContentTemplateResponse) o; + return Objects.equals(this.name, chooseAPushNotificationContentTemplateResponse.name); + } + + @Override + public int hashCode() { + return Objects.hash(name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdChooseAPushNotificationContentTemplateResponse {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java new file mode 100644 index 00000000..39487963 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java @@ -0,0 +1,369 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdCreateABotRequest + */ +@JsonPropertyOrder({ + SendBirdCreateABotRequest.JSON_PROPERTY_BOT_CALLBACK_URL, + SendBirdCreateABotRequest.JSON_PROPERTY_BOT_NICKNAME, + SendBirdCreateABotRequest.JSON_PROPERTY_BOT_PROFILE_URL, + SendBirdCreateABotRequest.JSON_PROPERTY_BOT_TYPE, + SendBirdCreateABotRequest.JSON_PROPERTY_BOT_USERID, + SendBirdCreateABotRequest.JSON_PROPERTY_IS_PRIVACY_MODE, + SendBirdCreateABotRequest.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE, + SendBirdCreateABotRequest.JSON_PROPERTY_ENABLE_MARK_AS_READ, + SendBirdCreateABotRequest.JSON_PROPERTY_SHOW_MEMBER +}) +@JsonTypeName("createABot_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdCreateABotRequest { + public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; + private String botCallbackUrl; + + public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; + private String botNickname; + + public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; + private String botProfileUrl; + + public static final String JSON_PROPERTY_BOT_TYPE = "bot_type"; + private String botType; + + public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; + private String botUserid; + + public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; + private Boolean isPrivacyMode; + + public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; + private Integer channelInvitationPreference; + + public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; + private Boolean enableMarkAsRead; + + public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; + private Boolean showMember; + + public SendBirdCreateABotRequest() { + } + + public SendBirdCreateABotRequest botCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + return this; + } + + /** + * Get botCallbackUrl + * @return botCallbackUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotCallbackUrl() { + return botCallbackUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + } + + + public SendBirdCreateABotRequest botNickname(String botNickname) { + this.botNickname = botNickname; + return this; + } + + /** + * Specifies the bot's nickname. The length is limited to 80 characters. + * @return botNickname + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the bot's nickname. The length is limited to 80 characters.") + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotNickname() { + return botNickname; + } + + + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotNickname(String botNickname) { + this.botNickname = botNickname; + } + + + public SendBirdCreateABotRequest botProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + return this; + } + + /** + * Get botProfileUrl + * @return botProfileUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotProfileUrl() { + return botProfileUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + } + + + public SendBirdCreateABotRequest botType(String botType) { + this.botType = botType; + return this; + } + + /** + * Get botType + * @return botType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_BOT_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotType() { + return botType; + } + + + @JsonProperty(JSON_PROPERTY_BOT_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotType(String botType) { + this.botType = botType; + } + + + public SendBirdCreateABotRequest botUserid(String botUserid) { + this.botUserid = botUserid; + return this; + } + + /** + * Specifies the unique ID of a bot. The length is limited to 80 characters. + * @return botUserid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the unique ID of a bot. The length is limited to 80 characters.") + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotUserid() { + return botUserid; + } + + + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotUserid(String botUserid) { + this.botUserid = botUserid; + } + + + public SendBirdCreateABotRequest isPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + return this; + } + + /** + * Determines whether to forward all or specific messages to the bot in channels where the bot is a member. If set to true, only messages starting with a \"/\" or mentioning the bot_userid are forwarded to the bot. If set to false, all messages are forwarded. This property can help protect the privacy of users' chat logs by configuring the bot to only receive messages addressed to the bot. + * @return isPrivacyMode + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Determines whether to forward all or specific messages to the bot in channels where the bot is a member. If set to true, only messages starting with a \"/\" or mentioning the bot_userid are forwarded to the bot. If set to false, all messages are forwarded. This property can help protect the privacy of users' chat logs by configuring the bot to only receive messages addressed to the bot.") + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Boolean getIsPrivacyMode() { + return isPrivacyMode; + } + + + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIsPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + } + + + public SendBirdCreateABotRequest channelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + return this; + } + + /** + * Get channelInvitationPreference + * @return channelInvitationPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getChannelInvitationPreference() { + return channelInvitationPreference; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + } + + + public SendBirdCreateABotRequest enableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + return this; + } + + /** + * Get enableMarkAsRead + * @return enableMarkAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnableMarkAsRead() { + return enableMarkAsRead; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + } + + + public SendBirdCreateABotRequest showMember(Boolean showMember) { + this.showMember = showMember; + return this; + } + + /** + * Get showMember + * @return showMember + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getShowMember() { + return showMember; + } + + + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShowMember(Boolean showMember) { + this.showMember = showMember; + } + + + /** + * Return true if this createABot_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdCreateABotRequest createABotRequest = (SendBirdCreateABotRequest) o; + return Objects.equals(this.botCallbackUrl, createABotRequest.botCallbackUrl) && + Objects.equals(this.botNickname, createABotRequest.botNickname) && + Objects.equals(this.botProfileUrl, createABotRequest.botProfileUrl) && + Objects.equals(this.botType, createABotRequest.botType) && + Objects.equals(this.botUserid, createABotRequest.botUserid) && + Objects.equals(this.isPrivacyMode, createABotRequest.isPrivacyMode) && + Objects.equals(this.channelInvitationPreference, createABotRequest.channelInvitationPreference) && + Objects.equals(this.enableMarkAsRead, createABotRequest.enableMarkAsRead) && + Objects.equals(this.showMember, createABotRequest.showMember); + } + + @Override + public int hashCode() { + return Objects.hash(botCallbackUrl, botNickname, botProfileUrl, botType, botUserid, isPrivacyMode, channelInvitationPreference, enableMarkAsRead, showMember); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdCreateABotRequest {\n"); + sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); + sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); + sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); + sb.append(" botType: ").append(toIndentedString(botType)).append("\n"); + sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); + sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); + sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); + sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); + sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java new file mode 100644 index 00000000..952bf823 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java @@ -0,0 +1,339 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdCreateABotResponseBot; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyle; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdCreateABotResponse + */ +@JsonPropertyOrder({ + SendBirdCreateABotResponse.JSON_PROPERTY_BOT, + SendBirdCreateABotResponse.JSON_PROPERTY_BOT_CALLBACK_URL, + SendBirdCreateABotResponse.JSON_PROPERTY_BOT_STYLE, + SendBirdCreateABotResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE, + SendBirdCreateABotResponse.JSON_PROPERTY_CREATED_AT, + SendBirdCreateABotResponse.JSON_PROPERTY_ENABLE_MARK_AS_READ, + SendBirdCreateABotResponse.JSON_PROPERTY_IS_PRIVACY_MODE, + SendBirdCreateABotResponse.JSON_PROPERTY_SHOW_MEMBER +}) +@JsonTypeName("createABotResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdCreateABotResponse { + public static final String JSON_PROPERTY_BOT = "bot"; + private SendBirdCreateABotResponseBot bot; + + public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; + private String botCallbackUrl; + + public static final String JSON_PROPERTY_BOT_STYLE = "bot_style"; + private SendBirdListBotsResponseBotsInnerBotStyle botStyle; + + public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; + private Integer channelInvitationPreference; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; + private Boolean enableMarkAsRead; + + public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; + private Boolean isPrivacyMode; + + public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; + private Boolean showMember; + + public SendBirdCreateABotResponse() { + } + + public SendBirdCreateABotResponse bot(SendBirdCreateABotResponseBot bot) { + this.bot = bot; + return this; + } + + /** + * Get bot + * @return bot + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public SendBirdCreateABotResponseBot getBot() { + return bot; + } + + + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBot(SendBirdCreateABotResponseBot bot) { + this.bot = bot; + } + + + public SendBirdCreateABotResponse botCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + return this; + } + + /** + * Get botCallbackUrl + * @return botCallbackUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotCallbackUrl() { + return botCallbackUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + } + + + public SendBirdCreateABotResponse botStyle(SendBirdListBotsResponseBotsInnerBotStyle botStyle) { + this.botStyle = botStyle; + return this; + } + + /** + * Get botStyle + * @return botStyle + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_STYLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdListBotsResponseBotsInnerBotStyle getBotStyle() { + return botStyle; + } + + + @JsonProperty(JSON_PROPERTY_BOT_STYLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotStyle(SendBirdListBotsResponseBotsInnerBotStyle botStyle) { + this.botStyle = botStyle; + } + + + public SendBirdCreateABotResponse channelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + return this; + } + + /** + * Get channelInvitationPreference + * @return channelInvitationPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getChannelInvitationPreference() { + return channelInvitationPreference; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + } + + + public SendBirdCreateABotResponse createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdCreateABotResponse enableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + return this; + } + + /** + * Get enableMarkAsRead + * @return enableMarkAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnableMarkAsRead() { + return enableMarkAsRead; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + } + + + public SendBirdCreateABotResponse isPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + return this; + } + + /** + * Get isPrivacyMode + * @return isPrivacyMode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPrivacyMode() { + return isPrivacyMode; + } + + + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + } + + + public SendBirdCreateABotResponse showMember(Boolean showMember) { + this.showMember = showMember; + return this; + } + + /** + * Get showMember + * @return showMember + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getShowMember() { + return showMember; + } + + + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShowMember(Boolean showMember) { + this.showMember = showMember; + } + + + /** + * Return true if this createABotResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdCreateABotResponse createABotResponse = (SendBirdCreateABotResponse) o; + return Objects.equals(this.bot, createABotResponse.bot) && + Objects.equals(this.botCallbackUrl, createABotResponse.botCallbackUrl) && + Objects.equals(this.botStyle, createABotResponse.botStyle) && + Objects.equals(this.channelInvitationPreference, createABotResponse.channelInvitationPreference) && + Objects.equals(this.createdAt, createABotResponse.createdAt) && + Objects.equals(this.enableMarkAsRead, createABotResponse.enableMarkAsRead) && + Objects.equals(this.isPrivacyMode, createABotResponse.isPrivacyMode) && + Objects.equals(this.showMember, createABotResponse.showMember); + } + + @Override + public int hashCode() { + return Objects.hash(bot, botCallbackUrl, botStyle, channelInvitationPreference, createdAt, enableMarkAsRead, isPrivacyMode, showMember); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdCreateABotResponse {\n"); + sb.append(" bot: ").append(toIndentedString(bot)).append("\n"); + sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); + sb.append(" botStyle: ").append(toIndentedString(botStyle)).append("\n"); + sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); + sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); + sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java b/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java new file mode 100644 index 00000000..697523b1 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java @@ -0,0 +1,369 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdCreateABotResponseBot + */ +@JsonPropertyOrder({ + SendBirdCreateABotResponseBot.JSON_PROPERTY_AI_AGENT_TYPE, + SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_METADATA, + SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_NICKNAME, + SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_PROFILE_URL, + SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_TOKEN, + SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_TYPE, + SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_USERID, + SendBirdCreateABotResponseBot.JSON_PROPERTY_FEEDBACK +}) +@JsonTypeName("createABotResponse_bot") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdCreateABotResponseBot { + public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; + private String aiAgentType; + + public static final String JSON_PROPERTY_BOT_METADATA = "bot_metadata"; + private Object botMetadata; + + public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; + private String botNickname; + + public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; + private String botProfileUrl; + + public static final String JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "bot_require_auth_for_profile_image"; + private Boolean botRequireAuthForProfileImage; + + public static final String JSON_PROPERTY_BOT_TOKEN = "bot_token"; + private String botToken; + + public static final String JSON_PROPERTY_BOT_TYPE = "bot_type"; + private String botType; + + public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; + private String botUserid; + + public static final String JSON_PROPERTY_FEEDBACK = "feedback"; + private Boolean feedback; + + public SendBirdCreateABotResponseBot() { + } + + public SendBirdCreateABotResponseBot aiAgentType(String aiAgentType) { + this.aiAgentType = aiAgentType; + return this; + } + + /** + * Get aiAgentType + * @return aiAgentType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_AI_AGENT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getAiAgentType() { + return aiAgentType; + } + + + @JsonProperty(JSON_PROPERTY_AI_AGENT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAiAgentType(String aiAgentType) { + this.aiAgentType = aiAgentType; + } + + + public SendBirdCreateABotResponseBot botMetadata(Object botMetadata) { + this.botMetadata = botMetadata; + return this; + } + + /** + * Get botMetadata + * @return botMetadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getBotMetadata() { + return botMetadata; + } + + + @JsonProperty(JSON_PROPERTY_BOT_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotMetadata(Object botMetadata) { + this.botMetadata = botMetadata; + } + + + public SendBirdCreateABotResponseBot botNickname(String botNickname) { + this.botNickname = botNickname; + return this; + } + + /** + * Get botNickname + * @return botNickname + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotNickname() { + return botNickname; + } + + + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotNickname(String botNickname) { + this.botNickname = botNickname; + } + + + public SendBirdCreateABotResponseBot botProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + return this; + } + + /** + * Get botProfileUrl + * @return botProfileUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotProfileUrl() { + return botProfileUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + } + + + public SendBirdCreateABotResponseBot botRequireAuthForProfileImage(Boolean botRequireAuthForProfileImage) { + this.botRequireAuthForProfileImage = botRequireAuthForProfileImage; + return this; + } + + /** + * Get botRequireAuthForProfileImage + * @return botRequireAuthForProfileImage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getBotRequireAuthForProfileImage() { + return botRequireAuthForProfileImage; + } + + + @JsonProperty(JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotRequireAuthForProfileImage(Boolean botRequireAuthForProfileImage) { + this.botRequireAuthForProfileImage = botRequireAuthForProfileImage; + } + + + public SendBirdCreateABotResponseBot botToken(String botToken) { + this.botToken = botToken; + return this; + } + + /** + * Get botToken + * @return botToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotToken() { + return botToken; + } + + + @JsonProperty(JSON_PROPERTY_BOT_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotToken(String botToken) { + this.botToken = botToken; + } + + + public SendBirdCreateABotResponseBot botType(String botType) { + this.botType = botType; + return this; + } + + /** + * Get botType + * @return botType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotType() { + return botType; + } + + + @JsonProperty(JSON_PROPERTY_BOT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotType(String botType) { + this.botType = botType; + } + + + public SendBirdCreateABotResponseBot botUserid(String botUserid) { + this.botUserid = botUserid; + return this; + } + + /** + * Get botUserid + * @return botUserid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotUserid() { + return botUserid; + } + + + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotUserid(String botUserid) { + this.botUserid = botUserid; + } + + + public SendBirdCreateABotResponseBot feedback(Boolean feedback) { + this.feedback = feedback; + return this; + } + + /** + * Get feedback + * @return feedback + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FEEDBACK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getFeedback() { + return feedback; + } + + + @JsonProperty(JSON_PROPERTY_FEEDBACK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFeedback(Boolean feedback) { + this.feedback = feedback; + } + + + /** + * Return true if this createABotResponse_bot object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdCreateABotResponseBot createABotResponseBot = (SendBirdCreateABotResponseBot) o; + return Objects.equals(this.aiAgentType, createABotResponseBot.aiAgentType) && + Objects.equals(this.botMetadata, createABotResponseBot.botMetadata) && + Objects.equals(this.botNickname, createABotResponseBot.botNickname) && + Objects.equals(this.botProfileUrl, createABotResponseBot.botProfileUrl) && + Objects.equals(this.botRequireAuthForProfileImage, createABotResponseBot.botRequireAuthForProfileImage) && + Objects.equals(this.botToken, createABotResponseBot.botToken) && + Objects.equals(this.botType, createABotResponseBot.botType) && + Objects.equals(this.botUserid, createABotResponseBot.botUserid) && + Objects.equals(this.feedback, createABotResponseBot.feedback); + } + + @Override + public int hashCode() { + return Objects.hash(aiAgentType, botMetadata, botNickname, botProfileUrl, botRequireAuthForProfileImage, botToken, botType, botUserid, feedback); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdCreateABotResponseBot {\n"); + sb.append(" aiAgentType: ").append(toIndentedString(aiAgentType)).append("\n"); + sb.append(" botMetadata: ").append(toIndentedString(botMetadata)).append("\n"); + sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); + sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); + sb.append(" botRequireAuthForProfileImage: ").append(toIndentedString(botRequireAuthForProfileImage)).append("\n"); + sb.append(" botToken: ").append(toIndentedString(botToken)).append("\n"); + sb.append(" botType: ").append(toIndentedString(botType)).append("\n"); + sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); + sb.append(" feedback: ").append(toIndentedString(feedback)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java new file mode 100644 index 00000000..6db2e349 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java @@ -0,0 +1,145 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdCreateAChannelMetadataRequest + */ +@JsonPropertyOrder({ + SendBirdCreateAChannelMetadataRequest.JSON_PROPERTY_INCLUDE_TS, + SendBirdCreateAChannelMetadataRequest.JSON_PROPERTY_METADATA +}) +@JsonTypeName("createAChannelMetadata_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdCreateAChannelMetadataRequest { + public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; + private Boolean includeTs; + + public static final String JSON_PROPERTY_METADATA = "metadata"; + private Object metadata; + + public SendBirdCreateAChannelMetadataRequest() { + } + + public SendBirdCreateAChannelMetadataRequest includeTs(Boolean includeTs) { + this.includeTs = includeTs; + return this; + } + + /** + * Get includeTs + * @return includeTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INCLUDE_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIncludeTs() { + return includeTs; + } + + + @JsonProperty(JSON_PROPERTY_INCLUDE_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIncludeTs(Boolean includeTs) { + this.includeTs = includeTs; + } + + + public SendBirdCreateAChannelMetadataRequest metadata(Object metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Object getMetadata() { + return metadata; + } + + + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + + /** + * Return true if this createAChannelMetadata_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdCreateAChannelMetadataRequest createAChannelMetadataRequest = (SendBirdCreateAChannelMetadataRequest) o; + return Objects.equals(this.includeTs, createAChannelMetadataRequest.includeTs) && + Objects.equals(this.metadata, createAChannelMetadataRequest.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(includeTs, metadata); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdCreateAChannelMetadataRequest {\n"); + sb.append(" includeTs: ").append(toIndentedString(includeTs)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java new file mode 100644 index 00000000..c8b49070 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java @@ -0,0 +1,145 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdCreateAChannelMetadataResponse + */ +@JsonPropertyOrder({ + SendBirdCreateAChannelMetadataResponse.JSON_PROPERTY_INCLUDE_TS, + SendBirdCreateAChannelMetadataResponse.JSON_PROPERTY_METADATA +}) +@JsonTypeName("createAChannelMetadataResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdCreateAChannelMetadataResponse { + public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; + private Long includeTs; + + public static final String JSON_PROPERTY_METADATA = "metadata"; + private Object metadata; + + public SendBirdCreateAChannelMetadataResponse() { + } + + public SendBirdCreateAChannelMetadataResponse includeTs(Long includeTs) { + this.includeTs = includeTs; + return this; + } + + /** + * Get includeTs + * @return includeTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INCLUDE_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getIncludeTs() { + return includeTs; + } + + + @JsonProperty(JSON_PROPERTY_INCLUDE_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIncludeTs(Long includeTs) { + this.includeTs = includeTs; + } + + + public SendBirdCreateAChannelMetadataResponse metadata(Object metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getMetadata() { + return metadata; + } + + + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + + /** + * Return true if this createAChannelMetadataResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdCreateAChannelMetadataResponse createAChannelMetadataResponse = (SendBirdCreateAChannelMetadataResponse) o; + return Objects.equals(this.includeTs, createAChannelMetadataResponse.includeTs) && + Objects.equals(this.metadata, createAChannelMetadataResponse.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(includeTs, metadata); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdCreateAChannelMetadataResponse {\n"); + sb.append(" includeTs: ").append(toIndentedString(includeTs)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java new file mode 100644 index 00000000..3ac5bc9c --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java @@ -0,0 +1,745 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdCreateAGroupChannelRequest + */ +@JsonPropertyOrder({ + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_ACCESS_CODE, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_CHANNEL_URL, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_COVER_FILE, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_COVER_URL, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_DATA, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_HIDDEN_STATUS, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_INVITATION_STATUS, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_INVITER_ID, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_IS_DISTINCT, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_IS_PUBLIC, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_IS_SUPER, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_NAME, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_STRICT, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_USER_IDS, + SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_USERS +}) +@JsonTypeName("createAGroupChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdCreateAGroupChannelRequest { + public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; + private JsonNullable accessCode = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN = "block_sdk_user_channel_join"; + private JsonNullable blockSdkUserChannelJoin = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; + private String channelUrl; + + public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; + private File coverFile; + + public static final String JSON_PROPERTY_COVER_URL = "cover_url"; + private String coverUrl; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_HIDDEN_STATUS = "hidden_status"; + private Object hiddenStatus; + + public static final String JSON_PROPERTY_INVITATION_STATUS = "invitation_status"; + private Object invitationStatus; + + public static final String JSON_PROPERTY_INVITER_ID = "inviter_id"; + private String inviterId; + + public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; + private Boolean isDistinct; + + public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; + private Boolean isEphemeral; + + public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; + private Boolean isPublic; + + public static final String JSON_PROPERTY_IS_SUPER = "is_super"; + private Boolean isSuper; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; + private List operatorIds = null; + + public static final String JSON_PROPERTY_STRICT = "strict"; + private Boolean strict; + + public static final String JSON_PROPERTY_USER_IDS = "user_ids"; + private List userIds = null; + + public static final String JSON_PROPERTY_USERS = "users"; + private List users = new ArrayList<>(); + + public SendBirdCreateAGroupChannelRequest() { + } + + public SendBirdCreateAGroupChannelRequest accessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + return this; + } + + /** + * Get accessCode + * @return accessCode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public String getAccessCode() { + return accessCode.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getAccessCode_JsonNullable() { + return accessCode; + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + public void setAccessCode_JsonNullable(JsonNullable accessCode) { + this.accessCode = accessCode; + } + + public void setAccessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + } + + + public SendBirdCreateAGroupChannelRequest blockSdkUserChannelJoin(Boolean blockSdkUserChannelJoin) { + this.blockSdkUserChannelJoin = JsonNullable.of(blockSdkUserChannelJoin); + return this; + } + + /** + * Get blockSdkUserChannelJoin + * @return blockSdkUserChannelJoin + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Boolean getBlockSdkUserChannelJoin() { + return blockSdkUserChannelJoin.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getBlockSdkUserChannelJoin_JsonNullable() { + return blockSdkUserChannelJoin; + } + + @JsonProperty(JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN) + public void setBlockSdkUserChannelJoin_JsonNullable(JsonNullable blockSdkUserChannelJoin) { + this.blockSdkUserChannelJoin = blockSdkUserChannelJoin; + } + + public void setBlockSdkUserChannelJoin(Boolean blockSdkUserChannelJoin) { + this.blockSdkUserChannelJoin = JsonNullable.of(blockSdkUserChannelJoin); + } + + + public SendBirdCreateAGroupChannelRequest channelUrl(String channelUrl) { + this.channelUrl = channelUrl; + return this; + } + + /** + * Get channelUrl + * @return channelUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getChannelUrl() { + return channelUrl; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelUrl(String channelUrl) { + this.channelUrl = channelUrl; + } + + + public SendBirdCreateAGroupChannelRequest coverFile(File coverFile) { + this.coverFile = coverFile; + return this; + } + + /** + * Uploads a file for the channel cover image. + * @return coverFile + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Uploads a file for the channel cover image.") + @JsonProperty(JSON_PROPERTY_COVER_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public File getCoverFile() { + return coverFile; + } + + + @JsonProperty(JSON_PROPERTY_COVER_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverFile(File coverFile) { + this.coverFile = coverFile; + } + + + public SendBirdCreateAGroupChannelRequest coverUrl(String coverUrl) { + this.coverUrl = coverUrl; + return this; + } + + /** + * Get coverUrl + * @return coverUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCoverUrl() { + return coverUrl; + } + + + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverUrl(String coverUrl) { + this.coverUrl = coverUrl; + } + + + public SendBirdCreateAGroupChannelRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdCreateAGroupChannelRequest data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdCreateAGroupChannelRequest hiddenStatus(Object hiddenStatus) { + this.hiddenStatus = hiddenStatus; + return this; + } + + /** + * Specifies one or more key-value pair items which set the channel's hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:<br />- unhidden (default): the channel is included in when retrieving a list of group channels.<br />- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.<br />- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message. + * @return hiddenStatus + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies one or more key-value pair items which set the channel's hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:
- unhidden (default): the channel is included in when retrieving a list of group channels.
- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.
- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message.") + @JsonProperty(JSON_PROPERTY_HIDDEN_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getHiddenStatus() { + return hiddenStatus; + } + + + @JsonProperty(JSON_PROPERTY_HIDDEN_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHiddenStatus(Object hiddenStatus) { + this.hiddenStatus = hiddenStatus; + } + + + public SendBirdCreateAGroupChannelRequest invitationStatus(Object invitationStatus) { + this.invitationStatus = invitationStatus; + return this; + } + + /** + * Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined) + * @return invitationStatus + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined)") + @JsonProperty(JSON_PROPERTY_INVITATION_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getInvitationStatus() { + return invitationStatus; + } + + + @JsonProperty(JSON_PROPERTY_INVITATION_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setInvitationStatus(Object invitationStatus) { + this.invitationStatus = invitationStatus; + } + + + public SendBirdCreateAGroupChannelRequest inviterId(String inviterId) { + this.inviterId = inviterId; + return this; + } + + /** + * Get inviterId + * @return inviterId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INVITER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getInviterId() { + return inviterId; + } + + + @JsonProperty(JSON_PROPERTY_INVITER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setInviterId(String inviterId) { + this.inviterId = inviterId; + } + + + public SendBirdCreateAGroupChannelRequest isDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + return this; + } + + /** + * Get isDistinct + * @return isDistinct + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDistinct() { + return isDistinct; + } + + + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + } + + + public SendBirdCreateAGroupChannelRequest isEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + return this; + } + + /** + * Get isEphemeral + * @return isEphemeral + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsEphemeral() { + return isEphemeral; + } + + + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + } + + + public SendBirdCreateAGroupChannelRequest isPublic(Boolean isPublic) { + this.isPublic = isPublic; + return this; + } + + /** + * Get isPublic + * @return isPublic + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPublic() { + return isPublic; + } + + + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPublic(Boolean isPublic) { + this.isPublic = isPublic; + } + + + public SendBirdCreateAGroupChannelRequest isSuper(Boolean isSuper) { + this.isSuper = isSuper; + return this; + } + + /** + * Get isSuper + * @return isSuper + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSuper() { + return isSuper; + } + + + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSuper(Boolean isSuper) { + this.isSuper = isSuper; + } + + + public SendBirdCreateAGroupChannelRequest name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + public SendBirdCreateAGroupChannelRequest operatorIds(List operatorIds) { + this.operatorIds = operatorIds; + return this; + } + + public SendBirdCreateAGroupChannelRequest addOperatorIdsItem(String operatorIdsItem) { + if (this.operatorIds == null) { + this.operatorIds = new ArrayList<>(); + } + this.operatorIds.add(operatorIdsItem); + return this; + } + + /** + * Get operatorIds + * @return operatorIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getOperatorIds() { + return operatorIds; + } + + + @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperatorIds(List operatorIds) { + this.operatorIds = operatorIds; + } + + + public SendBirdCreateAGroupChannelRequest strict(Boolean strict) { + this.strict = strict; + return this; + } + + /** + * Get strict + * @return strict + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_STRICT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getStrict() { + return strict; + } + + + @JsonProperty(JSON_PROPERTY_STRICT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStrict(Boolean strict) { + this.strict = strict; + } + + + public SendBirdCreateAGroupChannelRequest userIds(List userIds) { + this.userIds = userIds; + return this; + } + + public SendBirdCreateAGroupChannelRequest addUserIdsItem(String userIdsItem) { + if (this.userIds == null) { + this.userIds = new ArrayList<>(); + } + this.userIds.add(userIdsItem); + return this; + } + + /** + * Get userIds + * @return userIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getUserIds() { + return userIds; + } + + + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUserIds(List userIds) { + this.userIds = userIds; + } + + + public SendBirdCreateAGroupChannelRequest users(List users) { + this.users = users; + return this; + } + + public SendBirdCreateAGroupChannelRequest addUsersItem(SendBirdSendbirdUser usersItem) { + this.users.add(usersItem); + return this; + } + + /** + * Get users + * @return users + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USERS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public List getUsers() { + return users; + } + + + @JsonProperty(JSON_PROPERTY_USERS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUsers(List users) { + this.users = users; + } + + + /** + * Return true if this createAGroupChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdCreateAGroupChannelRequest createAGroupChannelRequest = (SendBirdCreateAGroupChannelRequest) o; + return equalsNullable(this.accessCode, createAGroupChannelRequest.accessCode) && + equalsNullable(this.blockSdkUserChannelJoin, createAGroupChannelRequest.blockSdkUserChannelJoin) && + Objects.equals(this.channelUrl, createAGroupChannelRequest.channelUrl) && + Objects.equals(this.coverFile, createAGroupChannelRequest.coverFile) && + Objects.equals(this.coverUrl, createAGroupChannelRequest.coverUrl) && + Objects.equals(this.customType, createAGroupChannelRequest.customType) && + Objects.equals(this.data, createAGroupChannelRequest.data) && + Objects.equals(this.hiddenStatus, createAGroupChannelRequest.hiddenStatus) && + Objects.equals(this.invitationStatus, createAGroupChannelRequest.invitationStatus) && + Objects.equals(this.inviterId, createAGroupChannelRequest.inviterId) && + Objects.equals(this.isDistinct, createAGroupChannelRequest.isDistinct) && + Objects.equals(this.isEphemeral, createAGroupChannelRequest.isEphemeral) && + Objects.equals(this.isPublic, createAGroupChannelRequest.isPublic) && + Objects.equals(this.isSuper, createAGroupChannelRequest.isSuper) && + Objects.equals(this.name, createAGroupChannelRequest.name) && + Objects.equals(this.operatorIds, createAGroupChannelRequest.operatorIds) && + Objects.equals(this.strict, createAGroupChannelRequest.strict) && + Objects.equals(this.userIds, createAGroupChannelRequest.userIds) && + Objects.equals(this.users, createAGroupChannelRequest.users); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(hashCodeNullable(accessCode), hashCodeNullable(blockSdkUserChannelJoin), channelUrl, coverFile, coverUrl, customType, data, hiddenStatus, invitationStatus, inviterId, isDistinct, isEphemeral, isPublic, isSuper, name, operatorIds, strict, userIds, users); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdCreateAGroupChannelRequest {\n"); + sb.append(" accessCode: ").append(toIndentedString(accessCode)).append("\n"); + sb.append(" blockSdkUserChannelJoin: ").append(toIndentedString(blockSdkUserChannelJoin)).append("\n"); + sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); + sb.append(" coverFile: ").append(toIndentedString(coverFile)).append("\n"); + sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" hiddenStatus: ").append(toIndentedString(hiddenStatus)).append("\n"); + sb.append(" invitationStatus: ").append(toIndentedString(invitationStatus)).append("\n"); + sb.append(" inviterId: ").append(toIndentedString(inviterId)).append("\n"); + sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); + sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); + sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); + sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" operatorIds: ").append(toIndentedString(operatorIds)).append("\n"); + sb.append(" strict: ").append(toIndentedString(strict)).append("\n"); + sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); + sb.append(" users: ").append(toIndentedString(users)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java new file mode 100644 index 00000000..c8cc0f91 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java @@ -0,0 +1,351 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdCreateAUserRequest + */ +@JsonPropertyOrder({ + SendBirdCreateAUserRequest.JSON_PROPERTY_DISCOVERY_KEYS, + SendBirdCreateAUserRequest.JSON_PROPERTY_ISSUE_ACCESS_TOKEN, + SendBirdCreateAUserRequest.JSON_PROPERTY_METADATA, + SendBirdCreateAUserRequest.JSON_PROPERTY_NICKNAME, + SendBirdCreateAUserRequest.JSON_PROPERTY_PROFILE_FILE, + SendBirdCreateAUserRequest.JSON_PROPERTY_PROFILE_URL, + SendBirdCreateAUserRequest.JSON_PROPERTY_USER_ID +}) +@JsonTypeName("createAUser_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdCreateAUserRequest { + public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; + private JsonNullable> discoveryKeys = JsonNullable.>undefined(); + + public static final String JSON_PROPERTY_ISSUE_ACCESS_TOKEN = "issue_access_token"; + private Boolean issueAccessToken; + + public static final String JSON_PROPERTY_METADATA = "metadata"; + private JsonNullable metadata = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_NICKNAME = "nickname"; + private String nickname; + + public static final String JSON_PROPERTY_PROFILE_FILE = "profile_file"; + private File profileFile; + + public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; + private String profileUrl = ""; + + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + public SendBirdCreateAUserRequest() { + } + + public SendBirdCreateAUserRequest discoveryKeys(List discoveryKeys) { + this.discoveryKeys = JsonNullable.>of(discoveryKeys); + return this; + } + + public SendBirdCreateAUserRequest addDiscoveryKeysItem(String discoveryKeysItem) { + if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { + this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); + } + try { + this.discoveryKeys.get().add(discoveryKeysItem); + } catch (java.util.NoSuchElementException e) { + // this can never happen, as we make sure above that the value is present + } + return this; + } + + /** + * Get discoveryKeys + * @return discoveryKeys + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public List getDiscoveryKeys() { + return discoveryKeys.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable> getDiscoveryKeys_JsonNullable() { + return discoveryKeys; + } + + @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) + public void setDiscoveryKeys_JsonNullable(JsonNullable> discoveryKeys) { + this.discoveryKeys = discoveryKeys; + } + + public void setDiscoveryKeys(List discoveryKeys) { + this.discoveryKeys = JsonNullable.>of(discoveryKeys); + } + + + public SendBirdCreateAUserRequest issueAccessToken(Boolean issueAccessToken) { + this.issueAccessToken = issueAccessToken; + return this; + } + + /** + * Get issueAccessToken + * @return issueAccessToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ISSUE_ACCESS_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIssueAccessToken() { + return issueAccessToken; + } + + + @JsonProperty(JSON_PROPERTY_ISSUE_ACCESS_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIssueAccessToken(Boolean issueAccessToken) { + this.issueAccessToken = issueAccessToken; + } + + + public SendBirdCreateAUserRequest metadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Object getMetadata() { + return metadata.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { + this.metadata = metadata; + } + + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + + + public SendBirdCreateAUserRequest nickname(String nickname) { + this.nickname = nickname; + return this; + } + + /** + * Get nickname + * @return nickname + **/ + @javax.annotation.Nullable + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_NICKNAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getNickname() { + return nickname; + } + + + @JsonProperty(JSON_PROPERTY_NICKNAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setNickname(String nickname) { + this.nickname = nickname; + } + + + public SendBirdCreateAUserRequest profileFile(File profileFile) { + this.profileFile = profileFile; + return this; + } + + /** + * Specifies the file of the user's profile image. An acceptable image is limited to a JPG, JPEG, or PNG file of up to 5 MB. When passing a file, you should send a multipart request. If the profile_file property is specified, the profile_url property is not required. + * @return profileFile + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the file of the user's profile image. An acceptable image is limited to a JPG, JPEG, or PNG file of up to 5 MB. When passing a file, you should send a multipart request. If the profile_file property is specified, the profile_url property is not required.") + @JsonProperty(JSON_PROPERTY_PROFILE_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public File getProfileFile() { + return profileFile; + } + + + @JsonProperty(JSON_PROPERTY_PROFILE_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setProfileFile(File profileFile) { + this.profileFile = profileFile; + } + + + public SendBirdCreateAUserRequest profileUrl(String profileUrl) { + this.profileUrl = profileUrl; + return this; + } + + /** + * Get profileUrl + * @return profileUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getProfileUrl() { + return profileUrl; + } + + + @JsonProperty(JSON_PROPERTY_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setProfileUrl(String profileUrl) { + this.profileUrl = profileUrl; + } + + + public SendBirdCreateAUserRequest userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + /** + * Return true if this createAUser_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdCreateAUserRequest createAUserRequest = (SendBirdCreateAUserRequest) o; + return equalsNullable(this.discoveryKeys, createAUserRequest.discoveryKeys) && + Objects.equals(this.issueAccessToken, createAUserRequest.issueAccessToken) && + equalsNullable(this.metadata, createAUserRequest.metadata) && + Objects.equals(this.nickname, createAUserRequest.nickname) && + Objects.equals(this.profileFile, createAUserRequest.profileFile) && + Objects.equals(this.profileUrl, createAUserRequest.profileUrl) && + Objects.equals(this.userId, createAUserRequest.userId); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(hashCodeNullable(discoveryKeys), issueAccessToken, hashCodeNullable(metadata), nickname, profileFile, profileUrl, userId); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdCreateAUserRequest {\n"); + sb.append(" discoveryKeys: ").append(toIndentedString(discoveryKeys)).append("\n"); + sb.append(" issueAccessToken: ").append(toIndentedString(issueAccessToken)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" nickname: ").append(toIndentedString(nickname)).append("\n"); + sb.append(" profileFile: ").append(toIndentedString(profileFile)).append("\n"); + sb.append(" profileUrl: ").append(toIndentedString(profileUrl)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java new file mode 100644 index 00000000..f16e146b --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java @@ -0,0 +1,380 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdCreateAnOpenChannelRequest + */ +@JsonPropertyOrder({ + SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_IS_DYNAMIC_PARTITIONED, + SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_CHANNEL_URL, + SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_COVER_FILE, + SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_COVER_URL, + SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_DATA, + SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_NAME, + SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS +}) +@JsonTypeName("createAnOpenChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdCreateAnOpenChannelRequest { + public static final String JSON_PROPERTY_IS_DYNAMIC_PARTITIONED = "is_dynamic_partitioned"; + private Boolean isDynamicPartitioned; + + public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; + private String channelUrl; + + public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; + private File coverFile; + + public static final String JSON_PROPERTY_COVER_URL = "cover_url"; + private String coverUrl; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; + private Boolean isEphemeral; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; + private List operatorIds = null; + + public SendBirdCreateAnOpenChannelRequest() { + } + + public SendBirdCreateAnOpenChannelRequest isDynamicPartitioned(Boolean isDynamicPartitioned) { + this.isDynamicPartitioned = isDynamicPartitioned; + return this; + } + + /** + * Get isDynamicPartitioned + * @return isDynamicPartitioned + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DYNAMIC_PARTITIONED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDynamicPartitioned() { + return isDynamicPartitioned; + } + + + @JsonProperty(JSON_PROPERTY_IS_DYNAMIC_PARTITIONED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDynamicPartitioned(Boolean isDynamicPartitioned) { + this.isDynamicPartitioned = isDynamicPartitioned; + } + + + public SendBirdCreateAnOpenChannelRequest channelUrl(String channelUrl) { + this.channelUrl = channelUrl; + return this; + } + + /** + * Get channelUrl + * @return channelUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getChannelUrl() { + return channelUrl; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelUrl(String channelUrl) { + this.channelUrl = channelUrl; + } + + + public SendBirdCreateAnOpenChannelRequest coverFile(File coverFile) { + this.coverFile = coverFile; + return this; + } + + /** + * Get coverFile + * @return coverFile + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public File getCoverFile() { + return coverFile; + } + + + @JsonProperty(JSON_PROPERTY_COVER_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverFile(File coverFile) { + this.coverFile = coverFile; + } + + + public SendBirdCreateAnOpenChannelRequest coverUrl(String coverUrl) { + this.coverUrl = coverUrl; + return this; + } + + /** + * Get coverUrl + * @return coverUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCoverUrl() { + return coverUrl; + } + + + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverUrl(String coverUrl) { + this.coverUrl = coverUrl; + } + + + public SendBirdCreateAnOpenChannelRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdCreateAnOpenChannelRequest data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdCreateAnOpenChannelRequest isEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + return this; + } + + /** + * Get isEphemeral + * @return isEphemeral + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsEphemeral() { + return isEphemeral; + } + + + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + } + + + public SendBirdCreateAnOpenChannelRequest name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + public SendBirdCreateAnOpenChannelRequest operatorIds(List operatorIds) { + this.operatorIds = operatorIds; + return this; + } + + public SendBirdCreateAnOpenChannelRequest addOperatorIdsItem(String operatorIdsItem) { + if (this.operatorIds == null) { + this.operatorIds = new ArrayList<>(); + } + this.operatorIds.add(operatorIdsItem); + return this; + } + + /** + * Get operatorIds + * @return operatorIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getOperatorIds() { + return operatorIds; + } + + + @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperatorIds(List operatorIds) { + this.operatorIds = operatorIds; + } + + + /** + * Return true if this createAnOpenChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdCreateAnOpenChannelRequest createAnOpenChannelRequest = (SendBirdCreateAnOpenChannelRequest) o; + return Objects.equals(this.isDynamicPartitioned, createAnOpenChannelRequest.isDynamicPartitioned) && + Objects.equals(this.channelUrl, createAnOpenChannelRequest.channelUrl) && + Objects.equals(this.coverFile, createAnOpenChannelRequest.coverFile) && + Objects.equals(this.coverUrl, createAnOpenChannelRequest.coverUrl) && + Objects.equals(this.customType, createAnOpenChannelRequest.customType) && + Objects.equals(this.data, createAnOpenChannelRequest.data) && + Objects.equals(this.isEphemeral, createAnOpenChannelRequest.isEphemeral) && + Objects.equals(this.name, createAnOpenChannelRequest.name) && + Objects.equals(this.operatorIds, createAnOpenChannelRequest.operatorIds); + } + + @Override + public int hashCode() { + return Objects.hash(isDynamicPartitioned, channelUrl, coverFile, coverUrl, customType, data, isEphemeral, name, operatorIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdCreateAnOpenChannelRequest {\n"); + sb.append(" isDynamicPartitioned: ").append(toIndentedString(isDynamicPartitioned)).append("\n"); + sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); + sb.append(" coverFile: ").append(toIndentedString(coverFile)).append("\n"); + sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" operatorIds: ").append(toIndentedString(operatorIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java new file mode 100644 index 00000000..1a833999 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdCreateUserTokenRequest + */ +@JsonPropertyOrder({ + SendBirdCreateUserTokenRequest.JSON_PROPERTY_EXPIRES_AT +}) +@JsonTypeName("createUserToken_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdCreateUserTokenRequest { + public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; + private Long expiresAt; + + public SendBirdCreateUserTokenRequest() { + } + + public SendBirdCreateUserTokenRequest expiresAt(Long expiresAt) { + this.expiresAt = expiresAt; + return this; + } + + /** + * Get expiresAt + * @return expiresAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_EXPIRES_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getExpiresAt() { + return expiresAt; + } + + + @JsonProperty(JSON_PROPERTY_EXPIRES_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setExpiresAt(Long expiresAt) { + this.expiresAt = expiresAt; + } + + + /** + * Return true if this createUserToken_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdCreateUserTokenRequest createUserTokenRequest = (SendBirdCreateUserTokenRequest) o; + return Objects.equals(this.expiresAt, createUserTokenRequest.expiresAt); + } + + @Override + public int hashCode() { + return Objects.hash(expiresAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdCreateUserTokenRequest {\n"); + sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java new file mode 100644 index 00000000..7b9fcba0 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java @@ -0,0 +1,145 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdCreateUserTokenResponse + */ +@JsonPropertyOrder({ + SendBirdCreateUserTokenResponse.JSON_PROPERTY_EXPIRES_AT, + SendBirdCreateUserTokenResponse.JSON_PROPERTY_TOKEN +}) +@JsonTypeName("createUserTokenResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdCreateUserTokenResponse { + public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; + private Long expiresAt; + + public static final String JSON_PROPERTY_TOKEN = "token"; + private String token; + + public SendBirdCreateUserTokenResponse() { + } + + public SendBirdCreateUserTokenResponse expiresAt(Long expiresAt) { + this.expiresAt = expiresAt; + return this; + } + + /** + * Get expiresAt + * @return expiresAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_EXPIRES_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getExpiresAt() { + return expiresAt; + } + + + @JsonProperty(JSON_PROPERTY_EXPIRES_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setExpiresAt(Long expiresAt) { + this.expiresAt = expiresAt; + } + + + public SendBirdCreateUserTokenResponse token(String token) { + this.token = token; + return this; + } + + /** + * Get token + * @return token + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getToken() { + return token; + } + + + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setToken(String token) { + this.token = token; + } + + + /** + * Return true if this createUserTokenResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdCreateUserTokenResponse createUserTokenResponse = (SendBirdCreateUserTokenResponse) o; + return Objects.equals(this.expiresAt, createUserTokenResponse.expiresAt) && + Objects.equals(this.token, createUserTokenResponse.token); + } + + @Override + public int hashCode() { + return Objects.hash(expiresAt, token); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdCreateUserTokenResponse {\n"); + sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); + sb.append(" token: ").append(toIndentedString(token)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java new file mode 100644 index 00000000..47723dfe --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdFreezeAGroupChannelRequest + */ +@JsonPropertyOrder({ + SendBirdFreezeAGroupChannelRequest.JSON_PROPERTY_FREEZE +}) +@JsonTypeName("freezeAGroupChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdFreezeAGroupChannelRequest { + public static final String JSON_PROPERTY_FREEZE = "freeze"; + private Boolean freeze; + + public SendBirdFreezeAGroupChannelRequest() { + } + + public SendBirdFreezeAGroupChannelRequest freeze(Boolean freeze) { + this.freeze = freeze; + return this; + } + + /** + * Get freeze + * @return freeze + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Boolean getFreeze() { + return freeze; + } + + + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFreeze(Boolean freeze) { + this.freeze = freeze; + } + + + /** + * Return true if this freezeAGroupChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdFreezeAGroupChannelRequest freezeAGroupChannelRequest = (SendBirdFreezeAGroupChannelRequest) o; + return Objects.equals(this.freeze, freezeAGroupChannelRequest.freeze); + } + + @Override + public int hashCode() { + return Objects.hash(freeze); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdFreezeAGroupChannelRequest {\n"); + sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java new file mode 100644 index 00000000..2e35478f --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdFreezeAnOpenChannelRequest + */ +@JsonPropertyOrder({ + SendBirdFreezeAnOpenChannelRequest.JSON_PROPERTY_FREEZE +}) +@JsonTypeName("freezeAnOpenChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdFreezeAnOpenChannelRequest { + public static final String JSON_PROPERTY_FREEZE = "freeze"; + private Boolean freeze; + + public SendBirdFreezeAnOpenChannelRequest() { + } + + public SendBirdFreezeAnOpenChannelRequest freeze(Boolean freeze) { + this.freeze = freeze; + return this; + } + + /** + * Determines whether to freeze the channel. (Default: true) + * @return freeze + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Determines whether to freeze the channel. (Default: true)") + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Boolean getFreeze() { + return freeze; + } + + + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFreeze(Boolean freeze) { + this.freeze = freeze; + } + + + /** + * Return true if this freezeAnOpenChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdFreezeAnOpenChannelRequest freezeAnOpenChannelRequest = (SendBirdFreezeAnOpenChannelRequest) o; + return Objects.equals(this.freeze, freezeAnOpenChannelRequest.freeze); + } + + @Override + public int hashCode() { + return Objects.hash(freeze); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdFreezeAnOpenChannelRequest {\n"); + sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java new file mode 100644 index 00000000..551bae6a --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java @@ -0,0 +1,1771 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import org.openapitools.client.model.SendBirdGetAGroupChannelResponseAllOf; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendbirdGroupChannel; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdSendbirdMember; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendbirdSmsFallback; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdGetAGroupChannelResponse + */ +@JsonPropertyOrder({ + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_CHANNEL, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_CHANNEL_URL, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_COUNT_PREFERENCE, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_COVER_URL, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_CREATED_AT, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_CREATED_BY, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_DATA, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_DELIVERY_RECEIPT, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_DISAPPEARING_MESSAGE, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_FREEZE, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_HAS_AI_BOT, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_HAS_BOT, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_HIDDEN_STATE, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_INVITED_AT, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_INVITER, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_BROADCAST, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_DISCOVERABLE, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_DISTINCT, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_EXCLUSIVE, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_HIDDEN, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_MUTED, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_PUBLIC, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_PUSH_ENABLED, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_SUPER, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_JOINED_MEMBER_COUNT, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_JOINED_TS, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_LAST_MESSAGE, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MEMBER_COUNT, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MEMBER_STATE, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MEMBERS, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_METADATA, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MY_ROLE, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_NAME, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_READ_RECEIPT, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_SMS_FALLBACK, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_TS_MESSAGE_OFFSET, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_UNREAD_MENTION_COUNT, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, + SendBirdGetAGroupChannelResponse.JSON_PROPERTY_USER_LAST_READ +}) +@JsonTypeName("getAGroupChannelResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdGetAGroupChannelResponse { + public static final String JSON_PROPERTY_CHANNEL = "channel"; + private SendBirdSendbirdGroupChannelDetailChannel channel; + + public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; + private String channelUrl; + + /** + * Gets or Sets countPreference + */ + public enum CountPreferenceEnum { + FALSE("false"), + + ALL("all"), + + UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), + + UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); + + private String value; + + CountPreferenceEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static CountPreferenceEnum fromValue(String value) { + for (CountPreferenceEnum b : CountPreferenceEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; + private CountPreferenceEnum countPreference; + + public static final String JSON_PROPERTY_COVER_URL = "cover_url"; + private String coverUrl; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_CREATED_BY = "created_by"; + private SendBirdSendbirdBasicUserInfo createdBy; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DELIVERY_RECEIPT = "delivery_receipt"; + private Object deliveryReceipt; + + public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; + private SendBirdSendbirdDisappearingMessage disappearingMessage; + + public static final String JSON_PROPERTY_FREEZE = "freeze"; + private Boolean freeze; + + public static final String JSON_PROPERTY_HAS_AI_BOT = "has_ai_bot"; + private Boolean hasAiBot; + + public static final String JSON_PROPERTY_HAS_BOT = "has_bot"; + private Boolean hasBot; + + /** + * Gets or Sets hiddenState + */ + public enum HiddenStateEnum { + HIDDEN_ALLOW_AUTO_UNHIDE("hidden_allow_auto_unhide"), + + HIDDEN_PREVENT_AUTO_UNHIDE("hidden_prevent_auto_unhide"), + + UNHIDDEN("unhidden"); + + private String value; + + HiddenStateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static HiddenStateEnum fromValue(String value) { + for (HiddenStateEnum b : HiddenStateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_HIDDEN_STATE = "hidden_state"; + private HiddenStateEnum hiddenState; + + public static final String JSON_PROPERTY_IGNORE_PROFANITY_FILTER = "ignore_profanity_filter"; + private Boolean ignoreProfanityFilter; + + public static final String JSON_PROPERTY_INVITED_AT = "invited_at"; + private Long invitedAt; + + public static final String JSON_PROPERTY_INVITER = "inviter"; + private SendBirdSendbirdBasicUserInfo inviter; + + public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; + private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_IS_BROADCAST = "is_broadcast"; + private Boolean isBroadcast; + + public static final String JSON_PROPERTY_IS_DISCOVERABLE = "is_discoverable"; + private Boolean isDiscoverable; + + public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; + private Boolean isDistinct; + + public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; + private Boolean isEphemeral; + + public static final String JSON_PROPERTY_IS_EXCLUSIVE = "is_exclusive"; + private Boolean isExclusive; + + public static final String JSON_PROPERTY_IS_HIDDEN = "is_hidden"; + private Boolean isHidden; + + public static final String JSON_PROPERTY_IS_MUTED = "is_muted"; + private Boolean isMuted; + + public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; + private Boolean isPublic; + + public static final String JSON_PROPERTY_IS_PUSH_ENABLED = "is_push_enabled"; + private Boolean isPushEnabled; + + public static final String JSON_PROPERTY_IS_SUPER = "is_super"; + private Boolean isSuper; + + public static final String JSON_PROPERTY_JOINED_MEMBER_COUNT = "joined_member_count"; + private Integer joinedMemberCount; + + public static final String JSON_PROPERTY_JOINED_TS = "joined_ts"; + private JsonNullable joinedTs = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; + private SendBirdSendbirdGroupChannelLastMessage lastMessage; + + public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; + private Integer maxLengthMessage; + + public static final String JSON_PROPERTY_MEMBER_COUNT = "member_count"; + private Integer memberCount; + + /** + * Gets or Sets memberState + */ + public enum MemberStateEnum { + INVITED("invited"), + + JOINED("joined"), + + NONE("none"); + + private String value; + + MemberStateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MemberStateEnum fromValue(String value) { + for (MemberStateEnum b : MemberStateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MEMBER_STATE = "member_state"; + private MemberStateEnum memberState; + + public static final String JSON_PROPERTY_MEMBERS = "members"; + private List members = null; + + public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; + private Integer messageSurvivalSeconds; + + public static final String JSON_PROPERTY_METADATA = "metadata"; + private JsonNullable metadata = JsonNullable.undefined(); + + /** + * Gets or Sets myRole + */ + public enum MyRoleEnum { + EMPTY(""), + + NONE("none"), + + OPERATOR("operator"); + + private String value; + + MyRoleEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MyRoleEnum fromValue(String value) { + for (MyRoleEnum b : MyRoleEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MY_ROLE = "my_role"; + private MyRoleEnum myRole; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; + private SendBirdSendbirdPushTriggerOption pushTriggerOption; + + public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; + private Map readReceipt = null; + + public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; + private SendBirdSendbirdSmsFallback smsFallback; + + public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; + private Long tsMessageOffset; + + public static final String JSON_PROPERTY_UNREAD_MENTION_COUNT = "unread_mention_count"; + private Integer unreadMentionCount; + + public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; + private Integer unreadMessageCount; + + public static final String JSON_PROPERTY_USER_LAST_READ = "user_last_read"; + private Long userLastRead; + + public SendBirdGetAGroupChannelResponse() { + } + + public SendBirdGetAGroupChannelResponse channel(SendBirdSendbirdGroupChannelDetailChannel channel) { + this.channel = channel; + return this; + } + + /** + * Get channel + * @return channel + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdGroupChannelDetailChannel getChannel() { + return channel; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannel(SendBirdSendbirdGroupChannelDetailChannel channel) { + this.channel = channel; + } + + + public SendBirdGetAGroupChannelResponse channelUrl(String channelUrl) { + this.channelUrl = channelUrl; + return this; + } + + /** + * Get channelUrl + * @return channelUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getChannelUrl() { + return channelUrl; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setChannelUrl(String channelUrl) { + this.channelUrl = channelUrl; + } + + + public SendBirdGetAGroupChannelResponse countPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + return this; + } + + /** + * Get countPreference + * @return countPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public CountPreferenceEnum getCountPreference() { + return countPreference; + } + + + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCountPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + } + + + public SendBirdGetAGroupChannelResponse coverUrl(String coverUrl) { + this.coverUrl = coverUrl; + return this; + } + + /** + * Get coverUrl + * @return coverUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCoverUrl() { + return coverUrl; + } + + + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverUrl(String coverUrl) { + this.coverUrl = coverUrl; + } + + + public SendBirdGetAGroupChannelResponse createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdGetAGroupChannelResponse createdBy(SendBirdSendbirdBasicUserInfo createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * Get createdBy + * @return createdBy + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getCreatedBy() { + return createdBy; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedBy(SendBirdSendbirdBasicUserInfo createdBy) { + this.createdBy = createdBy; + } + + + public SendBirdGetAGroupChannelResponse customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdGetAGroupChannelResponse data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdGetAGroupChannelResponse deliveryReceipt(Object deliveryReceipt) { + this.deliveryReceipt = deliveryReceipt; + return this; + } + + /** + * Get deliveryReceipt + * @return deliveryReceipt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getDeliveryReceipt() { + return deliveryReceipt; + } + + + @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDeliveryReceipt(Object deliveryReceipt) { + this.deliveryReceipt = deliveryReceipt; + } + + + public SendBirdGetAGroupChannelResponse disappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + this.disappearingMessage = disappearingMessage; + return this; + } + + /** + * Get disappearingMessage + * @return disappearingMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdDisappearingMessage getDisappearingMessage() { + return disappearingMessage; + } + + + @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDisappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + this.disappearingMessage = disappearingMessage; + } + + + public SendBirdGetAGroupChannelResponse freeze(Boolean freeze) { + this.freeze = freeze; + return this; + } + + /** + * Get freeze + * @return freeze + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getFreeze() { + return freeze; + } + + + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFreeze(Boolean freeze) { + this.freeze = freeze; + } + + + public SendBirdGetAGroupChannelResponse hasAiBot(Boolean hasAiBot) { + this.hasAiBot = hasAiBot; + return this; + } + + /** + * Get hasAiBot + * @return hasAiBot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getHasAiBot() { + return hasAiBot; + } + + + @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHasAiBot(Boolean hasAiBot) { + this.hasAiBot = hasAiBot; + } + + + public SendBirdGetAGroupChannelResponse hasBot(Boolean hasBot) { + this.hasBot = hasBot; + return this; + } + + /** + * Get hasBot + * @return hasBot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HAS_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getHasBot() { + return hasBot; + } + + + @JsonProperty(JSON_PROPERTY_HAS_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHasBot(Boolean hasBot) { + this.hasBot = hasBot; + } + + + public SendBirdGetAGroupChannelResponse hiddenState(HiddenStateEnum hiddenState) { + this.hiddenState = hiddenState; + return this; + } + + /** + * Get hiddenState + * @return hiddenState + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public HiddenStateEnum getHiddenState() { + return hiddenState; + } + + + @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHiddenState(HiddenStateEnum hiddenState) { + this.hiddenState = hiddenState; + } + + + public SendBirdGetAGroupChannelResponse ignoreProfanityFilter(Boolean ignoreProfanityFilter) { + this.ignoreProfanityFilter = ignoreProfanityFilter; + return this; + } + + /** + * Get ignoreProfanityFilter + * @return ignoreProfanityFilter + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreProfanityFilter() { + return ignoreProfanityFilter; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { + this.ignoreProfanityFilter = ignoreProfanityFilter; + } + + + public SendBirdGetAGroupChannelResponse invitedAt(Long invitedAt) { + this.invitedAt = invitedAt; + return this; + } + + /** + * Get invitedAt + * @return invitedAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INVITED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getInvitedAt() { + return invitedAt; + } + + + @JsonProperty(JSON_PROPERTY_INVITED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setInvitedAt(Long invitedAt) { + this.invitedAt = invitedAt; + } + + + public SendBirdGetAGroupChannelResponse inviter(SendBirdSendbirdBasicUserInfo inviter) { + this.inviter = inviter; + return this; + } + + /** + * Get inviter + * @return inviter + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INVITER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getInviter() { + return inviter; + } + + + @JsonProperty(JSON_PROPERTY_INVITER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setInviter(SendBirdSendbirdBasicUserInfo inviter) { + this.inviter = inviter; + } + + + public SendBirdGetAGroupChannelResponse isAccessCodeRequired(Boolean isAccessCodeRequired) { + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); + return this; + } + + /** + * Get isAccessCodeRequired + * @return isAccessCodeRequired + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Boolean getIsAccessCodeRequired() { + return isAccessCodeRequired.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getIsAccessCodeRequired_JsonNullable() { + return isAccessCodeRequired; + } + + @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) + public void setIsAccessCodeRequired_JsonNullable(JsonNullable isAccessCodeRequired) { + this.isAccessCodeRequired = isAccessCodeRequired; + } + + public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); + } + + + public SendBirdGetAGroupChannelResponse isBroadcast(Boolean isBroadcast) { + this.isBroadcast = isBroadcast; + return this; + } + + /** + * Get isBroadcast + * @return isBroadcast + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_BROADCAST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsBroadcast() { + return isBroadcast; + } + + + @JsonProperty(JSON_PROPERTY_IS_BROADCAST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsBroadcast(Boolean isBroadcast) { + this.isBroadcast = isBroadcast; + } + + + public SendBirdGetAGroupChannelResponse isDiscoverable(Boolean isDiscoverable) { + this.isDiscoverable = isDiscoverable; + return this; + } + + /** + * Get isDiscoverable + * @return isDiscoverable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDiscoverable() { + return isDiscoverable; + } + + + @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDiscoverable(Boolean isDiscoverable) { + this.isDiscoverable = isDiscoverable; + } + + + public SendBirdGetAGroupChannelResponse isDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + return this; + } + + /** + * Get isDistinct + * @return isDistinct + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDistinct() { + return isDistinct; + } + + + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + } + + + public SendBirdGetAGroupChannelResponse isEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + return this; + } + + /** + * Get isEphemeral + * @return isEphemeral + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsEphemeral() { + return isEphemeral; + } + + + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + } + + + public SendBirdGetAGroupChannelResponse isExclusive(Boolean isExclusive) { + this.isExclusive = isExclusive; + return this; + } + + /** + * Get isExclusive + * @return isExclusive + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsExclusive() { + return isExclusive; + } + + + @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsExclusive(Boolean isExclusive) { + this.isExclusive = isExclusive; + } + + + public SendBirdGetAGroupChannelResponse isHidden(Boolean isHidden) { + this.isHidden = isHidden; + return this; + } + + /** + * Get isHidden + * @return isHidden + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_HIDDEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsHidden() { + return isHidden; + } + + + @JsonProperty(JSON_PROPERTY_IS_HIDDEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsHidden(Boolean isHidden) { + this.isHidden = isHidden; + } + + + public SendBirdGetAGroupChannelResponse isMuted(Boolean isMuted) { + this.isMuted = isMuted; + return this; + } + + /** + * Get isMuted + * @return isMuted + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_MUTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsMuted() { + return isMuted; + } + + + @JsonProperty(JSON_PROPERTY_IS_MUTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsMuted(Boolean isMuted) { + this.isMuted = isMuted; + } + + + public SendBirdGetAGroupChannelResponse isPublic(Boolean isPublic) { + this.isPublic = isPublic; + return this; + } + + /** + * Get isPublic + * @return isPublic + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPublic() { + return isPublic; + } + + + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPublic(Boolean isPublic) { + this.isPublic = isPublic; + } + + + public SendBirdGetAGroupChannelResponse isPushEnabled(Boolean isPushEnabled) { + this.isPushEnabled = isPushEnabled; + return this; + } + + /** + * Get isPushEnabled + * @return isPushEnabled + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPushEnabled() { + return isPushEnabled; + } + + + @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPushEnabled(Boolean isPushEnabled) { + this.isPushEnabled = isPushEnabled; + } + + + public SendBirdGetAGroupChannelResponse isSuper(Boolean isSuper) { + this.isSuper = isSuper; + return this; + } + + /** + * Get isSuper + * @return isSuper + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSuper() { + return isSuper; + } + + + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSuper(Boolean isSuper) { + this.isSuper = isSuper; + } + + + public SendBirdGetAGroupChannelResponse joinedMemberCount(Integer joinedMemberCount) { + this.joinedMemberCount = joinedMemberCount; + return this; + } + + /** + * Get joinedMemberCount + * @return joinedMemberCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getJoinedMemberCount() { + return joinedMemberCount; + } + + + @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setJoinedMemberCount(Integer joinedMemberCount) { + this.joinedMemberCount = joinedMemberCount; + } + + + public SendBirdGetAGroupChannelResponse joinedTs(Long joinedTs) { + this.joinedTs = JsonNullable.of(joinedTs); + return this; + } + + /** + * Get joinedTs + * @return joinedTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Long getJoinedTs() { + return joinedTs.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_JOINED_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getJoinedTs_JsonNullable() { + return joinedTs; + } + + @JsonProperty(JSON_PROPERTY_JOINED_TS) + public void setJoinedTs_JsonNullable(JsonNullable joinedTs) { + this.joinedTs = joinedTs; + } + + public void setJoinedTs(Long joinedTs) { + this.joinedTs = JsonNullable.of(joinedTs); + } + + + public SendBirdGetAGroupChannelResponse lastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + this.lastMessage = lastMessage; + return this; + } + + /** + * Get lastMessage + * @return lastMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdGroupChannelLastMessage getLastMessage() { + return lastMessage; + } + + + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + this.lastMessage = lastMessage; + } + + + public SendBirdGetAGroupChannelResponse maxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + return this; + } + + /** + * Get maxLengthMessage + * @return maxLengthMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMaxLengthMessage() { + return maxLengthMessage; + } + + + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMaxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + } + + + public SendBirdGetAGroupChannelResponse memberCount(Integer memberCount) { + this.memberCount = memberCount; + return this; + } + + /** + * Get memberCount + * @return memberCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMemberCount() { + return memberCount; + } + + + @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMemberCount(Integer memberCount) { + this.memberCount = memberCount; + } + + + public SendBirdGetAGroupChannelResponse memberState(MemberStateEnum memberState) { + this.memberState = memberState; + return this; + } + + /** + * Get memberState + * @return memberState + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBER_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public MemberStateEnum getMemberState() { + return memberState; + } + + + @JsonProperty(JSON_PROPERTY_MEMBER_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMemberState(MemberStateEnum memberState) { + this.memberState = memberState; + } + + + public SendBirdGetAGroupChannelResponse members(List members) { + this.members = members; + return this; + } + + public SendBirdGetAGroupChannelResponse addMembersItem(SendBirdSendbirdMember membersItem) { + if (this.members == null) { + this.members = new ArrayList<>(); + } + this.members.add(membersItem); + return this; + } + + /** + * Get members + * @return members + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMembers() { + return members; + } + + + @JsonProperty(JSON_PROPERTY_MEMBERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMembers(List members) { + this.members = members; + } + + + public SendBirdGetAGroupChannelResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + return this; + } + + /** + * Get messageSurvivalSeconds + * @return messageSurvivalSeconds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMessageSurvivalSeconds() { + return messageSurvivalSeconds; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + } + + + public SendBirdGetAGroupChannelResponse metadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Object getMetadata() { + return metadata.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { + this.metadata = metadata; + } + + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + + + public SendBirdGetAGroupChannelResponse myRole(MyRoleEnum myRole) { + this.myRole = myRole; + return this; + } + + /** + * Get myRole + * @return myRole + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MY_ROLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public MyRoleEnum getMyRole() { + return myRole; + } + + + @JsonProperty(JSON_PROPERTY_MY_ROLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMyRole(MyRoleEnum myRole) { + this.myRole = myRole; + } + + + public SendBirdGetAGroupChannelResponse name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + public SendBirdGetAGroupChannelResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + return this; + } + + /** + * Get pushTriggerOption + * @return pushTriggerOption + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + return pushTriggerOption; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + } + + + public SendBirdGetAGroupChannelResponse readReceipt(Map readReceipt) { + this.readReceipt = readReceipt; + return this; + } + + public SendBirdGetAGroupChannelResponse putReadReceiptItem(String key, Long readReceiptItem) { + if (this.readReceipt == null) { + this.readReceipt = new HashMap<>(); + } + this.readReceipt.put(key, readReceiptItem); + return this; + } + + /** + * Get readReceipt + * @return readReceipt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_READ_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Map getReadReceipt() { + return readReceipt; + } + + + @JsonProperty(JSON_PROPERTY_READ_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReadReceipt(Map readReceipt) { + this.readReceipt = readReceipt; + } + + + public SendBirdGetAGroupChannelResponse smsFallback(SendBirdSendbirdSmsFallback smsFallback) { + this.smsFallback = smsFallback; + return this; + } + + /** + * Get smsFallback + * @return smsFallback + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdSmsFallback getSmsFallback() { + return smsFallback; + } + + + @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSmsFallback(SendBirdSendbirdSmsFallback smsFallback) { + this.smsFallback = smsFallback; + } + + + public SendBirdGetAGroupChannelResponse tsMessageOffset(Long tsMessageOffset) { + this.tsMessageOffset = tsMessageOffset; + return this; + } + + /** + * Get tsMessageOffset + * @return tsMessageOffset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getTsMessageOffset() { + return tsMessageOffset; + } + + + @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTsMessageOffset(Long tsMessageOffset) { + this.tsMessageOffset = tsMessageOffset; + } + + + public SendBirdGetAGroupChannelResponse unreadMentionCount(Integer unreadMentionCount) { + this.unreadMentionCount = unreadMentionCount; + return this; + } + + /** + * Get unreadMentionCount + * @return unreadMentionCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadMentionCount() { + return unreadMentionCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadMentionCount(Integer unreadMentionCount) { + this.unreadMentionCount = unreadMentionCount; + } + + + public SendBirdGetAGroupChannelResponse unreadMessageCount(Integer unreadMessageCount) { + this.unreadMessageCount = unreadMessageCount; + return this; + } + + /** + * Get unreadMessageCount + * @return unreadMessageCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadMessageCount() { + return unreadMessageCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadMessageCount(Integer unreadMessageCount) { + this.unreadMessageCount = unreadMessageCount; + } + + + public SendBirdGetAGroupChannelResponse userLastRead(Long userLastRead) { + this.userLastRead = userLastRead; + return this; + } + + /** + * Get userLastRead + * @return userLastRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER_LAST_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getUserLastRead() { + return userLastRead; + } + + + @JsonProperty(JSON_PROPERTY_USER_LAST_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUserLastRead(Long userLastRead) { + this.userLastRead = userLastRead; + } + + + /** + * Return true if this getAGroupChannelResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdGetAGroupChannelResponse getAGroupChannelResponse = (SendBirdGetAGroupChannelResponse) o; + return Objects.equals(this.channel, getAGroupChannelResponse.channel) && + Objects.equals(this.channelUrl, getAGroupChannelResponse.channelUrl) && + Objects.equals(this.countPreference, getAGroupChannelResponse.countPreference) && + Objects.equals(this.coverUrl, getAGroupChannelResponse.coverUrl) && + Objects.equals(this.createdAt, getAGroupChannelResponse.createdAt) && + Objects.equals(this.createdBy, getAGroupChannelResponse.createdBy) && + Objects.equals(this.customType, getAGroupChannelResponse.customType) && + Objects.equals(this.data, getAGroupChannelResponse.data) && + Objects.equals(this.deliveryReceipt, getAGroupChannelResponse.deliveryReceipt) && + Objects.equals(this.disappearingMessage, getAGroupChannelResponse.disappearingMessage) && + Objects.equals(this.freeze, getAGroupChannelResponse.freeze) && + Objects.equals(this.hasAiBot, getAGroupChannelResponse.hasAiBot) && + Objects.equals(this.hasBot, getAGroupChannelResponse.hasBot) && + Objects.equals(this.hiddenState, getAGroupChannelResponse.hiddenState) && + Objects.equals(this.ignoreProfanityFilter, getAGroupChannelResponse.ignoreProfanityFilter) && + Objects.equals(this.invitedAt, getAGroupChannelResponse.invitedAt) && + Objects.equals(this.inviter, getAGroupChannelResponse.inviter) && + equalsNullable(this.isAccessCodeRequired, getAGroupChannelResponse.isAccessCodeRequired) && + Objects.equals(this.isBroadcast, getAGroupChannelResponse.isBroadcast) && + Objects.equals(this.isDiscoverable, getAGroupChannelResponse.isDiscoverable) && + Objects.equals(this.isDistinct, getAGroupChannelResponse.isDistinct) && + Objects.equals(this.isEphemeral, getAGroupChannelResponse.isEphemeral) && + Objects.equals(this.isExclusive, getAGroupChannelResponse.isExclusive) && + Objects.equals(this.isHidden, getAGroupChannelResponse.isHidden) && + Objects.equals(this.isMuted, getAGroupChannelResponse.isMuted) && + Objects.equals(this.isPublic, getAGroupChannelResponse.isPublic) && + Objects.equals(this.isPushEnabled, getAGroupChannelResponse.isPushEnabled) && + Objects.equals(this.isSuper, getAGroupChannelResponse.isSuper) && + Objects.equals(this.joinedMemberCount, getAGroupChannelResponse.joinedMemberCount) && + equalsNullable(this.joinedTs, getAGroupChannelResponse.joinedTs) && + Objects.equals(this.lastMessage, getAGroupChannelResponse.lastMessage) && + Objects.equals(this.maxLengthMessage, getAGroupChannelResponse.maxLengthMessage) && + Objects.equals(this.memberCount, getAGroupChannelResponse.memberCount) && + Objects.equals(this.memberState, getAGroupChannelResponse.memberState) && + Objects.equals(this.members, getAGroupChannelResponse.members) && + Objects.equals(this.messageSurvivalSeconds, getAGroupChannelResponse.messageSurvivalSeconds) && + equalsNullable(this.metadata, getAGroupChannelResponse.metadata) && + Objects.equals(this.myRole, getAGroupChannelResponse.myRole) && + Objects.equals(this.name, getAGroupChannelResponse.name) && + Objects.equals(this.pushTriggerOption, getAGroupChannelResponse.pushTriggerOption) && + Objects.equals(this.readReceipt, getAGroupChannelResponse.readReceipt) && + Objects.equals(this.smsFallback, getAGroupChannelResponse.smsFallback) && + Objects.equals(this.tsMessageOffset, getAGroupChannelResponse.tsMessageOffset) && + Objects.equals(this.unreadMentionCount, getAGroupChannelResponse.unreadMentionCount) && + Objects.equals(this.unreadMessageCount, getAGroupChannelResponse.unreadMessageCount) && + Objects.equals(this.userLastRead, getAGroupChannelResponse.userLastRead); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(channel, channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, hashCodeNullable(isAccessCodeRequired), isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, hashCodeNullable(joinedTs), lastMessage, maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, hashCodeNullable(metadata), myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdGetAGroupChannelResponse {\n"); + sb.append(" channel: ").append(toIndentedString(channel)).append("\n"); + sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); + sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); + sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" deliveryReceipt: ").append(toIndentedString(deliveryReceipt)).append("\n"); + sb.append(" disappearingMessage: ").append(toIndentedString(disappearingMessage)).append("\n"); + sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); + sb.append(" hasAiBot: ").append(toIndentedString(hasAiBot)).append("\n"); + sb.append(" hasBot: ").append(toIndentedString(hasBot)).append("\n"); + sb.append(" hiddenState: ").append(toIndentedString(hiddenState)).append("\n"); + sb.append(" ignoreProfanityFilter: ").append(toIndentedString(ignoreProfanityFilter)).append("\n"); + sb.append(" invitedAt: ").append(toIndentedString(invitedAt)).append("\n"); + sb.append(" inviter: ").append(toIndentedString(inviter)).append("\n"); + sb.append(" isAccessCodeRequired: ").append(toIndentedString(isAccessCodeRequired)).append("\n"); + sb.append(" isBroadcast: ").append(toIndentedString(isBroadcast)).append("\n"); + sb.append(" isDiscoverable: ").append(toIndentedString(isDiscoverable)).append("\n"); + sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); + sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); + sb.append(" isExclusive: ").append(toIndentedString(isExclusive)).append("\n"); + sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n"); + sb.append(" isMuted: ").append(toIndentedString(isMuted)).append("\n"); + sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); + sb.append(" isPushEnabled: ").append(toIndentedString(isPushEnabled)).append("\n"); + sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); + sb.append(" joinedMemberCount: ").append(toIndentedString(joinedMemberCount)).append("\n"); + sb.append(" joinedTs: ").append(toIndentedString(joinedTs)).append("\n"); + sb.append(" lastMessage: ").append(toIndentedString(lastMessage)).append("\n"); + sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); + sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); + sb.append(" memberState: ").append(toIndentedString(memberState)).append("\n"); + sb.append(" members: ").append(toIndentedString(members)).append("\n"); + sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" myRole: ").append(toIndentedString(myRole)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); + sb.append(" readReceipt: ").append(toIndentedString(readReceipt)).append("\n"); + sb.append(" smsFallback: ").append(toIndentedString(smsFallback)).append("\n"); + sb.append(" tsMessageOffset: ").append(toIndentedString(tsMessageOffset)).append("\n"); + sb.append(" unreadMentionCount: ").append(toIndentedString(unreadMentionCount)).append("\n"); + sb.append(" unreadMessageCount: ").append(toIndentedString(unreadMessageCount)).append("\n"); + sb.append(" userLastRead: ").append(toIndentedString(userLastRead)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java b/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java new file mode 100644 index 00000000..8b9dc41c --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java @@ -0,0 +1,114 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdGetAGroupChannelResponseAllOf + */ +@JsonPropertyOrder({ + SendBirdGetAGroupChannelResponseAllOf.JSON_PROPERTY_CHANNEL +}) +@JsonTypeName("getAGroupChannelResponse_allOf") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdGetAGroupChannelResponseAllOf { + public static final String JSON_PROPERTY_CHANNEL = "channel"; + private SendBirdSendbirdGroupChannelDetailChannel channel; + + public SendBirdGetAGroupChannelResponseAllOf() { + } + + public SendBirdGetAGroupChannelResponseAllOf channel(SendBirdSendbirdGroupChannelDetailChannel channel) { + this.channel = channel; + return this; + } + + /** + * Get channel + * @return channel + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdGroupChannelDetailChannel getChannel() { + return channel; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannel(SendBirdSendbirdGroupChannelDetailChannel channel) { + this.channel = channel; + } + + + /** + * Return true if this getAGroupChannelResponse_allOf object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdGetAGroupChannelResponseAllOf getAGroupChannelResponseAllOf = (SendBirdGetAGroupChannelResponseAllOf) o; + return Objects.equals(this.channel, getAGroupChannelResponseAllOf.channel); + } + + @Override + public int hashCode() { + return Objects.hash(channel); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdGetAGroupChannelResponseAllOf {\n"); + sb.append(" channel: ").append(toIndentedString(channel)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java new file mode 100644 index 00000000..2b3998c0 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdGetChannelInvitationPreferenceResponse + */ +@JsonPropertyOrder({ + SendBirdGetChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT +}) +@JsonTypeName("getChannelInvitationPreferenceResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdGetChannelInvitationPreferenceResponse { + public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; + private Boolean autoAccept; + + public SendBirdGetChannelInvitationPreferenceResponse() { + } + + public SendBirdGetChannelInvitationPreferenceResponse autoAccept(Boolean autoAccept) { + this.autoAccept = autoAccept; + return this; + } + + /** + * Get autoAccept + * @return autoAccept + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getAutoAccept() { + return autoAccept; + } + + + @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAutoAccept(Boolean autoAccept) { + this.autoAccept = autoAccept; + } + + + /** + * Return true if this getChannelInvitationPreferenceResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdGetChannelInvitationPreferenceResponse getChannelInvitationPreferenceResponse = (SendBirdGetChannelInvitationPreferenceResponse) o; + return Objects.equals(this.autoAccept, getChannelInvitationPreferenceResponse.autoAccept); + } + + @Override + public int hashCode() { + return Objects.hash(autoAccept); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdGetChannelInvitationPreferenceResponse {\n"); + sb.append(" autoAccept: ").append(toIndentedString(autoAccept)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java new file mode 100644 index 00000000..74a9a924 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdGetTotalNumberOfMessagesInAChannelResponse + */ +@JsonPropertyOrder({ + SendBirdGetTotalNumberOfMessagesInAChannelResponse.JSON_PROPERTY_TOTAL +}) +@JsonTypeName("getTotalNumberOfMessagesInAChannelResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdGetTotalNumberOfMessagesInAChannelResponse { + public static final String JSON_PROPERTY_TOTAL = "total"; + private Integer total; + + public SendBirdGetTotalNumberOfMessagesInAChannelResponse() { + } + + public SendBirdGetTotalNumberOfMessagesInAChannelResponse total(Integer total) { + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getTotal() { + return total; + } + + + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTotal(Integer total) { + this.total = total; + } + + + /** + * Return true if this getTotalNumberOfMessagesInAChannelResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdGetTotalNumberOfMessagesInAChannelResponse getTotalNumberOfMessagesInAChannelResponse = (SendBirdGetTotalNumberOfMessagesInAChannelResponse) o; + return Objects.equals(this.total, getTotalNumberOfMessagesInAChannelResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(total); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdGetTotalNumberOfMessagesInAChannelResponse {\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java new file mode 100644 index 00000000..d446d532 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java @@ -0,0 +1,153 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdMember; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdGroupChannelListMembersResponse + */ +@JsonPropertyOrder({ + SendBirdGroupChannelListMembersResponse.JSON_PROPERTY_MEMBERS, + SendBirdGroupChannelListMembersResponse.JSON_PROPERTY_NEXT +}) +@JsonTypeName("groupChannelListMembersResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdGroupChannelListMembersResponse { + public static final String JSON_PROPERTY_MEMBERS = "members"; + private List members = new ArrayList<>(); + + public static final String JSON_PROPERTY_NEXT = "next"; + private String next; + + public SendBirdGroupChannelListMembersResponse() { + } + + public SendBirdGroupChannelListMembersResponse members(List members) { + this.members = members; + return this; + } + + public SendBirdGroupChannelListMembersResponse addMembersItem(SendBirdSendbirdMember membersItem) { + this.members.add(membersItem); + return this; + } + + /** + * Get members + * @return members + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_MEMBERS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public List getMembers() { + return members; + } + + + @JsonProperty(JSON_PROPERTY_MEMBERS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMembers(List members) { + this.members = members; + } + + + public SendBirdGroupChannelListMembersResponse next(String next) { + this.next = next; + return this; + } + + /** + * Get next + * @return next + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getNext() { + return next; + } + + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(String next) { + this.next = next; + } + + + /** + * Return true if this groupChannelListMembersResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdGroupChannelListMembersResponse groupChannelListMembersResponse = (SendBirdGroupChannelListMembersResponse) o; + return Objects.equals(this.members, groupChannelListMembersResponse.members) && + Objects.equals(this.next, groupChannelListMembersResponse.next); + } + + @Override + public int hashCode() { + return Objects.hash(members, next); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdGroupChannelListMembersResponse {\n"); + sb.append(" members: ").append(toIndentedString(members)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java new file mode 100644 index 00000000..cdb5f2ab --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java @@ -0,0 +1,188 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdGroupChannel; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdGroupChatListChannelsResponse + */ +@JsonPropertyOrder({ + SendBirdGroupChatListChannelsResponse.JSON_PROPERTY_CHANNELS, + SendBirdGroupChatListChannelsResponse.JSON_PROPERTY_NEXT, + SendBirdGroupChatListChannelsResponse.JSON_PROPERTY_TS +}) +@JsonTypeName("groupChatListChannelsResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdGroupChatListChannelsResponse { + public static final String JSON_PROPERTY_CHANNELS = "channels"; + private List channels = null; + + public static final String JSON_PROPERTY_NEXT = "next"; + private String next; + + public static final String JSON_PROPERTY_TS = "ts"; + private Long ts; + + public SendBirdGroupChatListChannelsResponse() { + } + + public SendBirdGroupChatListChannelsResponse channels(List channels) { + this.channels = channels; + return this; + } + + public SendBirdGroupChatListChannelsResponse addChannelsItem(SendBirdSendbirdGroupChannel channelsItem) { + if (this.channels == null) { + this.channels = new ArrayList<>(); + } + this.channels.add(channelsItem); + return this; + } + + /** + * Get channels + * @return channels + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNELS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getChannels() { + return channels; + } + + + @JsonProperty(JSON_PROPERTY_CHANNELS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannels(List channels) { + this.channels = channels; + } + + + public SendBirdGroupChatListChannelsResponse next(String next) { + this.next = next; + return this; + } + + /** + * Get next + * @return next + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getNext() { + return next; + } + + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(String next) { + this.next = next; + } + + + public SendBirdGroupChatListChannelsResponse ts(Long ts) { + this.ts = ts; + return this; + } + + /** + * Get ts + * @return ts + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getTs() { + return ts; + } + + + @JsonProperty(JSON_PROPERTY_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTs(Long ts) { + this.ts = ts; + } + + + /** + * Return true if this groupChatListChannelsResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdGroupChatListChannelsResponse groupChatListChannelsResponse = (SendBirdGroupChatListChannelsResponse) o; + return Objects.equals(this.channels, groupChatListChannelsResponse.channels) && + Objects.equals(this.next, groupChatListChannelsResponse.next) && + Objects.equals(this.ts, groupChatListChannelsResponse.ts); + } + + @Override + public int hashCode() { + return Objects.hash(channels, next, ts); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdGroupChatListChannelsResponse {\n"); + sb.append(" channels: ").append(toIndentedString(channels)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" ts: ").append(toIndentedString(ts)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java new file mode 100644 index 00000000..7a4a2761 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java @@ -0,0 +1,209 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdHideAChannelRequest + */ +@JsonPropertyOrder({ + SendBirdHideAChannelRequest.JSON_PROPERTY_ALLOW_AUTO_UNHIDE, + SendBirdHideAChannelRequest.JSON_PROPERTY_HIDE_PREVIOUS_MESSAGES, + SendBirdHideAChannelRequest.JSON_PROPERTY_SHOULD_HIDE_ALL, + SendBirdHideAChannelRequest.JSON_PROPERTY_USER_ID +}) +@JsonTypeName("hideAChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdHideAChannelRequest { + public static final String JSON_PROPERTY_ALLOW_AUTO_UNHIDE = "allow_auto_unhide"; + private Boolean allowAutoUnhide; + + public static final String JSON_PROPERTY_HIDE_PREVIOUS_MESSAGES = "hide_previous_messages"; + private Boolean hidePreviousMessages; + + public static final String JSON_PROPERTY_SHOULD_HIDE_ALL = "should_hide_all"; + private Boolean shouldHideAll; + + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + public SendBirdHideAChannelRequest() { + } + + public SendBirdHideAChannelRequest allowAutoUnhide(Boolean allowAutoUnhide) { + this.allowAutoUnhide = allowAutoUnhide; + return this; + } + + /** + * Determines the state and operating behavior of the channel in a channel list. If set to true, the channel is hidden from a user's channel list but it will reappear when there is a new message. If set to false, the channel is hidden from a user's channel list and it will remain hidden unless the value of the property changes to true through [unarchiving](#2-unhide-or-unarchive-a-channel). (Default: true)<br /><br /> When a user who has hidden the channel sends a message in that channel through the [Platform API](/docs/chat/v3/platform-api/guides/messages#2-send-a-message), the `allow_auto_unhide` property is changed to true, making the channel reappear in the channel list. + * @return allowAutoUnhide + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Determines the state and operating behavior of the channel in a channel list. If set to true, the channel is hidden from a user's channel list but it will reappear when there is a new message. If set to false, the channel is hidden from a user's channel list and it will remain hidden unless the value of the property changes to true through [unarchiving](#2-unhide-or-unarchive-a-channel). (Default: true)

When a user who has hidden the channel sends a message in that channel through the [Platform API](/docs/chat/v3/platform-api/guides/messages#2-send-a-message), the `allow_auto_unhide` property is changed to true, making the channel reappear in the channel list.") + @JsonProperty(JSON_PROPERTY_ALLOW_AUTO_UNHIDE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getAllowAutoUnhide() { + return allowAutoUnhide; + } + + + @JsonProperty(JSON_PROPERTY_ALLOW_AUTO_UNHIDE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAllowAutoUnhide(Boolean allowAutoUnhide) { + this.allowAutoUnhide = allowAutoUnhide; + } + + + public SendBirdHideAChannelRequest hidePreviousMessages(Boolean hidePreviousMessages) { + this.hidePreviousMessages = hidePreviousMessages; + return this; + } + + /** + * When the channel gets appeared back in either the list of the user in the user_id property or the lists of all channel members (should_hide_all = true), determines whether to conceal the messages sent and received before hiding or archiving the channel. (Default: false)<br /><br /> This property is effective only when the value of the [global application settings resource](/docs/chat/v3/platform-api/guides/global-application-settings#-3-resource-representation)'s display_past_message property is false. + * @return hidePreviousMessages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "When the channel gets appeared back in either the list of the user in the user_id property or the lists of all channel members (should_hide_all = true), determines whether to conceal the messages sent and received before hiding or archiving the channel. (Default: false)

This property is effective only when the value of the [global application settings resource](/docs/chat/v3/platform-api/guides/global-application-settings#-3-resource-representation)'s display_past_message property is false.") + @JsonProperty(JSON_PROPERTY_HIDE_PREVIOUS_MESSAGES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getHidePreviousMessages() { + return hidePreviousMessages; + } + + + @JsonProperty(JSON_PROPERTY_HIDE_PREVIOUS_MESSAGES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHidePreviousMessages(Boolean hidePreviousMessages) { + this.hidePreviousMessages = hidePreviousMessages; + } + + + public SendBirdHideAChannelRequest shouldHideAll(Boolean shouldHideAll) { + this.shouldHideAll = shouldHideAll; + return this; + } + + /** + * Determines whether to make the specified channel disappear from the channel list of all channel members. When this is set to true, the user_id property isn't effective and doesn't need to be specified in the request. (Default: false) + * @return shouldHideAll + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Determines whether to make the specified channel disappear from the channel list of all channel members. When this is set to true, the user_id property isn't effective and doesn't need to be specified in the request. (Default: false)") + @JsonProperty(JSON_PROPERTY_SHOULD_HIDE_ALL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getShouldHideAll() { + return shouldHideAll; + } + + + @JsonProperty(JSON_PROPERTY_SHOULD_HIDE_ALL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShouldHideAll(Boolean shouldHideAll) { + this.shouldHideAll = shouldHideAll; + } + + + public SendBirdHideAChannelRequest userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Specifies the unique ID of the user whose channel will be hidden or archived from the list. This property is required when should_hide_all is set to false, which is the default value. However, when should_hide_all is set to true, this property isn't effective. + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the unique ID of the user whose channel will be hidden or archived from the list. This property is required when should_hide_all is set to false, which is the default value. However, when should_hide_all is set to true, this property isn't effective.") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + /** + * Return true if this hideAChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdHideAChannelRequest hideAChannelRequest = (SendBirdHideAChannelRequest) o; + return Objects.equals(this.allowAutoUnhide, hideAChannelRequest.allowAutoUnhide) && + Objects.equals(this.hidePreviousMessages, hideAChannelRequest.hidePreviousMessages) && + Objects.equals(this.shouldHideAll, hideAChannelRequest.shouldHideAll) && + Objects.equals(this.userId, hideAChannelRequest.userId); + } + + @Override + public int hashCode() { + return Objects.hash(allowAutoUnhide, hidePreviousMessages, shouldHideAll, userId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdHideAChannelRequest {\n"); + sb.append(" allowAutoUnhide: ").append(toIndentedString(allowAutoUnhide)).append("\n"); + sb.append(" hidePreviousMessages: ").append(toIndentedString(hidePreviousMessages)).append("\n"); + sb.append(" shouldHideAll: ").append(toIndentedString(shouldHideAll)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java new file mode 100644 index 00000000..6eb33c8c --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java @@ -0,0 +1,216 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdInviteAsMembersRequest + */ +@JsonPropertyOrder({ + SendBirdInviteAsMembersRequest.JSON_PROPERTY_HIDDEN_STATUS, + SendBirdInviteAsMembersRequest.JSON_PROPERTY_INVITATION_STATUS, + SendBirdInviteAsMembersRequest.JSON_PROPERTY_INVITER_ID, + SendBirdInviteAsMembersRequest.JSON_PROPERTY_USER_IDS +}) +@JsonTypeName("inviteAsMembers_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdInviteAsMembersRequest { + public static final String JSON_PROPERTY_HIDDEN_STATUS = "hidden_status"; + private Object hiddenStatus; + + public static final String JSON_PROPERTY_INVITATION_STATUS = "invitation_status"; + private Object invitationStatus; + + public static final String JSON_PROPERTY_INVITER_ID = "inviter_id"; + private String inviterId; + + public static final String JSON_PROPERTY_USER_IDS = "user_ids"; + private List userIds = new ArrayList<>(); + + public SendBirdInviteAsMembersRequest() { + } + + public SendBirdInviteAsMembersRequest hiddenStatus(Object hiddenStatus) { + this.hiddenStatus = hiddenStatus; + return this; + } + + /** + * Specifies one or more key-value pair items which set the channel's hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:<br />- unhidden (default): the channel is included in when retrieving a list of group channels.<br />- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.<br />- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message. + * @return hiddenStatus + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies one or more key-value pair items which set the channel's hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:
- unhidden (default): the channel is included in when retrieving a list of group channels.
- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.
- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message.") + @JsonProperty(JSON_PROPERTY_HIDDEN_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getHiddenStatus() { + return hiddenStatus; + } + + + @JsonProperty(JSON_PROPERTY_HIDDEN_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHiddenStatus(Object hiddenStatus) { + this.hiddenStatus = hiddenStatus; + } + + + public SendBirdInviteAsMembersRequest invitationStatus(Object invitationStatus) { + this.invitationStatus = invitationStatus; + return this; + } + + /** + * Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined) + * @return invitationStatus + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined)") + @JsonProperty(JSON_PROPERTY_INVITATION_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getInvitationStatus() { + return invitationStatus; + } + + + @JsonProperty(JSON_PROPERTY_INVITATION_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setInvitationStatus(Object invitationStatus) { + this.invitationStatus = invitationStatus; + } + + + public SendBirdInviteAsMembersRequest inviterId(String inviterId) { + this.inviterId = inviterId; + return this; + } + + /** + * Get inviterId + * @return inviterId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INVITER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getInviterId() { + return inviterId; + } + + + @JsonProperty(JSON_PROPERTY_INVITER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setInviterId(String inviterId) { + this.inviterId = inviterId; + } + + + public SendBirdInviteAsMembersRequest userIds(List userIds) { + this.userIds = userIds; + return this; + } + + public SendBirdInviteAsMembersRequest addUserIdsItem(String userIdsItem) { + this.userIds.add(userIdsItem); + return this; + } + + /** + * Get userIds + * @return userIds + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public List getUserIds() { + return userIds; + } + + + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserIds(List userIds) { + this.userIds = userIds; + } + + + /** + * Return true if this inviteAsMembers_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdInviteAsMembersRequest inviteAsMembersRequest = (SendBirdInviteAsMembersRequest) o; + return Objects.equals(this.hiddenStatus, inviteAsMembersRequest.hiddenStatus) && + Objects.equals(this.invitationStatus, inviteAsMembersRequest.invitationStatus) && + Objects.equals(this.inviterId, inviteAsMembersRequest.inviterId) && + Objects.equals(this.userIds, inviteAsMembersRequest.userIds); + } + + @Override + public int hashCode() { + return Objects.hash(hiddenStatus, invitationStatus, inviterId, userIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdInviteAsMembersRequest {\n"); + sb.append(" hiddenStatus: ").append(toIndentedString(hiddenStatus)).append("\n"); + sb.append(" invitationStatus: ").append(toIndentedString(invitationStatus)).append("\n"); + sb.append(" inviterId: ").append(toIndentedString(inviterId)).append("\n"); + sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java new file mode 100644 index 00000000..c06ca9bc --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java @@ -0,0 +1,1779 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import org.openapitools.client.model.SendBirdInviteAsMembersResponseAllOf; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendbirdGroupChannel; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdSendbirdMember; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendbirdSmsFallback; +import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdInviteAsMembersResponse + */ +@JsonPropertyOrder({ + SendBirdInviteAsMembersResponse.JSON_PROPERTY_CHANNEL_URL, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_COUNT_PREFERENCE, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_COVER_URL, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_CREATED_AT, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_CREATED_BY, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_DATA, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_DELIVERY_RECEIPT, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_DISAPPEARING_MESSAGE, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_FREEZE, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_HAS_AI_BOT, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_HAS_BOT, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_HIDDEN_STATE, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_INVITED_AT, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_INVITER, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_BROADCAST, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_DISCOVERABLE, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_DISTINCT, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_EXCLUSIVE, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_HIDDEN, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_MUTED, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_PUBLIC, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_PUSH_ENABLED, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_SUPER, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_JOINED_MEMBER_COUNT, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_JOINED_TS, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_LAST_MESSAGE, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_MEMBER_COUNT, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_MEMBER_STATE, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_MEMBERS, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_METADATA, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_MY_ROLE, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_NAME, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_READ_RECEIPT, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_SMS_FALLBACK, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_TS_MESSAGE_OFFSET, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_UNREAD_MENTION_COUNT, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_USER_LAST_READ, + SendBirdInviteAsMembersResponse.JSON_PROPERTY_OPERATORS +}) +@JsonTypeName("inviteAsMembersResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdInviteAsMembersResponse { + public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; + private String channelUrl; + + /** + * Gets or Sets countPreference + */ + public enum CountPreferenceEnum { + FALSE("false"), + + ALL("all"), + + UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), + + UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); + + private String value; + + CountPreferenceEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static CountPreferenceEnum fromValue(String value) { + for (CountPreferenceEnum b : CountPreferenceEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; + private CountPreferenceEnum countPreference; + + public static final String JSON_PROPERTY_COVER_URL = "cover_url"; + private String coverUrl; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_CREATED_BY = "created_by"; + private SendBirdSendbirdBasicUserInfo createdBy; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DELIVERY_RECEIPT = "delivery_receipt"; + private Object deliveryReceipt; + + public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; + private SendBirdSendbirdDisappearingMessage disappearingMessage; + + public static final String JSON_PROPERTY_FREEZE = "freeze"; + private Boolean freeze; + + public static final String JSON_PROPERTY_HAS_AI_BOT = "has_ai_bot"; + private Boolean hasAiBot; + + public static final String JSON_PROPERTY_HAS_BOT = "has_bot"; + private Boolean hasBot; + + /** + * Gets or Sets hiddenState + */ + public enum HiddenStateEnum { + HIDDEN_ALLOW_AUTO_UNHIDE("hidden_allow_auto_unhide"), + + HIDDEN_PREVENT_AUTO_UNHIDE("hidden_prevent_auto_unhide"), + + UNHIDDEN("unhidden"); + + private String value; + + HiddenStateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static HiddenStateEnum fromValue(String value) { + for (HiddenStateEnum b : HiddenStateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_HIDDEN_STATE = "hidden_state"; + private HiddenStateEnum hiddenState; + + public static final String JSON_PROPERTY_IGNORE_PROFANITY_FILTER = "ignore_profanity_filter"; + private Boolean ignoreProfanityFilter; + + public static final String JSON_PROPERTY_INVITED_AT = "invited_at"; + private Long invitedAt; + + public static final String JSON_PROPERTY_INVITER = "inviter"; + private SendBirdSendbirdBasicUserInfo inviter; + + public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; + private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_IS_BROADCAST = "is_broadcast"; + private Boolean isBroadcast; + + public static final String JSON_PROPERTY_IS_DISCOVERABLE = "is_discoverable"; + private Boolean isDiscoverable; + + public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; + private Boolean isDistinct; + + public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; + private Boolean isEphemeral; + + public static final String JSON_PROPERTY_IS_EXCLUSIVE = "is_exclusive"; + private Boolean isExclusive; + + public static final String JSON_PROPERTY_IS_HIDDEN = "is_hidden"; + private Boolean isHidden; + + public static final String JSON_PROPERTY_IS_MUTED = "is_muted"; + private Boolean isMuted; + + public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; + private Boolean isPublic; + + public static final String JSON_PROPERTY_IS_PUSH_ENABLED = "is_push_enabled"; + private Boolean isPushEnabled; + + public static final String JSON_PROPERTY_IS_SUPER = "is_super"; + private Boolean isSuper; + + public static final String JSON_PROPERTY_JOINED_MEMBER_COUNT = "joined_member_count"; + private Integer joinedMemberCount; + + public static final String JSON_PROPERTY_JOINED_TS = "joined_ts"; + private JsonNullable joinedTs = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; + private SendBirdSendbirdGroupChannelLastMessage lastMessage; + + public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; + private Integer maxLengthMessage; + + public static final String JSON_PROPERTY_MEMBER_COUNT = "member_count"; + private Integer memberCount; + + /** + * Gets or Sets memberState + */ + public enum MemberStateEnum { + INVITED("invited"), + + JOINED("joined"), + + NONE("none"); + + private String value; + + MemberStateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MemberStateEnum fromValue(String value) { + for (MemberStateEnum b : MemberStateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MEMBER_STATE = "member_state"; + private MemberStateEnum memberState; + + public static final String JSON_PROPERTY_MEMBERS = "members"; + private List members = null; + + public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; + private Integer messageSurvivalSeconds; + + public static final String JSON_PROPERTY_METADATA = "metadata"; + private JsonNullable metadata = JsonNullable.undefined(); + + /** + * Gets or Sets myRole + */ + public enum MyRoleEnum { + EMPTY(""), + + NONE("none"), + + OPERATOR("operator"); + + private String value; + + MyRoleEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MyRoleEnum fromValue(String value) { + for (MyRoleEnum b : MyRoleEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MY_ROLE = "my_role"; + private MyRoleEnum myRole; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; + private SendBirdSendbirdPushTriggerOption pushTriggerOption; + + public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; + private Map readReceipt = null; + + public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; + private SendBirdSendbirdSmsFallback smsFallback; + + public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; + private Long tsMessageOffset; + + public static final String JSON_PROPERTY_UNREAD_MENTION_COUNT = "unread_mention_count"; + private Integer unreadMentionCount; + + public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; + private Integer unreadMessageCount; + + public static final String JSON_PROPERTY_USER_LAST_READ = "user_last_read"; + private Long userLastRead; + + public static final String JSON_PROPERTY_OPERATORS = "operators"; + private List operators = null; + + public SendBirdInviteAsMembersResponse() { + } + + public SendBirdInviteAsMembersResponse channelUrl(String channelUrl) { + this.channelUrl = channelUrl; + return this; + } + + /** + * Get channelUrl + * @return channelUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getChannelUrl() { + return channelUrl; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setChannelUrl(String channelUrl) { + this.channelUrl = channelUrl; + } + + + public SendBirdInviteAsMembersResponse countPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + return this; + } + + /** + * Get countPreference + * @return countPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public CountPreferenceEnum getCountPreference() { + return countPreference; + } + + + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCountPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + } + + + public SendBirdInviteAsMembersResponse coverUrl(String coverUrl) { + this.coverUrl = coverUrl; + return this; + } + + /** + * Get coverUrl + * @return coverUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCoverUrl() { + return coverUrl; + } + + + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverUrl(String coverUrl) { + this.coverUrl = coverUrl; + } + + + public SendBirdInviteAsMembersResponse createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdInviteAsMembersResponse createdBy(SendBirdSendbirdBasicUserInfo createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * Get createdBy + * @return createdBy + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getCreatedBy() { + return createdBy; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedBy(SendBirdSendbirdBasicUserInfo createdBy) { + this.createdBy = createdBy; + } + + + public SendBirdInviteAsMembersResponse customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdInviteAsMembersResponse data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdInviteAsMembersResponse deliveryReceipt(Object deliveryReceipt) { + this.deliveryReceipt = deliveryReceipt; + return this; + } + + /** + * Get deliveryReceipt + * @return deliveryReceipt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getDeliveryReceipt() { + return deliveryReceipt; + } + + + @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDeliveryReceipt(Object deliveryReceipt) { + this.deliveryReceipt = deliveryReceipt; + } + + + public SendBirdInviteAsMembersResponse disappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + this.disappearingMessage = disappearingMessage; + return this; + } + + /** + * Get disappearingMessage + * @return disappearingMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdDisappearingMessage getDisappearingMessage() { + return disappearingMessage; + } + + + @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDisappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + this.disappearingMessage = disappearingMessage; + } + + + public SendBirdInviteAsMembersResponse freeze(Boolean freeze) { + this.freeze = freeze; + return this; + } + + /** + * Get freeze + * @return freeze + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getFreeze() { + return freeze; + } + + + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFreeze(Boolean freeze) { + this.freeze = freeze; + } + + + public SendBirdInviteAsMembersResponse hasAiBot(Boolean hasAiBot) { + this.hasAiBot = hasAiBot; + return this; + } + + /** + * Get hasAiBot + * @return hasAiBot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getHasAiBot() { + return hasAiBot; + } + + + @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHasAiBot(Boolean hasAiBot) { + this.hasAiBot = hasAiBot; + } + + + public SendBirdInviteAsMembersResponse hasBot(Boolean hasBot) { + this.hasBot = hasBot; + return this; + } + + /** + * Get hasBot + * @return hasBot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HAS_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getHasBot() { + return hasBot; + } + + + @JsonProperty(JSON_PROPERTY_HAS_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHasBot(Boolean hasBot) { + this.hasBot = hasBot; + } + + + public SendBirdInviteAsMembersResponse hiddenState(HiddenStateEnum hiddenState) { + this.hiddenState = hiddenState; + return this; + } + + /** + * Get hiddenState + * @return hiddenState + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public HiddenStateEnum getHiddenState() { + return hiddenState; + } + + + @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHiddenState(HiddenStateEnum hiddenState) { + this.hiddenState = hiddenState; + } + + + public SendBirdInviteAsMembersResponse ignoreProfanityFilter(Boolean ignoreProfanityFilter) { + this.ignoreProfanityFilter = ignoreProfanityFilter; + return this; + } + + /** + * Get ignoreProfanityFilter + * @return ignoreProfanityFilter + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreProfanityFilter() { + return ignoreProfanityFilter; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { + this.ignoreProfanityFilter = ignoreProfanityFilter; + } + + + public SendBirdInviteAsMembersResponse invitedAt(Long invitedAt) { + this.invitedAt = invitedAt; + return this; + } + + /** + * Get invitedAt + * @return invitedAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INVITED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getInvitedAt() { + return invitedAt; + } + + + @JsonProperty(JSON_PROPERTY_INVITED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setInvitedAt(Long invitedAt) { + this.invitedAt = invitedAt; + } + + + public SendBirdInviteAsMembersResponse inviter(SendBirdSendbirdBasicUserInfo inviter) { + this.inviter = inviter; + return this; + } + + /** + * Get inviter + * @return inviter + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INVITER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getInviter() { + return inviter; + } + + + @JsonProperty(JSON_PROPERTY_INVITER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setInviter(SendBirdSendbirdBasicUserInfo inviter) { + this.inviter = inviter; + } + + + public SendBirdInviteAsMembersResponse isAccessCodeRequired(Boolean isAccessCodeRequired) { + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); + return this; + } + + /** + * Get isAccessCodeRequired + * @return isAccessCodeRequired + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Boolean getIsAccessCodeRequired() { + return isAccessCodeRequired.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getIsAccessCodeRequired_JsonNullable() { + return isAccessCodeRequired; + } + + @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) + public void setIsAccessCodeRequired_JsonNullable(JsonNullable isAccessCodeRequired) { + this.isAccessCodeRequired = isAccessCodeRequired; + } + + public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); + } + + + public SendBirdInviteAsMembersResponse isBroadcast(Boolean isBroadcast) { + this.isBroadcast = isBroadcast; + return this; + } + + /** + * Get isBroadcast + * @return isBroadcast + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_BROADCAST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsBroadcast() { + return isBroadcast; + } + + + @JsonProperty(JSON_PROPERTY_IS_BROADCAST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsBroadcast(Boolean isBroadcast) { + this.isBroadcast = isBroadcast; + } + + + public SendBirdInviteAsMembersResponse isDiscoverable(Boolean isDiscoverable) { + this.isDiscoverable = isDiscoverable; + return this; + } + + /** + * Get isDiscoverable + * @return isDiscoverable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDiscoverable() { + return isDiscoverable; + } + + + @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDiscoverable(Boolean isDiscoverable) { + this.isDiscoverable = isDiscoverable; + } + + + public SendBirdInviteAsMembersResponse isDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + return this; + } + + /** + * Get isDistinct + * @return isDistinct + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDistinct() { + return isDistinct; + } + + + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + } + + + public SendBirdInviteAsMembersResponse isEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + return this; + } + + /** + * Get isEphemeral + * @return isEphemeral + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsEphemeral() { + return isEphemeral; + } + + + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + } + + + public SendBirdInviteAsMembersResponse isExclusive(Boolean isExclusive) { + this.isExclusive = isExclusive; + return this; + } + + /** + * Get isExclusive + * @return isExclusive + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsExclusive() { + return isExclusive; + } + + + @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsExclusive(Boolean isExclusive) { + this.isExclusive = isExclusive; + } + + + public SendBirdInviteAsMembersResponse isHidden(Boolean isHidden) { + this.isHidden = isHidden; + return this; + } + + /** + * Get isHidden + * @return isHidden + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_HIDDEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsHidden() { + return isHidden; + } + + + @JsonProperty(JSON_PROPERTY_IS_HIDDEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsHidden(Boolean isHidden) { + this.isHidden = isHidden; + } + + + public SendBirdInviteAsMembersResponse isMuted(Boolean isMuted) { + this.isMuted = isMuted; + return this; + } + + /** + * Get isMuted + * @return isMuted + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_MUTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsMuted() { + return isMuted; + } + + + @JsonProperty(JSON_PROPERTY_IS_MUTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsMuted(Boolean isMuted) { + this.isMuted = isMuted; + } + + + public SendBirdInviteAsMembersResponse isPublic(Boolean isPublic) { + this.isPublic = isPublic; + return this; + } + + /** + * Get isPublic + * @return isPublic + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPublic() { + return isPublic; + } + + + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPublic(Boolean isPublic) { + this.isPublic = isPublic; + } + + + public SendBirdInviteAsMembersResponse isPushEnabled(Boolean isPushEnabled) { + this.isPushEnabled = isPushEnabled; + return this; + } + + /** + * Get isPushEnabled + * @return isPushEnabled + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPushEnabled() { + return isPushEnabled; + } + + + @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPushEnabled(Boolean isPushEnabled) { + this.isPushEnabled = isPushEnabled; + } + + + public SendBirdInviteAsMembersResponse isSuper(Boolean isSuper) { + this.isSuper = isSuper; + return this; + } + + /** + * Get isSuper + * @return isSuper + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSuper() { + return isSuper; + } + + + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSuper(Boolean isSuper) { + this.isSuper = isSuper; + } + + + public SendBirdInviteAsMembersResponse joinedMemberCount(Integer joinedMemberCount) { + this.joinedMemberCount = joinedMemberCount; + return this; + } + + /** + * Get joinedMemberCount + * @return joinedMemberCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getJoinedMemberCount() { + return joinedMemberCount; + } + + + @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setJoinedMemberCount(Integer joinedMemberCount) { + this.joinedMemberCount = joinedMemberCount; + } + + + public SendBirdInviteAsMembersResponse joinedTs(Long joinedTs) { + this.joinedTs = JsonNullable.of(joinedTs); + return this; + } + + /** + * Get joinedTs + * @return joinedTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Long getJoinedTs() { + return joinedTs.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_JOINED_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getJoinedTs_JsonNullable() { + return joinedTs; + } + + @JsonProperty(JSON_PROPERTY_JOINED_TS) + public void setJoinedTs_JsonNullable(JsonNullable joinedTs) { + this.joinedTs = joinedTs; + } + + public void setJoinedTs(Long joinedTs) { + this.joinedTs = JsonNullable.of(joinedTs); + } + + + public SendBirdInviteAsMembersResponse lastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + this.lastMessage = lastMessage; + return this; + } + + /** + * Get lastMessage + * @return lastMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdGroupChannelLastMessage getLastMessage() { + return lastMessage; + } + + + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + this.lastMessage = lastMessage; + } + + + public SendBirdInviteAsMembersResponse maxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + return this; + } + + /** + * Get maxLengthMessage + * @return maxLengthMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMaxLengthMessage() { + return maxLengthMessage; + } + + + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMaxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + } + + + public SendBirdInviteAsMembersResponse memberCount(Integer memberCount) { + this.memberCount = memberCount; + return this; + } + + /** + * Get memberCount + * @return memberCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMemberCount() { + return memberCount; + } + + + @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMemberCount(Integer memberCount) { + this.memberCount = memberCount; + } + + + public SendBirdInviteAsMembersResponse memberState(MemberStateEnum memberState) { + this.memberState = memberState; + return this; + } + + /** + * Get memberState + * @return memberState + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBER_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public MemberStateEnum getMemberState() { + return memberState; + } + + + @JsonProperty(JSON_PROPERTY_MEMBER_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMemberState(MemberStateEnum memberState) { + this.memberState = memberState; + } + + + public SendBirdInviteAsMembersResponse members(List members) { + this.members = members; + return this; + } + + public SendBirdInviteAsMembersResponse addMembersItem(SendBirdSendbirdMember membersItem) { + if (this.members == null) { + this.members = new ArrayList<>(); + } + this.members.add(membersItem); + return this; + } + + /** + * Get members + * @return members + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMembers() { + return members; + } + + + @JsonProperty(JSON_PROPERTY_MEMBERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMembers(List members) { + this.members = members; + } + + + public SendBirdInviteAsMembersResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + return this; + } + + /** + * Get messageSurvivalSeconds + * @return messageSurvivalSeconds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMessageSurvivalSeconds() { + return messageSurvivalSeconds; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + } + + + public SendBirdInviteAsMembersResponse metadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Object getMetadata() { + return metadata.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { + this.metadata = metadata; + } + + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + + + public SendBirdInviteAsMembersResponse myRole(MyRoleEnum myRole) { + this.myRole = myRole; + return this; + } + + /** + * Get myRole + * @return myRole + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MY_ROLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public MyRoleEnum getMyRole() { + return myRole; + } + + + @JsonProperty(JSON_PROPERTY_MY_ROLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMyRole(MyRoleEnum myRole) { + this.myRole = myRole; + } + + + public SendBirdInviteAsMembersResponse name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + public SendBirdInviteAsMembersResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + return this; + } + + /** + * Get pushTriggerOption + * @return pushTriggerOption + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + return pushTriggerOption; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + } + + + public SendBirdInviteAsMembersResponse readReceipt(Map readReceipt) { + this.readReceipt = readReceipt; + return this; + } + + public SendBirdInviteAsMembersResponse putReadReceiptItem(String key, Long readReceiptItem) { + if (this.readReceipt == null) { + this.readReceipt = new HashMap<>(); + } + this.readReceipt.put(key, readReceiptItem); + return this; + } + + /** + * Get readReceipt + * @return readReceipt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_READ_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Map getReadReceipt() { + return readReceipt; + } + + + @JsonProperty(JSON_PROPERTY_READ_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReadReceipt(Map readReceipt) { + this.readReceipt = readReceipt; + } + + + public SendBirdInviteAsMembersResponse smsFallback(SendBirdSendbirdSmsFallback smsFallback) { + this.smsFallback = smsFallback; + return this; + } + + /** + * Get smsFallback + * @return smsFallback + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdSmsFallback getSmsFallback() { + return smsFallback; + } + + + @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSmsFallback(SendBirdSendbirdSmsFallback smsFallback) { + this.smsFallback = smsFallback; + } + + + public SendBirdInviteAsMembersResponse tsMessageOffset(Long tsMessageOffset) { + this.tsMessageOffset = tsMessageOffset; + return this; + } + + /** + * Get tsMessageOffset + * @return tsMessageOffset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getTsMessageOffset() { + return tsMessageOffset; + } + + + @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTsMessageOffset(Long tsMessageOffset) { + this.tsMessageOffset = tsMessageOffset; + } + + + public SendBirdInviteAsMembersResponse unreadMentionCount(Integer unreadMentionCount) { + this.unreadMentionCount = unreadMentionCount; + return this; + } + + /** + * Get unreadMentionCount + * @return unreadMentionCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadMentionCount() { + return unreadMentionCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadMentionCount(Integer unreadMentionCount) { + this.unreadMentionCount = unreadMentionCount; + } + + + public SendBirdInviteAsMembersResponse unreadMessageCount(Integer unreadMessageCount) { + this.unreadMessageCount = unreadMessageCount; + return this; + } + + /** + * Get unreadMessageCount + * @return unreadMessageCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadMessageCount() { + return unreadMessageCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadMessageCount(Integer unreadMessageCount) { + this.unreadMessageCount = unreadMessageCount; + } + + + public SendBirdInviteAsMembersResponse userLastRead(Long userLastRead) { + this.userLastRead = userLastRead; + return this; + } + + /** + * Get userLastRead + * @return userLastRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER_LAST_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getUserLastRead() { + return userLastRead; + } + + + @JsonProperty(JSON_PROPERTY_USER_LAST_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUserLastRead(Long userLastRead) { + this.userLastRead = userLastRead; + } + + + public SendBirdInviteAsMembersResponse operators(List operators) { + this.operators = operators; + return this; + } + + public SendBirdInviteAsMembersResponse addOperatorsItem(SendBirdSendbirdUser operatorsItem) { + if (this.operators == null) { + this.operators = new ArrayList<>(); + } + this.operators.add(operatorsItem); + return this; + } + + /** + * Get operators + * @return operators + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_OPERATORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getOperators() { + return operators; + } + + + @JsonProperty(JSON_PROPERTY_OPERATORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperators(List operators) { + this.operators = operators; + } + + + /** + * Return true if this inviteAsMembersResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdInviteAsMembersResponse inviteAsMembersResponse = (SendBirdInviteAsMembersResponse) o; + return Objects.equals(this.channelUrl, inviteAsMembersResponse.channelUrl) && + Objects.equals(this.countPreference, inviteAsMembersResponse.countPreference) && + Objects.equals(this.coverUrl, inviteAsMembersResponse.coverUrl) && + Objects.equals(this.createdAt, inviteAsMembersResponse.createdAt) && + Objects.equals(this.createdBy, inviteAsMembersResponse.createdBy) && + Objects.equals(this.customType, inviteAsMembersResponse.customType) && + Objects.equals(this.data, inviteAsMembersResponse.data) && + Objects.equals(this.deliveryReceipt, inviteAsMembersResponse.deliveryReceipt) && + Objects.equals(this.disappearingMessage, inviteAsMembersResponse.disappearingMessage) && + Objects.equals(this.freeze, inviteAsMembersResponse.freeze) && + Objects.equals(this.hasAiBot, inviteAsMembersResponse.hasAiBot) && + Objects.equals(this.hasBot, inviteAsMembersResponse.hasBot) && + Objects.equals(this.hiddenState, inviteAsMembersResponse.hiddenState) && + Objects.equals(this.ignoreProfanityFilter, inviteAsMembersResponse.ignoreProfanityFilter) && + Objects.equals(this.invitedAt, inviteAsMembersResponse.invitedAt) && + Objects.equals(this.inviter, inviteAsMembersResponse.inviter) && + equalsNullable(this.isAccessCodeRequired, inviteAsMembersResponse.isAccessCodeRequired) && + Objects.equals(this.isBroadcast, inviteAsMembersResponse.isBroadcast) && + Objects.equals(this.isDiscoverable, inviteAsMembersResponse.isDiscoverable) && + Objects.equals(this.isDistinct, inviteAsMembersResponse.isDistinct) && + Objects.equals(this.isEphemeral, inviteAsMembersResponse.isEphemeral) && + Objects.equals(this.isExclusive, inviteAsMembersResponse.isExclusive) && + Objects.equals(this.isHidden, inviteAsMembersResponse.isHidden) && + Objects.equals(this.isMuted, inviteAsMembersResponse.isMuted) && + Objects.equals(this.isPublic, inviteAsMembersResponse.isPublic) && + Objects.equals(this.isPushEnabled, inviteAsMembersResponse.isPushEnabled) && + Objects.equals(this.isSuper, inviteAsMembersResponse.isSuper) && + Objects.equals(this.joinedMemberCount, inviteAsMembersResponse.joinedMemberCount) && + equalsNullable(this.joinedTs, inviteAsMembersResponse.joinedTs) && + Objects.equals(this.lastMessage, inviteAsMembersResponse.lastMessage) && + Objects.equals(this.maxLengthMessage, inviteAsMembersResponse.maxLengthMessage) && + Objects.equals(this.memberCount, inviteAsMembersResponse.memberCount) && + Objects.equals(this.memberState, inviteAsMembersResponse.memberState) && + Objects.equals(this.members, inviteAsMembersResponse.members) && + Objects.equals(this.messageSurvivalSeconds, inviteAsMembersResponse.messageSurvivalSeconds) && + equalsNullable(this.metadata, inviteAsMembersResponse.metadata) && + Objects.equals(this.myRole, inviteAsMembersResponse.myRole) && + Objects.equals(this.name, inviteAsMembersResponse.name) && + Objects.equals(this.pushTriggerOption, inviteAsMembersResponse.pushTriggerOption) && + Objects.equals(this.readReceipt, inviteAsMembersResponse.readReceipt) && + Objects.equals(this.smsFallback, inviteAsMembersResponse.smsFallback) && + Objects.equals(this.tsMessageOffset, inviteAsMembersResponse.tsMessageOffset) && + Objects.equals(this.unreadMentionCount, inviteAsMembersResponse.unreadMentionCount) && + Objects.equals(this.unreadMessageCount, inviteAsMembersResponse.unreadMessageCount) && + Objects.equals(this.userLastRead, inviteAsMembersResponse.userLastRead) && + Objects.equals(this.operators, inviteAsMembersResponse.operators); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, hashCodeNullable(isAccessCodeRequired), isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, hashCodeNullable(joinedTs), lastMessage, maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, hashCodeNullable(metadata), myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead, operators); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdInviteAsMembersResponse {\n"); + sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); + sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); + sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" deliveryReceipt: ").append(toIndentedString(deliveryReceipt)).append("\n"); + sb.append(" disappearingMessage: ").append(toIndentedString(disappearingMessage)).append("\n"); + sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); + sb.append(" hasAiBot: ").append(toIndentedString(hasAiBot)).append("\n"); + sb.append(" hasBot: ").append(toIndentedString(hasBot)).append("\n"); + sb.append(" hiddenState: ").append(toIndentedString(hiddenState)).append("\n"); + sb.append(" ignoreProfanityFilter: ").append(toIndentedString(ignoreProfanityFilter)).append("\n"); + sb.append(" invitedAt: ").append(toIndentedString(invitedAt)).append("\n"); + sb.append(" inviter: ").append(toIndentedString(inviter)).append("\n"); + sb.append(" isAccessCodeRequired: ").append(toIndentedString(isAccessCodeRequired)).append("\n"); + sb.append(" isBroadcast: ").append(toIndentedString(isBroadcast)).append("\n"); + sb.append(" isDiscoverable: ").append(toIndentedString(isDiscoverable)).append("\n"); + sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); + sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); + sb.append(" isExclusive: ").append(toIndentedString(isExclusive)).append("\n"); + sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n"); + sb.append(" isMuted: ").append(toIndentedString(isMuted)).append("\n"); + sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); + sb.append(" isPushEnabled: ").append(toIndentedString(isPushEnabled)).append("\n"); + sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); + sb.append(" joinedMemberCount: ").append(toIndentedString(joinedMemberCount)).append("\n"); + sb.append(" joinedTs: ").append(toIndentedString(joinedTs)).append("\n"); + sb.append(" lastMessage: ").append(toIndentedString(lastMessage)).append("\n"); + sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); + sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); + sb.append(" memberState: ").append(toIndentedString(memberState)).append("\n"); + sb.append(" members: ").append(toIndentedString(members)).append("\n"); + sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" myRole: ").append(toIndentedString(myRole)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); + sb.append(" readReceipt: ").append(toIndentedString(readReceipt)).append("\n"); + sb.append(" smsFallback: ").append(toIndentedString(smsFallback)).append("\n"); + sb.append(" tsMessageOffset: ").append(toIndentedString(tsMessageOffset)).append("\n"); + sb.append(" unreadMentionCount: ").append(toIndentedString(unreadMentionCount)).append("\n"); + sb.append(" unreadMessageCount: ").append(toIndentedString(unreadMessageCount)).append("\n"); + sb.append(" userLastRead: ").append(toIndentedString(userLastRead)).append("\n"); + sb.append(" operators: ").append(toIndentedString(operators)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java new file mode 100644 index 00000000..9ca840c0 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java @@ -0,0 +1,124 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdUser; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdInviteAsMembersResponseAllOf + */ +@JsonPropertyOrder({ + SendBirdInviteAsMembersResponseAllOf.JSON_PROPERTY_OPERATORS +}) +@JsonTypeName("inviteAsMembersResponse_allOf") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdInviteAsMembersResponseAllOf { + public static final String JSON_PROPERTY_OPERATORS = "operators"; + private List operators = null; + + public SendBirdInviteAsMembersResponseAllOf() { + } + + public SendBirdInviteAsMembersResponseAllOf operators(List operators) { + this.operators = operators; + return this; + } + + public SendBirdInviteAsMembersResponseAllOf addOperatorsItem(SendBirdSendbirdUser operatorsItem) { + if (this.operators == null) { + this.operators = new ArrayList<>(); + } + this.operators.add(operatorsItem); + return this; + } + + /** + * Get operators + * @return operators + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_OPERATORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getOperators() { + return operators; + } + + + @JsonProperty(JSON_PROPERTY_OPERATORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperators(List operators) { + this.operators = operators; + } + + + /** + * Return true if this inviteAsMembersResponse_allOf object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdInviteAsMembersResponseAllOf inviteAsMembersResponseAllOf = (SendBirdInviteAsMembersResponseAllOf) o; + return Objects.equals(this.operators, inviteAsMembersResponseAllOf.operators); + } + + @Override + public int hashCode() { + return Objects.hash(operators); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdInviteAsMembersResponseAllOf {\n"); + sb.append(" operators: ").append(toIndentedString(operators)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java new file mode 100644 index 00000000..0d3b92e6 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java @@ -0,0 +1,168 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdJoinAChannelRequest + */ +@JsonPropertyOrder({ + SendBirdJoinAChannelRequest.JSON_PROPERTY_USER_ID, + SendBirdJoinAChannelRequest.JSON_PROPERTY_ACCESS_CODE +}) +@JsonTypeName("joinAChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdJoinAChannelRequest { + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; + private JsonNullable accessCode = JsonNullable.undefined(); + + public SendBirdJoinAChannelRequest() { + } + + public SendBirdJoinAChannelRequest userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Specifies the unique ID of the user to join the public group channel. + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the unique ID of the user to join the public group channel.") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + public SendBirdJoinAChannelRequest accessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + return this; + } + + /** + * This property should be specified if the public group channel to join requires an access code to users, which means that the is_access_code_required property of the channel resource is true. + * @return accessCode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "This property should be specified if the public group channel to join requires an access code to users, which means that the is_access_code_required property of the channel resource is true.") + @JsonIgnore + + public String getAccessCode() { + return accessCode.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getAccessCode_JsonNullable() { + return accessCode; + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + public void setAccessCode_JsonNullable(JsonNullable accessCode) { + this.accessCode = accessCode; + } + + public void setAccessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + } + + + /** + * Return true if this joinAChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdJoinAChannelRequest joinAChannelRequest = (SendBirdJoinAChannelRequest) o; + return Objects.equals(this.userId, joinAChannelRequest.userId) && + equalsNullable(this.accessCode, joinAChannelRequest.accessCode); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(userId, hashCodeNullable(accessCode)); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdJoinAChannelRequest {\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" accessCode: ").append(toIndentedString(accessCode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java b/src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java new file mode 100644 index 00000000..0ff6c7aa --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java @@ -0,0 +1,120 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdJoinChannelsRequest + */ +@JsonPropertyOrder({ + SendBirdJoinChannelsRequest.JSON_PROPERTY_CHANNEL_URLS +}) +@JsonTypeName("joinChannels_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdJoinChannelsRequest { + public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; + private List channelUrls = new ArrayList<>(); + + public SendBirdJoinChannelsRequest() { + } + + public SendBirdJoinChannelsRequest channelUrls(List channelUrls) { + this.channelUrls = channelUrls; + return this; + } + + public SendBirdJoinChannelsRequest addChannelUrlsItem(String channelUrlsItem) { + this.channelUrls.add(channelUrlsItem); + return this; + } + + /** + * Get channelUrls + * @return channelUrls + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_URLS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public List getChannelUrls() { + return channelUrls; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_URLS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setChannelUrls(List channelUrls) { + this.channelUrls = channelUrls; + } + + + /** + * Return true if this joinChannels_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdJoinChannelsRequest joinChannelsRequest = (SendBirdJoinChannelsRequest) o; + return Objects.equals(this.channelUrls, joinChannelsRequest.channelUrls); + } + + @Override + public int hashCode() { + return Objects.hash(channelUrls); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdJoinChannelsRequest {\n"); + sb.append(" channelUrls: ").append(toIndentedString(channelUrls)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java new file mode 100644 index 00000000..f626714f --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java @@ -0,0 +1,257 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdLeaveAChannelRequest + */ +@JsonPropertyOrder({ + SendBirdLeaveAChannelRequest.JSON_PROPERTY_USER_IDS, + SendBirdLeaveAChannelRequest.JSON_PROPERTY_SHOULD_LEAVE_ALL, + SendBirdLeaveAChannelRequest.JSON_PROPERTY_SHOULD_REMOVE_OPERATOR_STATUS, + SendBirdLeaveAChannelRequest.JSON_PROPERTY_REASON +}) +@JsonTypeName("leaveAChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdLeaveAChannelRequest { + public static final String JSON_PROPERTY_USER_IDS = "user_ids"; + private List userIds = new ArrayList<>(); + + public static final String JSON_PROPERTY_SHOULD_LEAVE_ALL = "should_leave_all"; + private Boolean shouldLeaveAll; + + public static final String JSON_PROPERTY_SHOULD_REMOVE_OPERATOR_STATUS = "should_remove_operator_status"; + private Boolean shouldRemoveOperatorStatus; + + /** + * Specifies the reason for leaving a channel. Acceptable values are admin_removed, admin_deleted, admin_deactivated, left_by_own_choice, and channel_operator_removed. + */ + public enum ReasonEnum { + LEFT_BY_OWN_CHOICE("LEFT_BY_OWN_CHOICE"), + + CHANNEL_OPERATOR_REMOVED("CHANNEL_OPERATOR_REMOVED"), + + ADMIN_REMOVED("ADMIN_REMOVED"), + + ADMIN_DELETED("ADMIN_DELETED"), + + ADMIN_DEACTIVATED("ADMIN_DEACTIVATED"); + + private String value; + + ReasonEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static ReasonEnum fromValue(String value) { + for (ReasonEnum b : ReasonEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_REASON = "reason"; + private ReasonEnum reason; + + public SendBirdLeaveAChannelRequest() { + } + + public SendBirdLeaveAChannelRequest userIds(List userIds) { + this.userIds = userIds; + return this; + } + + public SendBirdLeaveAChannelRequest addUserIdsItem(String userIdsItem) { + this.userIds.add(userIdsItem); + return this; + } + + /** + * Specifies an array of one or more IDs of the users to leave the channel. + * @return userIds + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies an array of one or more IDs of the users to leave the channel.") + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public List getUserIds() { + return userIds; + } + + + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserIds(List userIds) { + this.userIds = userIds; + } + + + public SendBirdLeaveAChannelRequest shouldLeaveAll(Boolean shouldLeaveAll) { + this.shouldLeaveAll = shouldLeaveAll; + return this; + } + + /** + * Determines whether to make all members leave the channel. (Default: false) + * @return shouldLeaveAll + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Determines whether to make all members leave the channel. (Default: false)") + @JsonProperty(JSON_PROPERTY_SHOULD_LEAVE_ALL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getShouldLeaveAll() { + return shouldLeaveAll; + } + + + @JsonProperty(JSON_PROPERTY_SHOULD_LEAVE_ALL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShouldLeaveAll(Boolean shouldLeaveAll) { + this.shouldLeaveAll = shouldLeaveAll; + } + + + public SendBirdLeaveAChannelRequest shouldRemoveOperatorStatus(Boolean shouldRemoveOperatorStatus) { + this.shouldRemoveOperatorStatus = shouldRemoveOperatorStatus; + return this; + } + + /** + * Determines whether to remove a user from the channel's operator list if the user who is leaving the channel is an operator. (Default: false) + * @return shouldRemoveOperatorStatus + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Determines whether to remove a user from the channel's operator list if the user who is leaving the channel is an operator. (Default: false)") + @JsonProperty(JSON_PROPERTY_SHOULD_REMOVE_OPERATOR_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getShouldRemoveOperatorStatus() { + return shouldRemoveOperatorStatus; + } + + + @JsonProperty(JSON_PROPERTY_SHOULD_REMOVE_OPERATOR_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShouldRemoveOperatorStatus(Boolean shouldRemoveOperatorStatus) { + this.shouldRemoveOperatorStatus = shouldRemoveOperatorStatus; + } + + + public SendBirdLeaveAChannelRequest reason(ReasonEnum reason) { + this.reason = reason; + return this; + } + + /** + * Specifies the reason for leaving a channel. Acceptable values are admin_removed, admin_deleted, admin_deactivated, left_by_own_choice, and channel_operator_removed. + * @return reason + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the reason for leaving a channel. Acceptable values are admin_removed, admin_deleted, admin_deactivated, left_by_own_choice, and channel_operator_removed.") + @JsonProperty(JSON_PROPERTY_REASON) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public ReasonEnum getReason() { + return reason; + } + + + @JsonProperty(JSON_PROPERTY_REASON) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReason(ReasonEnum reason) { + this.reason = reason; + } + + + /** + * Return true if this leaveAChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdLeaveAChannelRequest leaveAChannelRequest = (SendBirdLeaveAChannelRequest) o; + return Objects.equals(this.userIds, leaveAChannelRequest.userIds) && + Objects.equals(this.shouldLeaveAll, leaveAChannelRequest.shouldLeaveAll) && + Objects.equals(this.shouldRemoveOperatorStatus, leaveAChannelRequest.shouldRemoveOperatorStatus) && + Objects.equals(this.reason, leaveAChannelRequest.reason); + } + + @Override + public int hashCode() { + return Objects.hash(userIds, shouldLeaveAll, shouldRemoveOperatorStatus, reason); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdLeaveAChannelRequest {\n"); + sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); + sb.append(" shouldLeaveAll: ").append(toIndentedString(shouldLeaveAll)).append("\n"); + sb.append(" shouldRemoveOperatorStatus: ").append(toIndentedString(shouldRemoveOperatorStatus)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java b/src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java new file mode 100644 index 00000000..c66c8eee --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdLeaveMyGroupChannelsRequest + */ +@JsonPropertyOrder({ + SendBirdLeaveMyGroupChannelsRequest.JSON_PROPERTY_CUSTOM_TYPE +}) +@JsonTypeName("leaveMyGroupChannels_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdLeaveMyGroupChannelsRequest { + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public SendBirdLeaveMyGroupChannelsRequest() { + } + + public SendBirdLeaveMyGroupChannelsRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + /** + * Return true if this leaveMyGroupChannels_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdLeaveMyGroupChannelsRequest leaveMyGroupChannelsRequest = (SendBirdLeaveMyGroupChannelsRequest) o; + return Objects.equals(this.customType, leaveMyGroupChannelsRequest.customType); + } + + @Override + public int hashCode() { + return Objects.hash(customType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdLeaveMyGroupChannelsRequest {\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java new file mode 100644 index 00000000..36182380 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java @@ -0,0 +1,156 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdUser; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListBlockedUsersResponse + */ +@JsonPropertyOrder({ + SendBirdListBlockedUsersResponse.JSON_PROPERTY_USERS, + SendBirdListBlockedUsersResponse.JSON_PROPERTY_NEXT +}) +@JsonTypeName("listBlockedUsersResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListBlockedUsersResponse { + public static final String JSON_PROPERTY_USERS = "users"; + private List users = null; + + public static final String JSON_PROPERTY_NEXT = "next"; + private String next; + + public SendBirdListBlockedUsersResponse() { + } + + public SendBirdListBlockedUsersResponse users(List users) { + this.users = users; + return this; + } + + public SendBirdListBlockedUsersResponse addUsersItem(SendBirdSendbirdUser usersItem) { + if (this.users == null) { + this.users = new ArrayList<>(); + } + this.users.add(usersItem); + return this; + } + + /** + * Get users + * @return users + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getUsers() { + return users; + } + + + @JsonProperty(JSON_PROPERTY_USERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUsers(List users) { + this.users = users; + } + + + public SendBirdListBlockedUsersResponse next(String next) { + this.next = next; + return this; + } + + /** + * Get next + * @return next + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getNext() { + return next; + } + + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(String next) { + this.next = next; + } + + + /** + * Return true if this listBlockedUsersResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListBlockedUsersResponse listBlockedUsersResponse = (SendBirdListBlockedUsersResponse) o; + return Objects.equals(this.users, listBlockedUsersResponse.users) && + Objects.equals(this.next, listBlockedUsersResponse.next); + } + + @Override + public int hashCode() { + return Objects.hash(users, next); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListBlockedUsersResponse {\n"); + sb.append(" users: ").append(toIndentedString(users)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java new file mode 100644 index 00000000..9b001000 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java @@ -0,0 +1,156 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInner; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListBotsResponse + */ +@JsonPropertyOrder({ + SendBirdListBotsResponse.JSON_PROPERTY_BOTS, + SendBirdListBotsResponse.JSON_PROPERTY_NEXT +}) +@JsonTypeName("listBotsResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListBotsResponse { + public static final String JSON_PROPERTY_BOTS = "bots"; + private List bots = null; + + public static final String JSON_PROPERTY_NEXT = "next"; + private String next; + + public SendBirdListBotsResponse() { + } + + public SendBirdListBotsResponse bots(List bots) { + this.bots = bots; + return this; + } + + public SendBirdListBotsResponse addBotsItem(SendBirdListBotsResponseBotsInner botsItem) { + if (this.bots == null) { + this.bots = new ArrayList<>(); + } + this.bots.add(botsItem); + return this; + } + + /** + * Get bots + * @return bots + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getBots() { + return bots; + } + + + @JsonProperty(JSON_PROPERTY_BOTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBots(List bots) { + this.bots = bots; + } + + + public SendBirdListBotsResponse next(String next) { + this.next = next; + return this; + } + + /** + * Get next + * @return next + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getNext() { + return next; + } + + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(String next) { + this.next = next; + } + + + /** + * Return true if this listBotsResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListBotsResponse listBotsResponse = (SendBirdListBotsResponse) o; + return Objects.equals(this.bots, listBotsResponse.bots) && + Objects.equals(this.next, listBotsResponse.next); + } + + @Override + public int hashCode() { + return Objects.hash(bots, next); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListBotsResponse {\n"); + sb.append(" bots: ").append(toIndentedString(bots)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java new file mode 100644 index 00000000..7e457361 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java @@ -0,0 +1,415 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBot; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyle; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerFirstMessagesInner; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerSafeguard; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListBotsResponseBotsInner + */ +@JsonPropertyOrder({ + SendBirdListBotsResponseBotsInner.JSON_PROPERTY_BOT, + SendBirdListBotsResponseBotsInner.JSON_PROPERTY_BOT_CALLBACK_URL, + SendBirdListBotsResponseBotsInner.JSON_PROPERTY_BOT_STYLE, + SendBirdListBotsResponseBotsInner.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE, + SendBirdListBotsResponseBotsInner.JSON_PROPERTY_CREATED_AT, + SendBirdListBotsResponseBotsInner.JSON_PROPERTY_ENABLE_MARK_AS_READ, + SendBirdListBotsResponseBotsInner.JSON_PROPERTY_FIRST_MESSAGES, + SendBirdListBotsResponseBotsInner.JSON_PROPERTY_IS_PRIVACY_MODE, + SendBirdListBotsResponseBotsInner.JSON_PROPERTY_SAFEGUARD, + SendBirdListBotsResponseBotsInner.JSON_PROPERTY_SHOW_MEMBER +}) +@JsonTypeName("listBotsResponse_bots_inner") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListBotsResponseBotsInner { + public static final String JSON_PROPERTY_BOT = "bot"; + private SendBirdListBotsResponseBotsInnerBot bot; + + public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; + private String botCallbackUrl; + + public static final String JSON_PROPERTY_BOT_STYLE = "bot_style"; + private SendBirdListBotsResponseBotsInnerBotStyle botStyle; + + public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; + private Integer channelInvitationPreference; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; + private Boolean enableMarkAsRead; + + public static final String JSON_PROPERTY_FIRST_MESSAGES = "first_messages"; + private List firstMessages = null; + + public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; + private Boolean isPrivacyMode; + + public static final String JSON_PROPERTY_SAFEGUARD = "safeguard"; + private SendBirdListBotsResponseBotsInnerSafeguard safeguard; + + public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; + private Boolean showMember; + + public SendBirdListBotsResponseBotsInner() { + } + + public SendBirdListBotsResponseBotsInner bot(SendBirdListBotsResponseBotsInnerBot bot) { + this.bot = bot; + return this; + } + + /** + * Get bot + * @return bot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdListBotsResponseBotsInnerBot getBot() { + return bot; + } + + + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBot(SendBirdListBotsResponseBotsInnerBot bot) { + this.bot = bot; + } + + + public SendBirdListBotsResponseBotsInner botCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + return this; + } + + /** + * Get botCallbackUrl + * @return botCallbackUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotCallbackUrl() { + return botCallbackUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + } + + + public SendBirdListBotsResponseBotsInner botStyle(SendBirdListBotsResponseBotsInnerBotStyle botStyle) { + this.botStyle = botStyle; + return this; + } + + /** + * Get botStyle + * @return botStyle + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_STYLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdListBotsResponseBotsInnerBotStyle getBotStyle() { + return botStyle; + } + + + @JsonProperty(JSON_PROPERTY_BOT_STYLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotStyle(SendBirdListBotsResponseBotsInnerBotStyle botStyle) { + this.botStyle = botStyle; + } + + + public SendBirdListBotsResponseBotsInner channelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + return this; + } + + /** + * Get channelInvitationPreference + * @return channelInvitationPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getChannelInvitationPreference() { + return channelInvitationPreference; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + } + + + public SendBirdListBotsResponseBotsInner createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdListBotsResponseBotsInner enableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + return this; + } + + /** + * Get enableMarkAsRead + * @return enableMarkAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnableMarkAsRead() { + return enableMarkAsRead; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + } + + + public SendBirdListBotsResponseBotsInner firstMessages(List firstMessages) { + this.firstMessages = firstMessages; + return this; + } + + public SendBirdListBotsResponseBotsInner addFirstMessagesItem(SendBirdListBotsResponseBotsInnerFirstMessagesInner firstMessagesItem) { + if (this.firstMessages == null) { + this.firstMessages = new ArrayList<>(); + } + this.firstMessages.add(firstMessagesItem); + return this; + } + + /** + * Get firstMessages + * @return firstMessages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FIRST_MESSAGES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getFirstMessages() { + return firstMessages; + } + + + @JsonProperty(JSON_PROPERTY_FIRST_MESSAGES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFirstMessages(List firstMessages) { + this.firstMessages = firstMessages; + } + + + public SendBirdListBotsResponseBotsInner isPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + return this; + } + + /** + * Get isPrivacyMode + * @return isPrivacyMode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPrivacyMode() { + return isPrivacyMode; + } + + + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + } + + + public SendBirdListBotsResponseBotsInner safeguard(SendBirdListBotsResponseBotsInnerSafeguard safeguard) { + this.safeguard = safeguard; + return this; + } + + /** + * Get safeguard + * @return safeguard + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SAFEGUARD) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdListBotsResponseBotsInnerSafeguard getSafeguard() { + return safeguard; + } + + + @JsonProperty(JSON_PROPERTY_SAFEGUARD) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSafeguard(SendBirdListBotsResponseBotsInnerSafeguard safeguard) { + this.safeguard = safeguard; + } + + + public SendBirdListBotsResponseBotsInner showMember(Boolean showMember) { + this.showMember = showMember; + return this; + } + + /** + * Get showMember + * @return showMember + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getShowMember() { + return showMember; + } + + + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShowMember(Boolean showMember) { + this.showMember = showMember; + } + + + /** + * Return true if this listBotsResponse_bots_inner object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListBotsResponseBotsInner listBotsResponseBotsInner = (SendBirdListBotsResponseBotsInner) o; + return Objects.equals(this.bot, listBotsResponseBotsInner.bot) && + Objects.equals(this.botCallbackUrl, listBotsResponseBotsInner.botCallbackUrl) && + Objects.equals(this.botStyle, listBotsResponseBotsInner.botStyle) && + Objects.equals(this.channelInvitationPreference, listBotsResponseBotsInner.channelInvitationPreference) && + Objects.equals(this.createdAt, listBotsResponseBotsInner.createdAt) && + Objects.equals(this.enableMarkAsRead, listBotsResponseBotsInner.enableMarkAsRead) && + Objects.equals(this.firstMessages, listBotsResponseBotsInner.firstMessages) && + Objects.equals(this.isPrivacyMode, listBotsResponseBotsInner.isPrivacyMode) && + Objects.equals(this.safeguard, listBotsResponseBotsInner.safeguard) && + Objects.equals(this.showMember, listBotsResponseBotsInner.showMember); + } + + @Override + public int hashCode() { + return Objects.hash(bot, botCallbackUrl, botStyle, channelInvitationPreference, createdAt, enableMarkAsRead, firstMessages, isPrivacyMode, safeguard, showMember); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListBotsResponseBotsInner {\n"); + sb.append(" bot: ").append(toIndentedString(bot)).append("\n"); + sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); + sb.append(" botStyle: ").append(toIndentedString(botStyle)).append("\n"); + sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); + sb.append(" firstMessages: ").append(toIndentedString(firstMessages)).append("\n"); + sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); + sb.append(" safeguard: ").append(toIndentedString(safeguard)).append("\n"); + sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java new file mode 100644 index 00000000..f734f2e8 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java @@ -0,0 +1,337 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListBotsResponseBotsInnerBot + */ +@JsonPropertyOrder({ + SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_AI_AGENT_TYPE, + SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_METADATA, + SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_NICKNAME, + SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_PROFILE_URL, + SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_TOKEN, + SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_TYPE, + SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_USERID +}) +@JsonTypeName("listBotsResponse_bots_inner_bot") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListBotsResponseBotsInnerBot { + public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; + private String aiAgentType; + + public static final String JSON_PROPERTY_BOT_METADATA = "bot_metadata"; + private Object botMetadata; + + public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; + private String botNickname; + + public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; + private String botProfileUrl; + + public static final String JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "bot_require_auth_for_profile_image"; + private Boolean botRequireAuthForProfileImage; + + public static final String JSON_PROPERTY_BOT_TOKEN = "bot_token"; + private String botToken; + + public static final String JSON_PROPERTY_BOT_TYPE = "bot_type"; + private String botType; + + public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; + private String botUserid; + + public SendBirdListBotsResponseBotsInnerBot() { + } + + public SendBirdListBotsResponseBotsInnerBot aiAgentType(String aiAgentType) { + this.aiAgentType = aiAgentType; + return this; + } + + /** + * Get aiAgentType + * @return aiAgentType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_AI_AGENT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getAiAgentType() { + return aiAgentType; + } + + + @JsonProperty(JSON_PROPERTY_AI_AGENT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAiAgentType(String aiAgentType) { + this.aiAgentType = aiAgentType; + } + + + public SendBirdListBotsResponseBotsInnerBot botMetadata(Object botMetadata) { + this.botMetadata = botMetadata; + return this; + } + + /** + * Get botMetadata + * @return botMetadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getBotMetadata() { + return botMetadata; + } + + + @JsonProperty(JSON_PROPERTY_BOT_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotMetadata(Object botMetadata) { + this.botMetadata = botMetadata; + } + + + public SendBirdListBotsResponseBotsInnerBot botNickname(String botNickname) { + this.botNickname = botNickname; + return this; + } + + /** + * Get botNickname + * @return botNickname + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotNickname() { + return botNickname; + } + + + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotNickname(String botNickname) { + this.botNickname = botNickname; + } + + + public SendBirdListBotsResponseBotsInnerBot botProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + return this; + } + + /** + * Get botProfileUrl + * @return botProfileUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotProfileUrl() { + return botProfileUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + } + + + public SendBirdListBotsResponseBotsInnerBot botRequireAuthForProfileImage(Boolean botRequireAuthForProfileImage) { + this.botRequireAuthForProfileImage = botRequireAuthForProfileImage; + return this; + } + + /** + * Get botRequireAuthForProfileImage + * @return botRequireAuthForProfileImage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getBotRequireAuthForProfileImage() { + return botRequireAuthForProfileImage; + } + + + @JsonProperty(JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotRequireAuthForProfileImage(Boolean botRequireAuthForProfileImage) { + this.botRequireAuthForProfileImage = botRequireAuthForProfileImage; + } + + + public SendBirdListBotsResponseBotsInnerBot botToken(String botToken) { + this.botToken = botToken; + return this; + } + + /** + * Get botToken + * @return botToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotToken() { + return botToken; + } + + + @JsonProperty(JSON_PROPERTY_BOT_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotToken(String botToken) { + this.botToken = botToken; + } + + + public SendBirdListBotsResponseBotsInnerBot botType(String botType) { + this.botType = botType; + return this; + } + + /** + * Get botType + * @return botType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotType() { + return botType; + } + + + @JsonProperty(JSON_PROPERTY_BOT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotType(String botType) { + this.botType = botType; + } + + + public SendBirdListBotsResponseBotsInnerBot botUserid(String botUserid) { + this.botUserid = botUserid; + return this; + } + + /** + * Get botUserid + * @return botUserid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotUserid() { + return botUserid; + } + + + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotUserid(String botUserid) { + this.botUserid = botUserid; + } + + + /** + * Return true if this listBotsResponse_bots_inner_bot object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListBotsResponseBotsInnerBot listBotsResponseBotsInnerBot = (SendBirdListBotsResponseBotsInnerBot) o; + return Objects.equals(this.aiAgentType, listBotsResponseBotsInnerBot.aiAgentType) && + Objects.equals(this.botMetadata, listBotsResponseBotsInnerBot.botMetadata) && + Objects.equals(this.botNickname, listBotsResponseBotsInnerBot.botNickname) && + Objects.equals(this.botProfileUrl, listBotsResponseBotsInnerBot.botProfileUrl) && + Objects.equals(this.botRequireAuthForProfileImage, listBotsResponseBotsInnerBot.botRequireAuthForProfileImage) && + Objects.equals(this.botToken, listBotsResponseBotsInnerBot.botToken) && + Objects.equals(this.botType, listBotsResponseBotsInnerBot.botType) && + Objects.equals(this.botUserid, listBotsResponseBotsInnerBot.botUserid); + } + + @Override + public int hashCode() { + return Objects.hash(aiAgentType, botMetadata, botNickname, botProfileUrl, botRequireAuthForProfileImage, botToken, botType, botUserid); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListBotsResponseBotsInnerBot {\n"); + sb.append(" aiAgentType: ").append(toIndentedString(aiAgentType)).append("\n"); + sb.append(" botMetadata: ").append(toIndentedString(botMetadata)).append("\n"); + sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); + sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); + sb.append(" botRequireAuthForProfileImage: ").append(toIndentedString(botRequireAuthForProfileImage)).append("\n"); + sb.append(" botToken: ").append(toIndentedString(botToken)).append("\n"); + sb.append(" botType: ").append(toIndentedString(botType)).append("\n"); + sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java new file mode 100644 index 00000000..2ad8cca7 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java @@ -0,0 +1,241 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyleColor; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListBotsResponseBotsInnerBotStyle + */ +@JsonPropertyOrder({ + SendBirdListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_AUTO_OPEN, + SendBirdListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_COLOR, + SendBirdListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_TYPE, + SendBirdListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_URL +}) +@JsonTypeName("listBotsResponse_bots_inner_bot_style") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListBotsResponseBotsInnerBotStyle { + public static final String JSON_PROPERTY_AUTO_OPEN = "auto_open"; + private Boolean autoOpen; + + public static final String JSON_PROPERTY_COLOR = "color"; + private SendBirdListBotsResponseBotsInnerBotStyleColor color; + + public static final String JSON_PROPERTY_TOGGLE_BUTTON_TYPE = "toggle_button_type"; + private JsonNullable toggleButtonType = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_TOGGLE_BUTTON_URL = "toggle_button_url"; + private JsonNullable toggleButtonUrl = JsonNullable.undefined(); + + public SendBirdListBotsResponseBotsInnerBotStyle() { + } + + public SendBirdListBotsResponseBotsInnerBotStyle autoOpen(Boolean autoOpen) { + this.autoOpen = autoOpen; + return this; + } + + /** + * Get autoOpen + * @return autoOpen + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_AUTO_OPEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getAutoOpen() { + return autoOpen; + } + + + @JsonProperty(JSON_PROPERTY_AUTO_OPEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAutoOpen(Boolean autoOpen) { + this.autoOpen = autoOpen; + } + + + public SendBirdListBotsResponseBotsInnerBotStyle color(SendBirdListBotsResponseBotsInnerBotStyleColor color) { + this.color = color; + return this; + } + + /** + * Get color + * @return color + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COLOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdListBotsResponseBotsInnerBotStyleColor getColor() { + return color; + } + + + @JsonProperty(JSON_PROPERTY_COLOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setColor(SendBirdListBotsResponseBotsInnerBotStyleColor color) { + this.color = color; + } + + + public SendBirdListBotsResponseBotsInnerBotStyle toggleButtonType(String toggleButtonType) { + this.toggleButtonType = JsonNullable.of(toggleButtonType); + return this; + } + + /** + * Get toggleButtonType + * @return toggleButtonType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public String getToggleButtonType() { + return toggleButtonType.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getToggleButtonType_JsonNullable() { + return toggleButtonType; + } + + @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_TYPE) + public void setToggleButtonType_JsonNullable(JsonNullable toggleButtonType) { + this.toggleButtonType = toggleButtonType; + } + + public void setToggleButtonType(String toggleButtonType) { + this.toggleButtonType = JsonNullable.of(toggleButtonType); + } + + + public SendBirdListBotsResponseBotsInnerBotStyle toggleButtonUrl(String toggleButtonUrl) { + this.toggleButtonUrl = JsonNullable.of(toggleButtonUrl); + return this; + } + + /** + * Get toggleButtonUrl + * @return toggleButtonUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public String getToggleButtonUrl() { + return toggleButtonUrl.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getToggleButtonUrl_JsonNullable() { + return toggleButtonUrl; + } + + @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_URL) + public void setToggleButtonUrl_JsonNullable(JsonNullable toggleButtonUrl) { + this.toggleButtonUrl = toggleButtonUrl; + } + + public void setToggleButtonUrl(String toggleButtonUrl) { + this.toggleButtonUrl = JsonNullable.of(toggleButtonUrl); + } + + + /** + * Return true if this listBotsResponse_bots_inner_bot_style object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListBotsResponseBotsInnerBotStyle listBotsResponseBotsInnerBotStyle = (SendBirdListBotsResponseBotsInnerBotStyle) o; + return Objects.equals(this.autoOpen, listBotsResponseBotsInnerBotStyle.autoOpen) && + Objects.equals(this.color, listBotsResponseBotsInnerBotStyle.color) && + equalsNullable(this.toggleButtonType, listBotsResponseBotsInnerBotStyle.toggleButtonType) && + equalsNullable(this.toggleButtonUrl, listBotsResponseBotsInnerBotStyle.toggleButtonUrl); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(autoOpen, color, hashCodeNullable(toggleButtonType), hashCodeNullable(toggleButtonUrl)); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListBotsResponseBotsInnerBotStyle {\n"); + sb.append(" autoOpen: ").append(toIndentedString(autoOpen)).append("\n"); + sb.append(" color: ").append(toIndentedString(color)).append("\n"); + sb.append(" toggleButtonType: ").append(toIndentedString(toggleButtonType)).append("\n"); + sb.append(" toggleButtonUrl: ").append(toIndentedString(toggleButtonUrl)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java new file mode 100644 index 00000000..e5773674 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java @@ -0,0 +1,177 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListBotsResponseBotsInnerBotStyleColor + */ +@JsonPropertyOrder({ + SendBirdListBotsResponseBotsInnerBotStyleColor.JSON_PROPERTY_ACCENT_COLOR, + SendBirdListBotsResponseBotsInnerBotStyleColor.JSON_PROPERTY_BOT_MESSAGE_COLOR, + SendBirdListBotsResponseBotsInnerBotStyleColor.JSON_PROPERTY_THEME +}) +@JsonTypeName("listBotsResponse_bots_inner_bot_style_color") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListBotsResponseBotsInnerBotStyleColor { + public static final String JSON_PROPERTY_ACCENT_COLOR = "accent_color"; + private String accentColor; + + public static final String JSON_PROPERTY_BOT_MESSAGE_COLOR = "bot_message_color"; + private String botMessageColor; + + public static final String JSON_PROPERTY_THEME = "theme"; + private String theme; + + public SendBirdListBotsResponseBotsInnerBotStyleColor() { + } + + public SendBirdListBotsResponseBotsInnerBotStyleColor accentColor(String accentColor) { + this.accentColor = accentColor; + return this; + } + + /** + * Get accentColor + * @return accentColor + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ACCENT_COLOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getAccentColor() { + return accentColor; + } + + + @JsonProperty(JSON_PROPERTY_ACCENT_COLOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAccentColor(String accentColor) { + this.accentColor = accentColor; + } + + + public SendBirdListBotsResponseBotsInnerBotStyleColor botMessageColor(String botMessageColor) { + this.botMessageColor = botMessageColor; + return this; + } + + /** + * Get botMessageColor + * @return botMessageColor + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_MESSAGE_COLOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotMessageColor() { + return botMessageColor; + } + + + @JsonProperty(JSON_PROPERTY_BOT_MESSAGE_COLOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotMessageColor(String botMessageColor) { + this.botMessageColor = botMessageColor; + } + + + public SendBirdListBotsResponseBotsInnerBotStyleColor theme(String theme) { + this.theme = theme; + return this; + } + + /** + * Get theme + * @return theme + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_THEME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTheme() { + return theme; + } + + + @JsonProperty(JSON_PROPERTY_THEME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTheme(String theme) { + this.theme = theme; + } + + + /** + * Return true if this listBotsResponse_bots_inner_bot_style_color object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListBotsResponseBotsInnerBotStyleColor listBotsResponseBotsInnerBotStyleColor = (SendBirdListBotsResponseBotsInnerBotStyleColor) o; + return Objects.equals(this.accentColor, listBotsResponseBotsInnerBotStyleColor.accentColor) && + Objects.equals(this.botMessageColor, listBotsResponseBotsInnerBotStyleColor.botMessageColor) && + Objects.equals(this.theme, listBotsResponseBotsInnerBotStyleColor.theme); + } + + @Override + public int hashCode() { + return Objects.hash(accentColor, botMessageColor, theme); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListBotsResponseBotsInnerBotStyleColor {\n"); + sb.append(" accentColor: ").append(toIndentedString(accentColor)).append("\n"); + sb.append(" botMessageColor: ").append(toIndentedString(botMessageColor)).append("\n"); + sb.append(" theme: ").append(toIndentedString(theme)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java new file mode 100644 index 00000000..bc0a93c5 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java @@ -0,0 +1,146 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerFirstMessagesInnerData; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListBotsResponseBotsInnerFirstMessagesInner + */ +@JsonPropertyOrder({ + SendBirdListBotsResponseBotsInnerFirstMessagesInner.JSON_PROPERTY_DATA, + SendBirdListBotsResponseBotsInnerFirstMessagesInner.JSON_PROPERTY_MESSAGE +}) +@JsonTypeName("listBotsResponse_bots_inner_first_messages_inner") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListBotsResponseBotsInnerFirstMessagesInner { + public static final String JSON_PROPERTY_DATA = "data"; + private SendBirdListBotsResponseBotsInnerFirstMessagesInnerData data; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; + + public SendBirdListBotsResponseBotsInnerFirstMessagesInner() { + } + + public SendBirdListBotsResponseBotsInnerFirstMessagesInner data(SendBirdListBotsResponseBotsInnerFirstMessagesInnerData data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdListBotsResponseBotsInnerFirstMessagesInnerData getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(SendBirdListBotsResponseBotsInnerFirstMessagesInnerData data) { + this.data = data; + } + + + public SendBirdListBotsResponseBotsInnerFirstMessagesInner message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(String message) { + this.message = message; + } + + + /** + * Return true if this listBotsResponse_bots_inner_first_messages_inner object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListBotsResponseBotsInnerFirstMessagesInner listBotsResponseBotsInnerFirstMessagesInner = (SendBirdListBotsResponseBotsInnerFirstMessagesInner) o; + return Objects.equals(this.data, listBotsResponseBotsInnerFirstMessagesInner.data) && + Objects.equals(this.message, listBotsResponseBotsInnerFirstMessagesInner.message); + } + + @Override + public int hashCode() { + return Objects.hash(data, message); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListBotsResponseBotsInnerFirstMessagesInner {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java new file mode 100644 index 00000000..755073bf --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java @@ -0,0 +1,123 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListBotsResponseBotsInnerFirstMessagesInnerData + */ +@JsonPropertyOrder({ + SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.JSON_PROPERTY_SUGGESTED_REPLIES +}) +@JsonTypeName("listBotsResponse_bots_inner_first_messages_inner_data") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListBotsResponseBotsInnerFirstMessagesInnerData { + public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; + private List suggestedReplies = null; + + public SendBirdListBotsResponseBotsInnerFirstMessagesInnerData() { + } + + public SendBirdListBotsResponseBotsInnerFirstMessagesInnerData suggestedReplies(List suggestedReplies) { + this.suggestedReplies = suggestedReplies; + return this; + } + + public SendBirdListBotsResponseBotsInnerFirstMessagesInnerData addSuggestedRepliesItem(String suggestedRepliesItem) { + if (this.suggestedReplies == null) { + this.suggestedReplies = new ArrayList<>(); + } + this.suggestedReplies.add(suggestedRepliesItem); + return this; + } + + /** + * Get suggestedReplies + * @return suggestedReplies + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SUGGESTED_REPLIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSuggestedReplies() { + return suggestedReplies; + } + + + @JsonProperty(JSON_PROPERTY_SUGGESTED_REPLIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSuggestedReplies(List suggestedReplies) { + this.suggestedReplies = suggestedReplies; + } + + + /** + * Return true if this listBotsResponse_bots_inner_first_messages_inner_data object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListBotsResponseBotsInnerFirstMessagesInnerData listBotsResponseBotsInnerFirstMessagesInnerData = (SendBirdListBotsResponseBotsInnerFirstMessagesInnerData) o; + return Objects.equals(this.suggestedReplies, listBotsResponseBotsInnerFirstMessagesInnerData.suggestedReplies); + } + + @Override + public int hashCode() { + return Objects.hash(suggestedReplies); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListBotsResponseBotsInnerFirstMessagesInnerData {\n"); + sb.append(" suggestedReplies: ").append(toIndentedString(suggestedReplies)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java new file mode 100644 index 00000000..4ac8c7ec --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java @@ -0,0 +1,219 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListBotsResponseBotsInnerSafeguard + */ +@JsonPropertyOrder({ + SendBirdListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_BANNED_PHRASES, + SendBirdListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_ENABLED, + SendBirdListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_MESSAGE, + SendBirdListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_PII_MASKING +}) +@JsonTypeName("listBotsResponse_bots_inner_safeguard") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListBotsResponseBotsInnerSafeguard { + public static final String JSON_PROPERTY_BANNED_PHRASES = "banned_phrases"; + private List bannedPhrases = null; + + public static final String JSON_PROPERTY_ENABLED = "enabled"; + private Boolean enabled; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; + + public static final String JSON_PROPERTY_PII_MASKING = "pii_masking"; + private Boolean piiMasking; + + public SendBirdListBotsResponseBotsInnerSafeguard() { + } + + public SendBirdListBotsResponseBotsInnerSafeguard bannedPhrases(List bannedPhrases) { + this.bannedPhrases = bannedPhrases; + return this; + } + + public SendBirdListBotsResponseBotsInnerSafeguard addBannedPhrasesItem(Object bannedPhrasesItem) { + if (this.bannedPhrases == null) { + this.bannedPhrases = new ArrayList<>(); + } + this.bannedPhrases.add(bannedPhrasesItem); + return this; + } + + /** + * Get bannedPhrases + * @return bannedPhrases + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BANNED_PHRASES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getBannedPhrases() { + return bannedPhrases; + } + + + @JsonProperty(JSON_PROPERTY_BANNED_PHRASES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBannedPhrases(List bannedPhrases) { + this.bannedPhrases = bannedPhrases; + } + + + public SendBirdListBotsResponseBotsInnerSafeguard enabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Get enabled + * @return enabled + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnabled() { + return enabled; + } + + + @JsonProperty(JSON_PROPERTY_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + + public SendBirdListBotsResponseBotsInnerSafeguard message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(String message) { + this.message = message; + } + + + public SendBirdListBotsResponseBotsInnerSafeguard piiMasking(Boolean piiMasking) { + this.piiMasking = piiMasking; + return this; + } + + /** + * Get piiMasking + * @return piiMasking + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PII_MASKING) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getPiiMasking() { + return piiMasking; + } + + + @JsonProperty(JSON_PROPERTY_PII_MASKING) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPiiMasking(Boolean piiMasking) { + this.piiMasking = piiMasking; + } + + + /** + * Return true if this listBotsResponse_bots_inner_safeguard object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListBotsResponseBotsInnerSafeguard listBotsResponseBotsInnerSafeguard = (SendBirdListBotsResponseBotsInnerSafeguard) o; + return Objects.equals(this.bannedPhrases, listBotsResponseBotsInnerSafeguard.bannedPhrases) && + Objects.equals(this.enabled, listBotsResponseBotsInnerSafeguard.enabled) && + Objects.equals(this.message, listBotsResponseBotsInnerSafeguard.message) && + Objects.equals(this.piiMasking, listBotsResponseBotsInnerSafeguard.piiMasking); + } + + @Override + public int hashCode() { + return Objects.hash(bannedPhrases, enabled, message, piiMasking); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListBotsResponseBotsInnerSafeguard {\n"); + sb.append(" bannedPhrases: ").append(toIndentedString(bannedPhrases)).append("\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" piiMasking: ").append(toIndentedString(piiMasking)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java new file mode 100644 index 00000000..a89e1f51 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java @@ -0,0 +1,124 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdMessageResponse; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListMessagesResponse + */ +@JsonPropertyOrder({ + SendBirdListMessagesResponse.JSON_PROPERTY_MESSAGES +}) +@JsonTypeName("listMessagesResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListMessagesResponse { + public static final String JSON_PROPERTY_MESSAGES = "messages"; + private List messages = null; + + public SendBirdListMessagesResponse() { + } + + public SendBirdListMessagesResponse messages(List messages) { + this.messages = messages; + return this; + } + + public SendBirdListMessagesResponse addMessagesItem(SendBirdSendbirdMessageResponse messagesItem) { + if (this.messages == null) { + this.messages = new ArrayList<>(); + } + this.messages.add(messagesItem); + return this; + } + + /** + * Get messages + * @return messages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMessages() { + return messages; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessages(List messages) { + this.messages = messages; + } + + + /** + * Return true if this listMessagesResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListMessagesResponse listMessagesResponse = (SendBirdListMessagesResponse) o; + return Objects.equals(this.messages, listMessagesResponse.messages); + } + + @Override + public int hashCode() { + return Objects.hash(messages); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListMessagesResponse {\n"); + sb.append(" messages: ").append(toIndentedString(messages)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java new file mode 100644 index 00000000..367e34da --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java @@ -0,0 +1,188 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdGroupChannel; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListMyGroupChannelsResponse + */ +@JsonPropertyOrder({ + SendBirdListMyGroupChannelsResponse.JSON_PROPERTY_CHANNELS, + SendBirdListMyGroupChannelsResponse.JSON_PROPERTY_NEXT, + SendBirdListMyGroupChannelsResponse.JSON_PROPERTY_TS +}) +@JsonTypeName("listMyGroupChannelsResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListMyGroupChannelsResponse { + public static final String JSON_PROPERTY_CHANNELS = "channels"; + private List channels = null; + + public static final String JSON_PROPERTY_NEXT = "next"; + private String next; + + public static final String JSON_PROPERTY_TS = "ts"; + private Long ts; + + public SendBirdListMyGroupChannelsResponse() { + } + + public SendBirdListMyGroupChannelsResponse channels(List channels) { + this.channels = channels; + return this; + } + + public SendBirdListMyGroupChannelsResponse addChannelsItem(SendBirdSendbirdGroupChannel channelsItem) { + if (this.channels == null) { + this.channels = new ArrayList<>(); + } + this.channels.add(channelsItem); + return this; + } + + /** + * Get channels + * @return channels + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNELS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getChannels() { + return channels; + } + + + @JsonProperty(JSON_PROPERTY_CHANNELS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannels(List channels) { + this.channels = channels; + } + + + public SendBirdListMyGroupChannelsResponse next(String next) { + this.next = next; + return this; + } + + /** + * Get next + * @return next + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getNext() { + return next; + } + + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(String next) { + this.next = next; + } + + + public SendBirdListMyGroupChannelsResponse ts(Long ts) { + this.ts = ts; + return this; + } + + /** + * Get ts + * @return ts + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getTs() { + return ts; + } + + + @JsonProperty(JSON_PROPERTY_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTs(Long ts) { + this.ts = ts; + } + + + /** + * Return true if this listMyGroupChannelsResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListMyGroupChannelsResponse listMyGroupChannelsResponse = (SendBirdListMyGroupChannelsResponse) o; + return Objects.equals(this.channels, listMyGroupChannelsResponse.channels) && + Objects.equals(this.next, listMyGroupChannelsResponse.next) && + Objects.equals(this.ts, listMyGroupChannelsResponse.ts); + } + + @Override + public int hashCode() { + return Objects.hash(channels, next, ts); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListMyGroupChannelsResponse {\n"); + sb.append(" channels: ").append(toIndentedString(channels)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" ts: ").append(toIndentedString(ts)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java new file mode 100644 index 00000000..c40a9ad2 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java @@ -0,0 +1,188 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdOpenChannel; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListOpenChannelsResponse + */ +@JsonPropertyOrder({ + SendBirdListOpenChannelsResponse.JSON_PROPERTY_CHANNELS, + SendBirdListOpenChannelsResponse.JSON_PROPERTY_NEXT, + SendBirdListOpenChannelsResponse.JSON_PROPERTY_TS +}) +@JsonTypeName("listOpenChannelsResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListOpenChannelsResponse { + public static final String JSON_PROPERTY_CHANNELS = "channels"; + private List channels = null; + + public static final String JSON_PROPERTY_NEXT = "next"; + private String next; + + public static final String JSON_PROPERTY_TS = "ts"; + private Long ts; + + public SendBirdListOpenChannelsResponse() { + } + + public SendBirdListOpenChannelsResponse channels(List channels) { + this.channels = channels; + return this; + } + + public SendBirdListOpenChannelsResponse addChannelsItem(SendBirdSendbirdOpenChannel channelsItem) { + if (this.channels == null) { + this.channels = new ArrayList<>(); + } + this.channels.add(channelsItem); + return this; + } + + /** + * Get channels + * @return channels + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNELS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getChannels() { + return channels; + } + + + @JsonProperty(JSON_PROPERTY_CHANNELS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannels(List channels) { + this.channels = channels; + } + + + public SendBirdListOpenChannelsResponse next(String next) { + this.next = next; + return this; + } + + /** + * Get next + * @return next + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getNext() { + return next; + } + + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(String next) { + this.next = next; + } + + + public SendBirdListOpenChannelsResponse ts(Long ts) { + this.ts = ts; + return this; + } + + /** + * Get ts + * @return ts + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getTs() { + return ts; + } + + + @JsonProperty(JSON_PROPERTY_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTs(Long ts) { + this.ts = ts; + } + + + /** + * Return true if this listOpenChannelsResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListOpenChannelsResponse listOpenChannelsResponse = (SendBirdListOpenChannelsResponse) o; + return Objects.equals(this.channels, listOpenChannelsResponse.channels) && + Objects.equals(this.next, listOpenChannelsResponse.next) && + Objects.equals(this.ts, listOpenChannelsResponse.ts); + } + + @Override + public int hashCode() { + return Objects.hash(channels, next, ts); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListOpenChannelsResponse {\n"); + sb.append(" channels: ").append(toIndentedString(channels)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" ts: ").append(toIndentedString(ts)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java new file mode 100644 index 00000000..634f1dc9 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java @@ -0,0 +1,156 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListOperatorsResponse + */ +@JsonPropertyOrder({ + SendBirdListOperatorsResponse.JSON_PROPERTY_NEXT, + SendBirdListOperatorsResponse.JSON_PROPERTY_OPERATORS +}) +@JsonTypeName("listOperatorsResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListOperatorsResponse { + public static final String JSON_PROPERTY_NEXT = "next"; + private String next; + + public static final String JSON_PROPERTY_OPERATORS = "operators"; + private List operators = null; + + public SendBirdListOperatorsResponse() { + } + + public SendBirdListOperatorsResponse next(String next) { + this.next = next; + return this; + } + + /** + * Get next + * @return next + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getNext() { + return next; + } + + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(String next) { + this.next = next; + } + + + public SendBirdListOperatorsResponse operators(List operators) { + this.operators = operators; + return this; + } + + public SendBirdListOperatorsResponse addOperatorsItem(SendBirdSendbirdBasicUserInfo operatorsItem) { + if (this.operators == null) { + this.operators = new ArrayList<>(); + } + this.operators.add(operatorsItem); + return this; + } + + /** + * Get operators + * @return operators + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_OPERATORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getOperators() { + return operators; + } + + + @JsonProperty(JSON_PROPERTY_OPERATORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperators(List operators) { + this.operators = operators; + } + + + /** + * Return true if this listOperatorsResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListOperatorsResponse listOperatorsResponse = (SendBirdListOperatorsResponse) o; + return Objects.equals(this.next, listOperatorsResponse.next) && + Objects.equals(this.operators, listOperatorsResponse.operators); + } + + @Override + public int hashCode() { + return Objects.hash(next, operators); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListOperatorsResponse {\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" operators: ").append(toIndentedString(operators)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java new file mode 100644 index 00000000..1d338d97 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java @@ -0,0 +1,228 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListRegistrationOrDeviceTokensResponse + */ +@JsonPropertyOrder({ + SendBirdListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_TOKEN, + SendBirdListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_TOKENS, + SendBirdListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_TYPE, + SendBirdListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_USER +}) +@JsonTypeName("listRegistrationOrDeviceTokensResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListRegistrationOrDeviceTokensResponse { + public static final String JSON_PROPERTY_TOKEN = "token"; + private List token = null; + + public static final String JSON_PROPERTY_TOKENS = "tokens"; + private List tokens = null; + + public static final String JSON_PROPERTY_TYPE = "type"; + private String type; + + public static final String JSON_PROPERTY_USER = "user"; + private SendBirdSendbirdBasicUserInfo user; + + public SendBirdListRegistrationOrDeviceTokensResponse() { + } + + public SendBirdListRegistrationOrDeviceTokensResponse token(List token) { + this.token = token; + return this; + } + + public SendBirdListRegistrationOrDeviceTokensResponse addTokenItem(String tokenItem) { + if (this.token == null) { + this.token = new ArrayList<>(); + } + this.token.add(tokenItem); + return this; + } + + /** + * Get token + * @return token + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getToken() { + return token; + } + + + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setToken(List token) { + this.token = token; + } + + + public SendBirdListRegistrationOrDeviceTokensResponse tokens(List tokens) { + this.tokens = tokens; + return this; + } + + public SendBirdListRegistrationOrDeviceTokensResponse addTokensItem(String tokensItem) { + if (this.tokens == null) { + this.tokens = new ArrayList<>(); + } + this.tokens.add(tokensItem); + return this; + } + + /** + * Get tokens + * @return tokens + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TOKENS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getTokens() { + return tokens; + } + + + @JsonProperty(JSON_PROPERTY_TOKENS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTokens(List tokens) { + this.tokens = tokens; + } + + + public SendBirdListRegistrationOrDeviceTokensResponse type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getType() { + return type; + } + + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setType(String type) { + this.type = type; + } + + + public SendBirdListRegistrationOrDeviceTokensResponse user(SendBirdSendbirdBasicUserInfo user) { + this.user = user; + return this; + } + + /** + * Get user + * @return user + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getUser() { + return user; + } + + + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUser(SendBirdSendbirdBasicUserInfo user) { + this.user = user; + } + + + /** + * Return true if this listRegistrationOrDeviceTokensResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListRegistrationOrDeviceTokensResponse listRegistrationOrDeviceTokensResponse = (SendBirdListRegistrationOrDeviceTokensResponse) o; + return Objects.equals(this.token, listRegistrationOrDeviceTokensResponse.token) && + Objects.equals(this.tokens, listRegistrationOrDeviceTokensResponse.tokens) && + Objects.equals(this.type, listRegistrationOrDeviceTokensResponse.type) && + Objects.equals(this.user, listRegistrationOrDeviceTokensResponse.user); + } + + @Override + public int hashCode() { + return Objects.hash(token, tokens, type, user); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListRegistrationOrDeviceTokensResponse {\n"); + sb.append(" token: ").append(toIndentedString(token)).append("\n"); + sb.append(" tokens: ").append(toIndentedString(tokens)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" user: ").append(toIndentedString(user)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java new file mode 100644 index 00000000..74f56fcb --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java @@ -0,0 +1,156 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdUser; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdListUsersResponse + */ +@JsonPropertyOrder({ + SendBirdListUsersResponse.JSON_PROPERTY_NEXT, + SendBirdListUsersResponse.JSON_PROPERTY_USERS +}) +@JsonTypeName("listUsersResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdListUsersResponse { + public static final String JSON_PROPERTY_NEXT = "next"; + private String next; + + public static final String JSON_PROPERTY_USERS = "users"; + private List users = null; + + public SendBirdListUsersResponse() { + } + + public SendBirdListUsersResponse next(String next) { + this.next = next; + return this; + } + + /** + * Get next + * @return next + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getNext() { + return next; + } + + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(String next) { + this.next = next; + } + + + public SendBirdListUsersResponse users(List users) { + this.users = users; + return this; + } + + public SendBirdListUsersResponse addUsersItem(SendBirdSendbirdUser usersItem) { + if (this.users == null) { + this.users = new ArrayList<>(); + } + this.users.add(usersItem); + return this; + } + + /** + * Get users + * @return users + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getUsers() { + return users; + } + + + @JsonProperty(JSON_PROPERTY_USERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUsers(List users) { + this.users = users; + } + + + /** + * Return true if this listUsersResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdListUsersResponse listUsersResponse = (SendBirdListUsersResponse) o; + return Objects.equals(this.next, listUsersResponse.next) && + Objects.equals(this.users, listUsersResponse.users); + } + + @Override + public int hashCode() { + return Objects.hash(next, users); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdListUsersResponse {\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" users: ").append(toIndentedString(users)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java new file mode 100644 index 00000000..a731f80f --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java @@ -0,0 +1,123 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdMarkAllMessagesAsReadRequest + */ +@JsonPropertyOrder({ + SendBirdMarkAllMessagesAsReadRequest.JSON_PROPERTY_CHANNEL_URLS +}) +@JsonTypeName("markAllMessagesAsRead_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdMarkAllMessagesAsReadRequest { + public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; + private List channelUrls = null; + + public SendBirdMarkAllMessagesAsReadRequest() { + } + + public SendBirdMarkAllMessagesAsReadRequest channelUrls(List channelUrls) { + this.channelUrls = channelUrls; + return this; + } + + public SendBirdMarkAllMessagesAsReadRequest addChannelUrlsItem(String channelUrlsItem) { + if (this.channelUrls == null) { + this.channelUrls = new ArrayList<>(); + } + this.channelUrls.add(channelUrlsItem); + return this; + } + + /** + * Specifies an array of one or more group channel URLs where unread messages need to be marked as read. If not specified, unread messages in all group channels a user joined are marked as read. + * @return channelUrls + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies an array of one or more group channel URLs where unread messages need to be marked as read. If not specified, unread messages in all group channels a user joined are marked as read.") + @JsonProperty(JSON_PROPERTY_CHANNEL_URLS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getChannelUrls() { + return channelUrls; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_URLS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelUrls(List channelUrls) { + this.channelUrls = channelUrls; + } + + + /** + * Return true if this markAllMessagesAsRead_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdMarkAllMessagesAsReadRequest markAllMessagesAsReadRequest = (SendBirdMarkAllMessagesAsReadRequest) o; + return Objects.equals(this.channelUrls, markAllMessagesAsReadRequest.channelUrls); + } + + @Override + public int hashCode() { + return Objects.hash(channelUrls); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdMarkAllMessagesAsReadRequest {\n"); + sb.append(" channelUrls: ").append(toIndentedString(channelUrls)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java new file mode 100644 index 00000000..72c0e3ed --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdMarkChannelMessagesAsReadRequest + */ +@JsonPropertyOrder({ + SendBirdMarkChannelMessagesAsReadRequest.JSON_PROPERTY_USER_ID +}) +@JsonTypeName("markChannelMessagesAsRead_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdMarkChannelMessagesAsReadRequest { + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + public SendBirdMarkChannelMessagesAsReadRequest() { + } + + public SendBirdMarkChannelMessagesAsReadRequest userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUserId(String userId) { + this.userId = userId; + } + + + /** + * Return true if this markChannelMessagesAsRead_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdMarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest = (SendBirdMarkChannelMessagesAsReadRequest) o; + return Objects.equals(this.userId, markChannelMessagesAsReadRequest.userId); + } + + @Override + public int hashCode() { + return Objects.hash(userId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdMarkChannelMessagesAsReadRequest {\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java new file mode 100644 index 00000000..45830090 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java @@ -0,0 +1,420 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdMigrateMessagesAdminMessageRequest + */ +@JsonPropertyOrder({ + SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_MESSAGE_TYPE, + SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_MESSAGE, + SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_TIMESTAMP, + SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_IS_SILENT, + SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_MENTIONED_USER_IDS, + SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_DATA, + SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_DEDUP_ID, + SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_SORTED_METAARRAY +}) +@JsonTypeName("MigrateMessagesAdminMessageRequest") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdMigrateMessagesAdminMessageRequest { + /** + * Gets or Sets messageType + */ + public enum MessageTypeEnum { + ADMM("ADMM"); + + private String value; + + MessageTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MessageTypeEnum fromValue(String value) { + for (MessageTypeEnum b : MessageTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; + private MessageTypeEnum messageType; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; + + public static final String JSON_PROPERTY_TIMESTAMP = "timestamp"; + private Long timestamp; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; + private Boolean isSilent; + + public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; + private List mentionedUserIds = null; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; + private String dedupId; + + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public SendBirdMigrateMessagesAdminMessageRequest() { + } + + public SendBirdMigrateMessagesAdminMessageRequest messageType(MessageTypeEnum messageType) { + this.messageType = messageType; + return this; + } + + /** + * Get messageType + * @return messageType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public MessageTypeEnum getMessageType() { + return messageType; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessageType(MessageTypeEnum messageType) { + this.messageType = messageType; + } + + + public SendBirdMigrateMessagesAdminMessageRequest message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessage(String message) { + this.message = message; + } + + + public SendBirdMigrateMessagesAdminMessageRequest timestamp(Long timestamp) { + this.timestamp = timestamp; + return this; + } + + /** + * Get timestamp + * @return timestamp + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Long getTimestamp() { + return timestamp; + } + + + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTimestamp(Long timestamp) { + this.timestamp = timestamp; + } + + + public SendBirdMigrateMessagesAdminMessageRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdMigrateMessagesAdminMessageRequest isSilent(Boolean isSilent) { + this.isSilent = isSilent; + return this; + } + + /** + * Get isSilent + * @return isSilent + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSilent() { + return isSilent; + } + + + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSilent(Boolean isSilent) { + this.isSilent = isSilent; + } + + + public SendBirdMigrateMessagesAdminMessageRequest mentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + return this; + } + + public SendBirdMigrateMessagesAdminMessageRequest addMentionedUserIdsItem(String mentionedUserIdsItem) { + if (this.mentionedUserIds == null) { + this.mentionedUserIds = new ArrayList<>(); + } + this.mentionedUserIds.add(mentionedUserIdsItem); + return this; + } + + /** + * Get mentionedUserIds + * @return mentionedUserIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMentionedUserIds() { + return mentionedUserIds; + } + + + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + } + + + public SendBirdMigrateMessagesAdminMessageRequest data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdMigrateMessagesAdminMessageRequest dedupId(String dedupId) { + this.dedupId = dedupId; + return this; + } + + /** + * Get dedupId + * @return dedupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDedupId() { + return dedupId; + } + + + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDedupId(String dedupId) { + this.dedupId = dedupId; + } + + + public SendBirdMigrateMessagesAdminMessageRequest sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdMigrateMessagesAdminMessageRequest addSortedMetaarrayItem(Object sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + /** + * Return true if this MigrateMessagesAdminMessageRequest object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdMigrateMessagesAdminMessageRequest migrateMessagesAdminMessageRequest = (SendBirdMigrateMessagesAdminMessageRequest) o; + return Objects.equals(this.messageType, migrateMessagesAdminMessageRequest.messageType) && + Objects.equals(this.message, migrateMessagesAdminMessageRequest.message) && + Objects.equals(this.timestamp, migrateMessagesAdminMessageRequest.timestamp) && + Objects.equals(this.customType, migrateMessagesAdminMessageRequest.customType) && + Objects.equals(this.isSilent, migrateMessagesAdminMessageRequest.isSilent) && + Objects.equals(this.mentionedUserIds, migrateMessagesAdminMessageRequest.mentionedUserIds) && + Objects.equals(this.data, migrateMessagesAdminMessageRequest.data) && + Objects.equals(this.dedupId, migrateMessagesAdminMessageRequest.dedupId) && + Objects.equals(this.sortedMetaarray, migrateMessagesAdminMessageRequest.sortedMetaarray); + } + + @Override + public int hashCode() { + return Objects.hash(messageType, message, timestamp, customType, isSilent, mentionedUserIds, data, dedupId, sortedMetaarray); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdMigrateMessagesAdminMessageRequest {\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" isSilent: ").append(toIndentedString(isSilent)).append("\n"); + sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java new file mode 100644 index 00000000..6e9b3627 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java @@ -0,0 +1,589 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequestThumbnailsInner; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdMigrateMessagesFileMessageRequest + */ +@JsonPropertyOrder({ + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_USER_ID, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_MESSAGE_TYPE, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_URL, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_TIMESTAMP, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_FILE_NAME, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_FILE_SIZE, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_FILE_TYPE, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_THUMBNAILS, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_REQUIRE_AUTH, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_CUSTOM_FIELD, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_MENTIONED_USER_IDS, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_DEDUP_ID, + SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_SORTED_METAARRAY +}) +@JsonTypeName("MigrateMessagesFileMessageRequest") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdMigrateMessagesFileMessageRequest { + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + /** + * Gets or Sets messageType + */ + public enum MessageTypeEnum { + FILE("FILE"); + + private String value; + + MessageTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MessageTypeEnum fromValue(String value) { + for (MessageTypeEnum b : MessageTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; + private MessageTypeEnum messageType; + + public static final String JSON_PROPERTY_URL = "url"; + private String url; + + public static final String JSON_PROPERTY_TIMESTAMP = "timestamp"; + private Long timestamp; + + public static final String JSON_PROPERTY_FILE_NAME = "file_name"; + private String fileName; + + public static final String JSON_PROPERTY_FILE_SIZE = "file_size"; + private Integer fileSize; + + public static final String JSON_PROPERTY_FILE_TYPE = "file_type"; + private String fileType; + + public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; + private List thumbnails = null; + + public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; + private Boolean requireAuth; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_CUSTOM_FIELD = "custom_field"; + private String customField; + + public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; + private List mentionedUserIds = null; + + public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; + private String dedupId; + + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public SendBirdMigrateMessagesFileMessageRequest() { + } + + public SendBirdMigrateMessagesFileMessageRequest userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + public SendBirdMigrateMessagesFileMessageRequest messageType(MessageTypeEnum messageType) { + this.messageType = messageType; + return this; + } + + /** + * Get messageType + * @return messageType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public MessageTypeEnum getMessageType() { + return messageType; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessageType(MessageTypeEnum messageType) { + this.messageType = messageType; + } + + + public SendBirdMigrateMessagesFileMessageRequest url(String url) { + this.url = url; + return this; + } + + /** + * Get url + * @return url + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUrl() { + return url; + } + + + @JsonProperty(JSON_PROPERTY_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUrl(String url) { + this.url = url; + } + + + public SendBirdMigrateMessagesFileMessageRequest timestamp(Long timestamp) { + this.timestamp = timestamp; + return this; + } + + /** + * Get timestamp + * @return timestamp + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Long getTimestamp() { + return timestamp; + } + + + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTimestamp(Long timestamp) { + this.timestamp = timestamp; + } + + + public SendBirdMigrateMessagesFileMessageRequest fileName(String fileName) { + this.fileName = fileName; + return this; + } + + /** + * Get fileName + * @return fileName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILE_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getFileName() { + return fileName; + } + + + @JsonProperty(JSON_PROPERTY_FILE_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFileName(String fileName) { + this.fileName = fileName; + } + + + public SendBirdMigrateMessagesFileMessageRequest fileSize(Integer fileSize) { + this.fileSize = fileSize; + return this; + } + + /** + * Get fileSize + * @return fileSize + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILE_SIZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getFileSize() { + return fileSize; + } + + + @JsonProperty(JSON_PROPERTY_FILE_SIZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFileSize(Integer fileSize) { + this.fileSize = fileSize; + } + + + public SendBirdMigrateMessagesFileMessageRequest fileType(String fileType) { + this.fileType = fileType; + return this; + } + + /** + * Get fileType + * @return fileType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getFileType() { + return fileType; + } + + + @JsonProperty(JSON_PROPERTY_FILE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFileType(String fileType) { + this.fileType = fileType; + } + + + public SendBirdMigrateMessagesFileMessageRequest thumbnails(List thumbnails) { + this.thumbnails = thumbnails; + return this; + } + + public SendBirdMigrateMessagesFileMessageRequest addThumbnailsItem(SendBirdMigrateMessagesFileMessageRequestThumbnailsInner thumbnailsItem) { + if (this.thumbnails == null) { + this.thumbnails = new ArrayList<>(); + } + this.thumbnails.add(thumbnailsItem); + return this; + } + + /** + * Get thumbnails + * @return thumbnails + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_THUMBNAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getThumbnails() { + return thumbnails; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnails(List thumbnails) { + this.thumbnails = thumbnails; + } + + + public SendBirdMigrateMessagesFileMessageRequest requireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + return this; + } + + /** + * Get requireAuth + * @return requireAuth + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getRequireAuth() { + return requireAuth; + } + + + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRequireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + } + + + public SendBirdMigrateMessagesFileMessageRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdMigrateMessagesFileMessageRequest customField(String customField) { + this.customField = customField; + return this; + } + + /** + * Get customField + * @return customField + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_FIELD) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomField() { + return customField; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_FIELD) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomField(String customField) { + this.customField = customField; + } + + + public SendBirdMigrateMessagesFileMessageRequest mentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + return this; + } + + public SendBirdMigrateMessagesFileMessageRequest addMentionedUserIdsItem(String mentionedUserIdsItem) { + if (this.mentionedUserIds == null) { + this.mentionedUserIds = new ArrayList<>(); + } + this.mentionedUserIds.add(mentionedUserIdsItem); + return this; + } + + /** + * Get mentionedUserIds + * @return mentionedUserIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMentionedUserIds() { + return mentionedUserIds; + } + + + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + } + + + public SendBirdMigrateMessagesFileMessageRequest dedupId(String dedupId) { + this.dedupId = dedupId; + return this; + } + + /** + * Get dedupId + * @return dedupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDedupId() { + return dedupId; + } + + + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDedupId(String dedupId) { + this.dedupId = dedupId; + } + + + public SendBirdMigrateMessagesFileMessageRequest sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdMigrateMessagesFileMessageRequest addSortedMetaarrayItem(Object sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + /** + * Return true if this MigrateMessagesFileMessageRequest object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdMigrateMessagesFileMessageRequest migrateMessagesFileMessageRequest = (SendBirdMigrateMessagesFileMessageRequest) o; + return Objects.equals(this.userId, migrateMessagesFileMessageRequest.userId) && + Objects.equals(this.messageType, migrateMessagesFileMessageRequest.messageType) && + Objects.equals(this.url, migrateMessagesFileMessageRequest.url) && + Objects.equals(this.timestamp, migrateMessagesFileMessageRequest.timestamp) && + Objects.equals(this.fileName, migrateMessagesFileMessageRequest.fileName) && + Objects.equals(this.fileSize, migrateMessagesFileMessageRequest.fileSize) && + Objects.equals(this.fileType, migrateMessagesFileMessageRequest.fileType) && + Objects.equals(this.thumbnails, migrateMessagesFileMessageRequest.thumbnails) && + Objects.equals(this.requireAuth, migrateMessagesFileMessageRequest.requireAuth) && + Objects.equals(this.customType, migrateMessagesFileMessageRequest.customType) && + Objects.equals(this.customField, migrateMessagesFileMessageRequest.customField) && + Objects.equals(this.mentionedUserIds, migrateMessagesFileMessageRequest.mentionedUserIds) && + Objects.equals(this.dedupId, migrateMessagesFileMessageRequest.dedupId) && + Objects.equals(this.sortedMetaarray, migrateMessagesFileMessageRequest.sortedMetaarray); + } + + @Override + public int hashCode() { + return Objects.hash(userId, messageType, url, timestamp, fileName, fileSize, fileType, thumbnails, requireAuth, customType, customField, mentionedUserIds, dedupId, sortedMetaarray); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdMigrateMessagesFileMessageRequest {\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); + sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n"); + sb.append(" fileSize: ").append(toIndentedString(fileSize)).append("\n"); + sb.append(" fileType: ").append(toIndentedString(fileType)).append("\n"); + sb.append(" thumbnails: ").append(toIndentedString(thumbnails)).append("\n"); + sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" customField: ").append(toIndentedString(customField)).append("\n"); + sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); + sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java new file mode 100644 index 00000000..a35eef3d --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java @@ -0,0 +1,243 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + +import com.fasterxml.jackson.core.type.TypeReference; + +import javax.ws.rs.core.GenericType; +import javax.ws.rs.core.Response; +import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import org.sendbird.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerDeserializer.class) +@JsonSerialize(using = SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerSerializer.class) +public class SendBirdMigrateMessagesFileMessageRequestThumbnailsInner extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.class.getName()); + + public static class SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerSerializer extends StdSerializer { + public SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerSerializer(Class t) { + super(t); + } + + public SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerSerializer() { + this(null); + } + + @Override + public void serialize(SendBirdMigrateMessagesFileMessageRequestThumbnailsInner value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); + } + } + + public static class SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerDeserializer extends StdDeserializer { + public SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerDeserializer() { + this(SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.class); + } + + public SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerDeserializer(Class vc) { + super(vc); + } + + @Override + public SendBirdMigrateMessagesFileMessageRequestThumbnailsInner deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize Object + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (Object.class.equals(Integer.class) || Object.class.equals(Long.class) || Object.class.equals(Float.class) || Object.class.equals(Double.class) || Object.class.equals(Boolean.class) || Object.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((Object.class.equals(Integer.class) || Object.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((Object.class.equals(Float.class) || Object.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (Object.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (Object.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(Object.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'Object'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'Object'", e); + } + + // deserialize String + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (String.class.equals(Integer.class) || String.class.equals(Long.class) || String.class.equals(Float.class) || String.class.equals(Double.class) || String.class.equals(Boolean.class) || String.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((String.class.equals(Integer.class) || String.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((String.class.equals(Float.class) || String.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (String.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (String.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(String.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'String'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'String'", e); + } + + if (match == 1) { + SendBirdMigrateMessagesFileMessageRequestThumbnailsInner ret = new SendBirdMigrateMessagesFileMessageRequestThumbnailsInner(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException(String.format("Failed deserialization for SendBirdMigrateMessagesFileMessageRequestThumbnailsInner: %d classes match result, expected 1", match)); + } + + /** + * Handle deserialization of the 'null' value. + */ + @Override + public SendBirdMigrateMessagesFileMessageRequestThumbnailsInner getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendBirdMigrateMessagesFileMessageRequestThumbnailsInner cannot be null"); + } + } + + // store a list of schema names defined in oneOf + public static final Map schemas = new HashMap(); + + public SendBirdMigrateMessagesFileMessageRequestThumbnailsInner() { + super("oneOf", Boolean.FALSE); + } + + public SendBirdMigrateMessagesFileMessageRequestThumbnailsInner(Object o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + public SendBirdMigrateMessagesFileMessageRequestThumbnailsInner(String o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("Object", new GenericType() { + }); + schemas.put("String", new GenericType() { + }); + JSON.registerDescendants(SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.class, Collections.unmodifiableMap(schemas)); + } + + @Override + public Map getSchemas() { + return SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * Object, String + * + * It could be an instance of the 'oneOf' schemas. + * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). + */ + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf(Object.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + if (JSON.isInstanceOf(String.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be Object, String"); + } + + /** + * Get the actual instance, which can be the following: + * Object, String + * + * @return The actual instance (Object, String) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `Object`. If the actual instance is not `Object`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `Object` + * @throws ClassCastException if the instance is not `Object` + */ + public Object getObject() throws ClassCastException { + return (Object)super.getActualInstance(); + } + + /** + * Get the actual instance of `String`. If the actual instance is not `String`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `String` + * @throws ClassCastException if the instance is not `String` + */ + public String getString() throws ClassCastException { + return (String)super.getActualInstance(); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java new file mode 100644 index 00000000..1b7b3a60 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java @@ -0,0 +1,188 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdMigrateMessagesRequestMessagesInner; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdMigrateMessagesRequest + */ +@JsonPropertyOrder({ + SendBirdMigrateMessagesRequest.JSON_PROPERTY_MESSAGES, + SendBirdMigrateMessagesRequest.JSON_PROPERTY_UPDATE_READ_TS, + SendBirdMigrateMessagesRequest.JSON_PROPERTY_REWIND_READ_TS +}) +@JsonTypeName("MigrateMessagesRequest") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdMigrateMessagesRequest { + public static final String JSON_PROPERTY_MESSAGES = "messages"; + private List messages = null; + + public static final String JSON_PROPERTY_UPDATE_READ_TS = "update_read_ts"; + private Boolean updateReadTs; + + public static final String JSON_PROPERTY_REWIND_READ_TS = "rewind_read_ts"; + private Boolean rewindReadTs; + + public SendBirdMigrateMessagesRequest() { + } + + public SendBirdMigrateMessagesRequest messages(List messages) { + this.messages = messages; + return this; + } + + public SendBirdMigrateMessagesRequest addMessagesItem(SendBirdMigrateMessagesRequestMessagesInner messagesItem) { + if (this.messages == null) { + this.messages = new ArrayList<>(); + } + this.messages.add(messagesItem); + return this; + } + + /** + * Get messages + * @return messages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMessages() { + return messages; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessages(List messages) { + this.messages = messages; + } + + + public SendBirdMigrateMessagesRequest updateReadTs(Boolean updateReadTs) { + this.updateReadTs = updateReadTs; + return this; + } + + /** + * Get updateReadTs + * @return updateReadTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UPDATE_READ_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getUpdateReadTs() { + return updateReadTs; + } + + + @JsonProperty(JSON_PROPERTY_UPDATE_READ_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUpdateReadTs(Boolean updateReadTs) { + this.updateReadTs = updateReadTs; + } + + + public SendBirdMigrateMessagesRequest rewindReadTs(Boolean rewindReadTs) { + this.rewindReadTs = rewindReadTs; + return this; + } + + /** + * Get rewindReadTs + * @return rewindReadTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REWIND_READ_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getRewindReadTs() { + return rewindReadTs; + } + + + @JsonProperty(JSON_PROPERTY_REWIND_READ_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRewindReadTs(Boolean rewindReadTs) { + this.rewindReadTs = rewindReadTs; + } + + + /** + * Return true if this MigrateMessagesRequest object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdMigrateMessagesRequest migrateMessagesRequest = (SendBirdMigrateMessagesRequest) o; + return Objects.equals(this.messages, migrateMessagesRequest.messages) && + Objects.equals(this.updateReadTs, migrateMessagesRequest.updateReadTs) && + Objects.equals(this.rewindReadTs, migrateMessagesRequest.rewindReadTs); + } + + @Override + public int hashCode() { + return Objects.hash(messages, updateReadTs, rewindReadTs); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdMigrateMessagesRequest {\n"); + sb.append(" messages: ").append(toIndentedString(messages)).append("\n"); + sb.append(" updateReadTs: ").append(toIndentedString(updateReadTs)).append("\n"); + sb.append(" rewindReadTs: ").append(toIndentedString(rewindReadTs)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java new file mode 100644 index 00000000..de0370c2 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java @@ -0,0 +1,305 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdMigrateMessagesAdminMessageRequest; +import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequest; +import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequestThumbnailsInner; +import org.openapitools.client.model.SendBirdMigrateMessagesTextMessageRequest; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + +import com.fasterxml.jackson.core.type.TypeReference; + +import javax.ws.rs.core.GenericType; +import javax.ws.rs.core.Response; +import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import org.sendbird.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendBirdMigrateMessagesRequestMessagesInner.SendBirdMigrateMessagesRequestMessagesInnerDeserializer.class) +@JsonSerialize(using = SendBirdMigrateMessagesRequestMessagesInner.SendBirdMigrateMessagesRequestMessagesInnerSerializer.class) +public class SendBirdMigrateMessagesRequestMessagesInner extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendBirdMigrateMessagesRequestMessagesInner.class.getName()); + + public static class SendBirdMigrateMessagesRequestMessagesInnerSerializer extends StdSerializer { + public SendBirdMigrateMessagesRequestMessagesInnerSerializer(Class t) { + super(t); + } + + public SendBirdMigrateMessagesRequestMessagesInnerSerializer() { + this(null); + } + + @Override + public void serialize(SendBirdMigrateMessagesRequestMessagesInner value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); + } + } + + public static class SendBirdMigrateMessagesRequestMessagesInnerDeserializer extends StdDeserializer { + public SendBirdMigrateMessagesRequestMessagesInnerDeserializer() { + this(SendBirdMigrateMessagesRequestMessagesInner.class); + } + + public SendBirdMigrateMessagesRequestMessagesInnerDeserializer(Class vc) { + super(vc); + } + + @Override + public SendBirdMigrateMessagesRequestMessagesInner deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize SendBirdMigrateMessagesAdminMessageRequest + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (SendBirdMigrateMessagesAdminMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Long.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Double.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Boolean.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((SendBirdMigrateMessagesAdminMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendBirdMigrateMessagesAdminMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendBirdMigrateMessagesAdminMessageRequest.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendBirdMigrateMessagesAdminMessageRequest.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdMigrateMessagesAdminMessageRequest.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'SendBirdMigrateMessagesAdminMessageRequest'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'SendBirdMigrateMessagesAdminMessageRequest'", e); + } + + // deserialize SendBirdMigrateMessagesFileMessageRequest + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (SendBirdMigrateMessagesFileMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Long.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Double.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Boolean.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((SendBirdMigrateMessagesFileMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendBirdMigrateMessagesFileMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendBirdMigrateMessagesFileMessageRequest.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendBirdMigrateMessagesFileMessageRequest.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdMigrateMessagesFileMessageRequest.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'SendBirdMigrateMessagesFileMessageRequest'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'SendBirdMigrateMessagesFileMessageRequest'", e); + } + + // deserialize SendBirdMigrateMessagesTextMessageRequest + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (SendBirdMigrateMessagesTextMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Long.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Double.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Boolean.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((SendBirdMigrateMessagesTextMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendBirdMigrateMessagesTextMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendBirdMigrateMessagesTextMessageRequest.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendBirdMigrateMessagesTextMessageRequest.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdMigrateMessagesTextMessageRequest.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'SendBirdMigrateMessagesTextMessageRequest'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'SendBirdMigrateMessagesTextMessageRequest'", e); + } + + if (match == 1) { + SendBirdMigrateMessagesRequestMessagesInner ret = new SendBirdMigrateMessagesRequestMessagesInner(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException(String.format("Failed deserialization for SendBirdMigrateMessagesRequestMessagesInner: %d classes match result, expected 1", match)); + } + + /** + * Handle deserialization of the 'null' value. + */ + @Override + public SendBirdMigrateMessagesRequestMessagesInner getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendBirdMigrateMessagesRequestMessagesInner cannot be null"); + } + } + + // store a list of schema names defined in oneOf + public static final Map schemas = new HashMap(); + + public SendBirdMigrateMessagesRequestMessagesInner() { + super("oneOf", Boolean.FALSE); + } + + public SendBirdMigrateMessagesRequestMessagesInner(SendBirdMigrateMessagesAdminMessageRequest o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + public SendBirdMigrateMessagesRequestMessagesInner(SendBirdMigrateMessagesFileMessageRequest o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + public SendBirdMigrateMessagesRequestMessagesInner(SendBirdMigrateMessagesTextMessageRequest o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("SendBirdMigrateMessagesAdminMessageRequest", new GenericType() { + }); + schemas.put("SendBirdMigrateMessagesFileMessageRequest", new GenericType() { + }); + schemas.put("SendBirdMigrateMessagesTextMessageRequest", new GenericType() { + }); + JSON.registerDescendants(SendBirdMigrateMessagesRequestMessagesInner.class, Collections.unmodifiableMap(schemas)); + } + + @Override + public Map getSchemas() { + return SendBirdMigrateMessagesRequestMessagesInner.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * SendBirdMigrateMessagesAdminMessageRequest, SendBirdMigrateMessagesFileMessageRequest, SendBirdMigrateMessagesTextMessageRequest + * + * It could be an instance of the 'oneOf' schemas. + * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). + */ + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf(SendBirdMigrateMessagesAdminMessageRequest.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + if (JSON.isInstanceOf(SendBirdMigrateMessagesFileMessageRequest.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + if (JSON.isInstanceOf(SendBirdMigrateMessagesTextMessageRequest.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be SendBirdMigrateMessagesAdminMessageRequest, SendBirdMigrateMessagesFileMessageRequest, SendBirdMigrateMessagesTextMessageRequest"); + } + + /** + * Get the actual instance, which can be the following: + * SendBirdMigrateMessagesAdminMessageRequest, SendBirdMigrateMessagesFileMessageRequest, SendBirdMigrateMessagesTextMessageRequest + * + * @return The actual instance (SendBirdMigrateMessagesAdminMessageRequest, SendBirdMigrateMessagesFileMessageRequest, SendBirdMigrateMessagesTextMessageRequest) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `SendBirdMigrateMessagesAdminMessageRequest`. If the actual instance is not `SendBirdMigrateMessagesAdminMessageRequest`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SendBirdMigrateMessagesAdminMessageRequest` + * @throws ClassCastException if the instance is not `SendBirdMigrateMessagesAdminMessageRequest` + */ + public SendBirdMigrateMessagesAdminMessageRequest getSendBirdMigrateMessagesAdminMessageRequest() throws ClassCastException { + return (SendBirdMigrateMessagesAdminMessageRequest)super.getActualInstance(); + } + + /** + * Get the actual instance of `SendBirdMigrateMessagesFileMessageRequest`. If the actual instance is not `SendBirdMigrateMessagesFileMessageRequest`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SendBirdMigrateMessagesFileMessageRequest` + * @throws ClassCastException if the instance is not `SendBirdMigrateMessagesFileMessageRequest` + */ + public SendBirdMigrateMessagesFileMessageRequest getSendBirdMigrateMessagesFileMessageRequest() throws ClassCastException { + return (SendBirdMigrateMessagesFileMessageRequest)super.getActualInstance(); + } + + /** + * Get the actual instance of `SendBirdMigrateMessagesTextMessageRequest`. If the actual instance is not `SendBirdMigrateMessagesTextMessageRequest`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SendBirdMigrateMessagesTextMessageRequest` + * @throws ClassCastException if the instance is not `SendBirdMigrateMessagesTextMessageRequest` + */ + public SendBirdMigrateMessagesTextMessageRequest getSendBirdMigrateMessagesTextMessageRequest() throws ClassCastException { + return (SendBirdMigrateMessagesTextMessageRequest)super.getActualInstance(); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java new file mode 100644 index 00000000..e3c3f185 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java @@ -0,0 +1,420 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdMigrateMessagesTextMessageRequest + */ +@JsonPropertyOrder({ + SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_USER_ID, + SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_MESSAGE_TYPE, + SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_MESSAGE, + SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_TIMESTAMP, + SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_MENTIONED_USER_IDS, + SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_DATA, + SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_DEDUP_ID, + SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_SORTED_METAARRAY +}) +@JsonTypeName("MigrateMessagesTextMessageRequest") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdMigrateMessagesTextMessageRequest { + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + /** + * Gets or Sets messageType + */ + public enum MessageTypeEnum { + MESG("MESG"); + + private String value; + + MessageTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MessageTypeEnum fromValue(String value) { + for (MessageTypeEnum b : MessageTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; + private MessageTypeEnum messageType; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; + + public static final String JSON_PROPERTY_TIMESTAMP = "timestamp"; + private Long timestamp; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; + private List mentionedUserIds = null; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; + private String dedupId; + + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public SendBirdMigrateMessagesTextMessageRequest() { + } + + public SendBirdMigrateMessagesTextMessageRequest userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + public SendBirdMigrateMessagesTextMessageRequest messageType(MessageTypeEnum messageType) { + this.messageType = messageType; + return this; + } + + /** + * Get messageType + * @return messageType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public MessageTypeEnum getMessageType() { + return messageType; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessageType(MessageTypeEnum messageType) { + this.messageType = messageType; + } + + + public SendBirdMigrateMessagesTextMessageRequest message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessage(String message) { + this.message = message; + } + + + public SendBirdMigrateMessagesTextMessageRequest timestamp(Long timestamp) { + this.timestamp = timestamp; + return this; + } + + /** + * Get timestamp + * @return timestamp + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Long getTimestamp() { + return timestamp; + } + + + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTimestamp(Long timestamp) { + this.timestamp = timestamp; + } + + + public SendBirdMigrateMessagesTextMessageRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdMigrateMessagesTextMessageRequest mentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + return this; + } + + public SendBirdMigrateMessagesTextMessageRequest addMentionedUserIdsItem(String mentionedUserIdsItem) { + if (this.mentionedUserIds == null) { + this.mentionedUserIds = new ArrayList<>(); + } + this.mentionedUserIds.add(mentionedUserIdsItem); + return this; + } + + /** + * Get mentionedUserIds + * @return mentionedUserIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMentionedUserIds() { + return mentionedUserIds; + } + + + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + } + + + public SendBirdMigrateMessagesTextMessageRequest data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdMigrateMessagesTextMessageRequest dedupId(String dedupId) { + this.dedupId = dedupId; + return this; + } + + /** + * Get dedupId + * @return dedupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDedupId() { + return dedupId; + } + + + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDedupId(String dedupId) { + this.dedupId = dedupId; + } + + + public SendBirdMigrateMessagesTextMessageRequest sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdMigrateMessagesTextMessageRequest addSortedMetaarrayItem(Object sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + /** + * Return true if this MigrateMessagesTextMessageRequest object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdMigrateMessagesTextMessageRequest migrateMessagesTextMessageRequest = (SendBirdMigrateMessagesTextMessageRequest) o; + return Objects.equals(this.userId, migrateMessagesTextMessageRequest.userId) && + Objects.equals(this.messageType, migrateMessagesTextMessageRequest.messageType) && + Objects.equals(this.message, migrateMessagesTextMessageRequest.message) && + Objects.equals(this.timestamp, migrateMessagesTextMessageRequest.timestamp) && + Objects.equals(this.customType, migrateMessagesTextMessageRequest.customType) && + Objects.equals(this.mentionedUserIds, migrateMessagesTextMessageRequest.mentionedUserIds) && + Objects.equals(this.data, migrateMessagesTextMessageRequest.data) && + Objects.equals(this.dedupId, migrateMessagesTextMessageRequest.dedupId) && + Objects.equals(this.sortedMetaarray, migrateMessagesTextMessageRequest.sortedMetaarray); + } + + @Override + public int hashCode() { + return Objects.hash(userId, messageType, message, timestamp, customType, mentionedUserIds, data, dedupId, sortedMetaarray); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdMigrateMessagesTextMessageRequest {\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java new file mode 100644 index 00000000..bdeec230 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java @@ -0,0 +1,120 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdRegisterOperatorsToAGroupChannelRequest + */ +@JsonPropertyOrder({ + SendBirdRegisterOperatorsToAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS +}) +@JsonTypeName("registerOperatorsToAGroupChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdRegisterOperatorsToAGroupChannelRequest { + public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; + private List operatorIds = new ArrayList<>(); + + public SendBirdRegisterOperatorsToAGroupChannelRequest() { + } + + public SendBirdRegisterOperatorsToAGroupChannelRequest operatorIds(List operatorIds) { + this.operatorIds = operatorIds; + return this; + } + + public SendBirdRegisterOperatorsToAGroupChannelRequest addOperatorIdsItem(String operatorIdsItem) { + this.operatorIds.add(operatorIdsItem); + return this; + } + + /** + * Get operatorIds + * @return operatorIds + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public List getOperatorIds() { + return operatorIds; + } + + + @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setOperatorIds(List operatorIds) { + this.operatorIds = operatorIds; + } + + + /** + * Return true if this registerOperatorsToAGroupChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdRegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest = (SendBirdRegisterOperatorsToAGroupChannelRequest) o; + return Objects.equals(this.operatorIds, registerOperatorsToAGroupChannelRequest.operatorIds); + } + + @Override + public int hashCode() { + return Objects.hash(operatorIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdRegisterOperatorsToAGroupChannelRequest {\n"); + sb.append(" operatorIds: ").append(toIndentedString(operatorIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java new file mode 100644 index 00000000..c27bb4a4 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java @@ -0,0 +1,146 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdRemoveARegistrationOrDeviceTokenResponse + */ +@JsonPropertyOrder({ + SendBirdRemoveARegistrationOrDeviceTokenResponse.JSON_PROPERTY_TOKEN, + SendBirdRemoveARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER +}) +@JsonTypeName("removeARegistrationOrDeviceTokenResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdRemoveARegistrationOrDeviceTokenResponse { + public static final String JSON_PROPERTY_TOKEN = "token"; + private String token; + + public static final String JSON_PROPERTY_USER = "user"; + private SendBirdSendbirdBasicUserInfo user; + + public SendBirdRemoveARegistrationOrDeviceTokenResponse() { + } + + public SendBirdRemoveARegistrationOrDeviceTokenResponse token(String token) { + this.token = token; + return this; + } + + /** + * Get token + * @return token + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getToken() { + return token; + } + + + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setToken(String token) { + this.token = token; + } + + + public SendBirdRemoveARegistrationOrDeviceTokenResponse user(SendBirdSendbirdBasicUserInfo user) { + this.user = user; + return this; + } + + /** + * Get user + * @return user + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getUser() { + return user; + } + + + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUser(SendBirdSendbirdBasicUserInfo user) { + this.user = user; + } + + + /** + * Return true if this removeARegistrationOrDeviceTokenResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdRemoveARegistrationOrDeviceTokenResponse removeARegistrationOrDeviceTokenResponse = (SendBirdRemoveARegistrationOrDeviceTokenResponse) o; + return Objects.equals(this.token, removeARegistrationOrDeviceTokenResponse.token) && + Objects.equals(this.user, removeARegistrationOrDeviceTokenResponse.user); + } + + @Override + public int hashCode() { + return Objects.hash(token, user); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdRemoveARegistrationOrDeviceTokenResponse {\n"); + sb.append(" token: ").append(toIndentedString(token)).append("\n"); + sb.append(" user: ").append(toIndentedString(user)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java new file mode 100644 index 00000000..ce715319 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java @@ -0,0 +1,156 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdRemoveAllRegistrationOrDeviceTokenResponse + */ +@JsonPropertyOrder({ + SendBirdRemoveAllRegistrationOrDeviceTokenResponse.JSON_PROPERTY_TOKEN, + SendBirdRemoveAllRegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER +}) +@JsonTypeName("removeAllRegistrationOrDeviceTokenResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdRemoveAllRegistrationOrDeviceTokenResponse { + public static final String JSON_PROPERTY_TOKEN = "token"; + private List token = null; + + public static final String JSON_PROPERTY_USER = "user"; + private SendBirdSendbirdBasicUserInfo user; + + public SendBirdRemoveAllRegistrationOrDeviceTokenResponse() { + } + + public SendBirdRemoveAllRegistrationOrDeviceTokenResponse token(List token) { + this.token = token; + return this; + } + + public SendBirdRemoveAllRegistrationOrDeviceTokenResponse addTokenItem(String tokenItem) { + if (this.token == null) { + this.token = new ArrayList<>(); + } + this.token.add(tokenItem); + return this; + } + + /** + * Get token + * @return token + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getToken() { + return token; + } + + + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setToken(List token) { + this.token = token; + } + + + public SendBirdRemoveAllRegistrationOrDeviceTokenResponse user(SendBirdSendbirdBasicUserInfo user) { + this.user = user; + return this; + } + + /** + * Get user + * @return user + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getUser() { + return user; + } + + + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUser(SendBirdSendbirdBasicUserInfo user) { + this.user = user; + } + + + /** + * Return true if this removeAllRegistrationOrDeviceTokenResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdRemoveAllRegistrationOrDeviceTokenResponse removeAllRegistrationOrDeviceTokenResponse = (SendBirdRemoveAllRegistrationOrDeviceTokenResponse) o; + return Objects.equals(this.token, removeAllRegistrationOrDeviceTokenResponse.token) && + Objects.equals(this.user, removeAllRegistrationOrDeviceTokenResponse.user); + } + + @Override + public int hashCode() { + return Objects.hash(token, user); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdRemoveAllRegistrationOrDeviceTokenResponse {\n"); + sb.append(" token: ").append(toIndentedString(token)).append("\n"); + sb.append(" user: ").append(toIndentedString(user)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java b/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java new file mode 100644 index 00000000..0253b659 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java @@ -0,0 +1,145 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdResetChatHistoryRequest + */ +@JsonPropertyOrder({ + SendBirdResetChatHistoryRequest.JSON_PROPERTY_RESET_ALL, + SendBirdResetChatHistoryRequest.JSON_PROPERTY_USER_ID +}) +@JsonTypeName("resetChatHistory_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdResetChatHistoryRequest { + public static final String JSON_PROPERTY_RESET_ALL = "reset_all"; + private Boolean resetAll; + + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + public SendBirdResetChatHistoryRequest() { + } + + public SendBirdResetChatHistoryRequest resetAll(Boolean resetAll) { + this.resetAll = resetAll; + return this; + } + + /** + * Get resetAll + * @return resetAll + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_RESET_ALL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getResetAll() { + return resetAll; + } + + + @JsonProperty(JSON_PROPERTY_RESET_ALL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setResetAll(Boolean resetAll) { + this.resetAll = resetAll; + } + + + public SendBirdResetChatHistoryRequest userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + /** + * Return true if this resetChatHistory_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdResetChatHistoryRequest resetChatHistoryRequest = (SendBirdResetChatHistoryRequest) o; + return Objects.equals(this.resetAll, resetChatHistoryRequest.resetAll) && + Objects.equals(this.userId, resetChatHistoryRequest.userId); + } + + @Override + public int hashCode() { + return Objects.hash(resetAll, userId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdResetChatHistoryRequest {\n"); + sb.append(" resetAll: ").append(toIndentedString(resetAll)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java b/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java new file mode 100644 index 00000000..9a553612 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdResetChatHistoryResponse + */ +@JsonPropertyOrder({ + SendBirdResetChatHistoryResponse.JSON_PROPERTY_TS_MESSAGE_OFFSET +}) +@JsonTypeName("resetChatHistoryResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdResetChatHistoryResponse { + public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; + private Long tsMessageOffset; + + public SendBirdResetChatHistoryResponse() { + } + + public SendBirdResetChatHistoryResponse tsMessageOffset(Long tsMessageOffset) { + this.tsMessageOffset = tsMessageOffset; + return this; + } + + /** + * The timestamp in Unix milliseconds indicating the point in time that determines when the user can view messages in a specific channel. Messages sent on or before this timestamp can't be viewed by the user. + * @return tsMessageOffset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The timestamp in Unix milliseconds indicating the point in time that determines when the user can view messages in a specific channel. Messages sent on or before this timestamp can't be viewed by the user.") + @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getTsMessageOffset() { + return tsMessageOffset; + } + + + @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTsMessageOffset(Long tsMessageOffset) { + this.tsMessageOffset = tsMessageOffset; + } + + + /** + * Return true if this resetChatHistoryResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdResetChatHistoryResponse resetChatHistoryResponse = (SendBirdResetChatHistoryResponse) o; + return Objects.equals(this.tsMessageOffset, resetChatHistoryResponse.tsMessageOffset); + } + + @Override + public int hashCode() { + return Objects.hash(tsMessageOffset); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdResetChatHistoryResponse {\n"); + sb.append(" tsMessageOffset: ").append(toIndentedString(tsMessageOffset)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java new file mode 100644 index 00000000..2852ef16 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java @@ -0,0 +1,669 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestCreateChannelOptions; +import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestMessage; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdScheduleAnAnnouncementRequest + */ +@JsonPropertyOrder({ + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_ANNOUNCEMENT_GROUP, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_ASSIGN_SENDER_AS_CHANNEL_INVITER, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_CEASE_AT, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_CREATE_CHANNEL, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_CREATE_CHANNEL_OPTIONS, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_ENABLE_PUSH, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_END_AT, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_KEEP_CHANNEL_HIDDEN_FOR_SENDER, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_MARK_AS_READ, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_MESSAGE, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_RESUME_AT, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_SCHEDULED_AT, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_TARGET_AT, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_TARGET_CHANNEL_TYPE, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_TARGET_CUSTOM_TYPE, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_TARGET_LIST, + SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_UNIQUE_ID +}) +@JsonTypeName("scheduleAnAnnouncement_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdScheduleAnAnnouncementRequest { + public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; + private String announcementGroup; + + public static final String JSON_PROPERTY_ASSIGN_SENDER_AS_CHANNEL_INVITER = "assign_sender_as_channel_inviter"; + private Boolean assignSenderAsChannelInviter; + + public static final String JSON_PROPERTY_CEASE_AT = "cease_at"; + private String ceaseAt; + + public static final String JSON_PROPERTY_CREATE_CHANNEL = "create_channel"; + private Boolean createChannel; + + public static final String JSON_PROPERTY_CREATE_CHANNEL_OPTIONS = "create_channel_options"; + private SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions; + + public static final String JSON_PROPERTY_ENABLE_PUSH = "enable_push"; + private Boolean enablePush; + + public static final String JSON_PROPERTY_END_AT = "end_at"; + private Long endAt; + + public static final String JSON_PROPERTY_KEEP_CHANNEL_HIDDEN_FOR_SENDER = "keep_channel_hidden_for_sender"; + private Boolean keepChannelHiddenForSender; + + public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; + private Boolean markAsRead; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private SendBirdScheduleAnAnnouncementRequestMessage message; + + public static final String JSON_PROPERTY_RESUME_AT = "resume_at"; + private String resumeAt; + + public static final String JSON_PROPERTY_SCHEDULED_AT = "scheduled_at"; + private Long scheduledAt; + + public static final String JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS = "send_to_frozen_channels"; + private Boolean sendToFrozenChannels; + + public static final String JSON_PROPERTY_TARGET_AT = "target_at"; + private String targetAt; + + public static final String JSON_PROPERTY_TARGET_CHANNEL_TYPE = "target_channel_type"; + private String targetChannelType; + + public static final String JSON_PROPERTY_TARGET_CUSTOM_TYPE = "target_custom_type"; + private String targetCustomType; + + public static final String JSON_PROPERTY_TARGET_LIST = "target_list"; + private List targetList = null; + + public static final String JSON_PROPERTY_UNIQUE_ID = "unique_id"; + private String uniqueId; + + public SendBirdScheduleAnAnnouncementRequest() { + } + + public SendBirdScheduleAnAnnouncementRequest announcementGroup(String announcementGroup) { + this.announcementGroup = announcementGroup; + return this; + } + + /** + * Get announcementGroup + * @return announcementGroup + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ANNOUNCEMENT_GROUP) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getAnnouncementGroup() { + return announcementGroup; + } + + + @JsonProperty(JSON_PROPERTY_ANNOUNCEMENT_GROUP) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAnnouncementGroup(String announcementGroup) { + this.announcementGroup = announcementGroup; + } + + + public SendBirdScheduleAnAnnouncementRequest assignSenderAsChannelInviter(Boolean assignSenderAsChannelInviter) { + this.assignSenderAsChannelInviter = assignSenderAsChannelInviter; + return this; + } + + /** + * Get assignSenderAsChannelInviter + * @return assignSenderAsChannelInviter + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ASSIGN_SENDER_AS_CHANNEL_INVITER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getAssignSenderAsChannelInviter() { + return assignSenderAsChannelInviter; + } + + + @JsonProperty(JSON_PROPERTY_ASSIGN_SENDER_AS_CHANNEL_INVITER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAssignSenderAsChannelInviter(Boolean assignSenderAsChannelInviter) { + this.assignSenderAsChannelInviter = assignSenderAsChannelInviter; + } + + + public SendBirdScheduleAnAnnouncementRequest ceaseAt(String ceaseAt) { + this.ceaseAt = ceaseAt; + return this; + } + + /** + * Get ceaseAt + * @return ceaseAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CEASE_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCeaseAt() { + return ceaseAt; + } + + + @JsonProperty(JSON_PROPERTY_CEASE_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCeaseAt(String ceaseAt) { + this.ceaseAt = ceaseAt; + } + + + public SendBirdScheduleAnAnnouncementRequest createChannel(Boolean createChannel) { + this.createChannel = createChannel; + return this; + } + + /** + * Get createChannel + * @return createChannel + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getCreateChannel() { + return createChannel; + } + + + @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreateChannel(Boolean createChannel) { + this.createChannel = createChannel; + } + + + public SendBirdScheduleAnAnnouncementRequest createChannelOptions(SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions) { + this.createChannelOptions = createChannelOptions; + return this; + } + + /** + * Get createChannelOptions + * @return createChannelOptions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions getCreateChannelOptions() { + return createChannelOptions; + } + + + @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreateChannelOptions(SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions) { + this.createChannelOptions = createChannelOptions; + } + + + public SendBirdScheduleAnAnnouncementRequest enablePush(Boolean enablePush) { + this.enablePush = enablePush; + return this; + } + + /** + * Get enablePush + * @return enablePush + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnablePush() { + return enablePush; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnablePush(Boolean enablePush) { + this.enablePush = enablePush; + } + + + public SendBirdScheduleAnAnnouncementRequest endAt(Long endAt) { + this.endAt = endAt; + return this; + } + + /** + * Get endAt + * @return endAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_END_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getEndAt() { + return endAt; + } + + + @JsonProperty(JSON_PROPERTY_END_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEndAt(Long endAt) { + this.endAt = endAt; + } + + + public SendBirdScheduleAnAnnouncementRequest keepChannelHiddenForSender(Boolean keepChannelHiddenForSender) { + this.keepChannelHiddenForSender = keepChannelHiddenForSender; + return this; + } + + /** + * Get keepChannelHiddenForSender + * @return keepChannelHiddenForSender + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_KEEP_CHANNEL_HIDDEN_FOR_SENDER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getKeepChannelHiddenForSender() { + return keepChannelHiddenForSender; + } + + + @JsonProperty(JSON_PROPERTY_KEEP_CHANNEL_HIDDEN_FOR_SENDER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setKeepChannelHiddenForSender(Boolean keepChannelHiddenForSender) { + this.keepChannelHiddenForSender = keepChannelHiddenForSender; + } + + + public SendBirdScheduleAnAnnouncementRequest markAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + return this; + } + + /** + * Get markAsRead + * @return markAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getMarkAsRead() { + return markAsRead; + } + + + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMarkAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + } + + + public SendBirdScheduleAnAnnouncementRequest message(SendBirdScheduleAnAnnouncementRequestMessage message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdScheduleAnAnnouncementRequestMessage getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(SendBirdScheduleAnAnnouncementRequestMessage message) { + this.message = message; + } + + + public SendBirdScheduleAnAnnouncementRequest resumeAt(String resumeAt) { + this.resumeAt = resumeAt; + return this; + } + + /** + * Get resumeAt + * @return resumeAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_RESUME_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getResumeAt() { + return resumeAt; + } + + + @JsonProperty(JSON_PROPERTY_RESUME_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setResumeAt(String resumeAt) { + this.resumeAt = resumeAt; + } + + + public SendBirdScheduleAnAnnouncementRequest scheduledAt(Long scheduledAt) { + this.scheduledAt = scheduledAt; + return this; + } + + /** + * Get scheduledAt + * @return scheduledAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getScheduledAt() { + return scheduledAt; + } + + + @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setScheduledAt(Long scheduledAt) { + this.scheduledAt = scheduledAt; + } + + + public SendBirdScheduleAnAnnouncementRequest sendToFrozenChannels(Boolean sendToFrozenChannels) { + this.sendToFrozenChannels = sendToFrozenChannels; + return this; + } + + /** + * Get sendToFrozenChannels + * @return sendToFrozenChannels + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSendToFrozenChannels() { + return sendToFrozenChannels; + } + + + @JsonProperty(JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSendToFrozenChannels(Boolean sendToFrozenChannels) { + this.sendToFrozenChannels = sendToFrozenChannels; + } + + + public SendBirdScheduleAnAnnouncementRequest targetAt(String targetAt) { + this.targetAt = targetAt; + return this; + } + + /** + * Get targetAt + * @return targetAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TARGET_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTargetAt() { + return targetAt; + } + + + @JsonProperty(JSON_PROPERTY_TARGET_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTargetAt(String targetAt) { + this.targetAt = targetAt; + } + + + public SendBirdScheduleAnAnnouncementRequest targetChannelType(String targetChannelType) { + this.targetChannelType = targetChannelType; + return this; + } + + /** + * Get targetChannelType + * @return targetChannelType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTargetChannelType() { + return targetChannelType; + } + + + @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTargetChannelType(String targetChannelType) { + this.targetChannelType = targetChannelType; + } + + + public SendBirdScheduleAnAnnouncementRequest targetCustomType(String targetCustomType) { + this.targetCustomType = targetCustomType; + return this; + } + + /** + * Get targetCustomType + * @return targetCustomType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TARGET_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTargetCustomType() { + return targetCustomType; + } + + + @JsonProperty(JSON_PROPERTY_TARGET_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTargetCustomType(String targetCustomType) { + this.targetCustomType = targetCustomType; + } + + + public SendBirdScheduleAnAnnouncementRequest targetList(List targetList) { + this.targetList = targetList; + return this; + } + + public SendBirdScheduleAnAnnouncementRequest addTargetListItem(String targetListItem) { + if (this.targetList == null) { + this.targetList = new ArrayList<>(); + } + this.targetList.add(targetListItem); + return this; + } + + /** + * Get targetList + * @return targetList + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TARGET_LIST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getTargetList() { + return targetList; + } + + + @JsonProperty(JSON_PROPERTY_TARGET_LIST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTargetList(List targetList) { + this.targetList = targetList; + } + + + public SendBirdScheduleAnAnnouncementRequest uniqueId(String uniqueId) { + this.uniqueId = uniqueId; + return this; + } + + /** + * Get uniqueId + * @return uniqueId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNIQUE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getUniqueId() { + return uniqueId; + } + + + @JsonProperty(JSON_PROPERTY_UNIQUE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUniqueId(String uniqueId) { + this.uniqueId = uniqueId; + } + + + /** + * Return true if this scheduleAnAnnouncement_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdScheduleAnAnnouncementRequest scheduleAnAnnouncementRequest = (SendBirdScheduleAnAnnouncementRequest) o; + return Objects.equals(this.announcementGroup, scheduleAnAnnouncementRequest.announcementGroup) && + Objects.equals(this.assignSenderAsChannelInviter, scheduleAnAnnouncementRequest.assignSenderAsChannelInviter) && + Objects.equals(this.ceaseAt, scheduleAnAnnouncementRequest.ceaseAt) && + Objects.equals(this.createChannel, scheduleAnAnnouncementRequest.createChannel) && + Objects.equals(this.createChannelOptions, scheduleAnAnnouncementRequest.createChannelOptions) && + Objects.equals(this.enablePush, scheduleAnAnnouncementRequest.enablePush) && + Objects.equals(this.endAt, scheduleAnAnnouncementRequest.endAt) && + Objects.equals(this.keepChannelHiddenForSender, scheduleAnAnnouncementRequest.keepChannelHiddenForSender) && + Objects.equals(this.markAsRead, scheduleAnAnnouncementRequest.markAsRead) && + Objects.equals(this.message, scheduleAnAnnouncementRequest.message) && + Objects.equals(this.resumeAt, scheduleAnAnnouncementRequest.resumeAt) && + Objects.equals(this.scheduledAt, scheduleAnAnnouncementRequest.scheduledAt) && + Objects.equals(this.sendToFrozenChannels, scheduleAnAnnouncementRequest.sendToFrozenChannels) && + Objects.equals(this.targetAt, scheduleAnAnnouncementRequest.targetAt) && + Objects.equals(this.targetChannelType, scheduleAnAnnouncementRequest.targetChannelType) && + Objects.equals(this.targetCustomType, scheduleAnAnnouncementRequest.targetCustomType) && + Objects.equals(this.targetList, scheduleAnAnnouncementRequest.targetList) && + Objects.equals(this.uniqueId, scheduleAnAnnouncementRequest.uniqueId); + } + + @Override + public int hashCode() { + return Objects.hash(announcementGroup, assignSenderAsChannelInviter, ceaseAt, createChannel, createChannelOptions, enablePush, endAt, keepChannelHiddenForSender, markAsRead, message, resumeAt, scheduledAt, sendToFrozenChannels, targetAt, targetChannelType, targetCustomType, targetList, uniqueId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdScheduleAnAnnouncementRequest {\n"); + sb.append(" announcementGroup: ").append(toIndentedString(announcementGroup)).append("\n"); + sb.append(" assignSenderAsChannelInviter: ").append(toIndentedString(assignSenderAsChannelInviter)).append("\n"); + sb.append(" ceaseAt: ").append(toIndentedString(ceaseAt)).append("\n"); + sb.append(" createChannel: ").append(toIndentedString(createChannel)).append("\n"); + sb.append(" createChannelOptions: ").append(toIndentedString(createChannelOptions)).append("\n"); + sb.append(" enablePush: ").append(toIndentedString(enablePush)).append("\n"); + sb.append(" endAt: ").append(toIndentedString(endAt)).append("\n"); + sb.append(" keepChannelHiddenForSender: ").append(toIndentedString(keepChannelHiddenForSender)).append("\n"); + sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" resumeAt: ").append(toIndentedString(resumeAt)).append("\n"); + sb.append(" scheduledAt: ").append(toIndentedString(scheduledAt)).append("\n"); + sb.append(" sendToFrozenChannels: ").append(toIndentedString(sendToFrozenChannels)).append("\n"); + sb.append(" targetAt: ").append(toIndentedString(targetAt)).append("\n"); + sb.append(" targetChannelType: ").append(toIndentedString(targetChannelType)).append("\n"); + sb.append(" targetCustomType: ").append(toIndentedString(targetCustomType)).append("\n"); + sb.append(" targetList: ").append(toIndentedString(targetList)).append("\n"); + sb.append(" uniqueId: ").append(toIndentedString(uniqueId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java new file mode 100644 index 00000000..f452a1d3 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java @@ -0,0 +1,241 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdScheduleAnAnnouncementRequestCreateChannelOptions + */ +@JsonPropertyOrder({ + SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_COVER_URL, + SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_DATA, + SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_DISTINCT, + SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_NAME +}) +@JsonTypeName("scheduleAnAnnouncement_request_create_channel_options") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdScheduleAnAnnouncementRequestCreateChannelOptions { + public static final String JSON_PROPERTY_COVER_URL = "cover_url"; + private String coverUrl; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DISTINCT = "distinct"; + private Boolean distinct; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions() { + } + + public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions coverUrl(String coverUrl) { + this.coverUrl = coverUrl; + return this; + } + + /** + * Get coverUrl + * @return coverUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCoverUrl() { + return coverUrl; + } + + + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverUrl(String coverUrl) { + this.coverUrl = coverUrl; + } + + + public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions distinct(Boolean distinct) { + this.distinct = distinct; + return this; + } + + /** + * Get distinct + * @return distinct + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getDistinct() { + return distinct; + } + + + @JsonProperty(JSON_PROPERTY_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDistinct(Boolean distinct) { + this.distinct = distinct; + } + + + public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + /** + * Return true if this scheduleAnAnnouncement_request_create_channel_options object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdScheduleAnAnnouncementRequestCreateChannelOptions scheduleAnAnnouncementRequestCreateChannelOptions = (SendBirdScheduleAnAnnouncementRequestCreateChannelOptions) o; + return Objects.equals(this.coverUrl, scheduleAnAnnouncementRequestCreateChannelOptions.coverUrl) && + Objects.equals(this.customType, scheduleAnAnnouncementRequestCreateChannelOptions.customType) && + Objects.equals(this.data, scheduleAnAnnouncementRequestCreateChannelOptions.data) && + Objects.equals(this.distinct, scheduleAnAnnouncementRequestCreateChannelOptions.distinct) && + Objects.equals(this.name, scheduleAnAnnouncementRequestCreateChannelOptions.name); + } + + @Override + public int hashCode() { + return Objects.hash(coverUrl, customType, data, distinct, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdScheduleAnAnnouncementRequestCreateChannelOptions {\n"); + sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" distinct: ").append(toIndentedString(distinct)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java new file mode 100644 index 00000000..7fc4896d --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java @@ -0,0 +1,241 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdScheduleAnAnnouncementRequestMessage + */ +@JsonPropertyOrder({ + SendBirdScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_CONTENT, + SendBirdScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_DATA, + SendBirdScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_TYPE, + SendBirdScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_USER_ID +}) +@JsonTypeName("scheduleAnAnnouncement_request_message") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdScheduleAnAnnouncementRequestMessage { + public static final String JSON_PROPERTY_CONTENT = "content"; + private String content; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_TYPE = "type"; + private String type; + + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + public SendBirdScheduleAnAnnouncementRequestMessage() { + } + + public SendBirdScheduleAnAnnouncementRequestMessage content(String content) { + this.content = content; + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CONTENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getContent() { + return content; + } + + + @JsonProperty(JSON_PROPERTY_CONTENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setContent(String content) { + this.content = content; + } + + + public SendBirdScheduleAnAnnouncementRequestMessage customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdScheduleAnAnnouncementRequestMessage data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdScheduleAnAnnouncementRequestMessage type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getType() { + return type; + } + + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setType(String type) { + this.type = type; + } + + + public SendBirdScheduleAnAnnouncementRequestMessage userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUserId(String userId) { + this.userId = userId; + } + + + /** + * Return true if this scheduleAnAnnouncement_request_message object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdScheduleAnAnnouncementRequestMessage scheduleAnAnnouncementRequestMessage = (SendBirdScheduleAnAnnouncementRequestMessage) o; + return Objects.equals(this.content, scheduleAnAnnouncementRequestMessage.content) && + Objects.equals(this.customType, scheduleAnAnnouncementRequestMessage.customType) && + Objects.equals(this.data, scheduleAnAnnouncementRequestMessage.data) && + Objects.equals(this.type, scheduleAnAnnouncementRequestMessage.type) && + Objects.equals(this.userId, scheduleAnAnnouncementRequestMessage.userId); + } + + @Override + public int hashCode() { + return Objects.hash(content, customType, data, type, userId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdScheduleAnAnnouncementRequestMessage {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java new file mode 100644 index 00000000..8a711125 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java @@ -0,0 +1,852 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.math.BigDecimal; +import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestCreateChannelOptions; +import org.openapitools.client.model.SendBirdScheduleAnAnnouncementResponseMessage; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdScheduleAnAnnouncementResponse + */ +@JsonPropertyOrder({ + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_ANNOUNCEMENT_GROUP, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_CEASE_AT, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_COMPLETED_AT, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_CREATE_CHANNEL, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_CREATE_CHANNEL_OPTIONS, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_ENABLE_PUSH, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_END_AT, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_MARK_AS_READ, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_MESSAGE, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_OPEN_COUNT, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_OPEN_RATE, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_PRIORITY, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_RESUME_AT, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_SCHEDULED_AT, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_SENT_CHANNEL_COUNT, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_SENT_USER_COUNT, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_STATUS, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_TARGET_AT, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_TARGET_CHANNEL_COUNT, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_TARGET_CHANNEL_TYPE, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_TARGET_CUSTOM_TYPE, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_TARGET_USER_COUNT, + SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_UNIQUE_ID +}) +@JsonTypeName("scheduleAnAnnouncementResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdScheduleAnAnnouncementResponse { + public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; + private String announcementGroup; + + public static final String JSON_PROPERTY_CEASE_AT = "cease_at"; + private String ceaseAt; + + public static final String JSON_PROPERTY_COMPLETED_AT = "completed_at"; + private Long completedAt; + + public static final String JSON_PROPERTY_CREATE_CHANNEL = "create_channel"; + private Boolean createChannel; + + public static final String JSON_PROPERTY_CREATE_CHANNEL_OPTIONS = "create_channel_options"; + private SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions; + + public static final String JSON_PROPERTY_ENABLE_PUSH = "enable_push"; + private Boolean enablePush; + + public static final String JSON_PROPERTY_END_AT = "end_at"; + private Long endAt; + + public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; + private Boolean markAsRead; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private SendBirdScheduleAnAnnouncementResponseMessage message; + + public static final String JSON_PROPERTY_OPEN_COUNT = "open_count"; + private Integer openCount; + + public static final String JSON_PROPERTY_OPEN_RATE = "open_rate"; + private BigDecimal openRate; + + public static final String JSON_PROPERTY_PRIORITY = "priority"; + private String priority; + + public static final String JSON_PROPERTY_RESUME_AT = "resume_at"; + private String resumeAt; + + public static final String JSON_PROPERTY_SCHEDULED_AT = "scheduled_at"; + private Long scheduledAt; + + public static final String JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS = "send_to_frozen_channels"; + private Boolean sendToFrozenChannels; + + public static final String JSON_PROPERTY_SENT_CHANNEL_COUNT = "sent_channel_count"; + private Integer sentChannelCount; + + public static final String JSON_PROPERTY_SENT_USER_COUNT = "sent_user_count"; + private Integer sentUserCount; + + public static final String JSON_PROPERTY_STATUS = "status"; + private String status; + + public static final String JSON_PROPERTY_TARGET_AT = "target_at"; + private String targetAt; + + public static final String JSON_PROPERTY_TARGET_CHANNEL_COUNT = "target_channel_count"; + private Integer targetChannelCount; + + public static final String JSON_PROPERTY_TARGET_CHANNEL_TYPE = "target_channel_type"; + private String targetChannelType; + + public static final String JSON_PROPERTY_TARGET_CUSTOM_TYPE = "target_custom_type"; + private String targetCustomType; + + public static final String JSON_PROPERTY_TARGET_USER_COUNT = "target_user_count"; + private Integer targetUserCount; + + public static final String JSON_PROPERTY_UNIQUE_ID = "unique_id"; + private String uniqueId; + + public SendBirdScheduleAnAnnouncementResponse() { + } + + public SendBirdScheduleAnAnnouncementResponse announcementGroup(String announcementGroup) { + this.announcementGroup = announcementGroup; + return this; + } + + /** + * Get announcementGroup + * @return announcementGroup + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ANNOUNCEMENT_GROUP) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getAnnouncementGroup() { + return announcementGroup; + } + + + @JsonProperty(JSON_PROPERTY_ANNOUNCEMENT_GROUP) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAnnouncementGroup(String announcementGroup) { + this.announcementGroup = announcementGroup; + } + + + public SendBirdScheduleAnAnnouncementResponse ceaseAt(String ceaseAt) { + this.ceaseAt = ceaseAt; + return this; + } + + /** + * Get ceaseAt + * @return ceaseAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CEASE_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCeaseAt() { + return ceaseAt; + } + + + @JsonProperty(JSON_PROPERTY_CEASE_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCeaseAt(String ceaseAt) { + this.ceaseAt = ceaseAt; + } + + + public SendBirdScheduleAnAnnouncementResponse completedAt(Long completedAt) { + this.completedAt = completedAt; + return this; + } + + /** + * Get completedAt + * @return completedAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COMPLETED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCompletedAt() { + return completedAt; + } + + + @JsonProperty(JSON_PROPERTY_COMPLETED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCompletedAt(Long completedAt) { + this.completedAt = completedAt; + } + + + public SendBirdScheduleAnAnnouncementResponse createChannel(Boolean createChannel) { + this.createChannel = createChannel; + return this; + } + + /** + * Get createChannel + * @return createChannel + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getCreateChannel() { + return createChannel; + } + + + @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreateChannel(Boolean createChannel) { + this.createChannel = createChannel; + } + + + public SendBirdScheduleAnAnnouncementResponse createChannelOptions(SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions) { + this.createChannelOptions = createChannelOptions; + return this; + } + + /** + * Get createChannelOptions + * @return createChannelOptions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions getCreateChannelOptions() { + return createChannelOptions; + } + + + @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreateChannelOptions(SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions) { + this.createChannelOptions = createChannelOptions; + } + + + public SendBirdScheduleAnAnnouncementResponse enablePush(Boolean enablePush) { + this.enablePush = enablePush; + return this; + } + + /** + * Get enablePush + * @return enablePush + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnablePush() { + return enablePush; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnablePush(Boolean enablePush) { + this.enablePush = enablePush; + } + + + public SendBirdScheduleAnAnnouncementResponse endAt(Long endAt) { + this.endAt = endAt; + return this; + } + + /** + * Get endAt + * @return endAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_END_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getEndAt() { + return endAt; + } + + + @JsonProperty(JSON_PROPERTY_END_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEndAt(Long endAt) { + this.endAt = endAt; + } + + + public SendBirdScheduleAnAnnouncementResponse markAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + return this; + } + + /** + * Get markAsRead + * @return markAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getMarkAsRead() { + return markAsRead; + } + + + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMarkAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + } + + + public SendBirdScheduleAnAnnouncementResponse message(SendBirdScheduleAnAnnouncementResponseMessage message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdScheduleAnAnnouncementResponseMessage getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(SendBirdScheduleAnAnnouncementResponseMessage message) { + this.message = message; + } + + + public SendBirdScheduleAnAnnouncementResponse openCount(Integer openCount) { + this.openCount = openCount; + return this; + } + + /** + * Get openCount + * @return openCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_OPEN_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getOpenCount() { + return openCount; + } + + + @JsonProperty(JSON_PROPERTY_OPEN_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOpenCount(Integer openCount) { + this.openCount = openCount; + } + + + public SendBirdScheduleAnAnnouncementResponse openRate(BigDecimal openRate) { + this.openRate = openRate; + return this; + } + + /** + * Get openRate + * @return openRate + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_OPEN_RATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public BigDecimal getOpenRate() { + return openRate; + } + + + @JsonProperty(JSON_PROPERTY_OPEN_RATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOpenRate(BigDecimal openRate) { + this.openRate = openRate; + } + + + public SendBirdScheduleAnAnnouncementResponse priority(String priority) { + this.priority = priority; + return this; + } + + /** + * Get priority + * @return priority + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PRIORITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPriority() { + return priority; + } + + + @JsonProperty(JSON_PROPERTY_PRIORITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPriority(String priority) { + this.priority = priority; + } + + + public SendBirdScheduleAnAnnouncementResponse resumeAt(String resumeAt) { + this.resumeAt = resumeAt; + return this; + } + + /** + * Get resumeAt + * @return resumeAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_RESUME_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getResumeAt() { + return resumeAt; + } + + + @JsonProperty(JSON_PROPERTY_RESUME_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setResumeAt(String resumeAt) { + this.resumeAt = resumeAt; + } + + + public SendBirdScheduleAnAnnouncementResponse scheduledAt(Long scheduledAt) { + this.scheduledAt = scheduledAt; + return this; + } + + /** + * Get scheduledAt + * @return scheduledAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getScheduledAt() { + return scheduledAt; + } + + + @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setScheduledAt(Long scheduledAt) { + this.scheduledAt = scheduledAt; + } + + + public SendBirdScheduleAnAnnouncementResponse sendToFrozenChannels(Boolean sendToFrozenChannels) { + this.sendToFrozenChannels = sendToFrozenChannels; + return this; + } + + /** + * Get sendToFrozenChannels + * @return sendToFrozenChannels + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSendToFrozenChannels() { + return sendToFrozenChannels; + } + + + @JsonProperty(JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSendToFrozenChannels(Boolean sendToFrozenChannels) { + this.sendToFrozenChannels = sendToFrozenChannels; + } + + + public SendBirdScheduleAnAnnouncementResponse sentChannelCount(Integer sentChannelCount) { + this.sentChannelCount = sentChannelCount; + return this; + } + + /** + * Get sentChannelCount + * @return sentChannelCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SENT_CHANNEL_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getSentChannelCount() { + return sentChannelCount; + } + + + @JsonProperty(JSON_PROPERTY_SENT_CHANNEL_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSentChannelCount(Integer sentChannelCount) { + this.sentChannelCount = sentChannelCount; + } + + + public SendBirdScheduleAnAnnouncementResponse sentUserCount(Integer sentUserCount) { + this.sentUserCount = sentUserCount; + return this; + } + + /** + * Get sentUserCount + * @return sentUserCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SENT_USER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getSentUserCount() { + return sentUserCount; + } + + + @JsonProperty(JSON_PROPERTY_SENT_USER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSentUserCount(Integer sentUserCount) { + this.sentUserCount = sentUserCount; + } + + + public SendBirdScheduleAnAnnouncementResponse status(String status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getStatus() { + return status; + } + + + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStatus(String status) { + this.status = status; + } + + + public SendBirdScheduleAnAnnouncementResponse targetAt(String targetAt) { + this.targetAt = targetAt; + return this; + } + + /** + * Get targetAt + * @return targetAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TARGET_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTargetAt() { + return targetAt; + } + + + @JsonProperty(JSON_PROPERTY_TARGET_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTargetAt(String targetAt) { + this.targetAt = targetAt; + } + + + public SendBirdScheduleAnAnnouncementResponse targetChannelCount(Integer targetChannelCount) { + this.targetChannelCount = targetChannelCount; + return this; + } + + /** + * Get targetChannelCount + * @return targetChannelCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getTargetChannelCount() { + return targetChannelCount; + } + + + @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTargetChannelCount(Integer targetChannelCount) { + this.targetChannelCount = targetChannelCount; + } + + + public SendBirdScheduleAnAnnouncementResponse targetChannelType(String targetChannelType) { + this.targetChannelType = targetChannelType; + return this; + } + + /** + * Get targetChannelType + * @return targetChannelType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTargetChannelType() { + return targetChannelType; + } + + + @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTargetChannelType(String targetChannelType) { + this.targetChannelType = targetChannelType; + } + + + public SendBirdScheduleAnAnnouncementResponse targetCustomType(String targetCustomType) { + this.targetCustomType = targetCustomType; + return this; + } + + /** + * Get targetCustomType + * @return targetCustomType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TARGET_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTargetCustomType() { + return targetCustomType; + } + + + @JsonProperty(JSON_PROPERTY_TARGET_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTargetCustomType(String targetCustomType) { + this.targetCustomType = targetCustomType; + } + + + public SendBirdScheduleAnAnnouncementResponse targetUserCount(Integer targetUserCount) { + this.targetUserCount = targetUserCount; + return this; + } + + /** + * Get targetUserCount + * @return targetUserCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TARGET_USER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getTargetUserCount() { + return targetUserCount; + } + + + @JsonProperty(JSON_PROPERTY_TARGET_USER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTargetUserCount(Integer targetUserCount) { + this.targetUserCount = targetUserCount; + } + + + public SendBirdScheduleAnAnnouncementResponse uniqueId(String uniqueId) { + this.uniqueId = uniqueId; + return this; + } + + /** + * Get uniqueId + * @return uniqueId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNIQUE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getUniqueId() { + return uniqueId; + } + + + @JsonProperty(JSON_PROPERTY_UNIQUE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUniqueId(String uniqueId) { + this.uniqueId = uniqueId; + } + + + /** + * Return true if this scheduleAnAnnouncementResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdScheduleAnAnnouncementResponse scheduleAnAnnouncementResponse = (SendBirdScheduleAnAnnouncementResponse) o; + return Objects.equals(this.announcementGroup, scheduleAnAnnouncementResponse.announcementGroup) && + Objects.equals(this.ceaseAt, scheduleAnAnnouncementResponse.ceaseAt) && + Objects.equals(this.completedAt, scheduleAnAnnouncementResponse.completedAt) && + Objects.equals(this.createChannel, scheduleAnAnnouncementResponse.createChannel) && + Objects.equals(this.createChannelOptions, scheduleAnAnnouncementResponse.createChannelOptions) && + Objects.equals(this.enablePush, scheduleAnAnnouncementResponse.enablePush) && + Objects.equals(this.endAt, scheduleAnAnnouncementResponse.endAt) && + Objects.equals(this.markAsRead, scheduleAnAnnouncementResponse.markAsRead) && + Objects.equals(this.message, scheduleAnAnnouncementResponse.message) && + Objects.equals(this.openCount, scheduleAnAnnouncementResponse.openCount) && + Objects.equals(this.openRate, scheduleAnAnnouncementResponse.openRate) && + Objects.equals(this.priority, scheduleAnAnnouncementResponse.priority) && + Objects.equals(this.resumeAt, scheduleAnAnnouncementResponse.resumeAt) && + Objects.equals(this.scheduledAt, scheduleAnAnnouncementResponse.scheduledAt) && + Objects.equals(this.sendToFrozenChannels, scheduleAnAnnouncementResponse.sendToFrozenChannels) && + Objects.equals(this.sentChannelCount, scheduleAnAnnouncementResponse.sentChannelCount) && + Objects.equals(this.sentUserCount, scheduleAnAnnouncementResponse.sentUserCount) && + Objects.equals(this.status, scheduleAnAnnouncementResponse.status) && + Objects.equals(this.targetAt, scheduleAnAnnouncementResponse.targetAt) && + Objects.equals(this.targetChannelCount, scheduleAnAnnouncementResponse.targetChannelCount) && + Objects.equals(this.targetChannelType, scheduleAnAnnouncementResponse.targetChannelType) && + Objects.equals(this.targetCustomType, scheduleAnAnnouncementResponse.targetCustomType) && + Objects.equals(this.targetUserCount, scheduleAnAnnouncementResponse.targetUserCount) && + Objects.equals(this.uniqueId, scheduleAnAnnouncementResponse.uniqueId); + } + + @Override + public int hashCode() { + return Objects.hash(announcementGroup, ceaseAt, completedAt, createChannel, createChannelOptions, enablePush, endAt, markAsRead, message, openCount, openRate, priority, resumeAt, scheduledAt, sendToFrozenChannels, sentChannelCount, sentUserCount, status, targetAt, targetChannelCount, targetChannelType, targetCustomType, targetUserCount, uniqueId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdScheduleAnAnnouncementResponse {\n"); + sb.append(" announcementGroup: ").append(toIndentedString(announcementGroup)).append("\n"); + sb.append(" ceaseAt: ").append(toIndentedString(ceaseAt)).append("\n"); + sb.append(" completedAt: ").append(toIndentedString(completedAt)).append("\n"); + sb.append(" createChannel: ").append(toIndentedString(createChannel)).append("\n"); + sb.append(" createChannelOptions: ").append(toIndentedString(createChannelOptions)).append("\n"); + sb.append(" enablePush: ").append(toIndentedString(enablePush)).append("\n"); + sb.append(" endAt: ").append(toIndentedString(endAt)).append("\n"); + sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" openCount: ").append(toIndentedString(openCount)).append("\n"); + sb.append(" openRate: ").append(toIndentedString(openRate)).append("\n"); + sb.append(" priority: ").append(toIndentedString(priority)).append("\n"); + sb.append(" resumeAt: ").append(toIndentedString(resumeAt)).append("\n"); + sb.append(" scheduledAt: ").append(toIndentedString(scheduledAt)).append("\n"); + sb.append(" sendToFrozenChannels: ").append(toIndentedString(sendToFrozenChannels)).append("\n"); + sb.append(" sentChannelCount: ").append(toIndentedString(sentChannelCount)).append("\n"); + sb.append(" sentUserCount: ").append(toIndentedString(sentUserCount)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" targetAt: ").append(toIndentedString(targetAt)).append("\n"); + sb.append(" targetChannelCount: ").append(toIndentedString(targetChannelCount)).append("\n"); + sb.append(" targetChannelType: ").append(toIndentedString(targetChannelType)).append("\n"); + sb.append(" targetCustomType: ").append(toIndentedString(targetCustomType)).append("\n"); + sb.append(" targetUserCount: ").append(toIndentedString(targetUserCount)).append("\n"); + sb.append(" uniqueId: ").append(toIndentedString(uniqueId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java new file mode 100644 index 00000000..c5e5045d --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java @@ -0,0 +1,273 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdScheduleAnAnnouncementResponseMessage + */ +@JsonPropertyOrder({ + SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_CONTENT, + SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_DATA, + SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_MESSAGE_RETENTION_HOUR, + SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_TYPE, + SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_USER_ID +}) +@JsonTypeName("scheduleAnAnnouncementResponse_message") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdScheduleAnAnnouncementResponseMessage { + public static final String JSON_PROPERTY_CONTENT = "content"; + private String content; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_MESSAGE_RETENTION_HOUR = "message_retention_hour"; + private Integer messageRetentionHour; + + public static final String JSON_PROPERTY_TYPE = "type"; + private String type; + + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + public SendBirdScheduleAnAnnouncementResponseMessage() { + } + + public SendBirdScheduleAnAnnouncementResponseMessage content(String content) { + this.content = content; + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CONTENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getContent() { + return content; + } + + + @JsonProperty(JSON_PROPERTY_CONTENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setContent(String content) { + this.content = content; + } + + + public SendBirdScheduleAnAnnouncementResponseMessage customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdScheduleAnAnnouncementResponseMessage data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdScheduleAnAnnouncementResponseMessage messageRetentionHour(Integer messageRetentionHour) { + this.messageRetentionHour = messageRetentionHour; + return this; + } + + /** + * Get messageRetentionHour + * @return messageRetentionHour + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_RETENTION_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMessageRetentionHour() { + return messageRetentionHour; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_RETENTION_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessageRetentionHour(Integer messageRetentionHour) { + this.messageRetentionHour = messageRetentionHour; + } + + + public SendBirdScheduleAnAnnouncementResponseMessage type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getType() { + return type; + } + + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setType(String type) { + this.type = type; + } + + + public SendBirdScheduleAnAnnouncementResponseMessage userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUserId(String userId) { + this.userId = userId; + } + + + /** + * Return true if this scheduleAnAnnouncementResponse_message object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdScheduleAnAnnouncementResponseMessage scheduleAnAnnouncementResponseMessage = (SendBirdScheduleAnAnnouncementResponseMessage) o; + return Objects.equals(this.content, scheduleAnAnnouncementResponseMessage.content) && + Objects.equals(this.customType, scheduleAnAnnouncementResponseMessage.customType) && + Objects.equals(this.data, scheduleAnAnnouncementResponseMessage.data) && + Objects.equals(this.messageRetentionHour, scheduleAnAnnouncementResponseMessage.messageRetentionHour) && + Objects.equals(this.type, scheduleAnAnnouncementResponseMessage.type) && + Objects.equals(this.userId, scheduleAnAnnouncementResponseMessage.userId); + } + + @Override + public int hashCode() { + return Objects.hash(content, customType, data, messageRetentionHour, type, userId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdScheduleAnAnnouncementResponseMessage {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageRetentionHour: ").append(toIndentedString(messageRetentionHour)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java new file mode 100644 index 00000000..f1627ab1 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java @@ -0,0 +1,114 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdMessageResponse; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendABotMessageResponse + */ +@JsonPropertyOrder({ + SendBirdSendABotMessageResponse.JSON_PROPERTY_MESSAGE +}) +@JsonTypeName("sendABotMessageResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendABotMessageResponse { + public static final String JSON_PROPERTY_MESSAGE = "message"; + private SendBirdSendbirdMessageResponse message; + + public SendBirdSendABotMessageResponse() { + } + + public SendBirdSendABotMessageResponse message(SendBirdSendbirdMessageResponse message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdMessageResponse getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(SendBirdSendbirdMessageResponse message) { + this.message = message; + } + + + /** + * Return true if this sendABotMessageResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendABotMessageResponse sendABotMessageResponse = (SendBirdSendABotMessageResponse) o; + return Objects.equals(this.message, sendABotMessageResponse.message); + } + + @Override + public int hashCode() { + return Objects.hash(message); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendABotMessageResponse {\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java new file mode 100644 index 00000000..f4665c4d --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java @@ -0,0 +1,1015 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplate; +import org.openapitools.client.model.SendBirdSendbirdFile; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendAMessageRequest + */ +@JsonPropertyOrder({ + SendBirdSendAMessageRequest.JSON_PROPERTY_MESSAGE_TYPE, + SendBirdSendAMessageRequest.JSON_PROPERTY_USER_ID, + SendBirdSendAMessageRequest.JSON_PROPERTY_MESSAGE, + SendBirdSendAMessageRequest.JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE, + SendBirdSendAMessageRequest.JSON_PROPERTY_POLL_ID, + SendBirdSendAMessageRequest.JSON_PROPERTY_FILES, + SendBirdSendAMessageRequest.JSON_PROPERTY_REQUIRE_AUTH, + SendBirdSendAMessageRequest.JSON_PROPERTY_THUMBNAIL1, + SendBirdSendAMessageRequest.JSON_PROPERTY_THUMBNAIL2, + SendBirdSendAMessageRequest.JSON_PROPERTY_THUMBNAIL3, + SendBirdSendAMessageRequest.JSON_PROPERTY_THUMBNAILS, + SendBirdSendAMessageRequest.JSON_PROPERTY_APNS_BUNDLE_ID, + SendBirdSendAMessageRequest.JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS, + SendBirdSendAMessageRequest.JSON_PROPERTY_CREATED_AT, + SendBirdSendAMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendAMessageRequest.JSON_PROPERTY_DATA, + SendBirdSendAMessageRequest.JSON_PROPERTY_DEDUP_ID, + SendBirdSendAMessageRequest.JSON_PROPERTY_INCLUDE_POLL_DETAILS, + SendBirdSendAMessageRequest.JSON_PROPERTY_IS_SILENT, + SendBirdSendAMessageRequest.JSON_PROPERTY_MARK_AS_READ, + SendBirdSendAMessageRequest.JSON_PROPERTY_MENTION_TYPE, + SendBirdSendAMessageRequest.JSON_PROPERTY_MENTIONED_USER_IDS, + SendBirdSendAMessageRequest.JSON_PROPERTY_SEND_PUSH, + SendBirdSendAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY, + SendBirdSendAMessageRequest.JSON_PROPERTY_SOUND, + SendBirdSendAMessageRequest.JSON_PROPERTY_VOLUME +}) +@JsonTypeName("sendAMessage_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendAMessageRequest { + /** + * Gets or Sets messageType + */ + public enum MessageTypeEnum { + MESG("MESG"), + + ADMM("ADMM"), + + FILE("FILE"); + + private String value; + + MessageTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MessageTypeEnum fromValue(String value) { + for (MessageTypeEnum b : MessageTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; + private MessageTypeEnum messageType; + + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; + + public static final String JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE = "push_message_template"; + private SendBirdSendAMessageRequestPushMessageTemplate pushMessageTemplate; + + public static final String JSON_PROPERTY_POLL_ID = "poll_id"; + private Integer pollId; + + public static final String JSON_PROPERTY_FILES = "files"; + private SendBirdSendbirdFile files; + + public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; + private Boolean requireAuth; + + public static final String JSON_PROPERTY_THUMBNAIL1 = "thumbnail1"; + private String thumbnail1; + + public static final String JSON_PROPERTY_THUMBNAIL2 = "thumbnail2"; + private String thumbnail2; + + public static final String JSON_PROPERTY_THUMBNAIL3 = "thumbnail3"; + private String thumbnail3; + + public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; + private List thumbnails = null; + + public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; + private String apnsBundleId; + + public static final String JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS = "apple_critical_alert_options"; + private Object appleCriticalAlertOptions; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; + private String dedupId; + + public static final String JSON_PROPERTY_INCLUDE_POLL_DETAILS = "include_poll_details"; + private Boolean includePollDetails; + + public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; + private Boolean isSilent; + + public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; + private Boolean markAsRead; + + /** + * Gets or Sets mentionType + */ + public enum MentionTypeEnum { + USERS("users"), + + CHANNEL("channel"); + + private String value; + + MentionTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MentionTypeEnum fromValue(String value) { + for (MentionTypeEnum b : MentionTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; + private MentionTypeEnum mentionType; + + public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; + private List mentionedUserIds = null; + + public static final String JSON_PROPERTY_SEND_PUSH = "send_push"; + private Boolean sendPush; + + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public static final String JSON_PROPERTY_SOUND = "sound"; + private String sound; + + public static final String JSON_PROPERTY_VOLUME = "volume"; + private BigDecimal volume; + + public SendBirdSendAMessageRequest() { + } + + public SendBirdSendAMessageRequest messageType(MessageTypeEnum messageType) { + this.messageType = messageType; + return this; + } + + /** + * Get messageType + * @return messageType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public MessageTypeEnum getMessageType() { + return messageType; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessageType(MessageTypeEnum messageType) { + this.messageType = messageType; + } + + + public SendBirdSendAMessageRequest userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + public SendBirdSendAMessageRequest message(String message) { + this.message = message; + return this; + } + + /** + * Specifies the content of the message. * This property is required when message_type is MESG or ADMM. + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the content of the message. * This property is required when message_type is MESG or ADMM.") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(String message) { + this.message = message; + } + + + public SendBirdSendAMessageRequest pushMessageTemplate(SendBirdSendAMessageRequestPushMessageTemplate pushMessageTemplate) { + this.pushMessageTemplate = pushMessageTemplate; + return this; + } + + /** + * Get pushMessageTemplate + * @return pushMessageTemplate + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendAMessageRequestPushMessageTemplate getPushMessageTemplate() { + return pushMessageTemplate; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushMessageTemplate(SendBirdSendAMessageRequestPushMessageTemplate pushMessageTemplate) { + this.pushMessageTemplate = pushMessageTemplate; + } + + + public SendBirdSendAMessageRequest pollId(Integer pollId) { + this.pollId = pollId; + return this; + } + + /** + * Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG. + * @return pollId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG.") + @JsonProperty(JSON_PROPERTY_POLL_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getPollId() { + return pollId; + } + + + @JsonProperty(JSON_PROPERTY_POLL_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPollId(Integer pollId) { + this.pollId = pollId; + } + + + public SendBirdSendAMessageRequest files(SendBirdSendbirdFile files) { + this.files = files; + return this; + } + + /** + * Get files + * @return files + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdFile getFiles() { + return files; + } + + + @JsonProperty(JSON_PROPERTY_FILES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFiles(SendBirdSendbirdFile files) { + this.files = files; + } + + + public SendBirdSendAMessageRequest requireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + return this; + } + + /** + * Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. + * @return requireAuth + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file.") + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getRequireAuth() { + return requireAuth; + } + + + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRequireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + } + + + public SendBirdSendAMessageRequest thumbnail1(String thumbnail1) { + this.thumbnail1 = thumbnail1; + return this; + } + + /** + * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. + * @return thumbnail1 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") + @JsonProperty(JSON_PROPERTY_THUMBNAIL1) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getThumbnail1() { + return thumbnail1; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAIL1) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnail1(String thumbnail1) { + this.thumbnail1 = thumbnail1; + } + + + public SendBirdSendAMessageRequest thumbnail2(String thumbnail2) { + this.thumbnail2 = thumbnail2; + return this; + } + + /** + * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. + * @return thumbnail2 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") + @JsonProperty(JSON_PROPERTY_THUMBNAIL2) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getThumbnail2() { + return thumbnail2; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAIL2) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnail2(String thumbnail2) { + this.thumbnail2 = thumbnail2; + } + + + public SendBirdSendAMessageRequest thumbnail3(String thumbnail3) { + this.thumbnail3 = thumbnail3; + return this; + } + + /** + * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. + * @return thumbnail3 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") + @JsonProperty(JSON_PROPERTY_THUMBNAIL3) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getThumbnail3() { + return thumbnail3; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAIL3) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnail3(String thumbnail3) { + this.thumbnail3 = thumbnail3; + } + + + public SendBirdSendAMessageRequest thumbnails(List thumbnails) { + this.thumbnails = thumbnails; + return this; + } + + public SendBirdSendAMessageRequest addThumbnailsItem(String thumbnailsItem) { + if (this.thumbnails == null) { + this.thumbnails = new ArrayList<>(); + } + this.thumbnails.add(thumbnailsItem); + return this; + } + + /** + * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. + * @return thumbnails + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") + @JsonProperty(JSON_PROPERTY_THUMBNAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getThumbnails() { + return thumbnails; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnails(List thumbnails) { + this.thumbnails = thumbnails; + } + + + public SendBirdSendAMessageRequest apnsBundleId(String apnsBundleId) { + this.apnsBundleId = apnsBundleId; + return this; + } + + /** + * Get apnsBundleId + * @return apnsBundleId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getApnsBundleId() { + return apnsBundleId; + } + + + @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setApnsBundleId(String apnsBundleId) { + this.apnsBundleId = apnsBundleId; + } + + + public SendBirdSendAMessageRequest appleCriticalAlertOptions(Object appleCriticalAlertOptions) { + this.appleCriticalAlertOptions = appleCriticalAlertOptions; + return this; + } + + /** + * Get appleCriticalAlertOptions + * @return appleCriticalAlertOptions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getAppleCriticalAlertOptions() { + return appleCriticalAlertOptions; + } + + + @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAppleCriticalAlertOptions(Object appleCriticalAlertOptions) { + this.appleCriticalAlertOptions = appleCriticalAlertOptions; + } + + + public SendBirdSendAMessageRequest createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdSendAMessageRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdSendAMessageRequest data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdSendAMessageRequest dedupId(String dedupId) { + this.dedupId = dedupId; + return this; + } + + /** + * Get dedupId + * @return dedupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDedupId() { + return dedupId; + } + + + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDedupId(String dedupId) { + this.dedupId = dedupId; + } + + + public SendBirdSendAMessageRequest includePollDetails(Boolean includePollDetails) { + this.includePollDetails = includePollDetails; + return this; + } + + /** + * Get includePollDetails + * @return includePollDetails + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INCLUDE_POLL_DETAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIncludePollDetails() { + return includePollDetails; + } + + + @JsonProperty(JSON_PROPERTY_INCLUDE_POLL_DETAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIncludePollDetails(Boolean includePollDetails) { + this.includePollDetails = includePollDetails; + } + + + public SendBirdSendAMessageRequest isSilent(Boolean isSilent) { + this.isSilent = isSilent; + return this; + } + + /** + * Get isSilent + * @return isSilent + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSilent() { + return isSilent; + } + + + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSilent(Boolean isSilent) { + this.isSilent = isSilent; + } + + + public SendBirdSendAMessageRequest markAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + return this; + } + + /** + * Get markAsRead + * @return markAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getMarkAsRead() { + return markAsRead; + } + + + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMarkAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + } + + + public SendBirdSendAMessageRequest mentionType(MentionTypeEnum mentionType) { + this.mentionType = mentionType; + return this; + } + + /** + * Get mentionType + * @return mentionType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public MentionTypeEnum getMentionType() { + return mentionType; + } + + + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionType(MentionTypeEnum mentionType) { + this.mentionType = mentionType; + } + + + public SendBirdSendAMessageRequest mentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + return this; + } + + public SendBirdSendAMessageRequest addMentionedUserIdsItem(String mentionedUserIdsItem) { + if (this.mentionedUserIds == null) { + this.mentionedUserIds = new ArrayList<>(); + } + this.mentionedUserIds.add(mentionedUserIdsItem); + return this; + } + + /** + * Get mentionedUserIds + * @return mentionedUserIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMentionedUserIds() { + return mentionedUserIds; + } + + + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + } + + + public SendBirdSendAMessageRequest sendPush(Boolean sendPush) { + this.sendPush = sendPush; + return this; + } + + /** + * Get sendPush + * @return sendPush + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SEND_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSendPush() { + return sendPush; + } + + + @JsonProperty(JSON_PROPERTY_SEND_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSendPush(Boolean sendPush) { + this.sendPush = sendPush; + } + + + public SendBirdSendAMessageRequest sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdSendAMessageRequest addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + public SendBirdSendAMessageRequest sound(String sound) { + this.sound = sound; + return this; + } + + /** + * Get sound + * @return sound + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getSound() { + return sound; + } + + + @JsonProperty(JSON_PROPERTY_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSound(String sound) { + this.sound = sound; + } + + + public SendBirdSendAMessageRequest volume(BigDecimal volume) { + this.volume = volume; + return this; + } + + /** + * Get volume + * @return volume + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_VOLUME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public BigDecimal getVolume() { + return volume; + } + + + @JsonProperty(JSON_PROPERTY_VOLUME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVolume(BigDecimal volume) { + this.volume = volume; + } + + + /** + * Return true if this sendAMessage_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendAMessageRequest sendAMessageRequest = (SendBirdSendAMessageRequest) o; + return Objects.equals(this.messageType, sendAMessageRequest.messageType) && + Objects.equals(this.userId, sendAMessageRequest.userId) && + Objects.equals(this.message, sendAMessageRequest.message) && + Objects.equals(this.pushMessageTemplate, sendAMessageRequest.pushMessageTemplate) && + Objects.equals(this.pollId, sendAMessageRequest.pollId) && + Objects.equals(this.files, sendAMessageRequest.files) && + Objects.equals(this.requireAuth, sendAMessageRequest.requireAuth) && + Objects.equals(this.thumbnail1, sendAMessageRequest.thumbnail1) && + Objects.equals(this.thumbnail2, sendAMessageRequest.thumbnail2) && + Objects.equals(this.thumbnail3, sendAMessageRequest.thumbnail3) && + Objects.equals(this.thumbnails, sendAMessageRequest.thumbnails) && + Objects.equals(this.apnsBundleId, sendAMessageRequest.apnsBundleId) && + Objects.equals(this.appleCriticalAlertOptions, sendAMessageRequest.appleCriticalAlertOptions) && + Objects.equals(this.createdAt, sendAMessageRequest.createdAt) && + Objects.equals(this.customType, sendAMessageRequest.customType) && + Objects.equals(this.data, sendAMessageRequest.data) && + Objects.equals(this.dedupId, sendAMessageRequest.dedupId) && + Objects.equals(this.includePollDetails, sendAMessageRequest.includePollDetails) && + Objects.equals(this.isSilent, sendAMessageRequest.isSilent) && + Objects.equals(this.markAsRead, sendAMessageRequest.markAsRead) && + Objects.equals(this.mentionType, sendAMessageRequest.mentionType) && + Objects.equals(this.mentionedUserIds, sendAMessageRequest.mentionedUserIds) && + Objects.equals(this.sendPush, sendAMessageRequest.sendPush) && + Objects.equals(this.sortedMetaarray, sendAMessageRequest.sortedMetaarray) && + Objects.equals(this.sound, sendAMessageRequest.sound) && + Objects.equals(this.volume, sendAMessageRequest.volume); + } + + @Override + public int hashCode() { + return Objects.hash(messageType, userId, message, pushMessageTemplate, pollId, files, requireAuth, thumbnail1, thumbnail2, thumbnail3, thumbnails, apnsBundleId, appleCriticalAlertOptions, createdAt, customType, data, dedupId, includePollDetails, isSilent, markAsRead, mentionType, mentionedUserIds, sendPush, sortedMetaarray, sound, volume); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendAMessageRequest {\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" pushMessageTemplate: ").append(toIndentedString(pushMessageTemplate)).append("\n"); + sb.append(" pollId: ").append(toIndentedString(pollId)).append("\n"); + sb.append(" files: ").append(toIndentedString(files)).append("\n"); + sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); + sb.append(" thumbnail1: ").append(toIndentedString(thumbnail1)).append("\n"); + sb.append(" thumbnail2: ").append(toIndentedString(thumbnail2)).append("\n"); + sb.append(" thumbnail3: ").append(toIndentedString(thumbnail3)).append("\n"); + sb.append(" thumbnails: ").append(toIndentedString(thumbnails)).append("\n"); + sb.append(" apnsBundleId: ").append(toIndentedString(apnsBundleId)).append("\n"); + sb.append(" appleCriticalAlertOptions: ").append(toIndentedString(appleCriticalAlertOptions)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); + sb.append(" includePollDetails: ").append(toIndentedString(includePollDetails)).append("\n"); + sb.append(" isSilent: ").append(toIndentedString(isSilent)).append("\n"); + sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); + sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); + sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); + sb.append(" sendPush: ").append(toIndentedString(sendPush)).append("\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append(" sound: ").append(toIndentedString(sound)).append("\n"); + sb.append(" volume: ").append(toIndentedString(volume)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java new file mode 100644 index 00000000..9a240055 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java @@ -0,0 +1,251 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplateOneOf; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + +import com.fasterxml.jackson.core.type.TypeReference; + +import javax.ws.rs.core.GenericType; +import javax.ws.rs.core.Response; +import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import org.sendbird.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendBirdSendAMessageRequestPushMessageTemplate.SendBirdSendAMessageRequestPushMessageTemplateDeserializer.class) +@JsonSerialize(using = SendBirdSendAMessageRequestPushMessageTemplate.SendBirdSendAMessageRequestPushMessageTemplateSerializer.class) +public class SendBirdSendAMessageRequestPushMessageTemplate extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendBirdSendAMessageRequestPushMessageTemplate.class.getName()); + + public static class SendBirdSendAMessageRequestPushMessageTemplateSerializer extends StdSerializer { + public SendBirdSendAMessageRequestPushMessageTemplateSerializer(Class t) { + super(t); + } + + public SendBirdSendAMessageRequestPushMessageTemplateSerializer() { + this(null); + } + + @Override + public void serialize(SendBirdSendAMessageRequestPushMessageTemplate value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); + } + } + + public static class SendBirdSendAMessageRequestPushMessageTemplateDeserializer extends StdDeserializer { + public SendBirdSendAMessageRequestPushMessageTemplateDeserializer() { + this(SendBirdSendAMessageRequestPushMessageTemplate.class); + } + + public SendBirdSendAMessageRequestPushMessageTemplateDeserializer(Class vc) { + super(vc); + } + + @Override + public SendBirdSendAMessageRequestPushMessageTemplate deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize SendBirdSendAMessageRequestPushMessageTemplateOneOf + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendAMessageRequestPushMessageTemplateOneOf.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'SendBirdSendAMessageRequestPushMessageTemplateOneOf'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'SendBirdSendAMessageRequestPushMessageTemplateOneOf'", e); + } + + // deserialize String + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (String.class.equals(Integer.class) || String.class.equals(Long.class) || String.class.equals(Float.class) || String.class.equals(Double.class) || String.class.equals(Boolean.class) || String.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((String.class.equals(Integer.class) || String.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((String.class.equals(Float.class) || String.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (String.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (String.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(String.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'String'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'String'", e); + } + + if (match == 1) { + SendBirdSendAMessageRequestPushMessageTemplate ret = new SendBirdSendAMessageRequestPushMessageTemplate(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException(String.format("Failed deserialization for SendBirdSendAMessageRequestPushMessageTemplate: %d classes match result, expected 1", match)); + } + + /** + * Handle deserialization of the 'null' value. + */ + @Override + public SendBirdSendAMessageRequestPushMessageTemplate getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendBirdSendAMessageRequestPushMessageTemplate cannot be null"); + } + } + + // store a list of schema names defined in oneOf + public static final Map schemas = new HashMap(); + + public SendBirdSendAMessageRequestPushMessageTemplate() { + super("oneOf", Boolean.FALSE); + } + + public SendBirdSendAMessageRequestPushMessageTemplate(SendBirdSendAMessageRequestPushMessageTemplateOneOf o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + public SendBirdSendAMessageRequestPushMessageTemplate(String o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("SendBirdSendAMessageRequestPushMessageTemplateOneOf", new GenericType() { + }); + schemas.put("String", new GenericType() { + }); + JSON.registerDescendants(SendBirdSendAMessageRequestPushMessageTemplate.class, Collections.unmodifiableMap(schemas)); + } + + @Override + public Map getSchemas() { + return SendBirdSendAMessageRequestPushMessageTemplate.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * SendBirdSendAMessageRequestPushMessageTemplateOneOf, String + * + * It could be an instance of the 'oneOf' schemas. + * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). + */ + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf(SendBirdSendAMessageRequestPushMessageTemplateOneOf.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + if (JSON.isInstanceOf(String.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be SendBirdSendAMessageRequestPushMessageTemplateOneOf, String"); + } + + /** + * Get the actual instance, which can be the following: + * SendBirdSendAMessageRequestPushMessageTemplateOneOf, String + * + * @return The actual instance (SendBirdSendAMessageRequestPushMessageTemplateOneOf, String) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `SendBirdSendAMessageRequestPushMessageTemplateOneOf`. If the actual instance is not `SendBirdSendAMessageRequestPushMessageTemplateOneOf`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SendBirdSendAMessageRequestPushMessageTemplateOneOf` + * @throws ClassCastException if the instance is not `SendBirdSendAMessageRequestPushMessageTemplateOneOf` + */ + public SendBirdSendAMessageRequestPushMessageTemplateOneOf getSendBirdSendAMessageRequestPushMessageTemplateOneOf() throws ClassCastException { + return (SendBirdSendAMessageRequestPushMessageTemplateOneOf)super.getActualInstance(); + } + + /** + * Get the actual instance of `String`. If the actual instance is not `String`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `String` + * @throws ClassCastException if the instance is not `String` + */ + public String getString() throws ClassCastException { + return (String)super.getActualInstance(); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java new file mode 100644 index 00000000..3f205424 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java @@ -0,0 +1,145 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendAMessageRequestPushMessageTemplateOneOf + */ +@JsonPropertyOrder({ + SendBirdSendAMessageRequestPushMessageTemplateOneOf.JSON_PROPERTY_TITLE, + SendBirdSendAMessageRequestPushMessageTemplateOneOf.JSON_PROPERTY_BODY +}) +@JsonTypeName("sendAMessage_request_push_message_template_oneOf") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendAMessageRequestPushMessageTemplateOneOf { + public static final String JSON_PROPERTY_TITLE = "title"; + private String title; + + public static final String JSON_PROPERTY_BODY = "body"; + private String body; + + public SendBirdSendAMessageRequestPushMessageTemplateOneOf() { + } + + public SendBirdSendAMessageRequestPushMessageTemplateOneOf title(String title) { + this.title = title; + return this; + } + + /** + * Specifies the title of the custom push notification template. You can customize the title using the variables sender_name and message, which can be later replaced with corresponding real values when the template is sent out as a notification request to FCM, HMS, or APNs. + * @return title + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the title of the custom push notification template. You can customize the title using the variables sender_name and message, which can be later replaced with corresponding real values when the template is sent out as a notification request to FCM, HMS, or APNs.") + @JsonProperty(JSON_PROPERTY_TITLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTitle() { + return title; + } + + + @JsonProperty(JSON_PROPERTY_TITLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTitle(String title) { + this.title = title; + } + + + public SendBirdSendAMessageRequestPushMessageTemplateOneOf body(String body) { + this.body = body; + return this; + } + + /** + * Specifies the body of the custom push notification template. You can customize the body using the variables sender_name and message, which can be later replaced with corresponding real values when the template is sent out as a notification request to FCM, HMS, or APNs. If not specified, the body by default contains the message content inside the message property. + * @return body + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies the body of the custom push notification template. You can customize the body using the variables sender_name and message, which can be later replaced with corresponding real values when the template is sent out as a notification request to FCM, HMS, or APNs. If not specified, the body by default contains the message content inside the message property.") + @JsonProperty(JSON_PROPERTY_BODY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBody() { + return body; + } + + + @JsonProperty(JSON_PROPERTY_BODY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBody(String body) { + this.body = body; + } + + + /** + * Return true if this sendAMessage_request_push_message_template_oneOf object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendAMessageRequestPushMessageTemplateOneOf sendAMessageRequestPushMessageTemplateOneOf = (SendBirdSendAMessageRequestPushMessageTemplateOneOf) o; + return Objects.equals(this.title, sendAMessageRequestPushMessageTemplateOneOf.title) && + Objects.equals(this.body, sendAMessageRequestPushMessageTemplateOneOf.body); + } + + @Override + public int hashCode() { + return Objects.hash(title, body); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendAMessageRequestPushMessageTemplateOneOf {\n"); + sb.append(" title: ").append(toIndentedString(title)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java new file mode 100644 index 00000000..4096a1cc --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java @@ -0,0 +1,553 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendTextMessageRequestBodyPushMessageTemplate; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendAdminMessageRequestBody + */ +@JsonPropertyOrder({ + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_APNS_BUNDLE_ID, + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_DATA, + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_DEDUP_ID, + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_IS_SILENT, + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_MENTION_TYPE, + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_MENTIONED_USER_IDS, + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_MESSAGE, + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_MESSAGE_TYPE, + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE, + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_SEND_PUSH, + SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_SORTED_METAARRAY +}) +@JsonTypeName("sendAdminMessageRequestBody") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendAdminMessageRequestBody { + public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; + private String apnsBundleId; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; + private String dedupId; + + public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; + private Boolean isSilent; + + /** + * Gets or Sets mentionType + */ + public enum MentionTypeEnum { + USERS("users"), + + CHANNEL("channel"); + + private String value; + + MentionTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MentionTypeEnum fromValue(String value) { + for (MentionTypeEnum b : MentionTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; + private MentionTypeEnum mentionType; + + public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; + private List mentionedUserIds = null; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; + + /** + * Specifies the type of the message. The value of ADMM represents an admin message. + */ + public enum MessageTypeEnum { + ADMM("ADMM"); + + private String value; + + MessageTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MessageTypeEnum fromValue(String value) { + for (MessageTypeEnum b : MessageTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; + private MessageTypeEnum messageType; + + public static final String JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE = "push_message_template"; + private SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate; + + public static final String JSON_PROPERTY_SEND_PUSH = "send_push"; + private Boolean sendPush; + + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public SendBirdSendAdminMessageRequestBody() { + } + + public SendBirdSendAdminMessageRequestBody apnsBundleId(String apnsBundleId) { + this.apnsBundleId = apnsBundleId; + return this; + } + + /** + * Get apnsBundleId + * @return apnsBundleId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getApnsBundleId() { + return apnsBundleId; + } + + + @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setApnsBundleId(String apnsBundleId) { + this.apnsBundleId = apnsBundleId; + } + + + public SendBirdSendAdminMessageRequestBody customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdSendAdminMessageRequestBody data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdSendAdminMessageRequestBody dedupId(String dedupId) { + this.dedupId = dedupId; + return this; + } + + /** + * Get dedupId + * @return dedupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDedupId() { + return dedupId; + } + + + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDedupId(String dedupId) { + this.dedupId = dedupId; + } + + + public SendBirdSendAdminMessageRequestBody isSilent(Boolean isSilent) { + this.isSilent = isSilent; + return this; + } + + /** + * Get isSilent + * @return isSilent + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSilent() { + return isSilent; + } + + + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSilent(Boolean isSilent) { + this.isSilent = isSilent; + } + + + public SendBirdSendAdminMessageRequestBody mentionType(MentionTypeEnum mentionType) { + this.mentionType = mentionType; + return this; + } + + /** + * Get mentionType + * @return mentionType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public MentionTypeEnum getMentionType() { + return mentionType; + } + + + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionType(MentionTypeEnum mentionType) { + this.mentionType = mentionType; + } + + + public SendBirdSendAdminMessageRequestBody mentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + return this; + } + + public SendBirdSendAdminMessageRequestBody addMentionedUserIdsItem(String mentionedUserIdsItem) { + if (this.mentionedUserIds == null) { + this.mentionedUserIds = new ArrayList<>(); + } + this.mentionedUserIds.add(mentionedUserIdsItem); + return this; + } + + /** + * Get mentionedUserIds + * @return mentionedUserIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMentionedUserIds() { + return mentionedUserIds; + } + + + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + } + + + public SendBirdSendAdminMessageRequestBody message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessage(String message) { + this.message = message; + } + + + public SendBirdSendAdminMessageRequestBody messageType(MessageTypeEnum messageType) { + this.messageType = messageType; + return this; + } + + /** + * Specifies the type of the message. The value of ADMM represents an admin message. + * @return messageType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the type of the message. The value of ADMM represents an admin message.") + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public MessageTypeEnum getMessageType() { + return messageType; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessageType(MessageTypeEnum messageType) { + this.messageType = messageType; + } + + + public SendBirdSendAdminMessageRequestBody pushMessageTemplate(SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate) { + this.pushMessageTemplate = pushMessageTemplate; + return this; + } + + /** + * Get pushMessageTemplate + * @return pushMessageTemplate + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendTextMessageRequestBodyPushMessageTemplate getPushMessageTemplate() { + return pushMessageTemplate; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushMessageTemplate(SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate) { + this.pushMessageTemplate = pushMessageTemplate; + } + + + public SendBirdSendAdminMessageRequestBody sendPush(Boolean sendPush) { + this.sendPush = sendPush; + return this; + } + + /** + * Get sendPush + * @return sendPush + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SEND_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSendPush() { + return sendPush; + } + + + @JsonProperty(JSON_PROPERTY_SEND_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSendPush(Boolean sendPush) { + this.sendPush = sendPush; + } + + + public SendBirdSendAdminMessageRequestBody sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdSendAdminMessageRequestBody addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + /** + * Return true if this sendAdminMessageRequestBody object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendAdminMessageRequestBody sendAdminMessageRequestBody = (SendBirdSendAdminMessageRequestBody) o; + return Objects.equals(this.apnsBundleId, sendAdminMessageRequestBody.apnsBundleId) && + Objects.equals(this.customType, sendAdminMessageRequestBody.customType) && + Objects.equals(this.data, sendAdminMessageRequestBody.data) && + Objects.equals(this.dedupId, sendAdminMessageRequestBody.dedupId) && + Objects.equals(this.isSilent, sendAdminMessageRequestBody.isSilent) && + Objects.equals(this.mentionType, sendAdminMessageRequestBody.mentionType) && + Objects.equals(this.mentionedUserIds, sendAdminMessageRequestBody.mentionedUserIds) && + Objects.equals(this.message, sendAdminMessageRequestBody.message) && + Objects.equals(this.messageType, sendAdminMessageRequestBody.messageType) && + Objects.equals(this.pushMessageTemplate, sendAdminMessageRequestBody.pushMessageTemplate) && + Objects.equals(this.sendPush, sendAdminMessageRequestBody.sendPush) && + Objects.equals(this.sortedMetaarray, sendAdminMessageRequestBody.sortedMetaarray); + } + + @Override + public int hashCode() { + return Objects.hash(apnsBundleId, customType, data, dedupId, isSilent, mentionType, mentionedUserIds, message, messageType, pushMessageTemplate, sendPush, sortedMetaarray); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendAdminMessageRequestBody {\n"); + sb.append(" apnsBundleId: ").append(toIndentedString(apnsBundleId)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); + sb.append(" isSilent: ").append(toIndentedString(isSilent)).append("\n"); + sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); + sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append(" pushMessageTemplate: ").append(toIndentedString(pushMessageTemplate)).append("\n"); + sb.append(" sendPush: ").append(toIndentedString(sendPush)).append("\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java new file mode 100644 index 00000000..8d12c755 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java @@ -0,0 +1,850 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdFile; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendFileMessageRequestBody + */ +@JsonPropertyOrder({ + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_APNS_BUNDLE_ID, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_CREATED_AT, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_DATA, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_DEDUP_ID, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_FILES, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_IS_SILENT, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_MARK_AS_READ, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_MENTION_TYPE, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_MENTIONED_USER_IDS, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_MESSAGE_TYPE, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_REQUIRE_AUTH, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_SEND_PUSH, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_SORTED_METAARRAY, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_SOUND, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_THUMBNAIL1, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_THUMBNAIL2, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_THUMBNAIL3, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_THUMBNAILS, + SendBirdSendFileMessageRequestBody.JSON_PROPERTY_VOLUME +}) +@JsonTypeName("sendFileMessageRequestBody") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendFileMessageRequestBody { + public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; + private String apnsBundleId; + + public static final String JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS = "apple_critical_alert_options"; + private Object appleCriticalAlertOptions; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; + private String dedupId; + + public static final String JSON_PROPERTY_FILES = "files"; + private SendBirdSendbirdFile files; + + public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; + private Boolean isSilent; + + public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; + private Boolean markAsRead; + + /** + * Gets or Sets mentionType + */ + public enum MentionTypeEnum { + USERS("users"), + + CHANNEL("channel"); + + private String value; + + MentionTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MentionTypeEnum fromValue(String value) { + for (MentionTypeEnum b : MentionTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; + private MentionTypeEnum mentionType; + + public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; + private List mentionedUserIds = null; + + /** + * Specifies the type of the message. The value of FILE represents a file message. + */ + public enum MessageTypeEnum { + FILE("FILE"); + + private String value; + + MessageTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MessageTypeEnum fromValue(String value) { + for (MessageTypeEnum b : MessageTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; + private MessageTypeEnum messageType; + + public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; + private Boolean requireAuth; + + public static final String JSON_PROPERTY_SEND_PUSH = "send_push"; + private Boolean sendPush; + + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public static final String JSON_PROPERTY_SOUND = "sound"; + private String sound; + + public static final String JSON_PROPERTY_THUMBNAIL1 = "thumbnail1"; + private String thumbnail1; + + public static final String JSON_PROPERTY_THUMBNAIL2 = "thumbnail2"; + private String thumbnail2; + + public static final String JSON_PROPERTY_THUMBNAIL3 = "thumbnail3"; + private String thumbnail3; + + public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; + private List thumbnails = null; + + public static final String JSON_PROPERTY_VOLUME = "volume"; + private BigDecimal volume; + + public SendBirdSendFileMessageRequestBody() { + } + + public SendBirdSendFileMessageRequestBody apnsBundleId(String apnsBundleId) { + this.apnsBundleId = apnsBundleId; + return this; + } + + /** + * Get apnsBundleId + * @return apnsBundleId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getApnsBundleId() { + return apnsBundleId; + } + + + @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setApnsBundleId(String apnsBundleId) { + this.apnsBundleId = apnsBundleId; + } + + + public SendBirdSendFileMessageRequestBody appleCriticalAlertOptions(Object appleCriticalAlertOptions) { + this.appleCriticalAlertOptions = appleCriticalAlertOptions; + return this; + } + + /** + * Get appleCriticalAlertOptions + * @return appleCriticalAlertOptions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getAppleCriticalAlertOptions() { + return appleCriticalAlertOptions; + } + + + @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAppleCriticalAlertOptions(Object appleCriticalAlertOptions) { + this.appleCriticalAlertOptions = appleCriticalAlertOptions; + } + + + public SendBirdSendFileMessageRequestBody createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdSendFileMessageRequestBody customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdSendFileMessageRequestBody data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdSendFileMessageRequestBody dedupId(String dedupId) { + this.dedupId = dedupId; + return this; + } + + /** + * Get dedupId + * @return dedupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDedupId() { + return dedupId; + } + + + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDedupId(String dedupId) { + this.dedupId = dedupId; + } + + + public SendBirdSendFileMessageRequestBody files(SendBirdSendbirdFile files) { + this.files = files; + return this; + } + + /** + * Get files + * @return files + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_FILES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public SendBirdSendbirdFile getFiles() { + return files; + } + + + @JsonProperty(JSON_PROPERTY_FILES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFiles(SendBirdSendbirdFile files) { + this.files = files; + } + + + public SendBirdSendFileMessageRequestBody isSilent(Boolean isSilent) { + this.isSilent = isSilent; + return this; + } + + /** + * Get isSilent + * @return isSilent + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSilent() { + return isSilent; + } + + + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSilent(Boolean isSilent) { + this.isSilent = isSilent; + } + + + public SendBirdSendFileMessageRequestBody markAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + return this; + } + + /** + * Get markAsRead + * @return markAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getMarkAsRead() { + return markAsRead; + } + + + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMarkAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + } + + + public SendBirdSendFileMessageRequestBody mentionType(MentionTypeEnum mentionType) { + this.mentionType = mentionType; + return this; + } + + /** + * Get mentionType + * @return mentionType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public MentionTypeEnum getMentionType() { + return mentionType; + } + + + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionType(MentionTypeEnum mentionType) { + this.mentionType = mentionType; + } + + + public SendBirdSendFileMessageRequestBody mentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + return this; + } + + public SendBirdSendFileMessageRequestBody addMentionedUserIdsItem(String mentionedUserIdsItem) { + if (this.mentionedUserIds == null) { + this.mentionedUserIds = new ArrayList<>(); + } + this.mentionedUserIds.add(mentionedUserIdsItem); + return this; + } + + /** + * Get mentionedUserIds + * @return mentionedUserIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMentionedUserIds() { + return mentionedUserIds; + } + + + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + } + + + public SendBirdSendFileMessageRequestBody messageType(MessageTypeEnum messageType) { + this.messageType = messageType; + return this; + } + + /** + * Specifies the type of the message. The value of FILE represents a file message. + * @return messageType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the type of the message. The value of FILE represents a file message.") + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public MessageTypeEnum getMessageType() { + return messageType; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessageType(MessageTypeEnum messageType) { + this.messageType = messageType; + } + + + public SendBirdSendFileMessageRequestBody requireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + return this; + } + + /** + * Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. + * @return requireAuth + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file.") + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getRequireAuth() { + return requireAuth; + } + + + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRequireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + } + + + public SendBirdSendFileMessageRequestBody sendPush(Boolean sendPush) { + this.sendPush = sendPush; + return this; + } + + /** + * Get sendPush + * @return sendPush + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SEND_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSendPush() { + return sendPush; + } + + + @JsonProperty(JSON_PROPERTY_SEND_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSendPush(Boolean sendPush) { + this.sendPush = sendPush; + } + + + public SendBirdSendFileMessageRequestBody sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdSendFileMessageRequestBody addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + public SendBirdSendFileMessageRequestBody sound(String sound) { + this.sound = sound; + return this; + } + + /** + * Get sound + * @return sound + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getSound() { + return sound; + } + + + @JsonProperty(JSON_PROPERTY_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSound(String sound) { + this.sound = sound; + } + + + public SendBirdSendFileMessageRequestBody thumbnail1(String thumbnail1) { + this.thumbnail1 = thumbnail1; + return this; + } + + /** + * Get thumbnail1 + * @return thumbnail1 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_THUMBNAIL1) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getThumbnail1() { + return thumbnail1; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAIL1) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnail1(String thumbnail1) { + this.thumbnail1 = thumbnail1; + } + + + public SendBirdSendFileMessageRequestBody thumbnail2(String thumbnail2) { + this.thumbnail2 = thumbnail2; + return this; + } + + /** + * Get thumbnail2 + * @return thumbnail2 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_THUMBNAIL2) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getThumbnail2() { + return thumbnail2; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAIL2) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnail2(String thumbnail2) { + this.thumbnail2 = thumbnail2; + } + + + public SendBirdSendFileMessageRequestBody thumbnail3(String thumbnail3) { + this.thumbnail3 = thumbnail3; + return this; + } + + /** + * Get thumbnail3 + * @return thumbnail3 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_THUMBNAIL3) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getThumbnail3() { + return thumbnail3; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAIL3) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnail3(String thumbnail3) { + this.thumbnail3 = thumbnail3; + } + + + public SendBirdSendFileMessageRequestBody thumbnails(List thumbnails) { + this.thumbnails = thumbnails; + return this; + } + + public SendBirdSendFileMessageRequestBody addThumbnailsItem(String thumbnailsItem) { + if (this.thumbnails == null) { + this.thumbnails = new ArrayList<>(); + } + this.thumbnails.add(thumbnailsItem); + return this; + } + + /** + * Get thumbnails + * @return thumbnails + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_THUMBNAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getThumbnails() { + return thumbnails; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnails(List thumbnails) { + this.thumbnails = thumbnails; + } + + + public SendBirdSendFileMessageRequestBody volume(BigDecimal volume) { + this.volume = volume; + return this; + } + + /** + * Get volume + * @return volume + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_VOLUME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public BigDecimal getVolume() { + return volume; + } + + + @JsonProperty(JSON_PROPERTY_VOLUME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVolume(BigDecimal volume) { + this.volume = volume; + } + + + /** + * Return true if this sendFileMessageRequestBody object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendFileMessageRequestBody sendFileMessageRequestBody = (SendBirdSendFileMessageRequestBody) o; + return Objects.equals(this.apnsBundleId, sendFileMessageRequestBody.apnsBundleId) && + Objects.equals(this.appleCriticalAlertOptions, sendFileMessageRequestBody.appleCriticalAlertOptions) && + Objects.equals(this.createdAt, sendFileMessageRequestBody.createdAt) && + Objects.equals(this.customType, sendFileMessageRequestBody.customType) && + Objects.equals(this.data, sendFileMessageRequestBody.data) && + Objects.equals(this.dedupId, sendFileMessageRequestBody.dedupId) && + Objects.equals(this.files, sendFileMessageRequestBody.files) && + Objects.equals(this.isSilent, sendFileMessageRequestBody.isSilent) && + Objects.equals(this.markAsRead, sendFileMessageRequestBody.markAsRead) && + Objects.equals(this.mentionType, sendFileMessageRequestBody.mentionType) && + Objects.equals(this.mentionedUserIds, sendFileMessageRequestBody.mentionedUserIds) && + Objects.equals(this.messageType, sendFileMessageRequestBody.messageType) && + Objects.equals(this.requireAuth, sendFileMessageRequestBody.requireAuth) && + Objects.equals(this.sendPush, sendFileMessageRequestBody.sendPush) && + Objects.equals(this.sortedMetaarray, sendFileMessageRequestBody.sortedMetaarray) && + Objects.equals(this.sound, sendFileMessageRequestBody.sound) && + Objects.equals(this.thumbnail1, sendFileMessageRequestBody.thumbnail1) && + Objects.equals(this.thumbnail2, sendFileMessageRequestBody.thumbnail2) && + Objects.equals(this.thumbnail3, sendFileMessageRequestBody.thumbnail3) && + Objects.equals(this.thumbnails, sendFileMessageRequestBody.thumbnails) && + Objects.equals(this.volume, sendFileMessageRequestBody.volume); + } + + @Override + public int hashCode() { + return Objects.hash(apnsBundleId, appleCriticalAlertOptions, createdAt, customType, data, dedupId, files, isSilent, markAsRead, mentionType, mentionedUserIds, messageType, requireAuth, sendPush, sortedMetaarray, sound, thumbnail1, thumbnail2, thumbnail3, thumbnails, volume); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendFileMessageRequestBody {\n"); + sb.append(" apnsBundleId: ").append(toIndentedString(apnsBundleId)).append("\n"); + sb.append(" appleCriticalAlertOptions: ").append(toIndentedString(appleCriticalAlertOptions)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); + sb.append(" files: ").append(toIndentedString(files)).append("\n"); + sb.append(" isSilent: ").append(toIndentedString(isSilent)).append("\n"); + sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); + sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); + sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); + sb.append(" sendPush: ").append(toIndentedString(sendPush)).append("\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append(" sound: ").append(toIndentedString(sound)).append("\n"); + sb.append(" thumbnail1: ").append(toIndentedString(thumbnail1)).append("\n"); + sb.append(" thumbnail2: ").append(toIndentedString(thumbnail2)).append("\n"); + sb.append(" thumbnail3: ").append(toIndentedString(thumbnail3)).append("\n"); + sb.append(" thumbnails: ").append(toIndentedString(thumbnails)).append("\n"); + sb.append(" volume: ").append(toIndentedString(volume)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java new file mode 100644 index 00000000..5cd7a090 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java @@ -0,0 +1,778 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendTextMessageRequestBodyPushMessageTemplate; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendTextMessageRequestBody + */ +@JsonPropertyOrder({ + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_APNS_BUNDLE_ID, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_CREATED_AT, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_DATA, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_DEDUP_ID, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_INCLUDE_POLL_DETAILS, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_IS_SILENT, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_MARK_AS_READ, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_MENTION_TYPE, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_MENTIONED_USER_IDS, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_MESSAGE, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_MESSAGE_TYPE, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_POLL_ID, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_SEND_PUSH, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_SORTED_METAARRAY, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_SOUND, + SendBirdSendTextMessageRequestBody.JSON_PROPERTY_VOLUME +}) +@JsonTypeName("sendTextMessageRequestBody") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendTextMessageRequestBody { + public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; + private String apnsBundleId; + + public static final String JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS = "apple_critical_alert_options"; + private Object appleCriticalAlertOptions; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; + private String dedupId; + + public static final String JSON_PROPERTY_INCLUDE_POLL_DETAILS = "include_poll_details"; + private Boolean includePollDetails; + + public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; + private Boolean isSilent; + + public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; + private Boolean markAsRead; + + /** + * Gets or Sets mentionType + */ + public enum MentionTypeEnum { + USERS("users"), + + CHANNEL("channel"); + + private String value; + + MentionTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MentionTypeEnum fromValue(String value) { + for (MentionTypeEnum b : MentionTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; + private MentionTypeEnum mentionType; + + public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; + private List mentionedUserIds = null; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; + + /** + * Specifies the type of the message. The value of MESG represents a text message. + */ + public enum MessageTypeEnum { + MESG("MESG"); + + private String value; + + MessageTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MessageTypeEnum fromValue(String value) { + for (MessageTypeEnum b : MessageTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; + private MessageTypeEnum messageType; + + public static final String JSON_PROPERTY_POLL_ID = "poll_id"; + private Integer pollId; + + public static final String JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE = "push_message_template"; + private SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate; + + public static final String JSON_PROPERTY_SEND_PUSH = "send_push"; + private Boolean sendPush; + + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public static final String JSON_PROPERTY_SOUND = "sound"; + private String sound; + + public static final String JSON_PROPERTY_VOLUME = "volume"; + private BigDecimal volume; + + public SendBirdSendTextMessageRequestBody() { + } + + public SendBirdSendTextMessageRequestBody apnsBundleId(String apnsBundleId) { + this.apnsBundleId = apnsBundleId; + return this; + } + + /** + * Get apnsBundleId + * @return apnsBundleId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getApnsBundleId() { + return apnsBundleId; + } + + + @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setApnsBundleId(String apnsBundleId) { + this.apnsBundleId = apnsBundleId; + } + + + public SendBirdSendTextMessageRequestBody appleCriticalAlertOptions(Object appleCriticalAlertOptions) { + this.appleCriticalAlertOptions = appleCriticalAlertOptions; + return this; + } + + /** + * Get appleCriticalAlertOptions + * @return appleCriticalAlertOptions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getAppleCriticalAlertOptions() { + return appleCriticalAlertOptions; + } + + + @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAppleCriticalAlertOptions(Object appleCriticalAlertOptions) { + this.appleCriticalAlertOptions = appleCriticalAlertOptions; + } + + + public SendBirdSendTextMessageRequestBody createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdSendTextMessageRequestBody customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdSendTextMessageRequestBody data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdSendTextMessageRequestBody dedupId(String dedupId) { + this.dedupId = dedupId; + return this; + } + + /** + * Get dedupId + * @return dedupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDedupId() { + return dedupId; + } + + + @JsonProperty(JSON_PROPERTY_DEDUP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDedupId(String dedupId) { + this.dedupId = dedupId; + } + + + public SendBirdSendTextMessageRequestBody includePollDetails(Boolean includePollDetails) { + this.includePollDetails = includePollDetails; + return this; + } + + /** + * Get includePollDetails + * @return includePollDetails + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INCLUDE_POLL_DETAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIncludePollDetails() { + return includePollDetails; + } + + + @JsonProperty(JSON_PROPERTY_INCLUDE_POLL_DETAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIncludePollDetails(Boolean includePollDetails) { + this.includePollDetails = includePollDetails; + } + + + public SendBirdSendTextMessageRequestBody isSilent(Boolean isSilent) { + this.isSilent = isSilent; + return this; + } + + /** + * Get isSilent + * @return isSilent + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSilent() { + return isSilent; + } + + + @JsonProperty(JSON_PROPERTY_IS_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSilent(Boolean isSilent) { + this.isSilent = isSilent; + } + + + public SendBirdSendTextMessageRequestBody markAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + return this; + } + + /** + * Get markAsRead + * @return markAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getMarkAsRead() { + return markAsRead; + } + + + @JsonProperty(JSON_PROPERTY_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMarkAsRead(Boolean markAsRead) { + this.markAsRead = markAsRead; + } + + + public SendBirdSendTextMessageRequestBody mentionType(MentionTypeEnum mentionType) { + this.mentionType = mentionType; + return this; + } + + /** + * Get mentionType + * @return mentionType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public MentionTypeEnum getMentionType() { + return mentionType; + } + + + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionType(MentionTypeEnum mentionType) { + this.mentionType = mentionType; + } + + + public SendBirdSendTextMessageRequestBody mentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + return this; + } + + public SendBirdSendTextMessageRequestBody addMentionedUserIdsItem(String mentionedUserIdsItem) { + if (this.mentionedUserIds == null) { + this.mentionedUserIds = new ArrayList<>(); + } + this.mentionedUserIds.add(mentionedUserIdsItem); + return this; + } + + /** + * Get mentionedUserIds + * @return mentionedUserIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMentionedUserIds() { + return mentionedUserIds; + } + + + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + } + + + public SendBirdSendTextMessageRequestBody message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessage(String message) { + this.message = message; + } + + + public SendBirdSendTextMessageRequestBody messageType(MessageTypeEnum messageType) { + this.messageType = messageType; + return this; + } + + /** + * Specifies the type of the message. The value of MESG represents a text message. + * @return messageType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the type of the message. The value of MESG represents a text message.") + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public MessageTypeEnum getMessageType() { + return messageType; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessageType(MessageTypeEnum messageType) { + this.messageType = messageType; + } + + + public SendBirdSendTextMessageRequestBody pollId(Integer pollId) { + this.pollId = pollId; + return this; + } + + /** + * Get pollId + * @return pollId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_POLL_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getPollId() { + return pollId; + } + + + @JsonProperty(JSON_PROPERTY_POLL_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPollId(Integer pollId) { + this.pollId = pollId; + } + + + public SendBirdSendTextMessageRequestBody pushMessageTemplate(SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate) { + this.pushMessageTemplate = pushMessageTemplate; + return this; + } + + /** + * Get pushMessageTemplate + * @return pushMessageTemplate + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendTextMessageRequestBodyPushMessageTemplate getPushMessageTemplate() { + return pushMessageTemplate; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushMessageTemplate(SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate) { + this.pushMessageTemplate = pushMessageTemplate; + } + + + public SendBirdSendTextMessageRequestBody sendPush(Boolean sendPush) { + this.sendPush = sendPush; + return this; + } + + /** + * Get sendPush + * @return sendPush + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SEND_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSendPush() { + return sendPush; + } + + + @JsonProperty(JSON_PROPERTY_SEND_PUSH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSendPush(Boolean sendPush) { + this.sendPush = sendPush; + } + + + public SendBirdSendTextMessageRequestBody sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdSendTextMessageRequestBody addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + public SendBirdSendTextMessageRequestBody sound(String sound) { + this.sound = sound; + return this; + } + + /** + * Get sound + * @return sound + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getSound() { + return sound; + } + + + @JsonProperty(JSON_PROPERTY_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSound(String sound) { + this.sound = sound; + } + + + public SendBirdSendTextMessageRequestBody volume(BigDecimal volume) { + this.volume = volume; + return this; + } + + /** + * Get volume + * @return volume + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_VOLUME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public BigDecimal getVolume() { + return volume; + } + + + @JsonProperty(JSON_PROPERTY_VOLUME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVolume(BigDecimal volume) { + this.volume = volume; + } + + + /** + * Return true if this sendTextMessageRequestBody object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendTextMessageRequestBody sendTextMessageRequestBody = (SendBirdSendTextMessageRequestBody) o; + return Objects.equals(this.apnsBundleId, sendTextMessageRequestBody.apnsBundleId) && + Objects.equals(this.appleCriticalAlertOptions, sendTextMessageRequestBody.appleCriticalAlertOptions) && + Objects.equals(this.createdAt, sendTextMessageRequestBody.createdAt) && + Objects.equals(this.customType, sendTextMessageRequestBody.customType) && + Objects.equals(this.data, sendTextMessageRequestBody.data) && + Objects.equals(this.dedupId, sendTextMessageRequestBody.dedupId) && + Objects.equals(this.includePollDetails, sendTextMessageRequestBody.includePollDetails) && + Objects.equals(this.isSilent, sendTextMessageRequestBody.isSilent) && + Objects.equals(this.markAsRead, sendTextMessageRequestBody.markAsRead) && + Objects.equals(this.mentionType, sendTextMessageRequestBody.mentionType) && + Objects.equals(this.mentionedUserIds, sendTextMessageRequestBody.mentionedUserIds) && + Objects.equals(this.message, sendTextMessageRequestBody.message) && + Objects.equals(this.messageType, sendTextMessageRequestBody.messageType) && + Objects.equals(this.pollId, sendTextMessageRequestBody.pollId) && + Objects.equals(this.pushMessageTemplate, sendTextMessageRequestBody.pushMessageTemplate) && + Objects.equals(this.sendPush, sendTextMessageRequestBody.sendPush) && + Objects.equals(this.sortedMetaarray, sendTextMessageRequestBody.sortedMetaarray) && + Objects.equals(this.sound, sendTextMessageRequestBody.sound) && + Objects.equals(this.volume, sendTextMessageRequestBody.volume); + } + + @Override + public int hashCode() { + return Objects.hash(apnsBundleId, appleCriticalAlertOptions, createdAt, customType, data, dedupId, includePollDetails, isSilent, markAsRead, mentionType, mentionedUserIds, message, messageType, pollId, pushMessageTemplate, sendPush, sortedMetaarray, sound, volume); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendTextMessageRequestBody {\n"); + sb.append(" apnsBundleId: ").append(toIndentedString(apnsBundleId)).append("\n"); + sb.append(" appleCriticalAlertOptions: ").append(toIndentedString(appleCriticalAlertOptions)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); + sb.append(" includePollDetails: ").append(toIndentedString(includePollDetails)).append("\n"); + sb.append(" isSilent: ").append(toIndentedString(isSilent)).append("\n"); + sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); + sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); + sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append(" pollId: ").append(toIndentedString(pollId)).append("\n"); + sb.append(" pushMessageTemplate: ").append(toIndentedString(pushMessageTemplate)).append("\n"); + sb.append(" sendPush: ").append(toIndentedString(sendPush)).append("\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append(" sound: ").append(toIndentedString(sound)).append("\n"); + sb.append(" volume: ").append(toIndentedString(volume)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java new file mode 100644 index 00000000..b2e5f37b --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java @@ -0,0 +1,251 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplateOneOf; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + +import com.fasterxml.jackson.core.type.TypeReference; + +import javax.ws.rs.core.GenericType; +import javax.ws.rs.core.Response; +import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import org.sendbird.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendBirdSendTextMessageRequestBodyPushMessageTemplate.SendBirdSendTextMessageRequestBodyPushMessageTemplateDeserializer.class) +@JsonSerialize(using = SendBirdSendTextMessageRequestBodyPushMessageTemplate.SendBirdSendTextMessageRequestBodyPushMessageTemplateSerializer.class) +public class SendBirdSendTextMessageRequestBodyPushMessageTemplate extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendBirdSendTextMessageRequestBodyPushMessageTemplate.class.getName()); + + public static class SendBirdSendTextMessageRequestBodyPushMessageTemplateSerializer extends StdSerializer { + public SendBirdSendTextMessageRequestBodyPushMessageTemplateSerializer(Class t) { + super(t); + } + + public SendBirdSendTextMessageRequestBodyPushMessageTemplateSerializer() { + this(null); + } + + @Override + public void serialize(SendBirdSendTextMessageRequestBodyPushMessageTemplate value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); + } + } + + public static class SendBirdSendTextMessageRequestBodyPushMessageTemplateDeserializer extends StdDeserializer { + public SendBirdSendTextMessageRequestBodyPushMessageTemplateDeserializer() { + this(SendBirdSendTextMessageRequestBodyPushMessageTemplate.class); + } + + public SendBirdSendTextMessageRequestBodyPushMessageTemplateDeserializer(Class vc) { + super(vc); + } + + @Override + public SendBirdSendTextMessageRequestBodyPushMessageTemplate deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize SendBirdSendAMessageRequestPushMessageTemplateOneOf + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendAMessageRequestPushMessageTemplateOneOf.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'SendBirdSendAMessageRequestPushMessageTemplateOneOf'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'SendBirdSendAMessageRequestPushMessageTemplateOneOf'", e); + } + + // deserialize String + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (String.class.equals(Integer.class) || String.class.equals(Long.class) || String.class.equals(Float.class) || String.class.equals(Double.class) || String.class.equals(Boolean.class) || String.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((String.class.equals(Integer.class) || String.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((String.class.equals(Float.class) || String.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (String.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (String.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(String.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'String'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'String'", e); + } + + if (match == 1) { + SendBirdSendTextMessageRequestBodyPushMessageTemplate ret = new SendBirdSendTextMessageRequestBodyPushMessageTemplate(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException(String.format("Failed deserialization for SendBirdSendTextMessageRequestBodyPushMessageTemplate: %d classes match result, expected 1", match)); + } + + /** + * Handle deserialization of the 'null' value. + */ + @Override + public SendBirdSendTextMessageRequestBodyPushMessageTemplate getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendBirdSendTextMessageRequestBodyPushMessageTemplate cannot be null"); + } + } + + // store a list of schema names defined in oneOf + public static final Map schemas = new HashMap(); + + public SendBirdSendTextMessageRequestBodyPushMessageTemplate() { + super("oneOf", Boolean.FALSE); + } + + public SendBirdSendTextMessageRequestBodyPushMessageTemplate(SendBirdSendAMessageRequestPushMessageTemplateOneOf o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + public SendBirdSendTextMessageRequestBodyPushMessageTemplate(String o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("SendBirdSendAMessageRequestPushMessageTemplateOneOf", new GenericType() { + }); + schemas.put("String", new GenericType() { + }); + JSON.registerDescendants(SendBirdSendTextMessageRequestBodyPushMessageTemplate.class, Collections.unmodifiableMap(schemas)); + } + + @Override + public Map getSchemas() { + return SendBirdSendTextMessageRequestBodyPushMessageTemplate.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * SendBirdSendAMessageRequestPushMessageTemplateOneOf, String + * + * It could be an instance of the 'oneOf' schemas. + * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). + */ + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf(SendBirdSendAMessageRequestPushMessageTemplateOneOf.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + if (JSON.isInstanceOf(String.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be SendBirdSendAMessageRequestPushMessageTemplateOneOf, String"); + } + + /** + * Get the actual instance, which can be the following: + * SendBirdSendAMessageRequestPushMessageTemplateOneOf, String + * + * @return The actual instance (SendBirdSendAMessageRequestPushMessageTemplateOneOf, String) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `SendBirdSendAMessageRequestPushMessageTemplateOneOf`. If the actual instance is not `SendBirdSendAMessageRequestPushMessageTemplateOneOf`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SendBirdSendAMessageRequestPushMessageTemplateOneOf` + * @throws ClassCastException if the instance is not `SendBirdSendAMessageRequestPushMessageTemplateOneOf` + */ + public SendBirdSendAMessageRequestPushMessageTemplateOneOf getSendBirdSendAMessageRequestPushMessageTemplateOneOf() throws ClassCastException { + return (SendBirdSendAMessageRequestPushMessageTemplateOneOf)super.getActualInstance(); + } + + /** + * Get the actual instance of `String`. If the actual instance is not `String`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `String` + * @throws ClassCastException if the instance is not `String` + */ + public String getString() throws ClassCastException { + return (String)super.getActualInstance(); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java new file mode 100644 index 00000000..9e0fa3dd --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java @@ -0,0 +1,405 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdBasicUserInfo + */ +@JsonPropertyOrder({ + SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_IS_ACTIVE, + SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_IS_BLOCKED_BY_ME, + SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_ROLE, + SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_NICKNAME, + SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_USER_ID, + SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_PROFILE_URL, + SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_METADATA +}) +@JsonTypeName("Sendbird.BasicUserInfo") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdBasicUserInfo { + public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; + private Boolean requireAuthForProfileImage; + + public static final String JSON_PROPERTY_IS_ACTIVE = "is_active"; + private Boolean isActive; + + public static final String JSON_PROPERTY_IS_BLOCKED_BY_ME = "is_blocked_by_me"; + private Boolean isBlockedByMe; + + /** + * Gets or Sets role + */ + public enum RoleEnum { + EMPTY(""), + + NONE("none"), + + OPERATOR("operator"); + + private String value; + + RoleEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static RoleEnum fromValue(String value) { + for (RoleEnum b : RoleEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_ROLE = "role"; + private RoleEnum role; + + public static final String JSON_PROPERTY_NICKNAME = "nickname"; + private JsonNullable nickname = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; + private String profileUrl = ""; + + public static final String JSON_PROPERTY_METADATA = "metadata"; + private JsonNullable metadata = JsonNullable.undefined(); + + public SendBirdSendbirdBasicUserInfo() { + } + + public SendBirdSendbirdBasicUserInfo requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + this.requireAuthForProfileImage = requireAuthForProfileImage; + return this; + } + + /** + * Get requireAuthForProfileImage + * @return requireAuthForProfileImage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getRequireAuthForProfileImage() { + return requireAuthForProfileImage; + } + + + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { + this.requireAuthForProfileImage = requireAuthForProfileImage; + } + + + public SendBirdSendbirdBasicUserInfo isActive(Boolean isActive) { + this.isActive = isActive; + return this; + } + + /** + * Get isActive + * @return isActive + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_ACTIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsActive() { + return isActive; + } + + + @JsonProperty(JSON_PROPERTY_IS_ACTIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsActive(Boolean isActive) { + this.isActive = isActive; + } + + + public SendBirdSendbirdBasicUserInfo isBlockedByMe(Boolean isBlockedByMe) { + this.isBlockedByMe = isBlockedByMe; + return this; + } + + /** + * Get isBlockedByMe + * @return isBlockedByMe + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_BLOCKED_BY_ME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsBlockedByMe() { + return isBlockedByMe; + } + + + @JsonProperty(JSON_PROPERTY_IS_BLOCKED_BY_ME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsBlockedByMe(Boolean isBlockedByMe) { + this.isBlockedByMe = isBlockedByMe; + } + + + public SendBirdSendbirdBasicUserInfo role(RoleEnum role) { + this.role = role; + return this; + } + + /** + * Get role + * @return role + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ROLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public RoleEnum getRole() { + return role; + } + + + @JsonProperty(JSON_PROPERTY_ROLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRole(RoleEnum role) { + this.role = role; + } + + + public SendBirdSendbirdBasicUserInfo nickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + return this; + } + + /** + * Get nickname + * @return nickname + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public String getNickname() { + return nickname.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getNickname_JsonNullable() { + return nickname; + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + public void setNickname_JsonNullable(JsonNullable nickname) { + this.nickname = nickname; + } + + public void setNickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + } + + + public SendBirdSendbirdBasicUserInfo userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + public SendBirdSendbirdBasicUserInfo profileUrl(String profileUrl) { + this.profileUrl = profileUrl; + return this; + } + + /** + * Get profileUrl + * @return profileUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getProfileUrl() { + return profileUrl; + } + + + @JsonProperty(JSON_PROPERTY_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setProfileUrl(String profileUrl) { + this.profileUrl = profileUrl; + } + + + public SendBirdSendbirdBasicUserInfo metadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Object getMetadata() { + return metadata.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { + this.metadata = metadata; + } + + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + + + /** + * Return true if this Sendbird.BasicUserInfo object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdBasicUserInfo sendbirdBasicUserInfo = (SendBirdSendbirdBasicUserInfo) o; + return Objects.equals(this.requireAuthForProfileImage, sendbirdBasicUserInfo.requireAuthForProfileImage) && + Objects.equals(this.isActive, sendbirdBasicUserInfo.isActive) && + Objects.equals(this.isBlockedByMe, sendbirdBasicUserInfo.isBlockedByMe) && + Objects.equals(this.role, sendbirdBasicUserInfo.role) && + equalsNullable(this.nickname, sendbirdBasicUserInfo.nickname) && + Objects.equals(this.userId, sendbirdBasicUserInfo.userId) && + Objects.equals(this.profileUrl, sendbirdBasicUserInfo.profileUrl) && + equalsNullable(this.metadata, sendbirdBasicUserInfo.metadata); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(requireAuthForProfileImage, isActive, isBlockedByMe, role, hashCodeNullable(nickname), userId, profileUrl, hashCodeNullable(metadata)); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdBasicUserInfo {\n"); + sb.append(" requireAuthForProfileImage: ").append(toIndentedString(requireAuthForProfileImage)).append("\n"); + sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" isBlockedByMe: ").append(toIndentedString(isBlockedByMe)).append("\n"); + sb.append(" role: ").append(toIndentedString(role)).append("\n"); + sb.append(" nickname: ").append(toIndentedString(nickname)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" profileUrl: ").append(toIndentedString(profileUrl)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java new file mode 100644 index 00000000..1f1bc287 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java @@ -0,0 +1,145 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdDisappearingMessage + */ +@JsonPropertyOrder({ + SendBirdSendbirdDisappearingMessage.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdSendbirdDisappearingMessage.JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ +}) +@JsonTypeName("Sendbird.DisappearingMessage") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdDisappearingMessage { + public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; + private Integer messageSurvivalSeconds; + + public static final String JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ = "is_triggered_by_message_read"; + private Boolean isTriggeredByMessageRead; + + public SendBirdSendbirdDisappearingMessage() { + } + + public SendBirdSendbirdDisappearingMessage messageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + return this; + } + + /** + * Get messageSurvivalSeconds + * @return messageSurvivalSeconds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMessageSurvivalSeconds() { + return messageSurvivalSeconds; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + } + + + public SendBirdSendbirdDisappearingMessage isTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { + this.isTriggeredByMessageRead = isTriggeredByMessageRead; + return this; + } + + /** + * Get isTriggeredByMessageRead + * @return isTriggeredByMessageRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsTriggeredByMessageRead() { + return isTriggeredByMessageRead; + } + + + @JsonProperty(JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { + this.isTriggeredByMessageRead = isTriggeredByMessageRead; + } + + + /** + * Return true if this Sendbird.DisappearingMessage object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdDisappearingMessage sendbirdDisappearingMessage = (SendBirdSendbirdDisappearingMessage) o; + return Objects.equals(this.messageSurvivalSeconds, sendbirdDisappearingMessage.messageSurvivalSeconds) && + Objects.equals(this.isTriggeredByMessageRead, sendbirdDisappearingMessage.isTriggeredByMessageRead); + } + + @Override + public int hashCode() { + return Objects.hash(messageSurvivalSeconds, isTriggeredByMessageRead); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdDisappearingMessage {\n"); + sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); + sb.append(" isTriggeredByMessageRead: ").append(toIndentedString(isTriggeredByMessageRead)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java new file mode 100644 index 00000000..446be5b0 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java @@ -0,0 +1,156 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * Specifies the extended message payload which is used to send a message with a custom message type. + */ +@ApiModel(description = "Specifies the extended message payload which is used to send a message with a custom message type.") +@JsonPropertyOrder({ + SendBirdSendbirdExtendedMessagePayload.JSON_PROPERTY_CUSTOM_VIEW, + SendBirdSendbirdExtendedMessagePayload.JSON_PROPERTY_SUGGESTED_REPLIES +}) +@JsonTypeName("Sendbird.ExtendedMessagePayload") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdExtendedMessagePayload { + public static final String JSON_PROPERTY_CUSTOM_VIEW = "custom_view"; + private Object customView; + + public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; + private List suggestedReplies = null; + + public SendBirdSendbirdExtendedMessagePayload() { + } + + public SendBirdSendbirdExtendedMessagePayload customView(Object customView) { + this.customView = customView; + return this; + } + + /** + * JSON format you want to embed in message, eq : {\"title\": \"title\", \"image\": \"https://link.to/image.jpg\"} + * @return customView + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "JSON format you want to embed in message, eq : {\"title\": \"title\", \"image\": \"https://link.to/image.jpg\"}") + @JsonProperty(JSON_PROPERTY_CUSTOM_VIEW) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getCustomView() { + return customView; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_VIEW) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomView(Object customView) { + this.customView = customView; + } + + + public SendBirdSendbirdExtendedMessagePayload suggestedReplies(List suggestedReplies) { + this.suggestedReplies = suggestedReplies; + return this; + } + + public SendBirdSendbirdExtendedMessagePayload addSuggestedRepliesItem(String suggestedRepliesItem) { + if (this.suggestedReplies == null) { + this.suggestedReplies = new ArrayList<>(); + } + this.suggestedReplies.add(suggestedRepliesItem); + return this; + } + + /** + * Specifies an array of suggested replies to be sent with the message. + * @return suggestedReplies + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Specifies an array of suggested replies to be sent with the message.") + @JsonProperty(JSON_PROPERTY_SUGGESTED_REPLIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSuggestedReplies() { + return suggestedReplies; + } + + + @JsonProperty(JSON_PROPERTY_SUGGESTED_REPLIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSuggestedReplies(List suggestedReplies) { + this.suggestedReplies = suggestedReplies; + } + + + /** + * Return true if this Sendbird.ExtendedMessagePayload object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdExtendedMessagePayload sendbirdExtendedMessagePayload = (SendBirdSendbirdExtendedMessagePayload) o; + return Objects.equals(this.customView, sendbirdExtendedMessagePayload.customView) && + Objects.equals(this.suggestedReplies, sendbirdExtendedMessagePayload.suggestedReplies); + } + + @Override + public int hashCode() { + return Objects.hash(customView, suggestedReplies); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdExtendedMessagePayload {\n"); + sb.append(" customView: ").append(toIndentedString(customView)).append("\n"); + sb.append(" suggestedReplies: ").append(toIndentedString(suggestedReplies)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java new file mode 100644 index 00000000..a18af03d --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java @@ -0,0 +1,284 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdThumbnail; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdFile + */ +@JsonPropertyOrder({ + SendBirdSendbirdFile.JSON_PROPERTY_URL, + SendBirdSendbirdFile.JSON_PROPERTY_FILE_NAME, + SendBirdSendbirdFile.JSON_PROPERTY_FILE_SIZE, + SendBirdSendbirdFile.JSON_PROPERTY_FILE_TYPE, + SendBirdSendbirdFile.JSON_PROPERTY_THUMBNAILS, + SendBirdSendbirdFile.JSON_PROPERTY_REQUIRE_AUTH +}) +@JsonTypeName("Sendbird.File") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdFile { + public static final String JSON_PROPERTY_URL = "url"; + private String url; + + public static final String JSON_PROPERTY_FILE_NAME = "file_name"; + private String fileName; + + public static final String JSON_PROPERTY_FILE_SIZE = "file_size"; + private Integer fileSize; + + public static final String JSON_PROPERTY_FILE_TYPE = "file_type"; + private String fileType; + + public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; + private List thumbnails = null; + + public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; + private Boolean requireAuth; + + public SendBirdSendbirdFile() { + } + + public SendBirdSendbirdFile url(String url) { + this.url = url; + return this; + } + + /** + * Get url + * @return url + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getUrl() { + return url; + } + + + @JsonProperty(JSON_PROPERTY_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUrl(String url) { + this.url = url; + } + + + public SendBirdSendbirdFile fileName(String fileName) { + this.fileName = fileName; + return this; + } + + /** + * Get fileName + * @return fileName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILE_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getFileName() { + return fileName; + } + + + @JsonProperty(JSON_PROPERTY_FILE_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFileName(String fileName) { + this.fileName = fileName; + } + + + public SendBirdSendbirdFile fileSize(Integer fileSize) { + this.fileSize = fileSize; + return this; + } + + /** + * Get fileSize + * @return fileSize + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILE_SIZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getFileSize() { + return fileSize; + } + + + @JsonProperty(JSON_PROPERTY_FILE_SIZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFileSize(Integer fileSize) { + this.fileSize = fileSize; + } + + + public SendBirdSendbirdFile fileType(String fileType) { + this.fileType = fileType; + return this; + } + + /** + * Get fileType + * @return fileType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getFileType() { + return fileType; + } + + + @JsonProperty(JSON_PROPERTY_FILE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFileType(String fileType) { + this.fileType = fileType; + } + + + public SendBirdSendbirdFile thumbnails(List thumbnails) { + this.thumbnails = thumbnails; + return this; + } + + public SendBirdSendbirdFile addThumbnailsItem(SendBirdSendbirdThumbnail thumbnailsItem) { + if (this.thumbnails == null) { + this.thumbnails = new ArrayList<>(); + } + this.thumbnails.add(thumbnailsItem); + return this; + } + + /** + * Get thumbnails + * @return thumbnails + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_THUMBNAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getThumbnails() { + return thumbnails; + } + + + @JsonProperty(JSON_PROPERTY_THUMBNAILS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThumbnails(List thumbnails) { + this.thumbnails = thumbnails; + } + + + public SendBirdSendbirdFile requireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + return this; + } + + /** + * Get requireAuth + * @return requireAuth + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getRequireAuth() { + return requireAuth; + } + + + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRequireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + } + + + /** + * Return true if this Sendbird.File object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdFile sendbirdFile = (SendBirdSendbirdFile) o; + return Objects.equals(this.url, sendbirdFile.url) && + Objects.equals(this.fileName, sendbirdFile.fileName) && + Objects.equals(this.fileSize, sendbirdFile.fileSize) && + Objects.equals(this.fileType, sendbirdFile.fileType) && + Objects.equals(this.thumbnails, sendbirdFile.thumbnails) && + Objects.equals(this.requireAuth, sendbirdFile.requireAuth); + } + + @Override + public int hashCode() { + return Objects.hash(url, fileName, fileSize, fileType, thumbnails, requireAuth); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdFile {\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n"); + sb.append(" fileSize: ").append(toIndentedString(fileSize)).append("\n"); + sb.append(" fileType: ").append(toIndentedString(fileType)).append("\n"); + sb.append(" thumbnails: ").append(toIndentedString(thumbnails)).append("\n"); + sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java new file mode 100644 index 00000000..dc81bcb3 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java @@ -0,0 +1,1736 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdSendbirdMember; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendbirdSmsFallback; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdGroupChannel + */ +@JsonPropertyOrder({ + SendBirdSendbirdGroupChannel.JSON_PROPERTY_CHANNEL_URL, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_COUNT_PREFERENCE, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_COVER_URL, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_CREATED_AT, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_CREATED_BY, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_DATA, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_DELIVERY_RECEIPT, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_DISAPPEARING_MESSAGE, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_FREEZE, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_HAS_AI_BOT, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_HAS_BOT, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_HIDDEN_STATE, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_INVITED_AT, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_INVITER, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_BROADCAST, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_DISCOVERABLE, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_DISTINCT, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_EXCLUSIVE, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_HIDDEN, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_MUTED, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_PUBLIC, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_PUSH_ENABLED, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_SUPER, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_JOINED_MEMBER_COUNT, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_JOINED_TS, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_LAST_MESSAGE, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_MEMBER_COUNT, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_MEMBER_STATE, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_MEMBERS, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_METADATA, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_MY_ROLE, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_NAME, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_READ_RECEIPT, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_SMS_FALLBACK, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_TS_MESSAGE_OFFSET, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_UNREAD_MENTION_COUNT, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, + SendBirdSendbirdGroupChannel.JSON_PROPERTY_USER_LAST_READ +}) +@JsonTypeName("Sendbird.GroupChannel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdGroupChannel { + public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; + private String channelUrl; + + /** + * Gets or Sets countPreference + */ + public enum CountPreferenceEnum { + FALSE("false"), + + ALL("all"), + + UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), + + UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); + + private String value; + + CountPreferenceEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static CountPreferenceEnum fromValue(String value) { + for (CountPreferenceEnum b : CountPreferenceEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; + private CountPreferenceEnum countPreference; + + public static final String JSON_PROPERTY_COVER_URL = "cover_url"; + private String coverUrl; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_CREATED_BY = "created_by"; + private SendBirdSendbirdBasicUserInfo createdBy; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DELIVERY_RECEIPT = "delivery_receipt"; + private Object deliveryReceipt; + + public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; + private SendBirdSendbirdDisappearingMessage disappearingMessage; + + public static final String JSON_PROPERTY_FREEZE = "freeze"; + private Boolean freeze; + + public static final String JSON_PROPERTY_HAS_AI_BOT = "has_ai_bot"; + private Boolean hasAiBot; + + public static final String JSON_PROPERTY_HAS_BOT = "has_bot"; + private Boolean hasBot; + + /** + * Gets or Sets hiddenState + */ + public enum HiddenStateEnum { + HIDDEN_ALLOW_AUTO_UNHIDE("hidden_allow_auto_unhide"), + + HIDDEN_PREVENT_AUTO_UNHIDE("hidden_prevent_auto_unhide"), + + UNHIDDEN("unhidden"); + + private String value; + + HiddenStateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static HiddenStateEnum fromValue(String value) { + for (HiddenStateEnum b : HiddenStateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_HIDDEN_STATE = "hidden_state"; + private HiddenStateEnum hiddenState; + + public static final String JSON_PROPERTY_IGNORE_PROFANITY_FILTER = "ignore_profanity_filter"; + private Boolean ignoreProfanityFilter; + + public static final String JSON_PROPERTY_INVITED_AT = "invited_at"; + private Long invitedAt; + + public static final String JSON_PROPERTY_INVITER = "inviter"; + private SendBirdSendbirdBasicUserInfo inviter; + + public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; + private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_IS_BROADCAST = "is_broadcast"; + private Boolean isBroadcast; + + public static final String JSON_PROPERTY_IS_DISCOVERABLE = "is_discoverable"; + private Boolean isDiscoverable; + + public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; + private Boolean isDistinct; + + public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; + private Boolean isEphemeral; + + public static final String JSON_PROPERTY_IS_EXCLUSIVE = "is_exclusive"; + private Boolean isExclusive; + + public static final String JSON_PROPERTY_IS_HIDDEN = "is_hidden"; + private Boolean isHidden; + + public static final String JSON_PROPERTY_IS_MUTED = "is_muted"; + private Boolean isMuted; + + public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; + private Boolean isPublic; + + public static final String JSON_PROPERTY_IS_PUSH_ENABLED = "is_push_enabled"; + private Boolean isPushEnabled; + + public static final String JSON_PROPERTY_IS_SUPER = "is_super"; + private Boolean isSuper; + + public static final String JSON_PROPERTY_JOINED_MEMBER_COUNT = "joined_member_count"; + private Integer joinedMemberCount; + + public static final String JSON_PROPERTY_JOINED_TS = "joined_ts"; + private JsonNullable joinedTs = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; + private SendBirdSendbirdGroupChannelLastMessage lastMessage; + + public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; + private Integer maxLengthMessage; + + public static final String JSON_PROPERTY_MEMBER_COUNT = "member_count"; + private Integer memberCount; + + /** + * Gets or Sets memberState + */ + public enum MemberStateEnum { + INVITED("invited"), + + JOINED("joined"), + + NONE("none"); + + private String value; + + MemberStateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MemberStateEnum fromValue(String value) { + for (MemberStateEnum b : MemberStateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MEMBER_STATE = "member_state"; + private MemberStateEnum memberState; + + public static final String JSON_PROPERTY_MEMBERS = "members"; + private List members = null; + + public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; + private Integer messageSurvivalSeconds; + + public static final String JSON_PROPERTY_METADATA = "metadata"; + private JsonNullable metadata = JsonNullable.undefined(); + + /** + * Gets or Sets myRole + */ + public enum MyRoleEnum { + EMPTY(""), + + NONE("none"), + + OPERATOR("operator"); + + private String value; + + MyRoleEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MyRoleEnum fromValue(String value) { + for (MyRoleEnum b : MyRoleEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MY_ROLE = "my_role"; + private MyRoleEnum myRole; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; + private SendBirdSendbirdPushTriggerOption pushTriggerOption; + + public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; + private Map readReceipt = null; + + public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; + private SendBirdSendbirdSmsFallback smsFallback; + + public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; + private Long tsMessageOffset; + + public static final String JSON_PROPERTY_UNREAD_MENTION_COUNT = "unread_mention_count"; + private Integer unreadMentionCount; + + public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; + private Integer unreadMessageCount; + + public static final String JSON_PROPERTY_USER_LAST_READ = "user_last_read"; + private Long userLastRead; + + public SendBirdSendbirdGroupChannel() { + } + + public SendBirdSendbirdGroupChannel channelUrl(String channelUrl) { + this.channelUrl = channelUrl; + return this; + } + + /** + * Get channelUrl + * @return channelUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getChannelUrl() { + return channelUrl; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setChannelUrl(String channelUrl) { + this.channelUrl = channelUrl; + } + + + public SendBirdSendbirdGroupChannel countPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + return this; + } + + /** + * Get countPreference + * @return countPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public CountPreferenceEnum getCountPreference() { + return countPreference; + } + + + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCountPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + } + + + public SendBirdSendbirdGroupChannel coverUrl(String coverUrl) { + this.coverUrl = coverUrl; + return this; + } + + /** + * Get coverUrl + * @return coverUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCoverUrl() { + return coverUrl; + } + + + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverUrl(String coverUrl) { + this.coverUrl = coverUrl; + } + + + public SendBirdSendbirdGroupChannel createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdSendbirdGroupChannel createdBy(SendBirdSendbirdBasicUserInfo createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * Get createdBy + * @return createdBy + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getCreatedBy() { + return createdBy; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedBy(SendBirdSendbirdBasicUserInfo createdBy) { + this.createdBy = createdBy; + } + + + public SendBirdSendbirdGroupChannel customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdSendbirdGroupChannel data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdSendbirdGroupChannel deliveryReceipt(Object deliveryReceipt) { + this.deliveryReceipt = deliveryReceipt; + return this; + } + + /** + * Get deliveryReceipt + * @return deliveryReceipt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getDeliveryReceipt() { + return deliveryReceipt; + } + + + @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDeliveryReceipt(Object deliveryReceipt) { + this.deliveryReceipt = deliveryReceipt; + } + + + public SendBirdSendbirdGroupChannel disappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + this.disappearingMessage = disappearingMessage; + return this; + } + + /** + * Get disappearingMessage + * @return disappearingMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdDisappearingMessage getDisappearingMessage() { + return disappearingMessage; + } + + + @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDisappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + this.disappearingMessage = disappearingMessage; + } + + + public SendBirdSendbirdGroupChannel freeze(Boolean freeze) { + this.freeze = freeze; + return this; + } + + /** + * Get freeze + * @return freeze + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getFreeze() { + return freeze; + } + + + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFreeze(Boolean freeze) { + this.freeze = freeze; + } + + + public SendBirdSendbirdGroupChannel hasAiBot(Boolean hasAiBot) { + this.hasAiBot = hasAiBot; + return this; + } + + /** + * Get hasAiBot + * @return hasAiBot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getHasAiBot() { + return hasAiBot; + } + + + @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHasAiBot(Boolean hasAiBot) { + this.hasAiBot = hasAiBot; + } + + + public SendBirdSendbirdGroupChannel hasBot(Boolean hasBot) { + this.hasBot = hasBot; + return this; + } + + /** + * Get hasBot + * @return hasBot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HAS_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getHasBot() { + return hasBot; + } + + + @JsonProperty(JSON_PROPERTY_HAS_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHasBot(Boolean hasBot) { + this.hasBot = hasBot; + } + + + public SendBirdSendbirdGroupChannel hiddenState(HiddenStateEnum hiddenState) { + this.hiddenState = hiddenState; + return this; + } + + /** + * Get hiddenState + * @return hiddenState + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public HiddenStateEnum getHiddenState() { + return hiddenState; + } + + + @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHiddenState(HiddenStateEnum hiddenState) { + this.hiddenState = hiddenState; + } + + + public SendBirdSendbirdGroupChannel ignoreProfanityFilter(Boolean ignoreProfanityFilter) { + this.ignoreProfanityFilter = ignoreProfanityFilter; + return this; + } + + /** + * Get ignoreProfanityFilter + * @return ignoreProfanityFilter + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreProfanityFilter() { + return ignoreProfanityFilter; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { + this.ignoreProfanityFilter = ignoreProfanityFilter; + } + + + public SendBirdSendbirdGroupChannel invitedAt(Long invitedAt) { + this.invitedAt = invitedAt; + return this; + } + + /** + * Get invitedAt + * @return invitedAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INVITED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getInvitedAt() { + return invitedAt; + } + + + @JsonProperty(JSON_PROPERTY_INVITED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setInvitedAt(Long invitedAt) { + this.invitedAt = invitedAt; + } + + + public SendBirdSendbirdGroupChannel inviter(SendBirdSendbirdBasicUserInfo inviter) { + this.inviter = inviter; + return this; + } + + /** + * Get inviter + * @return inviter + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_INVITER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getInviter() { + return inviter; + } + + + @JsonProperty(JSON_PROPERTY_INVITER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setInviter(SendBirdSendbirdBasicUserInfo inviter) { + this.inviter = inviter; + } + + + public SendBirdSendbirdGroupChannel isAccessCodeRequired(Boolean isAccessCodeRequired) { + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); + return this; + } + + /** + * Get isAccessCodeRequired + * @return isAccessCodeRequired + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Boolean getIsAccessCodeRequired() { + return isAccessCodeRequired.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getIsAccessCodeRequired_JsonNullable() { + return isAccessCodeRequired; + } + + @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) + public void setIsAccessCodeRequired_JsonNullable(JsonNullable isAccessCodeRequired) { + this.isAccessCodeRequired = isAccessCodeRequired; + } + + public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { + this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); + } + + + public SendBirdSendbirdGroupChannel isBroadcast(Boolean isBroadcast) { + this.isBroadcast = isBroadcast; + return this; + } + + /** + * Get isBroadcast + * @return isBroadcast + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_BROADCAST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsBroadcast() { + return isBroadcast; + } + + + @JsonProperty(JSON_PROPERTY_IS_BROADCAST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsBroadcast(Boolean isBroadcast) { + this.isBroadcast = isBroadcast; + } + + + public SendBirdSendbirdGroupChannel isDiscoverable(Boolean isDiscoverable) { + this.isDiscoverable = isDiscoverable; + return this; + } + + /** + * Get isDiscoverable + * @return isDiscoverable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDiscoverable() { + return isDiscoverable; + } + + + @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDiscoverable(Boolean isDiscoverable) { + this.isDiscoverable = isDiscoverable; + } + + + public SendBirdSendbirdGroupChannel isDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + return this; + } + + /** + * Get isDistinct + * @return isDistinct + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDistinct() { + return isDistinct; + } + + + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + } + + + public SendBirdSendbirdGroupChannel isEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + return this; + } + + /** + * Get isEphemeral + * @return isEphemeral + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsEphemeral() { + return isEphemeral; + } + + + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + } + + + public SendBirdSendbirdGroupChannel isExclusive(Boolean isExclusive) { + this.isExclusive = isExclusive; + return this; + } + + /** + * Get isExclusive + * @return isExclusive + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsExclusive() { + return isExclusive; + } + + + @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsExclusive(Boolean isExclusive) { + this.isExclusive = isExclusive; + } + + + public SendBirdSendbirdGroupChannel isHidden(Boolean isHidden) { + this.isHidden = isHidden; + return this; + } + + /** + * Get isHidden + * @return isHidden + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_HIDDEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsHidden() { + return isHidden; + } + + + @JsonProperty(JSON_PROPERTY_IS_HIDDEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsHidden(Boolean isHidden) { + this.isHidden = isHidden; + } + + + public SendBirdSendbirdGroupChannel isMuted(Boolean isMuted) { + this.isMuted = isMuted; + return this; + } + + /** + * Get isMuted + * @return isMuted + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_MUTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsMuted() { + return isMuted; + } + + + @JsonProperty(JSON_PROPERTY_IS_MUTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsMuted(Boolean isMuted) { + this.isMuted = isMuted; + } + + + public SendBirdSendbirdGroupChannel isPublic(Boolean isPublic) { + this.isPublic = isPublic; + return this; + } + + /** + * Get isPublic + * @return isPublic + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPublic() { + return isPublic; + } + + + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPublic(Boolean isPublic) { + this.isPublic = isPublic; + } + + + public SendBirdSendbirdGroupChannel isPushEnabled(Boolean isPushEnabled) { + this.isPushEnabled = isPushEnabled; + return this; + } + + /** + * Get isPushEnabled + * @return isPushEnabled + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPushEnabled() { + return isPushEnabled; + } + + + @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPushEnabled(Boolean isPushEnabled) { + this.isPushEnabled = isPushEnabled; + } + + + public SendBirdSendbirdGroupChannel isSuper(Boolean isSuper) { + this.isSuper = isSuper; + return this; + } + + /** + * Get isSuper + * @return isSuper + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSuper() { + return isSuper; + } + + + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSuper(Boolean isSuper) { + this.isSuper = isSuper; + } + + + public SendBirdSendbirdGroupChannel joinedMemberCount(Integer joinedMemberCount) { + this.joinedMemberCount = joinedMemberCount; + return this; + } + + /** + * Get joinedMemberCount + * @return joinedMemberCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getJoinedMemberCount() { + return joinedMemberCount; + } + + + @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setJoinedMemberCount(Integer joinedMemberCount) { + this.joinedMemberCount = joinedMemberCount; + } + + + public SendBirdSendbirdGroupChannel joinedTs(Long joinedTs) { + this.joinedTs = JsonNullable.of(joinedTs); + return this; + } + + /** + * Get joinedTs + * @return joinedTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Long getJoinedTs() { + return joinedTs.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_JOINED_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getJoinedTs_JsonNullable() { + return joinedTs; + } + + @JsonProperty(JSON_PROPERTY_JOINED_TS) + public void setJoinedTs_JsonNullable(JsonNullable joinedTs) { + this.joinedTs = joinedTs; + } + + public void setJoinedTs(Long joinedTs) { + this.joinedTs = JsonNullable.of(joinedTs); + } + + + public SendBirdSendbirdGroupChannel lastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + this.lastMessage = lastMessage; + return this; + } + + /** + * Get lastMessage + * @return lastMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdGroupChannelLastMessage getLastMessage() { + return lastMessage; + } + + + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + this.lastMessage = lastMessage; + } + + + public SendBirdSendbirdGroupChannel maxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + return this; + } + + /** + * Get maxLengthMessage + * @return maxLengthMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMaxLengthMessage() { + return maxLengthMessage; + } + + + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMaxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + } + + + public SendBirdSendbirdGroupChannel memberCount(Integer memberCount) { + this.memberCount = memberCount; + return this; + } + + /** + * Get memberCount + * @return memberCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMemberCount() { + return memberCount; + } + + + @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMemberCount(Integer memberCount) { + this.memberCount = memberCount; + } + + + public SendBirdSendbirdGroupChannel memberState(MemberStateEnum memberState) { + this.memberState = memberState; + return this; + } + + /** + * Get memberState + * @return memberState + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBER_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public MemberStateEnum getMemberState() { + return memberState; + } + + + @JsonProperty(JSON_PROPERTY_MEMBER_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMemberState(MemberStateEnum memberState) { + this.memberState = memberState; + } + + + public SendBirdSendbirdGroupChannel members(List members) { + this.members = members; + return this; + } + + public SendBirdSendbirdGroupChannel addMembersItem(SendBirdSendbirdMember membersItem) { + if (this.members == null) { + this.members = new ArrayList<>(); + } + this.members.add(membersItem); + return this; + } + + /** + * Get members + * @return members + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMembers() { + return members; + } + + + @JsonProperty(JSON_PROPERTY_MEMBERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMembers(List members) { + this.members = members; + } + + + public SendBirdSendbirdGroupChannel messageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + return this; + } + + /** + * Get messageSurvivalSeconds + * @return messageSurvivalSeconds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMessageSurvivalSeconds() { + return messageSurvivalSeconds; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + } + + + public SendBirdSendbirdGroupChannel metadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Object getMetadata() { + return metadata.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { + this.metadata = metadata; + } + + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + + + public SendBirdSendbirdGroupChannel myRole(MyRoleEnum myRole) { + this.myRole = myRole; + return this; + } + + /** + * Get myRole + * @return myRole + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MY_ROLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public MyRoleEnum getMyRole() { + return myRole; + } + + + @JsonProperty(JSON_PROPERTY_MY_ROLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMyRole(MyRoleEnum myRole) { + this.myRole = myRole; + } + + + public SendBirdSendbirdGroupChannel name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + public SendBirdSendbirdGroupChannel pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + return this; + } + + /** + * Get pushTriggerOption + * @return pushTriggerOption + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + return pushTriggerOption; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + } + + + public SendBirdSendbirdGroupChannel readReceipt(Map readReceipt) { + this.readReceipt = readReceipt; + return this; + } + + public SendBirdSendbirdGroupChannel putReadReceiptItem(String key, Long readReceiptItem) { + if (this.readReceipt == null) { + this.readReceipt = new HashMap<>(); + } + this.readReceipt.put(key, readReceiptItem); + return this; + } + + /** + * Get readReceipt + * @return readReceipt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_READ_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Map getReadReceipt() { + return readReceipt; + } + + + @JsonProperty(JSON_PROPERTY_READ_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReadReceipt(Map readReceipt) { + this.readReceipt = readReceipt; + } + + + public SendBirdSendbirdGroupChannel smsFallback(SendBirdSendbirdSmsFallback smsFallback) { + this.smsFallback = smsFallback; + return this; + } + + /** + * Get smsFallback + * @return smsFallback + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdSmsFallback getSmsFallback() { + return smsFallback; + } + + + @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSmsFallback(SendBirdSendbirdSmsFallback smsFallback) { + this.smsFallback = smsFallback; + } + + + public SendBirdSendbirdGroupChannel tsMessageOffset(Long tsMessageOffset) { + this.tsMessageOffset = tsMessageOffset; + return this; + } + + /** + * Get tsMessageOffset + * @return tsMessageOffset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getTsMessageOffset() { + return tsMessageOffset; + } + + + @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTsMessageOffset(Long tsMessageOffset) { + this.tsMessageOffset = tsMessageOffset; + } + + + public SendBirdSendbirdGroupChannel unreadMentionCount(Integer unreadMentionCount) { + this.unreadMentionCount = unreadMentionCount; + return this; + } + + /** + * Get unreadMentionCount + * @return unreadMentionCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadMentionCount() { + return unreadMentionCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadMentionCount(Integer unreadMentionCount) { + this.unreadMentionCount = unreadMentionCount; + } + + + public SendBirdSendbirdGroupChannel unreadMessageCount(Integer unreadMessageCount) { + this.unreadMessageCount = unreadMessageCount; + return this; + } + + /** + * Get unreadMessageCount + * @return unreadMessageCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadMessageCount() { + return unreadMessageCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadMessageCount(Integer unreadMessageCount) { + this.unreadMessageCount = unreadMessageCount; + } + + + public SendBirdSendbirdGroupChannel userLastRead(Long userLastRead) { + this.userLastRead = userLastRead; + return this; + } + + /** + * Get userLastRead + * @return userLastRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER_LAST_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getUserLastRead() { + return userLastRead; + } + + + @JsonProperty(JSON_PROPERTY_USER_LAST_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUserLastRead(Long userLastRead) { + this.userLastRead = userLastRead; + } + + + /** + * Return true if this Sendbird.GroupChannel object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdGroupChannel sendbirdGroupChannel = (SendBirdSendbirdGroupChannel) o; + return Objects.equals(this.channelUrl, sendbirdGroupChannel.channelUrl) && + Objects.equals(this.countPreference, sendbirdGroupChannel.countPreference) && + Objects.equals(this.coverUrl, sendbirdGroupChannel.coverUrl) && + Objects.equals(this.createdAt, sendbirdGroupChannel.createdAt) && + Objects.equals(this.createdBy, sendbirdGroupChannel.createdBy) && + Objects.equals(this.customType, sendbirdGroupChannel.customType) && + Objects.equals(this.data, sendbirdGroupChannel.data) && + Objects.equals(this.deliveryReceipt, sendbirdGroupChannel.deliveryReceipt) && + Objects.equals(this.disappearingMessage, sendbirdGroupChannel.disappearingMessage) && + Objects.equals(this.freeze, sendbirdGroupChannel.freeze) && + Objects.equals(this.hasAiBot, sendbirdGroupChannel.hasAiBot) && + Objects.equals(this.hasBot, sendbirdGroupChannel.hasBot) && + Objects.equals(this.hiddenState, sendbirdGroupChannel.hiddenState) && + Objects.equals(this.ignoreProfanityFilter, sendbirdGroupChannel.ignoreProfanityFilter) && + Objects.equals(this.invitedAt, sendbirdGroupChannel.invitedAt) && + Objects.equals(this.inviter, sendbirdGroupChannel.inviter) && + equalsNullable(this.isAccessCodeRequired, sendbirdGroupChannel.isAccessCodeRequired) && + Objects.equals(this.isBroadcast, sendbirdGroupChannel.isBroadcast) && + Objects.equals(this.isDiscoverable, sendbirdGroupChannel.isDiscoverable) && + Objects.equals(this.isDistinct, sendbirdGroupChannel.isDistinct) && + Objects.equals(this.isEphemeral, sendbirdGroupChannel.isEphemeral) && + Objects.equals(this.isExclusive, sendbirdGroupChannel.isExclusive) && + Objects.equals(this.isHidden, sendbirdGroupChannel.isHidden) && + Objects.equals(this.isMuted, sendbirdGroupChannel.isMuted) && + Objects.equals(this.isPublic, sendbirdGroupChannel.isPublic) && + Objects.equals(this.isPushEnabled, sendbirdGroupChannel.isPushEnabled) && + Objects.equals(this.isSuper, sendbirdGroupChannel.isSuper) && + Objects.equals(this.joinedMemberCount, sendbirdGroupChannel.joinedMemberCount) && + equalsNullable(this.joinedTs, sendbirdGroupChannel.joinedTs) && + Objects.equals(this.lastMessage, sendbirdGroupChannel.lastMessage) && + Objects.equals(this.maxLengthMessage, sendbirdGroupChannel.maxLengthMessage) && + Objects.equals(this.memberCount, sendbirdGroupChannel.memberCount) && + Objects.equals(this.memberState, sendbirdGroupChannel.memberState) && + Objects.equals(this.members, sendbirdGroupChannel.members) && + Objects.equals(this.messageSurvivalSeconds, sendbirdGroupChannel.messageSurvivalSeconds) && + equalsNullable(this.metadata, sendbirdGroupChannel.metadata) && + Objects.equals(this.myRole, sendbirdGroupChannel.myRole) && + Objects.equals(this.name, sendbirdGroupChannel.name) && + Objects.equals(this.pushTriggerOption, sendbirdGroupChannel.pushTriggerOption) && + Objects.equals(this.readReceipt, sendbirdGroupChannel.readReceipt) && + Objects.equals(this.smsFallback, sendbirdGroupChannel.smsFallback) && + Objects.equals(this.tsMessageOffset, sendbirdGroupChannel.tsMessageOffset) && + Objects.equals(this.unreadMentionCount, sendbirdGroupChannel.unreadMentionCount) && + Objects.equals(this.unreadMessageCount, sendbirdGroupChannel.unreadMessageCount) && + Objects.equals(this.userLastRead, sendbirdGroupChannel.userLastRead); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, hashCodeNullable(isAccessCodeRequired), isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, hashCodeNullable(joinedTs), lastMessage, maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, hashCodeNullable(metadata), myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdGroupChannel {\n"); + sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); + sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); + sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" deliveryReceipt: ").append(toIndentedString(deliveryReceipt)).append("\n"); + sb.append(" disappearingMessage: ").append(toIndentedString(disappearingMessage)).append("\n"); + sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); + sb.append(" hasAiBot: ").append(toIndentedString(hasAiBot)).append("\n"); + sb.append(" hasBot: ").append(toIndentedString(hasBot)).append("\n"); + sb.append(" hiddenState: ").append(toIndentedString(hiddenState)).append("\n"); + sb.append(" ignoreProfanityFilter: ").append(toIndentedString(ignoreProfanityFilter)).append("\n"); + sb.append(" invitedAt: ").append(toIndentedString(invitedAt)).append("\n"); + sb.append(" inviter: ").append(toIndentedString(inviter)).append("\n"); + sb.append(" isAccessCodeRequired: ").append(toIndentedString(isAccessCodeRequired)).append("\n"); + sb.append(" isBroadcast: ").append(toIndentedString(isBroadcast)).append("\n"); + sb.append(" isDiscoverable: ").append(toIndentedString(isDiscoverable)).append("\n"); + sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); + sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); + sb.append(" isExclusive: ").append(toIndentedString(isExclusive)).append("\n"); + sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n"); + sb.append(" isMuted: ").append(toIndentedString(isMuted)).append("\n"); + sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); + sb.append(" isPushEnabled: ").append(toIndentedString(isPushEnabled)).append("\n"); + sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); + sb.append(" joinedMemberCount: ").append(toIndentedString(joinedMemberCount)).append("\n"); + sb.append(" joinedTs: ").append(toIndentedString(joinedTs)).append("\n"); + sb.append(" lastMessage: ").append(toIndentedString(lastMessage)).append("\n"); + sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); + sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); + sb.append(" memberState: ").append(toIndentedString(memberState)).append("\n"); + sb.append(" members: ").append(toIndentedString(members)).append("\n"); + sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" myRole: ").append(toIndentedString(myRole)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); + sb.append(" readReceipt: ").append(toIndentedString(readReceipt)).append("\n"); + sb.append(" smsFallback: ").append(toIndentedString(smsFallback)).append("\n"); + sb.append(" tsMessageOffset: ").append(toIndentedString(tsMessageOffset)).append("\n"); + sb.append(" unreadMentionCount: ").append(toIndentedString(unreadMentionCount)).append("\n"); + sb.append(" unreadMessageCount: ").append(toIndentedString(unreadMessageCount)).append("\n"); + sb.append(" userLastRead: ").append(toIndentedString(userLastRead)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java new file mode 100644 index 00000000..8a324d93 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java @@ -0,0 +1,1180 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendBirdSendbirdMember; +import org.openapitools.client.model.SendBirdSendbirdMessageResponse; +import org.openapitools.client.model.SendBirdSendbirdSmsFallback; +import org.openapitools.client.model.SendBirdSendbirdUser; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdGroupChannelDetail + */ +@JsonPropertyOrder({ + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_CHANNEL, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_CHANNEL_URL, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_COVER_URL, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_CREATED_AT, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_CREATED_BY, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_DATA, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_DELIVERY_RECEIPT, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_DISAPPEARING_MESSAGE, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_FREEZE, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_HAS_AI_BOT, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_HAS_BOT, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_ID, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_BROADCAST, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_DISCOVERABLE, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_DISTINCT, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_PUBLIC, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_SUPER, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_JOINED_MEMBER_COUNT, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_LAST_MESSAGE, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_MEMBER_COUNT, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_MEMBERS, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_NAME, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_OPERATORS, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_READ_RECEIPT, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_SMS_FALLBACK, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MENTION_COUNT, + SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MESSAGE_COUNT +}) +@JsonTypeName("Sendbird.GroupChannelDetail") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdGroupChannelDetail { + public static final String JSON_PROPERTY_CHANNEL = "channel"; + private SendBirdSendbirdGroupChannelDetailChannel channel; + + public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; + private String channelUrl; + + public static final String JSON_PROPERTY_COVER_URL = "cover_url"; + private String coverUrl; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_CREATED_BY = "created_by"; + private SendBirdSendbirdBasicUserInfo createdBy; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_DELIVERY_RECEIPT = "delivery_receipt"; + private Map deliveryReceipt = null; + + public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; + private SendBirdSendbirdDisappearingMessage disappearingMessage; + + public static final String JSON_PROPERTY_FREEZE = "freeze"; + private Boolean freeze; + + public static final String JSON_PROPERTY_HAS_AI_BOT = "has_ai_bot"; + private Boolean hasAiBot; + + public static final String JSON_PROPERTY_HAS_BOT = "has_bot"; + private Boolean hasBot; + + public static final String JSON_PROPERTY_ID = "id"; + private Integer id; + + public static final String JSON_PROPERTY_IGNORE_PROFANITY_FILTER = "ignore_profanity_filter"; + private Boolean ignoreProfanityFilter; + + public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; + private Boolean isAccessCodeRequired; + + public static final String JSON_PROPERTY_IS_BROADCAST = "is_broadcast"; + private Boolean isBroadcast; + + public static final String JSON_PROPERTY_IS_DISCOVERABLE = "is_discoverable"; + private Boolean isDiscoverable; + + public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; + private Boolean isDistinct; + + public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; + private Boolean isEphemeral; + + public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; + private Boolean isPublic; + + public static final String JSON_PROPERTY_IS_SUPER = "is_super"; + private Boolean isSuper; + + public static final String JSON_PROPERTY_JOINED_MEMBER_COUNT = "joined_member_count"; + private Integer joinedMemberCount; + + public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; + private SendBirdSendbirdMessageResponse lastMessage; + + public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; + private Integer maxLengthMessage; + + public static final String JSON_PROPERTY_MEMBER_COUNT = "member_count"; + private Integer memberCount; + + public static final String JSON_PROPERTY_MEMBERS = "members"; + private List members = null; + + public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; + private Integer messageSurvivalSeconds; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_OPERATORS = "operators"; + private List operators = null; + + public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; + private Map readReceipt = null; + + public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; + private SendBirdSendbirdSmsFallback smsFallback; + + public static final String JSON_PROPERTY_UNREAD_MENTION_COUNT = "unread_mention_count"; + private Integer unreadMentionCount; + + public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; + private Integer unreadMessageCount; + + public SendBirdSendbirdGroupChannelDetail() { + } + + public SendBirdSendbirdGroupChannelDetail channel(SendBirdSendbirdGroupChannelDetailChannel channel) { + this.channel = channel; + return this; + } + + /** + * Get channel + * @return channel + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdGroupChannelDetailChannel getChannel() { + return channel; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannel(SendBirdSendbirdGroupChannelDetailChannel channel) { + this.channel = channel; + } + + + public SendBirdSendbirdGroupChannelDetail channelUrl(String channelUrl) { + this.channelUrl = channelUrl; + return this; + } + + /** + * Get channelUrl + * @return channelUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getChannelUrl() { + return channelUrl; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setChannelUrl(String channelUrl) { + this.channelUrl = channelUrl; + } + + + public SendBirdSendbirdGroupChannelDetail coverUrl(String coverUrl) { + this.coverUrl = coverUrl; + return this; + } + + /** + * Get coverUrl + * @return coverUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCoverUrl() { + return coverUrl; + } + + + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverUrl(String coverUrl) { + this.coverUrl = coverUrl; + } + + + public SendBirdSendbirdGroupChannelDetail createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdSendbirdGroupChannelDetail createdBy(SendBirdSendbirdBasicUserInfo createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + * Get createdBy + * @return createdBy + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getCreatedBy() { + return createdBy; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedBy(SendBirdSendbirdBasicUserInfo createdBy) { + this.createdBy = createdBy; + } + + + public SendBirdSendbirdGroupChannelDetail customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdSendbirdGroupChannelDetail data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdSendbirdGroupChannelDetail deliveryReceipt(Map deliveryReceipt) { + this.deliveryReceipt = deliveryReceipt; + return this; + } + + public SendBirdSendbirdGroupChannelDetail putDeliveryReceiptItem(String key, Long deliveryReceiptItem) { + if (this.deliveryReceipt == null) { + this.deliveryReceipt = new HashMap<>(); + } + this.deliveryReceipt.put(key, deliveryReceiptItem); + return this; + } + + /** + * Get deliveryReceipt + * @return deliveryReceipt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Map getDeliveryReceipt() { + return deliveryReceipt; + } + + + @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDeliveryReceipt(Map deliveryReceipt) { + this.deliveryReceipt = deliveryReceipt; + } + + + public SendBirdSendbirdGroupChannelDetail disappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + this.disappearingMessage = disappearingMessage; + return this; + } + + /** + * Get disappearingMessage + * @return disappearingMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdDisappearingMessage getDisappearingMessage() { + return disappearingMessage; + } + + + @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDisappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + this.disappearingMessage = disappearingMessage; + } + + + public SendBirdSendbirdGroupChannelDetail freeze(Boolean freeze) { + this.freeze = freeze; + return this; + } + + /** + * Get freeze + * @return freeze + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getFreeze() { + return freeze; + } + + + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFreeze(Boolean freeze) { + this.freeze = freeze; + } + + + public SendBirdSendbirdGroupChannelDetail hasAiBot(Boolean hasAiBot) { + this.hasAiBot = hasAiBot; + return this; + } + + /** + * Get hasAiBot + * @return hasAiBot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getHasAiBot() { + return hasAiBot; + } + + + @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHasAiBot(Boolean hasAiBot) { + this.hasAiBot = hasAiBot; + } + + + public SendBirdSendbirdGroupChannelDetail hasBot(Boolean hasBot) { + this.hasBot = hasBot; + return this; + } + + /** + * Get hasBot + * @return hasBot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HAS_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getHasBot() { + return hasBot; + } + + + @JsonProperty(JSON_PROPERTY_HAS_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHasBot(Boolean hasBot) { + this.hasBot = hasBot; + } + + + public SendBirdSendbirdGroupChannelDetail id(Integer id) { + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getId() { + return id; + } + + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setId(Integer id) { + this.id = id; + } + + + public SendBirdSendbirdGroupChannelDetail ignoreProfanityFilter(Boolean ignoreProfanityFilter) { + this.ignoreProfanityFilter = ignoreProfanityFilter; + return this; + } + + /** + * Get ignoreProfanityFilter + * @return ignoreProfanityFilter + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreProfanityFilter() { + return ignoreProfanityFilter; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { + this.ignoreProfanityFilter = ignoreProfanityFilter; + } + + + public SendBirdSendbirdGroupChannelDetail isAccessCodeRequired(Boolean isAccessCodeRequired) { + this.isAccessCodeRequired = isAccessCodeRequired; + return this; + } + + /** + * Get isAccessCodeRequired + * @return isAccessCodeRequired + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsAccessCodeRequired() { + return isAccessCodeRequired; + } + + + @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { + this.isAccessCodeRequired = isAccessCodeRequired; + } + + + public SendBirdSendbirdGroupChannelDetail isBroadcast(Boolean isBroadcast) { + this.isBroadcast = isBroadcast; + return this; + } + + /** + * Get isBroadcast + * @return isBroadcast + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_BROADCAST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsBroadcast() { + return isBroadcast; + } + + + @JsonProperty(JSON_PROPERTY_IS_BROADCAST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsBroadcast(Boolean isBroadcast) { + this.isBroadcast = isBroadcast; + } + + + public SendBirdSendbirdGroupChannelDetail isDiscoverable(Boolean isDiscoverable) { + this.isDiscoverable = isDiscoverable; + return this; + } + + /** + * Get isDiscoverable + * @return isDiscoverable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDiscoverable() { + return isDiscoverable; + } + + + @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDiscoverable(Boolean isDiscoverable) { + this.isDiscoverable = isDiscoverable; + } + + + public SendBirdSendbirdGroupChannelDetail isDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + return this; + } + + /** + * Get isDistinct + * @return isDistinct + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDistinct() { + return isDistinct; + } + + + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + } + + + public SendBirdSendbirdGroupChannelDetail isEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + return this; + } + + /** + * Get isEphemeral + * @return isEphemeral + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsEphemeral() { + return isEphemeral; + } + + + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + } + + + public SendBirdSendbirdGroupChannelDetail isPublic(Boolean isPublic) { + this.isPublic = isPublic; + return this; + } + + /** + * Get isPublic + * @return isPublic + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPublic() { + return isPublic; + } + + + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPublic(Boolean isPublic) { + this.isPublic = isPublic; + } + + + public SendBirdSendbirdGroupChannelDetail isSuper(Boolean isSuper) { + this.isSuper = isSuper; + return this; + } + + /** + * Get isSuper + * @return isSuper + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSuper() { + return isSuper; + } + + + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSuper(Boolean isSuper) { + this.isSuper = isSuper; + } + + + public SendBirdSendbirdGroupChannelDetail joinedMemberCount(Integer joinedMemberCount) { + this.joinedMemberCount = joinedMemberCount; + return this; + } + + /** + * Get joinedMemberCount + * @return joinedMemberCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getJoinedMemberCount() { + return joinedMemberCount; + } + + + @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setJoinedMemberCount(Integer joinedMemberCount) { + this.joinedMemberCount = joinedMemberCount; + } + + + public SendBirdSendbirdGroupChannelDetail lastMessage(SendBirdSendbirdMessageResponse lastMessage) { + this.lastMessage = lastMessage; + return this; + } + + /** + * Get lastMessage + * @return lastMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdMessageResponse getLastMessage() { + return lastMessage; + } + + + @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastMessage(SendBirdSendbirdMessageResponse lastMessage) { + this.lastMessage = lastMessage; + } + + + public SendBirdSendbirdGroupChannelDetail maxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + return this; + } + + /** + * Get maxLengthMessage + * @return maxLengthMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMaxLengthMessage() { + return maxLengthMessage; + } + + + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMaxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + } + + + public SendBirdSendbirdGroupChannelDetail memberCount(Integer memberCount) { + this.memberCount = memberCount; + return this; + } + + /** + * Get memberCount + * @return memberCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMemberCount() { + return memberCount; + } + + + @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMemberCount(Integer memberCount) { + this.memberCount = memberCount; + } + + + public SendBirdSendbirdGroupChannelDetail members(List members) { + this.members = members; + return this; + } + + public SendBirdSendbirdGroupChannelDetail addMembersItem(SendBirdSendbirdMember membersItem) { + if (this.members == null) { + this.members = new ArrayList<>(); + } + this.members.add(membersItem); + return this; + } + + /** + * Get members + * @return members + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMembers() { + return members; + } + + + @JsonProperty(JSON_PROPERTY_MEMBERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMembers(List members) { + this.members = members; + } + + + public SendBirdSendbirdGroupChannelDetail messageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + return this; + } + + /** + * Get messageSurvivalSeconds + * @return messageSurvivalSeconds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMessageSurvivalSeconds() { + return messageSurvivalSeconds; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + } + + + public SendBirdSendbirdGroupChannelDetail name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + public SendBirdSendbirdGroupChannelDetail operators(List operators) { + this.operators = operators; + return this; + } + + public SendBirdSendbirdGroupChannelDetail addOperatorsItem(SendBirdSendbirdUser operatorsItem) { + if (this.operators == null) { + this.operators = new ArrayList<>(); + } + this.operators.add(operatorsItem); + return this; + } + + /** + * Get operators + * @return operators + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_OPERATORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getOperators() { + return operators; + } + + + @JsonProperty(JSON_PROPERTY_OPERATORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperators(List operators) { + this.operators = operators; + } + + + public SendBirdSendbirdGroupChannelDetail readReceipt(Map readReceipt) { + this.readReceipt = readReceipt; + return this; + } + + public SendBirdSendbirdGroupChannelDetail putReadReceiptItem(String key, Long readReceiptItem) { + if (this.readReceipt == null) { + this.readReceipt = new HashMap<>(); + } + this.readReceipt.put(key, readReceiptItem); + return this; + } + + /** + * Get readReceipt + * @return readReceipt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_READ_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Map getReadReceipt() { + return readReceipt; + } + + + @JsonProperty(JSON_PROPERTY_READ_RECEIPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReadReceipt(Map readReceipt) { + this.readReceipt = readReceipt; + } + + + public SendBirdSendbirdGroupChannelDetail smsFallback(SendBirdSendbirdSmsFallback smsFallback) { + this.smsFallback = smsFallback; + return this; + } + + /** + * Get smsFallback + * @return smsFallback + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdSmsFallback getSmsFallback() { + return smsFallback; + } + + + @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSmsFallback(SendBirdSendbirdSmsFallback smsFallback) { + this.smsFallback = smsFallback; + } + + + public SendBirdSendbirdGroupChannelDetail unreadMentionCount(Integer unreadMentionCount) { + this.unreadMentionCount = unreadMentionCount; + return this; + } + + /** + * Get unreadMentionCount + * @return unreadMentionCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadMentionCount() { + return unreadMentionCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadMentionCount(Integer unreadMentionCount) { + this.unreadMentionCount = unreadMentionCount; + } + + + public SendBirdSendbirdGroupChannelDetail unreadMessageCount(Integer unreadMessageCount) { + this.unreadMessageCount = unreadMessageCount; + return this; + } + + /** + * Get unreadMessageCount + * @return unreadMessageCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadMessageCount() { + return unreadMessageCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadMessageCount(Integer unreadMessageCount) { + this.unreadMessageCount = unreadMessageCount; + } + + + /** + * Return true if this Sendbird.GroupChannelDetail object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdGroupChannelDetail sendbirdGroupChannelDetail = (SendBirdSendbirdGroupChannelDetail) o; + return Objects.equals(this.channel, sendbirdGroupChannelDetail.channel) && + Objects.equals(this.channelUrl, sendbirdGroupChannelDetail.channelUrl) && + Objects.equals(this.coverUrl, sendbirdGroupChannelDetail.coverUrl) && + Objects.equals(this.createdAt, sendbirdGroupChannelDetail.createdAt) && + Objects.equals(this.createdBy, sendbirdGroupChannelDetail.createdBy) && + Objects.equals(this.customType, sendbirdGroupChannelDetail.customType) && + Objects.equals(this.data, sendbirdGroupChannelDetail.data) && + Objects.equals(this.deliveryReceipt, sendbirdGroupChannelDetail.deliveryReceipt) && + Objects.equals(this.disappearingMessage, sendbirdGroupChannelDetail.disappearingMessage) && + Objects.equals(this.freeze, sendbirdGroupChannelDetail.freeze) && + Objects.equals(this.hasAiBot, sendbirdGroupChannelDetail.hasAiBot) && + Objects.equals(this.hasBot, sendbirdGroupChannelDetail.hasBot) && + Objects.equals(this.id, sendbirdGroupChannelDetail.id) && + Objects.equals(this.ignoreProfanityFilter, sendbirdGroupChannelDetail.ignoreProfanityFilter) && + Objects.equals(this.isAccessCodeRequired, sendbirdGroupChannelDetail.isAccessCodeRequired) && + Objects.equals(this.isBroadcast, sendbirdGroupChannelDetail.isBroadcast) && + Objects.equals(this.isDiscoverable, sendbirdGroupChannelDetail.isDiscoverable) && + Objects.equals(this.isDistinct, sendbirdGroupChannelDetail.isDistinct) && + Objects.equals(this.isEphemeral, sendbirdGroupChannelDetail.isEphemeral) && + Objects.equals(this.isPublic, sendbirdGroupChannelDetail.isPublic) && + Objects.equals(this.isSuper, sendbirdGroupChannelDetail.isSuper) && + Objects.equals(this.joinedMemberCount, sendbirdGroupChannelDetail.joinedMemberCount) && + Objects.equals(this.lastMessage, sendbirdGroupChannelDetail.lastMessage) && + Objects.equals(this.maxLengthMessage, sendbirdGroupChannelDetail.maxLengthMessage) && + Objects.equals(this.memberCount, sendbirdGroupChannelDetail.memberCount) && + Objects.equals(this.members, sendbirdGroupChannelDetail.members) && + Objects.equals(this.messageSurvivalSeconds, sendbirdGroupChannelDetail.messageSurvivalSeconds) && + Objects.equals(this.name, sendbirdGroupChannelDetail.name) && + Objects.equals(this.operators, sendbirdGroupChannelDetail.operators) && + Objects.equals(this.readReceipt, sendbirdGroupChannelDetail.readReceipt) && + Objects.equals(this.smsFallback, sendbirdGroupChannelDetail.smsFallback) && + Objects.equals(this.unreadMentionCount, sendbirdGroupChannelDetail.unreadMentionCount) && + Objects.equals(this.unreadMessageCount, sendbirdGroupChannelDetail.unreadMessageCount); + } + + @Override + public int hashCode() { + return Objects.hash(channel, channelUrl, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, id, ignoreProfanityFilter, isAccessCodeRequired, isBroadcast, isDiscoverable, isDistinct, isEphemeral, isPublic, isSuper, joinedMemberCount, lastMessage, maxLengthMessage, memberCount, members, messageSurvivalSeconds, name, operators, readReceipt, smsFallback, unreadMentionCount, unreadMessageCount); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdGroupChannelDetail {\n"); + sb.append(" channel: ").append(toIndentedString(channel)).append("\n"); + sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); + sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" deliveryReceipt: ").append(toIndentedString(deliveryReceipt)).append("\n"); + sb.append(" disappearingMessage: ").append(toIndentedString(disappearingMessage)).append("\n"); + sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); + sb.append(" hasAiBot: ").append(toIndentedString(hasAiBot)).append("\n"); + sb.append(" hasBot: ").append(toIndentedString(hasBot)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" ignoreProfanityFilter: ").append(toIndentedString(ignoreProfanityFilter)).append("\n"); + sb.append(" isAccessCodeRequired: ").append(toIndentedString(isAccessCodeRequired)).append("\n"); + sb.append(" isBroadcast: ").append(toIndentedString(isBroadcast)).append("\n"); + sb.append(" isDiscoverable: ").append(toIndentedString(isDiscoverable)).append("\n"); + sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); + sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); + sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); + sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); + sb.append(" joinedMemberCount: ").append(toIndentedString(joinedMemberCount)).append("\n"); + sb.append(" lastMessage: ").append(toIndentedString(lastMessage)).append("\n"); + sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); + sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); + sb.append(" members: ").append(toIndentedString(members)).append("\n"); + sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" operators: ").append(toIndentedString(operators)).append("\n"); + sb.append(" readReceipt: ").append(toIndentedString(readReceipt)).append("\n"); + sb.append(" smsFallback: ").append(toIndentedString(smsFallback)).append("\n"); + sb.append(" unreadMentionCount: ").append(toIndentedString(unreadMentionCount)).append("\n"); + sb.append(" unreadMessageCount: ").append(toIndentedString(unreadMessageCount)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java new file mode 100644 index 00000000..af708590 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java @@ -0,0 +1,337 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdGroupChannelDetailChannel + */ +@JsonPropertyOrder({ + SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_CHANNEL_URL, + SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_COVER_URL, + SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_CREATED_AT, + SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_DATA, + SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_MEMBER_COUNT, + SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_NAME +}) +@JsonTypeName("Sendbird_GroupChannelDetail_channel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdGroupChannelDetailChannel { + public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; + private String channelUrl; + + public static final String JSON_PROPERTY_COVER_URL = "cover_url"; + private String coverUrl; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; + private Integer maxLengthMessage; + + public static final String JSON_PROPERTY_MEMBER_COUNT = "member_count"; + private Integer memberCount; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public SendBirdSendbirdGroupChannelDetailChannel() { + } + + public SendBirdSendbirdGroupChannelDetailChannel channelUrl(String channelUrl) { + this.channelUrl = channelUrl; + return this; + } + + /** + * Get channelUrl + * @return channelUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getChannelUrl() { + return channelUrl; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelUrl(String channelUrl) { + this.channelUrl = channelUrl; + } + + + public SendBirdSendbirdGroupChannelDetailChannel coverUrl(String coverUrl) { + this.coverUrl = coverUrl; + return this; + } + + /** + * Get coverUrl + * @return coverUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCoverUrl() { + return coverUrl; + } + + + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverUrl(String coverUrl) { + this.coverUrl = coverUrl; + } + + + public SendBirdSendbirdGroupChannelDetailChannel createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdSendbirdGroupChannelDetailChannel customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdSendbirdGroupChannelDetailChannel data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdSendbirdGroupChannelDetailChannel maxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + return this; + } + + /** + * Get maxLengthMessage + * @return maxLengthMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMaxLengthMessage() { + return maxLengthMessage; + } + + + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMaxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + } + + + public SendBirdSendbirdGroupChannelDetailChannel memberCount(Integer memberCount) { + this.memberCount = memberCount; + return this; + } + + /** + * Get memberCount + * @return memberCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMemberCount() { + return memberCount; + } + + + @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMemberCount(Integer memberCount) { + this.memberCount = memberCount; + } + + + public SendBirdSendbirdGroupChannelDetailChannel name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + /** + * Return true if this Sendbird_GroupChannelDetail_channel object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdGroupChannelDetailChannel sendbirdGroupChannelDetailChannel = (SendBirdSendbirdGroupChannelDetailChannel) o; + return Objects.equals(this.channelUrl, sendbirdGroupChannelDetailChannel.channelUrl) && + Objects.equals(this.coverUrl, sendbirdGroupChannelDetailChannel.coverUrl) && + Objects.equals(this.createdAt, sendbirdGroupChannelDetailChannel.createdAt) && + Objects.equals(this.customType, sendbirdGroupChannelDetailChannel.customType) && + Objects.equals(this.data, sendbirdGroupChannelDetailChannel.data) && + Objects.equals(this.maxLengthMessage, sendbirdGroupChannelDetailChannel.maxLengthMessage) && + Objects.equals(this.memberCount, sendbirdGroupChannelDetailChannel.memberCount) && + Objects.equals(this.name, sendbirdGroupChannelDetailChannel.name); + } + + @Override + public int hashCode() { + return Objects.hash(channelUrl, coverUrl, createdAt, customType, data, maxLengthMessage, memberCount, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdGroupChannelDetailChannel {\n"); + sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); + sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); + sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java new file mode 100644 index 00000000..2c350211 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java @@ -0,0 +1,215 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdFile; +import org.openapitools.client.model.SendBirdSendbirdMessageResponse; +import org.openapitools.client.model.SendBirdSendbirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendbirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendBirdSendbirdParentMessageInfo; +import org.openapitools.client.model.SendBirdSendbirdReaction; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + +import com.fasterxml.jackson.core.type.TypeReference; + +import javax.ws.rs.core.GenericType; +import javax.ws.rs.core.Response; +import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import org.sendbird.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendBirdSendbirdGroupChannelLastMessage.SendBirdSendbirdGroupChannelLastMessageDeserializer.class) +@JsonSerialize(using = SendBirdSendbirdGroupChannelLastMessage.SendBirdSendbirdGroupChannelLastMessageSerializer.class) +public class SendBirdSendbirdGroupChannelLastMessage extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendBirdSendbirdGroupChannelLastMessage.class.getName()); + + public static class SendBirdSendbirdGroupChannelLastMessageSerializer extends StdSerializer { + public SendBirdSendbirdGroupChannelLastMessageSerializer(Class t) { + super(t); + } + + public SendBirdSendbirdGroupChannelLastMessageSerializer() { + this(null); + } + + @Override + public void serialize(SendBirdSendbirdGroupChannelLastMessage value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); + } + } + + public static class SendBirdSendbirdGroupChannelLastMessageDeserializer extends StdDeserializer { + public SendBirdSendbirdGroupChannelLastMessageDeserializer() { + this(SendBirdSendbirdGroupChannelLastMessage.class); + } + + public SendBirdSendbirdGroupChannelLastMessageDeserializer(Class vc) { + super(vc); + } + + @Override + public SendBirdSendbirdGroupChannelLastMessage deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize SendBirdSendbirdMessageResponse + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (SendBirdSendbirdMessageResponse.class.equals(Integer.class) || SendBirdSendbirdMessageResponse.class.equals(Long.class) || SendBirdSendbirdMessageResponse.class.equals(Float.class) || SendBirdSendbirdMessageResponse.class.equals(Double.class) || SendBirdSendbirdMessageResponse.class.equals(Boolean.class) || SendBirdSendbirdMessageResponse.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((SendBirdSendbirdMessageResponse.class.equals(Integer.class) || SendBirdSendbirdMessageResponse.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendBirdSendbirdMessageResponse.class.equals(Float.class) || SendBirdSendbirdMessageResponse.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendBirdSendbirdMessageResponse.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendBirdSendbirdMessageResponse.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendbirdMessageResponse.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'SendBirdSendbirdMessageResponse'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'SendBirdSendbirdMessageResponse'", e); + } + + if (match == 1) { + SendBirdSendbirdGroupChannelLastMessage ret = new SendBirdSendbirdGroupChannelLastMessage(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException(String.format("Failed deserialization for SendBirdSendbirdGroupChannelLastMessage: %d classes match result, expected 1", match)); + } + + /** + * Handle deserialization of the 'null' value. + */ + @Override + public SendBirdSendbirdGroupChannelLastMessage getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendBirdSendbirdGroupChannelLastMessage cannot be null"); + } + } + + // store a list of schema names defined in oneOf + public static final Map schemas = new HashMap(); + + public SendBirdSendbirdGroupChannelLastMessage() { + super("oneOf", Boolean.FALSE); + } + + public SendBirdSendbirdGroupChannelLastMessage(SendBirdSendbirdMessageResponse o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("SendBirdSendbirdMessageResponse", new GenericType() { + }); + JSON.registerDescendants(SendBirdSendbirdGroupChannelLastMessage.class, Collections.unmodifiableMap(schemas)); + } + + @Override + public Map getSchemas() { + return SendBirdSendbirdGroupChannelLastMessage.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * SendBirdSendbirdMessageResponse + * + * It could be an instance of the 'oneOf' schemas. + * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). + */ + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf(SendBirdSendbirdMessageResponse.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be SendBirdSendbirdMessageResponse"); + } + + /** + * Get the actual instance, which can be the following: + * SendBirdSendbirdMessageResponse + * + * @return The actual instance (SendBirdSendbirdMessageResponse) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `SendBirdSendbirdMessageResponse`. If the actual instance is not `SendBirdSendbirdMessageResponse`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SendBirdSendbirdMessageResponse` + * @throws ClassCastException if the instance is not `SendBirdSendbirdMessageResponse` + */ + public SendBirdSendbirdMessageResponse getSendBirdSendbirdMessageResponse() throws ClassCastException { + return (SendBirdSendbirdMessageResponse)super.getActualInstance(); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java new file mode 100644 index 00000000..710b1e6a --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java @@ -0,0 +1,937 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdMember + */ +@JsonPropertyOrder({ + SendBirdSendbirdMember.JSON_PROPERTY_DELIVERED_TS, + SendBirdSendbirdMember.JSON_PROPERTY_DO_NOT_DISTURB, + SendBirdSendbirdMember.JSON_PROPERTY_FRIEND_DISCOVERY_KEY, + SendBirdSendbirdMember.JSON_PROPERTY_FRIEND_NAME, + SendBirdSendbirdMember.JSON_PROPERTY_IS_ACTIVE, + SendBirdSendbirdMember.JSON_PROPERTY_IS_BLOCKED_BY_ME, + SendBirdSendbirdMember.JSON_PROPERTY_IS_BLOCKING_ME, + SendBirdSendbirdMember.JSON_PROPERTY_IS_MUTED, + SendBirdSendbirdMember.JSON_PROPERTY_IS_ONLINE, + SendBirdSendbirdMember.JSON_PROPERTY_LAST_SEEN_AT, + SendBirdSendbirdMember.JSON_PROPERTY_METADATA, + SendBirdSendbirdMember.JSON_PROPERTY_MUTED_DESCRIPTION, + SendBirdSendbirdMember.JSON_PROPERTY_MUTED_END_AT, + SendBirdSendbirdMember.JSON_PROPERTY_NICKNAME, + SendBirdSendbirdMember.JSON_PROPERTY_PUSH_ENABLED, + SendBirdSendbirdMember.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdSendbirdMember.JSON_PROPERTY_PROFILE_URL, + SendBirdSendbirdMember.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendBirdSendbirdMember.JSON_PROPERTY_READ_TS, + SendBirdSendbirdMember.JSON_PROPERTY_ROLE, + SendBirdSendbirdMember.JSON_PROPERTY_STATE, + SendBirdSendbirdMember.JSON_PROPERTY_USER_ID +}) +@JsonTypeName("Sendbird.Member") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdMember { + public static final String JSON_PROPERTY_DELIVERED_TS = "delivered_ts"; + private Long deliveredTs; + + public static final String JSON_PROPERTY_DO_NOT_DISTURB = "do_not_disturb"; + private Boolean doNotDisturb; + + public static final String JSON_PROPERTY_FRIEND_DISCOVERY_KEY = "friend_discovery_key"; + private JsonNullable> friendDiscoveryKey = JsonNullable.>undefined(); + + public static final String JSON_PROPERTY_FRIEND_NAME = "friend_name"; + private JsonNullable friendName = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_IS_ACTIVE = "is_active"; + private Boolean isActive; + + public static final String JSON_PROPERTY_IS_BLOCKED_BY_ME = "is_blocked_by_me"; + private Boolean isBlockedByMe; + + public static final String JSON_PROPERTY_IS_BLOCKING_ME = "is_blocking_me"; + private Boolean isBlockingMe; + + public static final String JSON_PROPERTY_IS_MUTED = "is_muted"; + private Boolean isMuted; + + public static final String JSON_PROPERTY_IS_ONLINE = "is_online"; + private Boolean isOnline; + + public static final String JSON_PROPERTY_LAST_SEEN_AT = "last_seen_at"; + private Long lastSeenAt; + + public static final String JSON_PROPERTY_METADATA = "metadata"; + private JsonNullable metadata = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_MUTED_DESCRIPTION = "muted_description"; + private String mutedDescription; + + public static final String JSON_PROPERTY_MUTED_END_AT = "muted_end_at"; + private Long mutedEndAt; + + public static final String JSON_PROPERTY_NICKNAME = "nickname"; + private JsonNullable nickname = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_PUSH_ENABLED = "push_enabled"; + private Boolean pushEnabled; + + public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; + private SendBirdSendbirdPushTriggerOption pushTriggerOption; + + public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; + private String profileUrl = ""; + + public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; + private Boolean requireAuthForProfileImage; + + public static final String JSON_PROPERTY_READ_TS = "read_ts"; + private Long readTs; + + /** + * Gets or Sets role + */ + public enum RoleEnum { + EMPTY(""), + + NONE("none"), + + OPERATOR("operator"); + + private String value; + + RoleEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static RoleEnum fromValue(String value) { + for (RoleEnum b : RoleEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + } + + public static final String JSON_PROPERTY_ROLE = "role"; + private JsonNullable role = JsonNullable.undefined(); + + /** + * Gets or Sets state + */ + public enum StateEnum { + EMPTY(""), + + INVITED("invited"), + + JOINED("joined"); + + private String value; + + StateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static StateEnum fromValue(String value) { + for (StateEnum b : StateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + } + + public static final String JSON_PROPERTY_STATE = "state"; + private JsonNullable state = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + public SendBirdSendbirdMember() { + } + + public SendBirdSendbirdMember deliveredTs(Long deliveredTs) { + this.deliveredTs = deliveredTs; + return this; + } + + /** + * Get deliveredTs + * @return deliveredTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DELIVERED_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getDeliveredTs() { + return deliveredTs; + } + + + @JsonProperty(JSON_PROPERTY_DELIVERED_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDeliveredTs(Long deliveredTs) { + this.deliveredTs = deliveredTs; + } + + + public SendBirdSendbirdMember doNotDisturb(Boolean doNotDisturb) { + this.doNotDisturb = doNotDisturb; + return this; + } + + /** + * Get doNotDisturb + * @return doNotDisturb + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getDoNotDisturb() { + return doNotDisturb; + } + + + @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDoNotDisturb(Boolean doNotDisturb) { + this.doNotDisturb = doNotDisturb; + } + + + public SendBirdSendbirdMember friendDiscoveryKey(List friendDiscoveryKey) { + this.friendDiscoveryKey = JsonNullable.>of(friendDiscoveryKey); + return this; + } + + public SendBirdSendbirdMember addFriendDiscoveryKeyItem(String friendDiscoveryKeyItem) { + if (this.friendDiscoveryKey == null || !this.friendDiscoveryKey.isPresent()) { + this.friendDiscoveryKey = JsonNullable.>of(new ArrayList<>()); + } + try { + this.friendDiscoveryKey.get().add(friendDiscoveryKeyItem); + } catch (java.util.NoSuchElementException e) { + // this can never happen, as we make sure above that the value is present + } + return this; + } + + /** + * Get friendDiscoveryKey + * @return friendDiscoveryKey + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public List getFriendDiscoveryKey() { + return friendDiscoveryKey.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_FRIEND_DISCOVERY_KEY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable> getFriendDiscoveryKey_JsonNullable() { + return friendDiscoveryKey; + } + + @JsonProperty(JSON_PROPERTY_FRIEND_DISCOVERY_KEY) + public void setFriendDiscoveryKey_JsonNullable(JsonNullable> friendDiscoveryKey) { + this.friendDiscoveryKey = friendDiscoveryKey; + } + + public void setFriendDiscoveryKey(List friendDiscoveryKey) { + this.friendDiscoveryKey = JsonNullable.>of(friendDiscoveryKey); + } + + + public SendBirdSendbirdMember friendName(String friendName) { + this.friendName = JsonNullable.of(friendName); + return this; + } + + /** + * Get friendName + * @return friendName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public String getFriendName() { + return friendName.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_FRIEND_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getFriendName_JsonNullable() { + return friendName; + } + + @JsonProperty(JSON_PROPERTY_FRIEND_NAME) + public void setFriendName_JsonNullable(JsonNullable friendName) { + this.friendName = friendName; + } + + public void setFriendName(String friendName) { + this.friendName = JsonNullable.of(friendName); + } + + + public SendBirdSendbirdMember isActive(Boolean isActive) { + this.isActive = isActive; + return this; + } + + /** + * Get isActive + * @return isActive + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_ACTIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsActive() { + return isActive; + } + + + @JsonProperty(JSON_PROPERTY_IS_ACTIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsActive(Boolean isActive) { + this.isActive = isActive; + } + + + public SendBirdSendbirdMember isBlockedByMe(Boolean isBlockedByMe) { + this.isBlockedByMe = isBlockedByMe; + return this; + } + + /** + * Get isBlockedByMe + * @return isBlockedByMe + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_BLOCKED_BY_ME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsBlockedByMe() { + return isBlockedByMe; + } + + + @JsonProperty(JSON_PROPERTY_IS_BLOCKED_BY_ME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsBlockedByMe(Boolean isBlockedByMe) { + this.isBlockedByMe = isBlockedByMe; + } + + + public SendBirdSendbirdMember isBlockingMe(Boolean isBlockingMe) { + this.isBlockingMe = isBlockingMe; + return this; + } + + /** + * Get isBlockingMe + * @return isBlockingMe + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_BLOCKING_ME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsBlockingMe() { + return isBlockingMe; + } + + + @JsonProperty(JSON_PROPERTY_IS_BLOCKING_ME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsBlockingMe(Boolean isBlockingMe) { + this.isBlockingMe = isBlockingMe; + } + + + public SendBirdSendbirdMember isMuted(Boolean isMuted) { + this.isMuted = isMuted; + return this; + } + + /** + * Get isMuted + * @return isMuted + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_MUTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsMuted() { + return isMuted; + } + + + @JsonProperty(JSON_PROPERTY_IS_MUTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsMuted(Boolean isMuted) { + this.isMuted = isMuted; + } + + + public SendBirdSendbirdMember isOnline(Boolean isOnline) { + this.isOnline = isOnline; + return this; + } + + /** + * Get isOnline + * @return isOnline + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_ONLINE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsOnline() { + return isOnline; + } + + + @JsonProperty(JSON_PROPERTY_IS_ONLINE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsOnline(Boolean isOnline) { + this.isOnline = isOnline; + } + + + public SendBirdSendbirdMember lastSeenAt(Long lastSeenAt) { + this.lastSeenAt = lastSeenAt; + return this; + } + + /** + * Get lastSeenAt + * @return lastSeenAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getLastSeenAt() { + return lastSeenAt; + } + + + @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastSeenAt(Long lastSeenAt) { + this.lastSeenAt = lastSeenAt; + } + + + public SendBirdSendbirdMember metadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Object getMetadata() { + return metadata.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { + this.metadata = metadata; + } + + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + + + public SendBirdSendbirdMember mutedDescription(String mutedDescription) { + this.mutedDescription = mutedDescription; + return this; + } + + /** + * Get mutedDescription + * @return mutedDescription + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MUTED_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMutedDescription() { + return mutedDescription; + } + + + @JsonProperty(JSON_PROPERTY_MUTED_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMutedDescription(String mutedDescription) { + this.mutedDescription = mutedDescription; + } + + + public SendBirdSendbirdMember mutedEndAt(Long mutedEndAt) { + this.mutedEndAt = mutedEndAt; + return this; + } + + /** + * Get mutedEndAt + * @return mutedEndAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MUTED_END_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getMutedEndAt() { + return mutedEndAt; + } + + + @JsonProperty(JSON_PROPERTY_MUTED_END_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMutedEndAt(Long mutedEndAt) { + this.mutedEndAt = mutedEndAt; + } + + + public SendBirdSendbirdMember nickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + return this; + } + + /** + * Get nickname + * @return nickname + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public String getNickname() { + return nickname.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getNickname_JsonNullable() { + return nickname; + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + public void setNickname_JsonNullable(JsonNullable nickname) { + this.nickname = nickname; + } + + public void setNickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + } + + + public SendBirdSendbirdMember pushEnabled(Boolean pushEnabled) { + this.pushEnabled = pushEnabled; + return this; + } + + /** + * Get pushEnabled + * @return pushEnabled + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getPushEnabled() { + return pushEnabled; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushEnabled(Boolean pushEnabled) { + this.pushEnabled = pushEnabled; + } + + + public SendBirdSendbirdMember pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + return this; + } + + /** + * Get pushTriggerOption + * @return pushTriggerOption + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + return pushTriggerOption; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + } + + + public SendBirdSendbirdMember profileUrl(String profileUrl) { + this.profileUrl = profileUrl; + return this; + } + + /** + * Get profileUrl + * @return profileUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getProfileUrl() { + return profileUrl; + } + + + @JsonProperty(JSON_PROPERTY_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setProfileUrl(String profileUrl) { + this.profileUrl = profileUrl; + } + + + public SendBirdSendbirdMember requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + this.requireAuthForProfileImage = requireAuthForProfileImage; + return this; + } + + /** + * Get requireAuthForProfileImage + * @return requireAuthForProfileImage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getRequireAuthForProfileImage() { + return requireAuthForProfileImage; + } + + + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { + this.requireAuthForProfileImage = requireAuthForProfileImage; + } + + + public SendBirdSendbirdMember readTs(Long readTs) { + this.readTs = readTs; + return this; + } + + /** + * Get readTs + * @return readTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_READ_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getReadTs() { + return readTs; + } + + + @JsonProperty(JSON_PROPERTY_READ_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReadTs(Long readTs) { + this.readTs = readTs; + } + + + public SendBirdSendbirdMember role(RoleEnum role) { + this.role = JsonNullable.of(role); + return this; + } + + /** + * Get role + * @return role + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public RoleEnum getRole() { + return role.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_ROLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getRole_JsonNullable() { + return role; + } + + @JsonProperty(JSON_PROPERTY_ROLE) + public void setRole_JsonNullable(JsonNullable role) { + this.role = role; + } + + public void setRole(RoleEnum role) { + this.role = JsonNullable.of(role); + } + + + public SendBirdSendbirdMember state(StateEnum state) { + this.state = JsonNullable.of(state); + return this; + } + + /** + * Get state + * @return state + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public StateEnum getState() { + return state.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getState_JsonNullable() { + return state; + } + + @JsonProperty(JSON_PROPERTY_STATE) + public void setState_JsonNullable(JsonNullable state) { + this.state = state; + } + + public void setState(StateEnum state) { + this.state = JsonNullable.of(state); + } + + + public SendBirdSendbirdMember userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + /** + * Return true if this Sendbird.Member object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdMember sendbirdMember = (SendBirdSendbirdMember) o; + return Objects.equals(this.deliveredTs, sendbirdMember.deliveredTs) && + Objects.equals(this.doNotDisturb, sendbirdMember.doNotDisturb) && + equalsNullable(this.friendDiscoveryKey, sendbirdMember.friendDiscoveryKey) && + equalsNullable(this.friendName, sendbirdMember.friendName) && + Objects.equals(this.isActive, sendbirdMember.isActive) && + Objects.equals(this.isBlockedByMe, sendbirdMember.isBlockedByMe) && + Objects.equals(this.isBlockingMe, sendbirdMember.isBlockingMe) && + Objects.equals(this.isMuted, sendbirdMember.isMuted) && + Objects.equals(this.isOnline, sendbirdMember.isOnline) && + Objects.equals(this.lastSeenAt, sendbirdMember.lastSeenAt) && + equalsNullable(this.metadata, sendbirdMember.metadata) && + Objects.equals(this.mutedDescription, sendbirdMember.mutedDescription) && + Objects.equals(this.mutedEndAt, sendbirdMember.mutedEndAt) && + equalsNullable(this.nickname, sendbirdMember.nickname) && + Objects.equals(this.pushEnabled, sendbirdMember.pushEnabled) && + Objects.equals(this.pushTriggerOption, sendbirdMember.pushTriggerOption) && + Objects.equals(this.profileUrl, sendbirdMember.profileUrl) && + Objects.equals(this.requireAuthForProfileImage, sendbirdMember.requireAuthForProfileImage) && + Objects.equals(this.readTs, sendbirdMember.readTs) && + equalsNullable(this.role, sendbirdMember.role) && + equalsNullable(this.state, sendbirdMember.state) && + Objects.equals(this.userId, sendbirdMember.userId); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(deliveredTs, doNotDisturb, hashCodeNullable(friendDiscoveryKey), hashCodeNullable(friendName), isActive, isBlockedByMe, isBlockingMe, isMuted, isOnline, lastSeenAt, hashCodeNullable(metadata), mutedDescription, mutedEndAt, hashCodeNullable(nickname), pushEnabled, pushTriggerOption, profileUrl, requireAuthForProfileImage, readTs, hashCodeNullable(role), hashCodeNullable(state), userId); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdMember {\n"); + sb.append(" deliveredTs: ").append(toIndentedString(deliveredTs)).append("\n"); + sb.append(" doNotDisturb: ").append(toIndentedString(doNotDisturb)).append("\n"); + sb.append(" friendDiscoveryKey: ").append(toIndentedString(friendDiscoveryKey)).append("\n"); + sb.append(" friendName: ").append(toIndentedString(friendName)).append("\n"); + sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" isBlockedByMe: ").append(toIndentedString(isBlockedByMe)).append("\n"); + sb.append(" isBlockingMe: ").append(toIndentedString(isBlockingMe)).append("\n"); + sb.append(" isMuted: ").append(toIndentedString(isMuted)).append("\n"); + sb.append(" isOnline: ").append(toIndentedString(isOnline)).append("\n"); + sb.append(" lastSeenAt: ").append(toIndentedString(lastSeenAt)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" mutedDescription: ").append(toIndentedString(mutedDescription)).append("\n"); + sb.append(" mutedEndAt: ").append(toIndentedString(mutedEndAt)).append("\n"); + sb.append(" nickname: ").append(toIndentedString(nickname)).append("\n"); + sb.append(" pushEnabled: ").append(toIndentedString(pushEnabled)).append("\n"); + sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); + sb.append(" profileUrl: ").append(toIndentedString(profileUrl)).append("\n"); + sb.append(" requireAuthForProfileImage: ").append(toIndentedString(requireAuthForProfileImage)).append("\n"); + sb.append(" readTs: ").append(toIndentedString(readTs)).append("\n"); + sb.append(" role: ").append(toIndentedString(role)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java new file mode 100644 index 00000000..f312a6dc --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java @@ -0,0 +1,1105 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdFile; +import org.openapitools.client.model.SendBirdSendbirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendbirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendBirdSendbirdParentMessageInfo; +import org.openapitools.client.model.SendBirdSendbirdReaction; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdMessageResponse + */ +@JsonPropertyOrder({ + SendBirdSendbirdMessageResponse.JSON_PROPERTY_REQUIRE_AUTH, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_MENTIONED_USERS, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_TRANSLATIONS, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_UPDATED_AT, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_IS_OP_MSG, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_REACTIONS, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_IS_REMOVED, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_USER, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_FILE, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_FILES, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_MESSAGE, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_DATA, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_MESSAGE_RETENTION_HOUR, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_SILENT, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_TYPE, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_CREATED_AT, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_CHANNEL_TYPE, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_REQ_ID, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_MENTION_TYPE, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_CHANNEL_URL, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_MESSAGE_ID, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_SORTED_METAARRAY, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_THREAD_INFO, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_ID, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_INFO, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_IS_REPLY_TO_CHANNEL, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_MESSAGE_EVENTS, + SendBirdSendbirdMessageResponse.JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD +}) +@JsonTypeName("Sendbird.MessageResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdMessageResponse { + public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; + private Boolean requireAuth; + + public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; + private Integer messageSurvivalSeconds; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_MENTIONED_USERS = "mentioned_users"; + private List mentionedUsers = null; + + public static final String JSON_PROPERTY_TRANSLATIONS = "translations"; + private Object translations; + + public static final String JSON_PROPERTY_UPDATED_AT = "updated_at"; + private Long updatedAt; + + public static final String JSON_PROPERTY_IS_OP_MSG = "is_op_msg"; + private Boolean isOpMsg; + + public static final String JSON_PROPERTY_REACTIONS = "reactions"; + private List reactions = null; + + public static final String JSON_PROPERTY_IS_REMOVED = "is_removed"; + private Boolean isRemoved; + + public static final String JSON_PROPERTY_USER = "user"; + private SendBirdSendbirdBasicUserInfo user; + + public static final String JSON_PROPERTY_FILE = "file"; + private Object _file; + + public static final String JSON_PROPERTY_FILES = "files"; + private List files = null; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_MESSAGE_RETENTION_HOUR = "message_retention_hour"; + private Integer messageRetentionHour; + + public static final String JSON_PROPERTY_SILENT = "silent"; + private Boolean silent; + + public static final String JSON_PROPERTY_TYPE = "type"; + private String type; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_CHANNEL_TYPE = "channel_type"; + private String channelType; + + public static final String JSON_PROPERTY_REQ_ID = "req_id"; + private String reqId; + + public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; + private String mentionType; + + public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; + private String channelUrl; + + public static final String JSON_PROPERTY_MESSAGE_ID = "message_id"; + private Long messageId; + + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public static final String JSON_PROPERTY_THREAD_INFO = "thread_info"; + private Object threadInfo; + + public static final String JSON_PROPERTY_PARENT_MESSAGE_ID = "parent_message_id"; + private Integer parentMessageId; + + public static final String JSON_PROPERTY_PARENT_MESSAGE_INFO = "parent_message_info"; + private SendBirdSendbirdParentMessageInfo parentMessageInfo; + + public static final String JSON_PROPERTY_IS_REPLY_TO_CHANNEL = "is_reply_to_channel"; + private Boolean isReplyToChannel; + + public static final String JSON_PROPERTY_MESSAGE_EVENTS = "message_events"; + private JsonNullable messageEvents = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD = "extended_message_payload"; + private SendBirdSendbirdMessageResponseExtendedMessagePayload extendedMessagePayload; + + public SendBirdSendbirdMessageResponse() { + } + + public SendBirdSendbirdMessageResponse requireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + return this; + } + + /** + * Get requireAuth + * @return requireAuth + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getRequireAuth() { + return requireAuth; + } + + + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRequireAuth(Boolean requireAuth) { + this.requireAuth = requireAuth; + } + + + public SendBirdSendbirdMessageResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + return this; + } + + /** + * Get messageSurvivalSeconds + * @return messageSurvivalSeconds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMessageSurvivalSeconds() { + return messageSurvivalSeconds; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { + this.messageSurvivalSeconds = messageSurvivalSeconds; + } + + + public SendBirdSendbirdMessageResponse customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdSendbirdMessageResponse mentionedUsers(List mentionedUsers) { + this.mentionedUsers = mentionedUsers; + return this; + } + + public SendBirdSendbirdMessageResponse addMentionedUsersItem(SendBirdSendbirdBasicUserInfo mentionedUsersItem) { + if (this.mentionedUsers == null) { + this.mentionedUsers = new ArrayList<>(); + } + this.mentionedUsers.add(mentionedUsersItem); + return this; + } + + /** + * Get mentionedUsers + * @return mentionedUsers + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTIONED_USERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMentionedUsers() { + return mentionedUsers; + } + + + @JsonProperty(JSON_PROPERTY_MENTIONED_USERS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionedUsers(List mentionedUsers) { + this.mentionedUsers = mentionedUsers; + } + + + public SendBirdSendbirdMessageResponse translations(Object translations) { + this.translations = translations; + return this; + } + + /** + * Get translations + * @return translations + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TRANSLATIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getTranslations() { + return translations; + } + + + @JsonProperty(JSON_PROPERTY_TRANSLATIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTranslations(Object translations) { + this.translations = translations; + } + + + public SendBirdSendbirdMessageResponse updatedAt(Long updatedAt) { + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UPDATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getUpdatedAt() { + return updatedAt; + } + + + @JsonProperty(JSON_PROPERTY_UPDATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUpdatedAt(Long updatedAt) { + this.updatedAt = updatedAt; + } + + + public SendBirdSendbirdMessageResponse isOpMsg(Boolean isOpMsg) { + this.isOpMsg = isOpMsg; + return this; + } + + /** + * Get isOpMsg + * @return isOpMsg + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_OP_MSG) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsOpMsg() { + return isOpMsg; + } + + + @JsonProperty(JSON_PROPERTY_IS_OP_MSG) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsOpMsg(Boolean isOpMsg) { + this.isOpMsg = isOpMsg; + } + + + public SendBirdSendbirdMessageResponse reactions(List reactions) { + this.reactions = reactions; + return this; + } + + public SendBirdSendbirdMessageResponse addReactionsItem(SendBirdSendbirdReaction reactionsItem) { + if (this.reactions == null) { + this.reactions = new ArrayList<>(); + } + this.reactions.add(reactionsItem); + return this; + } + + /** + * Get reactions + * @return reactions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REACTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getReactions() { + return reactions; + } + + + @JsonProperty(JSON_PROPERTY_REACTIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReactions(List reactions) { + this.reactions = reactions; + } + + + public SendBirdSendbirdMessageResponse isRemoved(Boolean isRemoved) { + this.isRemoved = isRemoved; + return this; + } + + /** + * Get isRemoved + * @return isRemoved + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_REMOVED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsRemoved() { + return isRemoved; + } + + + @JsonProperty(JSON_PROPERTY_IS_REMOVED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsRemoved(Boolean isRemoved) { + this.isRemoved = isRemoved; + } + + + public SendBirdSendbirdMessageResponse user(SendBirdSendbirdBasicUserInfo user) { + this.user = user; + return this; + } + + /** + * Get user + * @return user + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdBasicUserInfo getUser() { + return user; + } + + + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUser(SendBirdSendbirdBasicUserInfo user) { + this.user = user; + } + + + public SendBirdSendbirdMessageResponse _file(Object _file) { + this._file = _file; + return this; + } + + /** + * Get _file + * @return _file + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getFile() { + return _file; + } + + + @JsonProperty(JSON_PROPERTY_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFile(Object _file) { + this._file = _file; + } + + + public SendBirdSendbirdMessageResponse files(List files) { + this.files = files; + return this; + } + + public SendBirdSendbirdMessageResponse addFilesItem(SendBirdSendbirdFile filesItem) { + if (this.files == null) { + this.files = new ArrayList<>(); + } + this.files.add(filesItem); + return this; + } + + /** + * Get files + * @return files + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getFiles() { + return files; + } + + + @JsonProperty(JSON_PROPERTY_FILES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFiles(List files) { + this.files = files; + } + + + public SendBirdSendbirdMessageResponse message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(String message) { + this.message = message; + } + + + public SendBirdSendbirdMessageResponse data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdSendbirdMessageResponse messageRetentionHour(Integer messageRetentionHour) { + this.messageRetentionHour = messageRetentionHour; + return this; + } + + /** + * Get messageRetentionHour + * @return messageRetentionHour + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_RETENTION_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMessageRetentionHour() { + return messageRetentionHour; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_RETENTION_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessageRetentionHour(Integer messageRetentionHour) { + this.messageRetentionHour = messageRetentionHour; + } + + + public SendBirdSendbirdMessageResponse silent(Boolean silent) { + this.silent = silent; + return this; + } + + /** + * Get silent + * @return silent + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSilent() { + return silent; + } + + + @JsonProperty(JSON_PROPERTY_SILENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSilent(Boolean silent) { + this.silent = silent; + } + + + public SendBirdSendbirdMessageResponse type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getType() { + return type; + } + + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setType(String type) { + this.type = type; + } + + + public SendBirdSendbirdMessageResponse createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdSendbirdMessageResponse channelType(String channelType) { + this.channelType = channelType; + return this; + } + + /** + * Get channelType + * @return channelType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getChannelType() { + return channelType; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelType(String channelType) { + this.channelType = channelType; + } + + + public SendBirdSendbirdMessageResponse reqId(String reqId) { + this.reqId = reqId; + return this; + } + + /** + * Get reqId + * @return reqId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REQ_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getReqId() { + return reqId; + } + + + @JsonProperty(JSON_PROPERTY_REQ_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReqId(String reqId) { + this.reqId = reqId; + } + + + public SendBirdSendbirdMessageResponse mentionType(String mentionType) { + this.mentionType = mentionType; + return this; + } + + /** + * Get mentionType + * @return mentionType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMentionType() { + return mentionType; + } + + + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionType(String mentionType) { + this.mentionType = mentionType; + } + + + public SendBirdSendbirdMessageResponse channelUrl(String channelUrl) { + this.channelUrl = channelUrl; + return this; + } + + /** + * Get channelUrl + * @return channelUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getChannelUrl() { + return channelUrl; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelUrl(String channelUrl) { + this.channelUrl = channelUrl; + } + + + public SendBirdSendbirdMessageResponse messageId(Long messageId) { + this.messageId = messageId; + return this; + } + + /** + * Get messageId + * @return messageId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getMessageId() { + return messageId; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessageId(Long messageId) { + this.messageId = messageId; + } + + + public SendBirdSendbirdMessageResponse sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdSendbirdMessageResponse addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + public SendBirdSendbirdMessageResponse threadInfo(Object threadInfo) { + this.threadInfo = threadInfo; + return this; + } + + /** + * Get threadInfo + * @return threadInfo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_THREAD_INFO) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getThreadInfo() { + return threadInfo; + } + + + @JsonProperty(JSON_PROPERTY_THREAD_INFO) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThreadInfo(Object threadInfo) { + this.threadInfo = threadInfo; + } + + + public SendBirdSendbirdMessageResponse parentMessageId(Integer parentMessageId) { + this.parentMessageId = parentMessageId; + return this; + } + + /** + * Get parentMessageId + * @return parentMessageId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getParentMessageId() { + return parentMessageId; + } + + + @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setParentMessageId(Integer parentMessageId) { + this.parentMessageId = parentMessageId; + } + + + public SendBirdSendbirdMessageResponse parentMessageInfo(SendBirdSendbirdParentMessageInfo parentMessageInfo) { + this.parentMessageInfo = parentMessageInfo; + return this; + } + + /** + * Get parentMessageInfo + * @return parentMessageInfo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_INFO) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdParentMessageInfo getParentMessageInfo() { + return parentMessageInfo; + } + + + @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_INFO) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setParentMessageInfo(SendBirdSendbirdParentMessageInfo parentMessageInfo) { + this.parentMessageInfo = parentMessageInfo; + } + + + public SendBirdSendbirdMessageResponse isReplyToChannel(Boolean isReplyToChannel) { + this.isReplyToChannel = isReplyToChannel; + return this; + } + + /** + * Get isReplyToChannel + * @return isReplyToChannel + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_REPLY_TO_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsReplyToChannel() { + return isReplyToChannel; + } + + + @JsonProperty(JSON_PROPERTY_IS_REPLY_TO_CHANNEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsReplyToChannel(Boolean isReplyToChannel) { + this.isReplyToChannel = isReplyToChannel; + } + + + public SendBirdSendbirdMessageResponse messageEvents(SendBirdSendbirdMessageResponseMessageEvents messageEvents) { + this.messageEvents = JsonNullable.of(messageEvents); + return this; + } + + /** + * Get messageEvents + * @return messageEvents + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public SendBirdSendbirdMessageResponseMessageEvents getMessageEvents() { + return messageEvents.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_MESSAGE_EVENTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getMessageEvents_JsonNullable() { + return messageEvents; + } + + @JsonProperty(JSON_PROPERTY_MESSAGE_EVENTS) + public void setMessageEvents_JsonNullable(JsonNullable messageEvents) { + this.messageEvents = messageEvents; + } + + public void setMessageEvents(SendBirdSendbirdMessageResponseMessageEvents messageEvents) { + this.messageEvents = JsonNullable.of(messageEvents); + } + + + public SendBirdSendbirdMessageResponse extendedMessagePayload(SendBirdSendbirdMessageResponseExtendedMessagePayload extendedMessagePayload) { + this.extendedMessagePayload = extendedMessagePayload; + return this; + } + + /** + * Get extendedMessagePayload + * @return extendedMessagePayload + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdMessageResponseExtendedMessagePayload getExtendedMessagePayload() { + return extendedMessagePayload; + } + + + @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setExtendedMessagePayload(SendBirdSendbirdMessageResponseExtendedMessagePayload extendedMessagePayload) { + this.extendedMessagePayload = extendedMessagePayload; + } + + + /** + * Return true if this Sendbird.MessageResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdMessageResponse sendbirdMessageResponse = (SendBirdSendbirdMessageResponse) o; + return Objects.equals(this.requireAuth, sendbirdMessageResponse.requireAuth) && + Objects.equals(this.messageSurvivalSeconds, sendbirdMessageResponse.messageSurvivalSeconds) && + Objects.equals(this.customType, sendbirdMessageResponse.customType) && + Objects.equals(this.mentionedUsers, sendbirdMessageResponse.mentionedUsers) && + Objects.equals(this.translations, sendbirdMessageResponse.translations) && + Objects.equals(this.updatedAt, sendbirdMessageResponse.updatedAt) && + Objects.equals(this.isOpMsg, sendbirdMessageResponse.isOpMsg) && + Objects.equals(this.reactions, sendbirdMessageResponse.reactions) && + Objects.equals(this.isRemoved, sendbirdMessageResponse.isRemoved) && + Objects.equals(this.user, sendbirdMessageResponse.user) && + Objects.equals(this._file, sendbirdMessageResponse._file) && + Objects.equals(this.files, sendbirdMessageResponse.files) && + Objects.equals(this.message, sendbirdMessageResponse.message) && + Objects.equals(this.data, sendbirdMessageResponse.data) && + Objects.equals(this.messageRetentionHour, sendbirdMessageResponse.messageRetentionHour) && + Objects.equals(this.silent, sendbirdMessageResponse.silent) && + Objects.equals(this.type, sendbirdMessageResponse.type) && + Objects.equals(this.createdAt, sendbirdMessageResponse.createdAt) && + Objects.equals(this.channelType, sendbirdMessageResponse.channelType) && + Objects.equals(this.reqId, sendbirdMessageResponse.reqId) && + Objects.equals(this.mentionType, sendbirdMessageResponse.mentionType) && + Objects.equals(this.channelUrl, sendbirdMessageResponse.channelUrl) && + Objects.equals(this.messageId, sendbirdMessageResponse.messageId) && + Objects.equals(this.sortedMetaarray, sendbirdMessageResponse.sortedMetaarray) && + Objects.equals(this.threadInfo, sendbirdMessageResponse.threadInfo) && + Objects.equals(this.parentMessageId, sendbirdMessageResponse.parentMessageId) && + Objects.equals(this.parentMessageInfo, sendbirdMessageResponse.parentMessageInfo) && + Objects.equals(this.isReplyToChannel, sendbirdMessageResponse.isReplyToChannel) && + equalsNullable(this.messageEvents, sendbirdMessageResponse.messageEvents) && + Objects.equals(this.extendedMessagePayload, sendbirdMessageResponse.extendedMessagePayload); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(requireAuth, messageSurvivalSeconds, customType, mentionedUsers, translations, updatedAt, isOpMsg, reactions, isRemoved, user, _file, files, message, data, messageRetentionHour, silent, type, createdAt, channelType, reqId, mentionType, channelUrl, messageId, sortedMetaarray, threadInfo, parentMessageId, parentMessageInfo, isReplyToChannel, hashCodeNullable(messageEvents), extendedMessagePayload); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdMessageResponse {\n"); + sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); + sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" mentionedUsers: ").append(toIndentedString(mentionedUsers)).append("\n"); + sb.append(" translations: ").append(toIndentedString(translations)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" isOpMsg: ").append(toIndentedString(isOpMsg)).append("\n"); + sb.append(" reactions: ").append(toIndentedString(reactions)).append("\n"); + sb.append(" isRemoved: ").append(toIndentedString(isRemoved)).append("\n"); + sb.append(" user: ").append(toIndentedString(user)).append("\n"); + sb.append(" _file: ").append(toIndentedString(_file)).append("\n"); + sb.append(" files: ").append(toIndentedString(files)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageRetentionHour: ").append(toIndentedString(messageRetentionHour)).append("\n"); + sb.append(" silent: ").append(toIndentedString(silent)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" channelType: ").append(toIndentedString(channelType)).append("\n"); + sb.append(" reqId: ").append(toIndentedString(reqId)).append("\n"); + sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); + sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append(" threadInfo: ").append(toIndentedString(threadInfo)).append("\n"); + sb.append(" parentMessageId: ").append(toIndentedString(parentMessageId)).append("\n"); + sb.append(" parentMessageInfo: ").append(toIndentedString(parentMessageInfo)).append("\n"); + sb.append(" isReplyToChannel: ").append(toIndentedString(isReplyToChannel)).append("\n"); + sb.append(" messageEvents: ").append(toIndentedString(messageEvents)).append("\n"); + sb.append(" extendedMessagePayload: ").append(toIndentedString(extendedMessagePayload)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java new file mode 100644 index 00000000..6ad2221b --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java @@ -0,0 +1,204 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdExtendedMessagePayload; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + +import com.fasterxml.jackson.core.type.TypeReference; + +import javax.ws.rs.core.GenericType; +import javax.ws.rs.core.Response; +import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import org.sendbird.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendBirdSendbirdMessageResponseExtendedMessagePayload.SendBirdSendbirdMessageResponseExtendedMessagePayloadDeserializer.class) +@JsonSerialize(using = SendBirdSendbirdMessageResponseExtendedMessagePayload.SendBirdSendbirdMessageResponseExtendedMessagePayloadSerializer.class) +public class SendBirdSendbirdMessageResponseExtendedMessagePayload extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendBirdSendbirdMessageResponseExtendedMessagePayload.class.getName()); + + public static class SendBirdSendbirdMessageResponseExtendedMessagePayloadSerializer extends StdSerializer { + public SendBirdSendbirdMessageResponseExtendedMessagePayloadSerializer(Class t) { + super(t); + } + + public SendBirdSendbirdMessageResponseExtendedMessagePayloadSerializer() { + this(null); + } + + @Override + public void serialize(SendBirdSendbirdMessageResponseExtendedMessagePayload value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); + } + } + + public static class SendBirdSendbirdMessageResponseExtendedMessagePayloadDeserializer extends StdDeserializer { + public SendBirdSendbirdMessageResponseExtendedMessagePayloadDeserializer() { + this(SendBirdSendbirdMessageResponseExtendedMessagePayload.class); + } + + public SendBirdSendbirdMessageResponseExtendedMessagePayloadDeserializer(Class vc) { + super(vc); + } + + @Override + public SendBirdSendbirdMessageResponseExtendedMessagePayload deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize SendBirdSendbirdExtendedMessagePayload + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (SendBirdSendbirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Long.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Float.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Double.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Boolean.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= ((SendBirdSendbirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendBirdSendbirdExtendedMessagePayload.class.equals(Float.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendBirdSendbirdExtendedMessagePayload.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendBirdSendbirdExtendedMessagePayload.class.equals(String.class) && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendbirdExtendedMessagePayload.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'SendBirdSendbirdExtendedMessagePayload'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'SendBirdSendbirdExtendedMessagePayload'", e); + } + + if (match == 1) { + SendBirdSendbirdMessageResponseExtendedMessagePayload ret = new SendBirdSendbirdMessageResponseExtendedMessagePayload(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException(String.format("Failed deserialization for SendBirdSendbirdMessageResponseExtendedMessagePayload: %d classes match result, expected 1", match)); + } + + /** + * Handle deserialization of the 'null' value. + */ + @Override + public SendBirdSendbirdMessageResponseExtendedMessagePayload getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendBirdSendbirdMessageResponseExtendedMessagePayload cannot be null"); + } + } + + // store a list of schema names defined in oneOf + public static final Map schemas = new HashMap(); + + public SendBirdSendbirdMessageResponseExtendedMessagePayload() { + super("oneOf", Boolean.FALSE); + } + + public SendBirdSendbirdMessageResponseExtendedMessagePayload(SendBirdSendbirdExtendedMessagePayload o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("SendBirdSendbirdExtendedMessagePayload", new GenericType() { + }); + JSON.registerDescendants(SendBirdSendbirdMessageResponseExtendedMessagePayload.class, Collections.unmodifiableMap(schemas)); + } + + @Override + public Map getSchemas() { + return SendBirdSendbirdMessageResponseExtendedMessagePayload.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * SendBirdSendbirdExtendedMessagePayload + * + * It could be an instance of the 'oneOf' schemas. + * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). + */ + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf(SendBirdSendbirdExtendedMessagePayload.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be SendBirdSendbirdExtendedMessagePayload"); + } + + /** + * Get the actual instance, which can be the following: + * SendBirdSendbirdExtendedMessagePayload + * + * @return The actual instance (SendBirdSendbirdExtendedMessagePayload) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `SendBirdSendbirdExtendedMessagePayload`. If the actual instance is not `SendBirdSendbirdExtendedMessagePayload`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SendBirdSendbirdExtendedMessagePayload` + * @throws ClassCastException if the instance is not `SendBirdSendbirdExtendedMessagePayload` + */ + public SendBirdSendbirdExtendedMessagePayload getSendBirdSendbirdExtendedMessagePayload() throws ClassCastException { + return (SendBirdSendbirdExtendedMessagePayload)super.getActualInstance(); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java new file mode 100644 index 00000000..9d072ae1 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java @@ -0,0 +1,209 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdMessageResponseMessageEvents + */ +@JsonPropertyOrder({ + SendBirdSendbirdMessageResponseMessageEvents.JSON_PROPERTY_SEND_PUSH_NOTIFICATION, + SendBirdSendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_UNREAD_COUNT, + SendBirdSendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_MENTION_COUNT, + SendBirdSendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_LAST_MESSAGE +}) +@JsonTypeName("Sendbird_MessageResponse_message_events") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdMessageResponseMessageEvents { + public static final String JSON_PROPERTY_SEND_PUSH_NOTIFICATION = "send_push_notification"; + private String sendPushNotification; + + public static final String JSON_PROPERTY_UPDATE_UNREAD_COUNT = "update_unread_count"; + private Boolean updateUnreadCount; + + public static final String JSON_PROPERTY_UPDATE_MENTION_COUNT = "update_mention_count"; + private Boolean updateMentionCount; + + public static final String JSON_PROPERTY_UPDATE_LAST_MESSAGE = "update_last_message"; + private Boolean updateLastMessage; + + public SendBirdSendbirdMessageResponseMessageEvents() { + } + + public SendBirdSendbirdMessageResponseMessageEvents sendPushNotification(String sendPushNotification) { + this.sendPushNotification = sendPushNotification; + return this; + } + + /** + * Get sendPushNotification + * @return sendPushNotification + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SEND_PUSH_NOTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getSendPushNotification() { + return sendPushNotification; + } + + + @JsonProperty(JSON_PROPERTY_SEND_PUSH_NOTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSendPushNotification(String sendPushNotification) { + this.sendPushNotification = sendPushNotification; + } + + + public SendBirdSendbirdMessageResponseMessageEvents updateUnreadCount(Boolean updateUnreadCount) { + this.updateUnreadCount = updateUnreadCount; + return this; + } + + /** + * Get updateUnreadCount + * @return updateUnreadCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UPDATE_UNREAD_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getUpdateUnreadCount() { + return updateUnreadCount; + } + + + @JsonProperty(JSON_PROPERTY_UPDATE_UNREAD_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUpdateUnreadCount(Boolean updateUnreadCount) { + this.updateUnreadCount = updateUnreadCount; + } + + + public SendBirdSendbirdMessageResponseMessageEvents updateMentionCount(Boolean updateMentionCount) { + this.updateMentionCount = updateMentionCount; + return this; + } + + /** + * Get updateMentionCount + * @return updateMentionCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UPDATE_MENTION_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getUpdateMentionCount() { + return updateMentionCount; + } + + + @JsonProperty(JSON_PROPERTY_UPDATE_MENTION_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUpdateMentionCount(Boolean updateMentionCount) { + this.updateMentionCount = updateMentionCount; + } + + + public SendBirdSendbirdMessageResponseMessageEvents updateLastMessage(Boolean updateLastMessage) { + this.updateLastMessage = updateLastMessage; + return this; + } + + /** + * Get updateLastMessage + * @return updateLastMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UPDATE_LAST_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getUpdateLastMessage() { + return updateLastMessage; + } + + + @JsonProperty(JSON_PROPERTY_UPDATE_LAST_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUpdateLastMessage(Boolean updateLastMessage) { + this.updateLastMessage = updateLastMessage; + } + + + /** + * Return true if this Sendbird_MessageResponse_message_events object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdMessageResponseMessageEvents sendbirdMessageResponseMessageEvents = (SendBirdSendbirdMessageResponseMessageEvents) o; + return Objects.equals(this.sendPushNotification, sendbirdMessageResponseMessageEvents.sendPushNotification) && + Objects.equals(this.updateUnreadCount, sendbirdMessageResponseMessageEvents.updateUnreadCount) && + Objects.equals(this.updateMentionCount, sendbirdMessageResponseMessageEvents.updateMentionCount) && + Objects.equals(this.updateLastMessage, sendbirdMessageResponseMessageEvents.updateLastMessage); + } + + @Override + public int hashCode() { + return Objects.hash(sendPushNotification, updateUnreadCount, updateMentionCount, updateLastMessage); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdMessageResponseMessageEvents {\n"); + sb.append(" sendPushNotification: ").append(toIndentedString(sendPushNotification)).append("\n"); + sb.append(" updateUnreadCount: ").append(toIndentedString(updateUnreadCount)).append("\n"); + sb.append(" updateMentionCount: ").append(toIndentedString(updateMentionCount)).append("\n"); + sb.append(" updateLastMessage: ").append(toIndentedString(updateLastMessage)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java new file mode 100644 index 00000000..9b0dcf3c --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java @@ -0,0 +1,531 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdOpenChannel + */ +@JsonPropertyOrder({ + SendBirdSendbirdOpenChannel.JSON_PROPERTY_CHANNEL_URL, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_COVER_URL, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_CREATED_AT, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_DATA, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_FREEZE, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_IS_DYNAMIC_PARTITIONED, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_NAME, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_OPERATORS, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_PARTICIPANT_COUNT, + SendBirdSendbirdOpenChannel.JSON_PROPERTY_METADATA +}) +@JsonTypeName("Sendbird.OpenChannel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdOpenChannel { + public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; + private String channelUrl; + + public static final String JSON_PROPERTY_COVER_URL = "cover_url"; + private String coverUrl; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_FREEZE = "freeze"; + private Boolean freeze; + + public static final String JSON_PROPERTY_IS_DYNAMIC_PARTITIONED = "is_dynamic_partitioned"; + private Boolean isDynamicPartitioned; + + public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; + private Boolean isEphemeral; + + public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; + private Integer maxLengthMessage; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_OPERATORS = "operators"; + private List operators = null; + + public static final String JSON_PROPERTY_PARTICIPANT_COUNT = "participant_count"; + private Integer participantCount; + + public static final String JSON_PROPERTY_METADATA = "metadata"; + private JsonNullable metadata = JsonNullable.undefined(); + + public SendBirdSendbirdOpenChannel() { + } + + public SendBirdSendbirdOpenChannel channelUrl(String channelUrl) { + this.channelUrl = channelUrl; + return this; + } + + /** + * Get channelUrl + * @return channelUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getChannelUrl() { + return channelUrl; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setChannelUrl(String channelUrl) { + this.channelUrl = channelUrl; + } + + + public SendBirdSendbirdOpenChannel coverUrl(String coverUrl) { + this.coverUrl = coverUrl; + return this; + } + + /** + * Get coverUrl + * @return coverUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCoverUrl() { + return coverUrl; + } + + + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverUrl(String coverUrl) { + this.coverUrl = coverUrl; + } + + + public SendBirdSendbirdOpenChannel createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdSendbirdOpenChannel customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdSendbirdOpenChannel data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdSendbirdOpenChannel freeze(Boolean freeze) { + this.freeze = freeze; + return this; + } + + /** + * Get freeze + * @return freeze + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getFreeze() { + return freeze; + } + + + @JsonProperty(JSON_PROPERTY_FREEZE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFreeze(Boolean freeze) { + this.freeze = freeze; + } + + + public SendBirdSendbirdOpenChannel isDynamicPartitioned(Boolean isDynamicPartitioned) { + this.isDynamicPartitioned = isDynamicPartitioned; + return this; + } + + /** + * Get isDynamicPartitioned + * @return isDynamicPartitioned + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DYNAMIC_PARTITIONED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDynamicPartitioned() { + return isDynamicPartitioned; + } + + + @JsonProperty(JSON_PROPERTY_IS_DYNAMIC_PARTITIONED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDynamicPartitioned(Boolean isDynamicPartitioned) { + this.isDynamicPartitioned = isDynamicPartitioned; + } + + + public SendBirdSendbirdOpenChannel isEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + return this; + } + + /** + * Get isEphemeral + * @return isEphemeral + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsEphemeral() { + return isEphemeral; + } + + + @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsEphemeral(Boolean isEphemeral) { + this.isEphemeral = isEphemeral; + } + + + public SendBirdSendbirdOpenChannel maxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + return this; + } + + /** + * Get maxLengthMessage + * @return maxLengthMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMaxLengthMessage() { + return maxLengthMessage; + } + + + @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMaxLengthMessage(Integer maxLengthMessage) { + this.maxLengthMessage = maxLengthMessage; + } + + + public SendBirdSendbirdOpenChannel name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + public SendBirdSendbirdOpenChannel operators(List operators) { + this.operators = operators; + return this; + } + + public SendBirdSendbirdOpenChannel addOperatorsItem(SendBirdSendbirdBasicUserInfo operatorsItem) { + if (this.operators == null) { + this.operators = new ArrayList<>(); + } + this.operators.add(operatorsItem); + return this; + } + + /** + * Get operators + * @return operators + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_OPERATORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getOperators() { + return operators; + } + + + @JsonProperty(JSON_PROPERTY_OPERATORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperators(List operators) { + this.operators = operators; + } + + + public SendBirdSendbirdOpenChannel participantCount(Integer participantCount) { + this.participantCount = participantCount; + return this; + } + + /** + * Get participantCount + * @return participantCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PARTICIPANT_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getParticipantCount() { + return participantCount; + } + + + @JsonProperty(JSON_PROPERTY_PARTICIPANT_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setParticipantCount(Integer participantCount) { + this.participantCount = participantCount; + } + + + public SendBirdSendbirdOpenChannel metadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Object getMetadata() { + return metadata.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { + this.metadata = metadata; + } + + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + + + /** + * Return true if this Sendbird.OpenChannel object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdOpenChannel sendbirdOpenChannel = (SendBirdSendbirdOpenChannel) o; + return Objects.equals(this.channelUrl, sendbirdOpenChannel.channelUrl) && + Objects.equals(this.coverUrl, sendbirdOpenChannel.coverUrl) && + Objects.equals(this.createdAt, sendbirdOpenChannel.createdAt) && + Objects.equals(this.customType, sendbirdOpenChannel.customType) && + Objects.equals(this.data, sendbirdOpenChannel.data) && + Objects.equals(this.freeze, sendbirdOpenChannel.freeze) && + Objects.equals(this.isDynamicPartitioned, sendbirdOpenChannel.isDynamicPartitioned) && + Objects.equals(this.isEphemeral, sendbirdOpenChannel.isEphemeral) && + Objects.equals(this.maxLengthMessage, sendbirdOpenChannel.maxLengthMessage) && + Objects.equals(this.name, sendbirdOpenChannel.name) && + Objects.equals(this.operators, sendbirdOpenChannel.operators) && + Objects.equals(this.participantCount, sendbirdOpenChannel.participantCount) && + equalsNullable(this.metadata, sendbirdOpenChannel.metadata); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(channelUrl, coverUrl, createdAt, customType, data, freeze, isDynamicPartitioned, isEphemeral, maxLengthMessage, name, operators, participantCount, hashCodeNullable(metadata)); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdOpenChannel {\n"); + sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); + sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); + sb.append(" isDynamicPartitioned: ").append(toIndentedString(isDynamicPartitioned)).append("\n"); + sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); + sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" operators: ").append(toIndentedString(operators)).append("\n"); + sb.append(" participantCount: ").append(toIndentedString(participantCount)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java new file mode 100644 index 00000000..59e99c5d --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java @@ -0,0 +1,317 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdFile; +import org.openapitools.client.model.SendBirdSendbirdUser; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdParentMessageInfo + */ +@JsonPropertyOrder({ + SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_MESSAGE, + SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_TYPE, + SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_TS, + SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_USER, + SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_FILE, + SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_FILES +}) +@JsonTypeName("Sendbird.ParentMessageInfo") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdParentMessageInfo { + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; + + public static final String JSON_PROPERTY_TYPE = "type"; + private String type; + + public static final String JSON_PROPERTY_TS = "ts"; + private Long ts; + + public static final String JSON_PROPERTY_USER = "user"; + private SendBirdSendbirdUser user; + + public static final String JSON_PROPERTY_FILE = "file"; + private SendBirdSendbirdFile _file; + + public static final String JSON_PROPERTY_FILES = "files"; + private List files = null; + + public SendBirdSendbirdParentMessageInfo() { + } + + public SendBirdSendbirdParentMessageInfo customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdSendbirdParentMessageInfo message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(String message) { + this.message = message; + } + + + public SendBirdSendbirdParentMessageInfo type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getType() { + return type; + } + + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setType(String type) { + this.type = type; + } + + + public SendBirdSendbirdParentMessageInfo ts(Long ts) { + this.ts = ts; + return this; + } + + /** + * Get ts + * @return ts + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getTs() { + return ts; + } + + + @JsonProperty(JSON_PROPERTY_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTs(Long ts) { + this.ts = ts; + } + + + public SendBirdSendbirdParentMessageInfo user(SendBirdSendbirdUser user) { + this.user = user; + return this; + } + + /** + * Get user + * @return user + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdUser getUser() { + return user; + } + + + @JsonProperty(JSON_PROPERTY_USER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUser(SendBirdSendbirdUser user) { + this.user = user; + } + + + public SendBirdSendbirdParentMessageInfo _file(SendBirdSendbirdFile _file) { + this._file = _file; + return this; + } + + /** + * Get _file + * @return _file + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdFile getFile() { + return _file; + } + + + @JsonProperty(JSON_PROPERTY_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFile(SendBirdSendbirdFile _file) { + this._file = _file; + } + + + public SendBirdSendbirdParentMessageInfo files(List files) { + this.files = files; + return this; + } + + public SendBirdSendbirdParentMessageInfo addFilesItem(SendBirdSendbirdFile filesItem) { + if (this.files == null) { + this.files = new ArrayList<>(); + } + this.files.add(filesItem); + return this; + } + + /** + * Get files + * @return files + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_FILES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getFiles() { + return files; + } + + + @JsonProperty(JSON_PROPERTY_FILES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFiles(List files) { + this.files = files; + } + + + /** + * Return true if this Sendbird.ParentMessageInfo object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdParentMessageInfo sendbirdParentMessageInfo = (SendBirdSendbirdParentMessageInfo) o; + return Objects.equals(this.customType, sendbirdParentMessageInfo.customType) && + Objects.equals(this.message, sendbirdParentMessageInfo.message) && + Objects.equals(this.type, sendbirdParentMessageInfo.type) && + Objects.equals(this.ts, sendbirdParentMessageInfo.ts) && + Objects.equals(this.user, sendbirdParentMessageInfo.user) && + Objects.equals(this._file, sendbirdParentMessageInfo._file) && + Objects.equals(this.files, sendbirdParentMessageInfo.files); + } + + @Override + public int hashCode() { + return Objects.hash(customType, message, type, ts, user, _file, files); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdParentMessageInfo {\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" ts: ").append(toIndentedString(ts)).append("\n"); + sb.append(" user: ").append(toIndentedString(user)).append("\n"); + sb.append(" _file: ").append(toIndentedString(_file)).append("\n"); + sb.append(" files: ").append(toIndentedString(files)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java new file mode 100644 index 00000000..58008c78 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java @@ -0,0 +1,64 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Gets or Sets Sendbird.PushTriggerOption + */ +public enum SendBirdSendbirdPushTriggerOption { + + ALL("all"), + + MENTION_ONLY("mention_only"), + + OFF("off"); + + private String value; + + SendBirdSendbirdPushTriggerOption(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static SendBirdSendbirdPushTriggerOption fromValue(String value) { + for (SendBirdSendbirdPushTriggerOption b : SendBirdSendbirdPushTriggerOption.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java new file mode 100644 index 00000000..7e6e13e6 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java @@ -0,0 +1,187 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdReaction + */ +@JsonPropertyOrder({ + SendBirdSendbirdReaction.JSON_PROPERTY_KEY, + SendBirdSendbirdReaction.JSON_PROPERTY_UPDATED_AT, + SendBirdSendbirdReaction.JSON_PROPERTY_USER_IDS +}) +@JsonTypeName("Sendbird.Reaction") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdReaction { + public static final String JSON_PROPERTY_KEY = "key"; + private String key; + + public static final String JSON_PROPERTY_UPDATED_AT = "updated_at"; + private Long updatedAt; + + public static final String JSON_PROPERTY_USER_IDS = "user_ids"; + private List userIds = null; + + public SendBirdSendbirdReaction() { + } + + public SendBirdSendbirdReaction key(String key) { + this.key = key; + return this; + } + + /** + * Get key + * @return key + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_KEY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getKey() { + return key; + } + + + @JsonProperty(JSON_PROPERTY_KEY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setKey(String key) { + this.key = key; + } + + + public SendBirdSendbirdReaction updatedAt(Long updatedAt) { + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UPDATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getUpdatedAt() { + return updatedAt; + } + + + @JsonProperty(JSON_PROPERTY_UPDATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUpdatedAt(Long updatedAt) { + this.updatedAt = updatedAt; + } + + + public SendBirdSendbirdReaction userIds(List userIds) { + this.userIds = userIds; + return this; + } + + public SendBirdSendbirdReaction addUserIdsItem(String userIdsItem) { + if (this.userIds == null) { + this.userIds = new ArrayList<>(); + } + this.userIds.add(userIdsItem); + return this; + } + + /** + * Get userIds + * @return userIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getUserIds() { + return userIds; + } + + + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUserIds(List userIds) { + this.userIds = userIds; + } + + + /** + * Return true if this Sendbird.Reaction object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdReaction sendbirdReaction = (SendBirdSendbirdReaction) o; + return Objects.equals(this.key, sendbirdReaction.key) && + Objects.equals(this.updatedAt, sendbirdReaction.updatedAt) && + Objects.equals(this.userIds, sendbirdReaction.userIds); + } + + @Override + public int hashCode() { + return Objects.hash(key, updatedAt, userIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdReaction {\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java new file mode 100644 index 00000000..d31d1d62 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java @@ -0,0 +1,155 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdSmsFallback + */ +@JsonPropertyOrder({ + SendBirdSendbirdSmsFallback.JSON_PROPERTY_WAIT_SECONDS, + SendBirdSendbirdSmsFallback.JSON_PROPERTY_EXCLUDE_USER_IDS +}) +@JsonTypeName("Sendbird.SmsFallback") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdSmsFallback { + public static final String JSON_PROPERTY_WAIT_SECONDS = "wait_seconds"; + private Integer waitSeconds; + + public static final String JSON_PROPERTY_EXCLUDE_USER_IDS = "exclude_user_ids"; + private List excludeUserIds = null; + + public SendBirdSendbirdSmsFallback() { + } + + public SendBirdSendbirdSmsFallback waitSeconds(Integer waitSeconds) { + this.waitSeconds = waitSeconds; + return this; + } + + /** + * Get waitSeconds + * @return waitSeconds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_WAIT_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getWaitSeconds() { + return waitSeconds; + } + + + @JsonProperty(JSON_PROPERTY_WAIT_SECONDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setWaitSeconds(Integer waitSeconds) { + this.waitSeconds = waitSeconds; + } + + + public SendBirdSendbirdSmsFallback excludeUserIds(List excludeUserIds) { + this.excludeUserIds = excludeUserIds; + return this; + } + + public SendBirdSendbirdSmsFallback addExcludeUserIdsItem(String excludeUserIdsItem) { + if (this.excludeUserIds == null) { + this.excludeUserIds = new ArrayList<>(); + } + this.excludeUserIds.add(excludeUserIdsItem); + return this; + } + + /** + * Get excludeUserIds + * @return excludeUserIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_EXCLUDE_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getExcludeUserIds() { + return excludeUserIds; + } + + + @JsonProperty(JSON_PROPERTY_EXCLUDE_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setExcludeUserIds(List excludeUserIds) { + this.excludeUserIds = excludeUserIds; + } + + + /** + * Return true if this Sendbird.SmsFallback object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdSmsFallback sendbirdSmsFallback = (SendBirdSendbirdSmsFallback) o; + return Objects.equals(this.waitSeconds, sendbirdSmsFallback.waitSeconds) && + Objects.equals(this.excludeUserIds, sendbirdSmsFallback.excludeUserIds); + } + + @Override + public int hashCode() { + return Objects.hash(waitSeconds, excludeUserIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdSmsFallback {\n"); + sb.append(" waitSeconds: ").append(toIndentedString(waitSeconds)).append("\n"); + sb.append(" excludeUserIds: ").append(toIndentedString(excludeUserIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java new file mode 100644 index 00000000..94bc7c5c --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java @@ -0,0 +1,155 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdSortedMetaarrayInner + */ +@JsonPropertyOrder({ + SendBirdSendbirdSortedMetaarrayInner.JSON_PROPERTY_KEY, + SendBirdSendbirdSortedMetaarrayInner.JSON_PROPERTY_VALUE +}) +@JsonTypeName("Sendbird_SortedMetaarray_inner") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdSortedMetaarrayInner { + public static final String JSON_PROPERTY_KEY = "key"; + private String key; + + public static final String JSON_PROPERTY_VALUE = "value"; + private List value = null; + + public SendBirdSendbirdSortedMetaarrayInner() { + } + + public SendBirdSendbirdSortedMetaarrayInner key(String key) { + this.key = key; + return this; + } + + /** + * Get key + * @return key + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_KEY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getKey() { + return key; + } + + + @JsonProperty(JSON_PROPERTY_KEY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setKey(String key) { + this.key = key; + } + + + public SendBirdSendbirdSortedMetaarrayInner value(List value) { + this.value = value; + return this; + } + + public SendBirdSendbirdSortedMetaarrayInner addValueItem(String valueItem) { + if (this.value == null) { + this.value = new ArrayList<>(); + } + this.value.add(valueItem); + return this; + } + + /** + * Get value + * @return value + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_VALUE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getValue() { + return value; + } + + + @JsonProperty(JSON_PROPERTY_VALUE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setValue(List value) { + this.value = value; + } + + + /** + * Return true if this Sendbird_SortedMetaarray_inner object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdSortedMetaarrayInner sendbirdSortedMetaarrayInner = (SendBirdSendbirdSortedMetaarrayInner) o; + return Objects.equals(this.key, sendbirdSortedMetaarrayInner.key) && + Objects.equals(this.value, sendbirdSortedMetaarrayInner.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdSortedMetaarrayInner {\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java new file mode 100644 index 00000000..a1a9c180 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java @@ -0,0 +1,273 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdSendbirdThumbnail + */ +@JsonPropertyOrder({ + SendBirdSendbirdThumbnail.JSON_PROPERTY_HEIGHT, + SendBirdSendbirdThumbnail.JSON_PROPERTY_PLAIN_URL, + SendBirdSendbirdThumbnail.JSON_PROPERTY_REAL_HEIGHT, + SendBirdSendbirdThumbnail.JSON_PROPERTY_REAL_WIDTH, + SendBirdSendbirdThumbnail.JSON_PROPERTY_URL, + SendBirdSendbirdThumbnail.JSON_PROPERTY_WIDTH +}) +@JsonTypeName("Sendbird.Thumbnail") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdThumbnail { + public static final String JSON_PROPERTY_HEIGHT = "height"; + private Integer height; + + public static final String JSON_PROPERTY_PLAIN_URL = "plain_url"; + private String plainUrl; + + public static final String JSON_PROPERTY_REAL_HEIGHT = "real_height"; + private Integer realHeight; + + public static final String JSON_PROPERTY_REAL_WIDTH = "real_width"; + private Integer realWidth; + + public static final String JSON_PROPERTY_URL = "url"; + private String url; + + public static final String JSON_PROPERTY_WIDTH = "width"; + private Integer width; + + public SendBirdSendbirdThumbnail() { + } + + public SendBirdSendbirdThumbnail height(Integer height) { + this.height = height; + return this; + } + + /** + * Get height + * @return height + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HEIGHT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getHeight() { + return height; + } + + + @JsonProperty(JSON_PROPERTY_HEIGHT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHeight(Integer height) { + this.height = height; + } + + + public SendBirdSendbirdThumbnail plainUrl(String plainUrl) { + this.plainUrl = plainUrl; + return this; + } + + /** + * Get plainUrl + * @return plainUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PLAIN_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPlainUrl() { + return plainUrl; + } + + + @JsonProperty(JSON_PROPERTY_PLAIN_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPlainUrl(String plainUrl) { + this.plainUrl = plainUrl; + } + + + public SendBirdSendbirdThumbnail realHeight(Integer realHeight) { + this.realHeight = realHeight; + return this; + } + + /** + * Get realHeight + * @return realHeight + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REAL_HEIGHT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getRealHeight() { + return realHeight; + } + + + @JsonProperty(JSON_PROPERTY_REAL_HEIGHT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRealHeight(Integer realHeight) { + this.realHeight = realHeight; + } + + + public SendBirdSendbirdThumbnail realWidth(Integer realWidth) { + this.realWidth = realWidth; + return this; + } + + /** + * Get realWidth + * @return realWidth + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REAL_WIDTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getRealWidth() { + return realWidth; + } + + + @JsonProperty(JSON_PROPERTY_REAL_WIDTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRealWidth(Integer realWidth) { + this.realWidth = realWidth; + } + + + public SendBirdSendbirdThumbnail url(String url) { + this.url = url; + return this; + } + + /** + * Get url + * @return url + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getUrl() { + return url; + } + + + @JsonProperty(JSON_PROPERTY_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUrl(String url) { + this.url = url; + } + + + public SendBirdSendbirdThumbnail width(Integer width) { + this.width = width; + return this; + } + + /** + * Get width + * @return width + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_WIDTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getWidth() { + return width; + } + + + @JsonProperty(JSON_PROPERTY_WIDTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setWidth(Integer width) { + this.width = width; + } + + + /** + * Return true if this Sendbird.Thumbnail object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdThumbnail sendbirdThumbnail = (SendBirdSendbirdThumbnail) o; + return Objects.equals(this.height, sendbirdThumbnail.height) && + Objects.equals(this.plainUrl, sendbirdThumbnail.plainUrl) && + Objects.equals(this.realHeight, sendbirdThumbnail.realHeight) && + Objects.equals(this.realWidth, sendbirdThumbnail.realWidth) && + Objects.equals(this.url, sendbirdThumbnail.url) && + Objects.equals(this.width, sendbirdThumbnail.width); + } + + @Override + public int hashCode() { + return Objects.hash(height, plainUrl, realHeight, realWidth, url, width); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdThumbnail {\n"); + sb.append(" height: ").append(toIndentedString(height)).append("\n"); + sb.append(" plainUrl: ").append(toIndentedString(plainUrl)).append("\n"); + sb.append(" realHeight: ").append(toIndentedString(realHeight)).append("\n"); + sb.append(" realWidth: ").append(toIndentedString(realWidth)).append("\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" width: ").append(toIndentedString(width)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java new file mode 100644 index 00000000..5e66a224 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java @@ -0,0 +1,872 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * User + */ +@ApiModel(description = "User") +@JsonPropertyOrder({ + SendBirdSendbirdUser.JSON_PROPERTY_ACCESS_TOKEN, + SendBirdSendbirdUser.JSON_PROPERTY_CREATED_AT, + SendBirdSendbirdUser.JSON_PROPERTY_DISCOVERY_KEYS, + SendBirdSendbirdUser.JSON_PROPERTY_HAS_EVER_LOGGED_IN, + SendBirdSendbirdUser.JSON_PROPERTY_IS_ACTIVE, + SendBirdSendbirdUser.JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS, + SendBirdSendbirdUser.JSON_PROPERTY_IS_ONLINE, + SendBirdSendbirdUser.JSON_PROPERTY_IS_SHADOW_BLOCKED, + SendBirdSendbirdUser.JSON_PROPERTY_LAST_SEEN_AT, + SendBirdSendbirdUser.JSON_PROPERTY_LOCALE, + SendBirdSendbirdUser.JSON_PROPERTY_METADATA, + SendBirdSendbirdUser.JSON_PROPERTY_NICKNAME, + SendBirdSendbirdUser.JSON_PROPERTY_PREFERRED_LANGUAGES, + SendBirdSendbirdUser.JSON_PROPERTY_PROFILE_URL, + SendBirdSendbirdUser.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendBirdSendbirdUser.JSON_PROPERTY_USER_ID, + SendBirdSendbirdUser.JSON_PROPERTY_STATE, + SendBirdSendbirdUser.JSON_PROPERTY_UNREAD_CHANNEL_COUNT, + SendBirdSendbirdUser.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, + SendBirdSendbirdUser.JSON_PROPERTY_PHONE_NUMBER, + SendBirdSendbirdUser.JSON_PROPERTY_IS_CREATED +}) +@JsonTypeName("Sendbird.User") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdSendbirdUser { + public static final String JSON_PROPERTY_ACCESS_TOKEN = "access_token"; + private String accessToken; + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private Long createdAt; + + public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; + private JsonNullable> discoveryKeys = JsonNullable.>undefined(); + + public static final String JSON_PROPERTY_HAS_EVER_LOGGED_IN = "has_ever_logged_in"; + private Boolean hasEverLoggedIn; + + public static final String JSON_PROPERTY_IS_ACTIVE = "is_active"; + private Boolean isActive; + + public static final String JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS = "is_hide_me_from_friends"; + private Boolean isHideMeFromFriends; + + public static final String JSON_PROPERTY_IS_ONLINE = "is_online"; + private Boolean isOnline; + + public static final String JSON_PROPERTY_IS_SHADOW_BLOCKED = "is_shadow_blocked"; + private Boolean isShadowBlocked; + + public static final String JSON_PROPERTY_LAST_SEEN_AT = "last_seen_at"; + private Long lastSeenAt; + + public static final String JSON_PROPERTY_LOCALE = "locale"; + private String locale; + + public static final String JSON_PROPERTY_METADATA = "metadata"; + private JsonNullable metadata = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_NICKNAME = "nickname"; + private JsonNullable nickname = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_PREFERRED_LANGUAGES = "preferred_languages"; + private JsonNullable> preferredLanguages = JsonNullable.>undefined(); + + public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; + private String profileUrl = ""; + + public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; + private Boolean requireAuthForProfileImage; + + public static final String JSON_PROPERTY_USER_ID = "user_id"; + private String userId; + + /** + * Gets or Sets state + */ + public enum StateEnum { + EMPTY(""), + + INVITED("invited"), + + JOINED("joined"); + + private String value; + + StateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static StateEnum fromValue(String value) { + for (StateEnum b : StateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + } + + public static final String JSON_PROPERTY_STATE = "state"; + private JsonNullable state = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_UNREAD_CHANNEL_COUNT = "unread_channel_count"; + private Integer unreadChannelCount; + + public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; + private Integer unreadMessageCount; + + public static final String JSON_PROPERTY_PHONE_NUMBER = "phone_number"; + private String phoneNumber; + + public static final String JSON_PROPERTY_IS_CREATED = "is_created"; + private Boolean isCreated; + + public SendBirdSendbirdUser() { + } + + public SendBirdSendbirdUser accessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * Get accessToken + * @return accessToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ACCESS_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getAccessToken() { + return accessToken; + } + + + @JsonProperty(JSON_PROPERTY_ACCESS_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAccessToken(String accessToken) { + this.accessToken = accessToken; + } + + + public SendBirdSendbirdUser createdAt(Long createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getCreatedAt() { + return createdAt; + } + + + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedAt(Long createdAt) { + this.createdAt = createdAt; + } + + + public SendBirdSendbirdUser discoveryKeys(List discoveryKeys) { + this.discoveryKeys = JsonNullable.>of(discoveryKeys); + return this; + } + + public SendBirdSendbirdUser addDiscoveryKeysItem(String discoveryKeysItem) { + if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { + this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); + } + try { + this.discoveryKeys.get().add(discoveryKeysItem); + } catch (java.util.NoSuchElementException e) { + // this can never happen, as we make sure above that the value is present + } + return this; + } + + /** + * Get discoveryKeys + * @return discoveryKeys + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public List getDiscoveryKeys() { + return discoveryKeys.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable> getDiscoveryKeys_JsonNullable() { + return discoveryKeys; + } + + @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) + public void setDiscoveryKeys_JsonNullable(JsonNullable> discoveryKeys) { + this.discoveryKeys = discoveryKeys; + } + + public void setDiscoveryKeys(List discoveryKeys) { + this.discoveryKeys = JsonNullable.>of(discoveryKeys); + } + + + public SendBirdSendbirdUser hasEverLoggedIn(Boolean hasEverLoggedIn) { + this.hasEverLoggedIn = hasEverLoggedIn; + return this; + } + + /** + * Get hasEverLoggedIn + * @return hasEverLoggedIn + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_HAS_EVER_LOGGED_IN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getHasEverLoggedIn() { + return hasEverLoggedIn; + } + + + @JsonProperty(JSON_PROPERTY_HAS_EVER_LOGGED_IN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHasEverLoggedIn(Boolean hasEverLoggedIn) { + this.hasEverLoggedIn = hasEverLoggedIn; + } + + + public SendBirdSendbirdUser isActive(Boolean isActive) { + this.isActive = isActive; + return this; + } + + /** + * Get isActive + * @return isActive + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_ACTIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsActive() { + return isActive; + } + + + @JsonProperty(JSON_PROPERTY_IS_ACTIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsActive(Boolean isActive) { + this.isActive = isActive; + } + + + public SendBirdSendbirdUser isHideMeFromFriends(Boolean isHideMeFromFriends) { + this.isHideMeFromFriends = isHideMeFromFriends; + return this; + } + + /** + * Get isHideMeFromFriends + * @return isHideMeFromFriends + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsHideMeFromFriends() { + return isHideMeFromFriends; + } + + + @JsonProperty(JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsHideMeFromFriends(Boolean isHideMeFromFriends) { + this.isHideMeFromFriends = isHideMeFromFriends; + } + + + public SendBirdSendbirdUser isOnline(Boolean isOnline) { + this.isOnline = isOnline; + return this; + } + + /** + * Get isOnline + * @return isOnline + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_ONLINE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsOnline() { + return isOnline; + } + + + @JsonProperty(JSON_PROPERTY_IS_ONLINE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsOnline(Boolean isOnline) { + this.isOnline = isOnline; + } + + + public SendBirdSendbirdUser isShadowBlocked(Boolean isShadowBlocked) { + this.isShadowBlocked = isShadowBlocked; + return this; + } + + /** + * Get isShadowBlocked + * @return isShadowBlocked + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SHADOW_BLOCKED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsShadowBlocked() { + return isShadowBlocked; + } + + + @JsonProperty(JSON_PROPERTY_IS_SHADOW_BLOCKED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsShadowBlocked(Boolean isShadowBlocked) { + this.isShadowBlocked = isShadowBlocked; + } + + + public SendBirdSendbirdUser lastSeenAt(Long lastSeenAt) { + this.lastSeenAt = lastSeenAt; + return this; + } + + /** + * Get lastSeenAt + * @return lastSeenAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getLastSeenAt() { + return lastSeenAt; + } + + + @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastSeenAt(Long lastSeenAt) { + this.lastSeenAt = lastSeenAt; + } + + + public SendBirdSendbirdUser locale(String locale) { + this.locale = locale; + return this; + } + + /** + * Get locale + * @return locale + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_LOCALE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getLocale() { + return locale; + } + + + @JsonProperty(JSON_PROPERTY_LOCALE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLocale(String locale) { + this.locale = locale; + } + + + public SendBirdSendbirdUser metadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public Object getMetadata() { + return metadata.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getMetadata_JsonNullable() { + return metadata; + } + + @JsonProperty(JSON_PROPERTY_METADATA) + public void setMetadata_JsonNullable(JsonNullable metadata) { + this.metadata = metadata; + } + + public void setMetadata(Object metadata) { + this.metadata = JsonNullable.of(metadata); + } + + + public SendBirdSendbirdUser nickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + return this; + } + + /** + * Get nickname + * @return nickname + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public String getNickname() { + return nickname.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getNickname_JsonNullable() { + return nickname; + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + public void setNickname_JsonNullable(JsonNullable nickname) { + this.nickname = nickname; + } + + public void setNickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + } + + + public SendBirdSendbirdUser preferredLanguages(List preferredLanguages) { + this.preferredLanguages = JsonNullable.>of(preferredLanguages); + return this; + } + + public SendBirdSendbirdUser addPreferredLanguagesItem(String preferredLanguagesItem) { + if (this.preferredLanguages == null || !this.preferredLanguages.isPresent()) { + this.preferredLanguages = JsonNullable.>of(new ArrayList<>()); + } + try { + this.preferredLanguages.get().add(preferredLanguagesItem); + } catch (java.util.NoSuchElementException e) { + // this can never happen, as we make sure above that the value is present + } + return this; + } + + /** + * Get preferredLanguages + * @return preferredLanguages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public List getPreferredLanguages() { + return preferredLanguages.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable> getPreferredLanguages_JsonNullable() { + return preferredLanguages; + } + + @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) + public void setPreferredLanguages_JsonNullable(JsonNullable> preferredLanguages) { + this.preferredLanguages = preferredLanguages; + } + + public void setPreferredLanguages(List preferredLanguages) { + this.preferredLanguages = JsonNullable.>of(preferredLanguages); + } + + + public SendBirdSendbirdUser profileUrl(String profileUrl) { + this.profileUrl = profileUrl; + return this; + } + + /** + * Get profileUrl + * @return profileUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getProfileUrl() { + return profileUrl; + } + + + @JsonProperty(JSON_PROPERTY_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setProfileUrl(String profileUrl) { + this.profileUrl = profileUrl; + } + + + public SendBirdSendbirdUser requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + this.requireAuthForProfileImage = requireAuthForProfileImage; + return this; + } + + /** + * Get requireAuthForProfileImage + * @return requireAuthForProfileImage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getRequireAuthForProfileImage() { + return requireAuthForProfileImage; + } + + + @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { + this.requireAuthForProfileImage = requireAuthForProfileImage; + } + + + public SendBirdSendbirdUser userId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getUserId() { + return userId; + } + + + @JsonProperty(JSON_PROPERTY_USER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserId(String userId) { + this.userId = userId; + } + + + public SendBirdSendbirdUser state(StateEnum state) { + this.state = JsonNullable.of(state); + return this; + } + + /** + * Get state + * @return state + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public StateEnum getState() { + return state.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getState_JsonNullable() { + return state; + } + + @JsonProperty(JSON_PROPERTY_STATE) + public void setState_JsonNullable(JsonNullable state) { + this.state = state; + } + + public void setState(StateEnum state) { + this.state = JsonNullable.of(state); + } + + + public SendBirdSendbirdUser unreadChannelCount(Integer unreadChannelCount) { + this.unreadChannelCount = unreadChannelCount; + return this; + } + + /** + * Get unreadChannelCount + * @return unreadChannelCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_CHANNEL_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadChannelCount() { + return unreadChannelCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_CHANNEL_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadChannelCount(Integer unreadChannelCount) { + this.unreadChannelCount = unreadChannelCount; + } + + + public SendBirdSendbirdUser unreadMessageCount(Integer unreadMessageCount) { + this.unreadMessageCount = unreadMessageCount; + return this; + } + + /** + * Get unreadMessageCount + * @return unreadMessageCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadMessageCount() { + return unreadMessageCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadMessageCount(Integer unreadMessageCount) { + this.unreadMessageCount = unreadMessageCount; + } + + + public SendBirdSendbirdUser phoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Get phoneNumber + * @return phoneNumber + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPhoneNumber() { + return phoneNumber; + } + + + @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + + public SendBirdSendbirdUser isCreated(Boolean isCreated) { + this.isCreated = isCreated; + return this; + } + + /** + * Get isCreated + * @return isCreated + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_CREATED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsCreated() { + return isCreated; + } + + + @JsonProperty(JSON_PROPERTY_IS_CREATED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsCreated(Boolean isCreated) { + this.isCreated = isCreated; + } + + + /** + * Return true if this Sendbird.User object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdSendbirdUser sendbirdUser = (SendBirdSendbirdUser) o; + return Objects.equals(this.accessToken, sendbirdUser.accessToken) && + Objects.equals(this.createdAt, sendbirdUser.createdAt) && + equalsNullable(this.discoveryKeys, sendbirdUser.discoveryKeys) && + Objects.equals(this.hasEverLoggedIn, sendbirdUser.hasEverLoggedIn) && + Objects.equals(this.isActive, sendbirdUser.isActive) && + Objects.equals(this.isHideMeFromFriends, sendbirdUser.isHideMeFromFriends) && + Objects.equals(this.isOnline, sendbirdUser.isOnline) && + Objects.equals(this.isShadowBlocked, sendbirdUser.isShadowBlocked) && + Objects.equals(this.lastSeenAt, sendbirdUser.lastSeenAt) && + Objects.equals(this.locale, sendbirdUser.locale) && + equalsNullable(this.metadata, sendbirdUser.metadata) && + equalsNullable(this.nickname, sendbirdUser.nickname) && + equalsNullable(this.preferredLanguages, sendbirdUser.preferredLanguages) && + Objects.equals(this.profileUrl, sendbirdUser.profileUrl) && + Objects.equals(this.requireAuthForProfileImage, sendbirdUser.requireAuthForProfileImage) && + Objects.equals(this.userId, sendbirdUser.userId) && + equalsNullable(this.state, sendbirdUser.state) && + Objects.equals(this.unreadChannelCount, sendbirdUser.unreadChannelCount) && + Objects.equals(this.unreadMessageCount, sendbirdUser.unreadMessageCount) && + Objects.equals(this.phoneNumber, sendbirdUser.phoneNumber) && + Objects.equals(this.isCreated, sendbirdUser.isCreated); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(accessToken, createdAt, hashCodeNullable(discoveryKeys), hasEverLoggedIn, isActive, isHideMeFromFriends, isOnline, isShadowBlocked, lastSeenAt, locale, hashCodeNullable(metadata), hashCodeNullable(nickname), hashCodeNullable(preferredLanguages), profileUrl, requireAuthForProfileImage, userId, hashCodeNullable(state), unreadChannelCount, unreadMessageCount, phoneNumber, isCreated); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdSendbirdUser {\n"); + sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" discoveryKeys: ").append(toIndentedString(discoveryKeys)).append("\n"); + sb.append(" hasEverLoggedIn: ").append(toIndentedString(hasEverLoggedIn)).append("\n"); + sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" isHideMeFromFriends: ").append(toIndentedString(isHideMeFromFriends)).append("\n"); + sb.append(" isOnline: ").append(toIndentedString(isOnline)).append("\n"); + sb.append(" isShadowBlocked: ").append(toIndentedString(isShadowBlocked)).append("\n"); + sb.append(" lastSeenAt: ").append(toIndentedString(lastSeenAt)).append("\n"); + sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" nickname: ").append(toIndentedString(nickname)).append("\n"); + sb.append(" preferredLanguages: ").append(toIndentedString(preferredLanguages)).append("\n"); + sb.append(" profileUrl: ").append(toIndentedString(profileUrl)).append("\n"); + sb.append(" requireAuthForProfileImage: ").append(toIndentedString(requireAuthForProfileImage)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" unreadChannelCount: ").append(toIndentedString(unreadChannelCount)).append("\n"); + sb.append(" unreadMessageCount: ").append(toIndentedString(unreadMessageCount)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" isCreated: ").append(toIndentedString(isCreated)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java b/src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java new file mode 100644 index 00000000..d4dcb2b4 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java @@ -0,0 +1,120 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdStartTypingIndicatorsRequest + */ +@JsonPropertyOrder({ + SendBirdStartTypingIndicatorsRequest.JSON_PROPERTY_USER_IDS +}) +@JsonTypeName("startTypingIndicators_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdStartTypingIndicatorsRequest { + public static final String JSON_PROPERTY_USER_IDS = "user_ids"; + private List userIds = new ArrayList<>(); + + public SendBirdStartTypingIndicatorsRequest() { + } + + public SendBirdStartTypingIndicatorsRequest userIds(List userIds) { + this.userIds = userIds; + return this; + } + + public SendBirdStartTypingIndicatorsRequest addUserIdsItem(String userIdsItem) { + this.userIds.add(userIdsItem); + return this; + } + + /** + * Get userIds + * @return userIds + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public List getUserIds() { + return userIds; + } + + + @JsonProperty(JSON_PROPERTY_USER_IDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUserIds(List userIds) { + this.userIds = userIds; + } + + + /** + * Return true if this startTypingIndicators_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdStartTypingIndicatorsRequest startTypingIndicatorsRequest = (SendBirdStartTypingIndicatorsRequest) o; + return Objects.equals(this.userIds, startTypingIndicatorsRequest.userIds); + } + + @Override + public int hashCode() { + return Objects.hash(userIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdStartTypingIndicatorsRequest {\n"); + sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java new file mode 100644 index 00000000..a08509e6 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java @@ -0,0 +1,145 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateAChannelMetadataRequest + */ +@JsonPropertyOrder({ + SendBirdUpdateAChannelMetadataRequest.JSON_PROPERTY_METADATA, + SendBirdUpdateAChannelMetadataRequest.JSON_PROPERTY_UPSERT +}) +@JsonTypeName("updateAChannelMetadata_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateAChannelMetadataRequest { + public static final String JSON_PROPERTY_METADATA = "metadata"; + private Object metadata; + + public static final String JSON_PROPERTY_UPSERT = "upsert"; + private Boolean upsert; + + public SendBirdUpdateAChannelMetadataRequest() { + } + + public SendBirdUpdateAChannelMetadataRequest metadata(Object metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Object getMetadata() { + return metadata; + } + + + @JsonProperty(JSON_PROPERTY_METADATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + + public SendBirdUpdateAChannelMetadataRequest upsert(Boolean upsert) { + this.upsert = upsert; + return this; + } + + /** + * Get upsert + * @return upsert + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UPSERT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getUpsert() { + return upsert; + } + + + @JsonProperty(JSON_PROPERTY_UPSERT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUpsert(Boolean upsert) { + this.upsert = upsert; + } + + + /** + * Return true if this updateAChannelMetadata_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateAChannelMetadataRequest updateAChannelMetadataRequest = (SendBirdUpdateAChannelMetadataRequest) o; + return Objects.equals(this.metadata, updateAChannelMetadataRequest.metadata) && + Objects.equals(this.upsert, updateAChannelMetadataRequest.upsert); + } + + @Override + public int hashCode() { + return Objects.hash(metadata, upsert); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateAChannelMetadataRequest {\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" upsert: ").append(toIndentedString(upsert)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java new file mode 100644 index 00000000..553ae2b0 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java @@ -0,0 +1,435 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateAGroupChannelRequest + */ +@JsonPropertyOrder({ + SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_ACCESS_CODE, + SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_COVER_FILE, + SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_COVER_URL, + SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_DATA, + SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_IS_DISTINCT, + SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_IS_PUBLIC, + SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_IS_SUPER, + SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_NAME, + SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS +}) +@JsonTypeName("updateAGroupChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateAGroupChannelRequest { + public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; + private JsonNullable accessCode = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; + private File coverFile; + + public static final String JSON_PROPERTY_COVER_URL = "cover_url"; + private String coverUrl; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; + private Boolean isDistinct; + + public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; + private Boolean isPublic; + + public static final String JSON_PROPERTY_IS_SUPER = "is_super"; + private Boolean isSuper; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; + private List operatorIds = null; + + public SendBirdUpdateAGroupChannelRequest() { + } + + public SendBirdUpdateAGroupChannelRequest accessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + return this; + } + + /** + * Get accessCode + * @return accessCode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public String getAccessCode() { + return accessCode.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getAccessCode_JsonNullable() { + return accessCode; + } + + @JsonProperty(JSON_PROPERTY_ACCESS_CODE) + public void setAccessCode_JsonNullable(JsonNullable accessCode) { + this.accessCode = accessCode; + } + + public void setAccessCode(String accessCode) { + this.accessCode = JsonNullable.of(accessCode); + } + + + public SendBirdUpdateAGroupChannelRequest coverFile(File coverFile) { + this.coverFile = coverFile; + return this; + } + + /** + * Get coverFile + * @return coverFile + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public File getCoverFile() { + return coverFile; + } + + + @JsonProperty(JSON_PROPERTY_COVER_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverFile(File coverFile) { + this.coverFile = coverFile; + } + + + public SendBirdUpdateAGroupChannelRequest coverUrl(String coverUrl) { + this.coverUrl = coverUrl; + return this; + } + + /** + * Get coverUrl + * @return coverUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCoverUrl() { + return coverUrl; + } + + + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverUrl(String coverUrl) { + this.coverUrl = coverUrl; + } + + + public SendBirdUpdateAGroupChannelRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdUpdateAGroupChannelRequest data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdUpdateAGroupChannelRequest isDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + return this; + } + + /** + * Get isDistinct + * @return isDistinct + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsDistinct() { + return isDistinct; + } + + + @JsonProperty(JSON_PROPERTY_IS_DISTINCT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDistinct(Boolean isDistinct) { + this.isDistinct = isDistinct; + } + + + public SendBirdUpdateAGroupChannelRequest isPublic(Boolean isPublic) { + this.isPublic = isPublic; + return this; + } + + /** + * Get isPublic + * @return isPublic + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPublic() { + return isPublic; + } + + + @JsonProperty(JSON_PROPERTY_IS_PUBLIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPublic(Boolean isPublic) { + this.isPublic = isPublic; + } + + + public SendBirdUpdateAGroupChannelRequest isSuper(Boolean isSuper) { + this.isSuper = isSuper; + return this; + } + + /** + * Get isSuper + * @return isSuper + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsSuper() { + return isSuper; + } + + + @JsonProperty(JSON_PROPERTY_IS_SUPER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsSuper(Boolean isSuper) { + this.isSuper = isSuper; + } + + + public SendBirdUpdateAGroupChannelRequest name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + public SendBirdUpdateAGroupChannelRequest operatorIds(List operatorIds) { + this.operatorIds = operatorIds; + return this; + } + + public SendBirdUpdateAGroupChannelRequest addOperatorIdsItem(String operatorIdsItem) { + if (this.operatorIds == null) { + this.operatorIds = new ArrayList<>(); + } + this.operatorIds.add(operatorIdsItem); + return this; + } + + /** + * Get operatorIds + * @return operatorIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getOperatorIds() { + return operatorIds; + } + + + @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperatorIds(List operatorIds) { + this.operatorIds = operatorIds; + } + + + /** + * Return true if this updateAGroupChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateAGroupChannelRequest updateAGroupChannelRequest = (SendBirdUpdateAGroupChannelRequest) o; + return equalsNullable(this.accessCode, updateAGroupChannelRequest.accessCode) && + Objects.equals(this.coverFile, updateAGroupChannelRequest.coverFile) && + Objects.equals(this.coverUrl, updateAGroupChannelRequest.coverUrl) && + Objects.equals(this.customType, updateAGroupChannelRequest.customType) && + Objects.equals(this.data, updateAGroupChannelRequest.data) && + Objects.equals(this.isDistinct, updateAGroupChannelRequest.isDistinct) && + Objects.equals(this.isPublic, updateAGroupChannelRequest.isPublic) && + Objects.equals(this.isSuper, updateAGroupChannelRequest.isSuper) && + Objects.equals(this.name, updateAGroupChannelRequest.name) && + Objects.equals(this.operatorIds, updateAGroupChannelRequest.operatorIds); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(hashCodeNullable(accessCode), coverFile, coverUrl, customType, data, isDistinct, isPublic, isSuper, name, operatorIds); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateAGroupChannelRequest {\n"); + sb.append(" accessCode: ").append(toIndentedString(accessCode)).append("\n"); + sb.append(" coverFile: ").append(toIndentedString(coverFile)).append("\n"); + sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); + sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); + sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" operatorIds: ").append(toIndentedString(operatorIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java new file mode 100644 index 00000000..5330b36a --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java @@ -0,0 +1,352 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateAMessageRequest + */ +@JsonPropertyOrder({ + SendBirdUpdateAMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdUpdateAMessageRequest.JSON_PROPERTY_DATA, + SendBirdUpdateAMessageRequest.JSON_PROPERTY_MENTION_TYPE, + SendBirdUpdateAMessageRequest.JSON_PROPERTY_MENTIONED_USER_IDS, + SendBirdUpdateAMessageRequest.JSON_PROPERTY_MESSAGE, + SendBirdUpdateAMessageRequest.JSON_PROPERTY_URL, + SendBirdUpdateAMessageRequest.JSON_PROPERTY_MESSAGE_TYPE +}) +@JsonTypeName("updateAMessage_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateAMessageRequest { + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; + private String mentionType; + + public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; + private List mentionedUserIds = null; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + private String message; + + public static final String JSON_PROPERTY_URL = "url"; + private String url; + + /** + * Gets or Sets messageType + */ + public enum MessageTypeEnum { + MESG("MESG"), + + ADMM("ADMM"), + + FILE("FILE"); + + private String value; + + MessageTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MessageTypeEnum fromValue(String value) { + for (MessageTypeEnum b : MessageTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; + private MessageTypeEnum messageType; + + public SendBirdUpdateAMessageRequest() { + } + + public SendBirdUpdateAMessageRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdUpdateAMessageRequest data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdUpdateAMessageRequest mentionType(String mentionType) { + this.mentionType = mentionType; + return this; + } + + /** + * Get mentionType + * @return mentionType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMentionType() { + return mentionType; + } + + + @JsonProperty(JSON_PROPERTY_MENTION_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionType(String mentionType) { + this.mentionType = mentionType; + } + + + public SendBirdUpdateAMessageRequest mentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + return this; + } + + public SendBirdUpdateAMessageRequest addMentionedUserIdsItem(String mentionedUserIdsItem) { + if (this.mentionedUserIds == null) { + this.mentionedUserIds = new ArrayList<>(); + } + this.mentionedUserIds.add(mentionedUserIdsItem); + return this; + } + + /** + * Get mentionedUserIds + * @return mentionedUserIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getMentionedUserIds() { + return mentionedUserIds; + } + + + @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMentionedUserIds(List mentionedUserIds) { + this.mentionedUserIds = mentionedUserIds; + } + + + public SendBirdUpdateAMessageRequest message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMessage() { + return message; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(String message) { + this.message = message; + } + + + public SendBirdUpdateAMessageRequest url(String url) { + this.url = url; + return this; + } + + /** + * Get url + * @return url + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getUrl() { + return url; + } + + + @JsonProperty(JSON_PROPERTY_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUrl(String url) { + this.url = url; + } + + + public SendBirdUpdateAMessageRequest messageType(MessageTypeEnum messageType) { + this.messageType = messageType; + return this; + } + + /** + * Get messageType + * @return messageType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public MessageTypeEnum getMessageType() { + return messageType; + } + + + @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessageType(MessageTypeEnum messageType) { + this.messageType = messageType; + } + + + /** + * Return true if this updateAMessage_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateAMessageRequest updateAMessageRequest = (SendBirdUpdateAMessageRequest) o; + return Objects.equals(this.customType, updateAMessageRequest.customType) && + Objects.equals(this.data, updateAMessageRequest.data) && + Objects.equals(this.mentionType, updateAMessageRequest.mentionType) && + Objects.equals(this.mentionedUserIds, updateAMessageRequest.mentionedUserIds) && + Objects.equals(this.message, updateAMessageRequest.message) && + Objects.equals(this.url, updateAMessageRequest.url) && + Objects.equals(this.messageType, updateAMessageRequest.messageType); + } + + @Override + public int hashCode() { + return Objects.hash(customType, data, mentionType, mentionedUserIds, message, url, messageType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateAMessageRequest {\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); + sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java new file mode 100644 index 00000000..355d5283 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java @@ -0,0 +1,443 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateAUserRequest + */ +@JsonPropertyOrder({ + SendBirdUpdateAUserRequest.JSON_PROPERTY_DISCOVERY_KEYS, + SendBirdUpdateAUserRequest.JSON_PROPERTY_IS_ACTIVE, + SendBirdUpdateAUserRequest.JSON_PROPERTY_ISSUE_ACCESS_TOKEN, + SendBirdUpdateAUserRequest.JSON_PROPERTY_LAST_SEEN_AT, + SendBirdUpdateAUserRequest.JSON_PROPERTY_LEAVE_ALL_WHEN_DEACTIVATED, + SendBirdUpdateAUserRequest.JSON_PROPERTY_NICKNAME, + SendBirdUpdateAUserRequest.JSON_PROPERTY_PREFERRED_LANGUAGES, + SendBirdUpdateAUserRequest.JSON_PROPERTY_PROFILE_FILE, + SendBirdUpdateAUserRequest.JSON_PROPERTY_PROFILE_URL +}) +@JsonTypeName("updateAUser_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateAUserRequest { + public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; + private JsonNullable> discoveryKeys = JsonNullable.>undefined(); + + public static final String JSON_PROPERTY_IS_ACTIVE = "is_active"; + private Boolean isActive; + + public static final String JSON_PROPERTY_ISSUE_ACCESS_TOKEN = "issue_access_token"; + private Boolean issueAccessToken; + + public static final String JSON_PROPERTY_LAST_SEEN_AT = "last_seen_at"; + private Long lastSeenAt; + + public static final String JSON_PROPERTY_LEAVE_ALL_WHEN_DEACTIVATED = "leave_all_when_deactivated"; + private Boolean leaveAllWhenDeactivated; + + public static final String JSON_PROPERTY_NICKNAME = "nickname"; + private JsonNullable nickname = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_PREFERRED_LANGUAGES = "preferred_languages"; + private JsonNullable> preferredLanguages = JsonNullable.>undefined(); + + public static final String JSON_PROPERTY_PROFILE_FILE = "profile_file"; + private File profileFile; + + public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; + private JsonNullable profileUrl = JsonNullable.undefined(); + + public SendBirdUpdateAUserRequest() { + } + + public SendBirdUpdateAUserRequest discoveryKeys(List discoveryKeys) { + this.discoveryKeys = JsonNullable.>of(discoveryKeys); + return this; + } + + public SendBirdUpdateAUserRequest addDiscoveryKeysItem(String discoveryKeysItem) { + if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { + this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); + } + try { + this.discoveryKeys.get().add(discoveryKeysItem); + } catch (java.util.NoSuchElementException e) { + // this can never happen, as we make sure above that the value is present + } + return this; + } + + /** + * Get discoveryKeys + * @return discoveryKeys + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public List getDiscoveryKeys() { + return discoveryKeys.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable> getDiscoveryKeys_JsonNullable() { + return discoveryKeys; + } + + @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) + public void setDiscoveryKeys_JsonNullable(JsonNullable> discoveryKeys) { + this.discoveryKeys = discoveryKeys; + } + + public void setDiscoveryKeys(List discoveryKeys) { + this.discoveryKeys = JsonNullable.>of(discoveryKeys); + } + + + public SendBirdUpdateAUserRequest isActive(Boolean isActive) { + this.isActive = isActive; + return this; + } + + /** + * Get isActive + * @return isActive + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_ACTIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsActive() { + return isActive; + } + + + @JsonProperty(JSON_PROPERTY_IS_ACTIVE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsActive(Boolean isActive) { + this.isActive = isActive; + } + + + public SendBirdUpdateAUserRequest issueAccessToken(Boolean issueAccessToken) { + this.issueAccessToken = issueAccessToken; + return this; + } + + /** + * Get issueAccessToken + * @return issueAccessToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ISSUE_ACCESS_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIssueAccessToken() { + return issueAccessToken; + } + + + @JsonProperty(JSON_PROPERTY_ISSUE_ACCESS_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIssueAccessToken(Boolean issueAccessToken) { + this.issueAccessToken = issueAccessToken; + } + + + public SendBirdUpdateAUserRequest lastSeenAt(Long lastSeenAt) { + this.lastSeenAt = lastSeenAt; + return this; + } + + /** + * Get lastSeenAt + * @return lastSeenAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getLastSeenAt() { + return lastSeenAt; + } + + + @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastSeenAt(Long lastSeenAt) { + this.lastSeenAt = lastSeenAt; + } + + + public SendBirdUpdateAUserRequest leaveAllWhenDeactivated(Boolean leaveAllWhenDeactivated) { + this.leaveAllWhenDeactivated = leaveAllWhenDeactivated; + return this; + } + + /** + * Get leaveAllWhenDeactivated + * @return leaveAllWhenDeactivated + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_LEAVE_ALL_WHEN_DEACTIVATED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getLeaveAllWhenDeactivated() { + return leaveAllWhenDeactivated; + } + + + @JsonProperty(JSON_PROPERTY_LEAVE_ALL_WHEN_DEACTIVATED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLeaveAllWhenDeactivated(Boolean leaveAllWhenDeactivated) { + this.leaveAllWhenDeactivated = leaveAllWhenDeactivated; + } + + + public SendBirdUpdateAUserRequest nickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + return this; + } + + /** + * Get nickname + * @return nickname + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public String getNickname() { + return nickname.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getNickname_JsonNullable() { + return nickname; + } + + @JsonProperty(JSON_PROPERTY_NICKNAME) + public void setNickname_JsonNullable(JsonNullable nickname) { + this.nickname = nickname; + } + + public void setNickname(String nickname) { + this.nickname = JsonNullable.of(nickname); + } + + + public SendBirdUpdateAUserRequest preferredLanguages(List preferredLanguages) { + this.preferredLanguages = JsonNullable.>of(preferredLanguages); + return this; + } + + public SendBirdUpdateAUserRequest addPreferredLanguagesItem(String preferredLanguagesItem) { + if (this.preferredLanguages == null || !this.preferredLanguages.isPresent()) { + this.preferredLanguages = JsonNullable.>of(new ArrayList<>()); + } + try { + this.preferredLanguages.get().add(preferredLanguagesItem); + } catch (java.util.NoSuchElementException e) { + // this can never happen, as we make sure above that the value is present + } + return this; + } + + /** + * Get preferredLanguages + * @return preferredLanguages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public List getPreferredLanguages() { + return preferredLanguages.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable> getPreferredLanguages_JsonNullable() { + return preferredLanguages; + } + + @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) + public void setPreferredLanguages_JsonNullable(JsonNullable> preferredLanguages) { + this.preferredLanguages = preferredLanguages; + } + + public void setPreferredLanguages(List preferredLanguages) { + this.preferredLanguages = JsonNullable.>of(preferredLanguages); + } + + + public SendBirdUpdateAUserRequest profileFile(File profileFile) { + this.profileFile = profileFile; + return this; + } + + /** + * Get profileFile + * @return profileFile + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PROFILE_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public File getProfileFile() { + return profileFile; + } + + + @JsonProperty(JSON_PROPERTY_PROFILE_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setProfileFile(File profileFile) { + this.profileFile = profileFile; + } + + + public SendBirdUpdateAUserRequest profileUrl(String profileUrl) { + this.profileUrl = JsonNullable.of(profileUrl); + return this; + } + + /** + * Get profileUrl + * @return profileUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonIgnore + + public String getProfileUrl() { + return profileUrl.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public JsonNullable getProfileUrl_JsonNullable() { + return profileUrl; + } + + @JsonProperty(JSON_PROPERTY_PROFILE_URL) + public void setProfileUrl_JsonNullable(JsonNullable profileUrl) { + this.profileUrl = profileUrl; + } + + public void setProfileUrl(String profileUrl) { + this.profileUrl = JsonNullable.of(profileUrl); + } + + + /** + * Return true if this updateAUser_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateAUserRequest updateAUserRequest = (SendBirdUpdateAUserRequest) o; + return equalsNullable(this.discoveryKeys, updateAUserRequest.discoveryKeys) && + Objects.equals(this.isActive, updateAUserRequest.isActive) && + Objects.equals(this.issueAccessToken, updateAUserRequest.issueAccessToken) && + Objects.equals(this.lastSeenAt, updateAUserRequest.lastSeenAt) && + Objects.equals(this.leaveAllWhenDeactivated, updateAUserRequest.leaveAllWhenDeactivated) && + equalsNullable(this.nickname, updateAUserRequest.nickname) && + equalsNullable(this.preferredLanguages, updateAUserRequest.preferredLanguages) && + Objects.equals(this.profileFile, updateAUserRequest.profileFile) && + equalsNullable(this.profileUrl, updateAUserRequest.profileUrl); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(hashCodeNullable(discoveryKeys), isActive, issueAccessToken, lastSeenAt, leaveAllWhenDeactivated, hashCodeNullable(nickname), hashCodeNullable(preferredLanguages), profileFile, hashCodeNullable(profileUrl)); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateAUserRequest {\n"); + sb.append(" discoveryKeys: ").append(toIndentedString(discoveryKeys)).append("\n"); + sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); + sb.append(" issueAccessToken: ").append(toIndentedString(issueAccessToken)).append("\n"); + sb.append(" lastSeenAt: ").append(toIndentedString(lastSeenAt)).append("\n"); + sb.append(" leaveAllWhenDeactivated: ").append(toIndentedString(leaveAllWhenDeactivated)).append("\n"); + sb.append(" nickname: ").append(toIndentedString(nickname)).append("\n"); + sb.append(" preferredLanguages: ").append(toIndentedString(preferredLanguages)).append("\n"); + sb.append(" profileFile: ").append(toIndentedString(profileFile)).append("\n"); + sb.append(" profileUrl: ").append(toIndentedString(profileUrl)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java new file mode 100644 index 00000000..06be0b35 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java @@ -0,0 +1,284 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateAnOpenChannelRequest + */ +@JsonPropertyOrder({ + SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_COVER_FILE, + SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_COVER_URL, + SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_DATA, + SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_NAME, + SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS +}) +@JsonTypeName("updateAnOpenChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateAnOpenChannelRequest { + public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; + private File coverFile; + + public static final String JSON_PROPERTY_COVER_URL = "cover_url"; + private String coverUrl; + + public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; + private String customType; + + public static final String JSON_PROPERTY_DATA = "data"; + private String data; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; + private List operatorIds = null; + + public SendBirdUpdateAnOpenChannelRequest() { + } + + public SendBirdUpdateAnOpenChannelRequest coverFile(File coverFile) { + this.coverFile = coverFile; + return this; + } + + /** + * Get coverFile + * @return coverFile + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public File getCoverFile() { + return coverFile; + } + + + @JsonProperty(JSON_PROPERTY_COVER_FILE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverFile(File coverFile) { + this.coverFile = coverFile; + } + + + public SendBirdUpdateAnOpenChannelRequest coverUrl(String coverUrl) { + this.coverUrl = coverUrl; + return this; + } + + /** + * Get coverUrl + * @return coverUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCoverUrl() { + return coverUrl; + } + + + @JsonProperty(JSON_PROPERTY_COVER_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCoverUrl(String coverUrl) { + this.coverUrl = coverUrl; + } + + + public SendBirdUpdateAnOpenChannelRequest customType(String customType) { + this.customType = customType; + return this; + } + + /** + * Get customType + * @return customType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCustomType() { + return customType; + } + + + @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomType(String customType) { + this.customType = customType; + } + + + public SendBirdUpdateAnOpenChannelRequest data(String data) { + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getData() { + return data; + } + + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setData(String data) { + this.data = data; + } + + + public SendBirdUpdateAnOpenChannelRequest name(String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getName() { + return name; + } + + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(String name) { + this.name = name; + } + + + public SendBirdUpdateAnOpenChannelRequest operatorIds(List operatorIds) { + this.operatorIds = operatorIds; + return this; + } + + public SendBirdUpdateAnOpenChannelRequest addOperatorIdsItem(String operatorIdsItem) { + if (this.operatorIds == null) { + this.operatorIds = new ArrayList<>(); + } + this.operatorIds.add(operatorIdsItem); + return this; + } + + /** + * Get operatorIds + * @return operatorIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getOperatorIds() { + return operatorIds; + } + + + @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperatorIds(List operatorIds) { + this.operatorIds = operatorIds; + } + + + /** + * Return true if this updateAnOpenChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateAnOpenChannelRequest updateAnOpenChannelRequest = (SendBirdUpdateAnOpenChannelRequest) o; + return Objects.equals(this.coverFile, updateAnOpenChannelRequest.coverFile) && + Objects.equals(this.coverUrl, updateAnOpenChannelRequest.coverUrl) && + Objects.equals(this.customType, updateAnOpenChannelRequest.customType) && + Objects.equals(this.data, updateAnOpenChannelRequest.data) && + Objects.equals(this.name, updateAnOpenChannelRequest.name) && + Objects.equals(this.operatorIds, updateAnOpenChannelRequest.operatorIds); + } + + @Override + public int hashCode() { + return Objects.hash(coverFile, coverUrl, customType, data, name, operatorIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateAnOpenChannelRequest {\n"); + sb.append(" coverFile: ").append(toIndentedString(coverFile)).append("\n"); + sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); + sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" operatorIds: ").append(toIndentedString(operatorIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java new file mode 100644 index 00000000..1bc6f59e --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java @@ -0,0 +1,337 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateBotByIdData + */ +@JsonPropertyOrder({ + SendBirdUpdateBotByIdData.JSON_PROPERTY_BOT_USERID, + SendBirdUpdateBotByIdData.JSON_PROPERTY_BOT_NICKNAME, + SendBirdUpdateBotByIdData.JSON_PROPERTY_BOT_PROFILE_URL, + SendBirdUpdateBotByIdData.JSON_PROPERTY_BOT_CALLBACK_URL, + SendBirdUpdateBotByIdData.JSON_PROPERTY_IS_PRIVACY_MODE, + SendBirdUpdateBotByIdData.JSON_PROPERTY_ENABLE_MARK_AS_READ, + SendBirdUpdateBotByIdData.JSON_PROPERTY_SHOW_MEMBER, + SendBirdUpdateBotByIdData.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE +}) +@JsonTypeName("updateBotByIdData") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateBotByIdData { + public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; + private String botUserid; + + public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; + private String botNickname; + + public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; + private String botProfileUrl; + + public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; + private String botCallbackUrl; + + public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; + private Boolean isPrivacyMode; + + public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; + private Boolean enableMarkAsRead; + + public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; + private Boolean showMember; + + public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; + private Integer channelInvitationPreference; + + public SendBirdUpdateBotByIdData() { + } + + public SendBirdUpdateBotByIdData botUserid(String botUserid) { + this.botUserid = botUserid; + return this; + } + + /** + * Specifies the ID of the bot to update. + * @return botUserid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the ID of the bot to update.") + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotUserid() { + return botUserid; + } + + + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotUserid(String botUserid) { + this.botUserid = botUserid; + } + + + public SendBirdUpdateBotByIdData botNickname(String botNickname) { + this.botNickname = botNickname; + return this; + } + + /** + * Specifies the bot's nickname. The length is limited to 80 characters. + * @return botNickname + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the bot's nickname. The length is limited to 80 characters.") + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotNickname() { + return botNickname; + } + + + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotNickname(String botNickname) { + this.botNickname = botNickname; + } + + + public SendBirdUpdateBotByIdData botProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + return this; + } + + /** + * Specifies the URL of the bot's profile image. The size is limited to 2,048 characters. + * @return botProfileUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the URL of the bot's profile image. The size is limited to 2,048 characters.") + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotProfileUrl() { + return botProfileUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + } + + + public SendBirdUpdateBotByIdData botCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + return this; + } + + /** + * Specifies the server URL where bot is located to receive all events, requests, and data forwarded from an application. For security reasons, it is highly recommended that you use an SSL server. The length is limited to 1,024 characters. + * @return botCallbackUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the server URL where bot is located to receive all events, requests, and data forwarded from an application. For security reasons, it is highly recommended that you use an SSL server. The length is limited to 1,024 characters.") + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public String getBotCallbackUrl() { + return botCallbackUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBotCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + } + + + public SendBirdUpdateBotByIdData isPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + return this; + } + + /** + * In the channels of where the bot is a member, determines whether to only forward the messages with the specific conditions to the bot or forword all messages to the bot, for privacy concerns. If set to true, only messages that start with a '/' or mention the bot_userid are forwarded to the bot. If set to false, all messages are forwarded. + * @return isPrivacyMode + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "In the channels of where the bot is a member, determines whether to only forward the messages with the specific conditions to the bot or forword all messages to the bot, for privacy concerns. If set to true, only messages that start with a '/' or mention the bot_userid are forwarded to the bot. If set to false, all messages are forwarded.") + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Boolean getIsPrivacyMode() { + return isPrivacyMode; + } + + + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIsPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + } + + + public SendBirdUpdateBotByIdData enableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + return this; + } + + /** + * Determines whether to mark the bot's message as read upon sending it. (Default: true) + * @return enableMarkAsRead + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Determines whether to mark the bot's message as read upon sending it. (Default: true)") + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Boolean getEnableMarkAsRead() { + return enableMarkAsRead; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setEnableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + } + + + public SendBirdUpdateBotByIdData showMember(Boolean showMember) { + this.showMember = showMember; + return this; + } + + /** + * Determines whether to include information about the members of each channel in a callback response. (Default: false) + * @return showMember + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Determines whether to include information about the members of each channel in a callback response. (Default: false)") + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Boolean getShowMember() { + return showMember; + } + + + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setShowMember(Boolean showMember) { + this.showMember = showMember; + } + + + public SendBirdUpdateBotByIdData channelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + return this; + } + + /** + * Determines whether the bot automatically joins the channel when invited or joins the channel after manually accepting an invitation using the API. If set to 0, it automatically joins the channel. If set to 1, the latter takes place. (Default: 0) + * @return channelInvitationPreference + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Determines whether the bot automatically joins the channel when invited or joins the channel after manually accepting an invitation using the API. If set to 0, it automatically joins the channel. If set to 1, the latter takes place. (Default: 0)") + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public Integer getChannelInvitationPreference() { + return channelInvitationPreference; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setChannelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + } + + + /** + * Return true if this updateBotByIdData object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateBotByIdData updateBotByIdData = (SendBirdUpdateBotByIdData) o; + return Objects.equals(this.botUserid, updateBotByIdData.botUserid) && + Objects.equals(this.botNickname, updateBotByIdData.botNickname) && + Objects.equals(this.botProfileUrl, updateBotByIdData.botProfileUrl) && + Objects.equals(this.botCallbackUrl, updateBotByIdData.botCallbackUrl) && + Objects.equals(this.isPrivacyMode, updateBotByIdData.isPrivacyMode) && + Objects.equals(this.enableMarkAsRead, updateBotByIdData.enableMarkAsRead) && + Objects.equals(this.showMember, updateBotByIdData.showMember) && + Objects.equals(this.channelInvitationPreference, updateBotByIdData.channelInvitationPreference); + } + + @Override + public int hashCode() { + return Objects.hash(botUserid, botNickname, botProfileUrl, botCallbackUrl, isPrivacyMode, enableMarkAsRead, showMember, channelInvitationPreference); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateBotByIdData {\n"); + sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); + sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); + sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); + sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); + sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); + sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); + sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); + sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java new file mode 100644 index 00000000..7d0af20a --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java @@ -0,0 +1,274 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdViewBotByIdResponseBot; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateBotByIdResponse + */ +@JsonPropertyOrder({ + SendBirdUpdateBotByIdResponse.JSON_PROPERTY_BOT, + SendBirdUpdateBotByIdResponse.JSON_PROPERTY_BOT_CALLBACK_URL, + SendBirdUpdateBotByIdResponse.JSON_PROPERTY_ENABLE_MARK_AS_READ, + SendBirdUpdateBotByIdResponse.JSON_PROPERTY_IS_PRIVACY_MODE, + SendBirdUpdateBotByIdResponse.JSON_PROPERTY_SHOW_MEMBER, + SendBirdUpdateBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE +}) +@JsonTypeName("updateBotByIdResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateBotByIdResponse { + public static final String JSON_PROPERTY_BOT = "bot"; + private SendBirdViewBotByIdResponseBot bot; + + public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; + private String botCallbackUrl; + + public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; + private Boolean enableMarkAsRead; + + public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; + private Boolean isPrivacyMode; + + public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; + private Boolean showMember; + + public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; + private Integer channelInvitationPreference; + + public SendBirdUpdateBotByIdResponse() { + } + + public SendBirdUpdateBotByIdResponse bot(SendBirdViewBotByIdResponseBot bot) { + this.bot = bot; + return this; + } + + /** + * Get bot + * @return bot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdViewBotByIdResponseBot getBot() { + return bot; + } + + + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBot(SendBirdViewBotByIdResponseBot bot) { + this.bot = bot; + } + + + public SendBirdUpdateBotByIdResponse botCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + return this; + } + + /** + * Get botCallbackUrl + * @return botCallbackUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotCallbackUrl() { + return botCallbackUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + } + + + public SendBirdUpdateBotByIdResponse enableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + return this; + } + + /** + * Get enableMarkAsRead + * @return enableMarkAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnableMarkAsRead() { + return enableMarkAsRead; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + } + + + public SendBirdUpdateBotByIdResponse isPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + return this; + } + + /** + * Get isPrivacyMode + * @return isPrivacyMode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPrivacyMode() { + return isPrivacyMode; + } + + + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + } + + + public SendBirdUpdateBotByIdResponse showMember(Boolean showMember) { + this.showMember = showMember; + return this; + } + + /** + * Get showMember + * @return showMember + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getShowMember() { + return showMember; + } + + + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShowMember(Boolean showMember) { + this.showMember = showMember; + } + + + public SendBirdUpdateBotByIdResponse channelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + return this; + } + + /** + * Get channelInvitationPreference + * @return channelInvitationPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getChannelInvitationPreference() { + return channelInvitationPreference; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + } + + + /** + * Return true if this updateBotByIdResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateBotByIdResponse updateBotByIdResponse = (SendBirdUpdateBotByIdResponse) o; + return Objects.equals(this.bot, updateBotByIdResponse.bot) && + Objects.equals(this.botCallbackUrl, updateBotByIdResponse.botCallbackUrl) && + Objects.equals(this.enableMarkAsRead, updateBotByIdResponse.enableMarkAsRead) && + Objects.equals(this.isPrivacyMode, updateBotByIdResponse.isPrivacyMode) && + Objects.equals(this.showMember, updateBotByIdResponse.showMember) && + Objects.equals(this.channelInvitationPreference, updateBotByIdResponse.channelInvitationPreference); + } + + @Override + public int hashCode() { + return Objects.hash(bot, botCallbackUrl, enableMarkAsRead, isPrivacyMode, showMember, channelInvitationPreference); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateBotByIdResponse {\n"); + sb.append(" bot: ").append(toIndentedString(bot)).append("\n"); + sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); + sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); + sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); + sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); + sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java new file mode 100644 index 00000000..73b42b6d --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateChannelInvitationPreferenceRequest + */ +@JsonPropertyOrder({ + SendBirdUpdateChannelInvitationPreferenceRequest.JSON_PROPERTY_AUTO_ACCEPT +}) +@JsonTypeName("updateChannelInvitationPreference_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateChannelInvitationPreferenceRequest { + public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; + private Boolean autoAccept; + + public SendBirdUpdateChannelInvitationPreferenceRequest() { + } + + public SendBirdUpdateChannelInvitationPreferenceRequest autoAccept(Boolean autoAccept) { + this.autoAccept = autoAccept; + return this; + } + + /** + * Get autoAccept + * @return autoAccept + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getAutoAccept() { + return autoAccept; + } + + + @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAutoAccept(Boolean autoAccept) { + this.autoAccept = autoAccept; + } + + + /** + * Return true if this updateChannelInvitationPreference_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest = (SendBirdUpdateChannelInvitationPreferenceRequest) o; + return Objects.equals(this.autoAccept, updateChannelInvitationPreferenceRequest.autoAccept); + } + + @Override + public int hashCode() { + return Objects.hash(autoAccept); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateChannelInvitationPreferenceRequest {\n"); + sb.append(" autoAccept: ").append(toIndentedString(autoAccept)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java new file mode 100644 index 00000000..fc85ab4b --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateChannelInvitationPreferenceResponse + */ +@JsonPropertyOrder({ + SendBirdUpdateChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT +}) +@JsonTypeName("updateChannelInvitationPreferenceResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateChannelInvitationPreferenceResponse { + public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; + private Boolean autoAccept; + + public SendBirdUpdateChannelInvitationPreferenceResponse() { + } + + public SendBirdUpdateChannelInvitationPreferenceResponse autoAccept(Boolean autoAccept) { + this.autoAccept = autoAccept; + return this; + } + + /** + * Get autoAccept + * @return autoAccept + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getAutoAccept() { + return autoAccept; + } + + + @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAutoAccept(Boolean autoAccept) { + this.autoAccept = autoAccept; + } + + + /** + * Return true if this updateChannelInvitationPreferenceResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateChannelInvitationPreferenceResponse updateChannelInvitationPreferenceResponse = (SendBirdUpdateChannelInvitationPreferenceResponse) o; + return Objects.equals(this.autoAccept, updateChannelInvitationPreferenceResponse.autoAccept); + } + + @Override + public int hashCode() { + return Objects.hash(autoAccept); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateChannelInvitationPreferenceResponse {\n"); + sb.append(" autoAccept: ").append(toIndentedString(autoAccept)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java new file mode 100644 index 00000000..21db3d71 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java @@ -0,0 +1,152 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateCountPreferenceOfAChannelRequest + */ +@JsonPropertyOrder({ + SendBirdUpdateCountPreferenceOfAChannelRequest.JSON_PROPERTY_COUNT_PREFERENCE +}) +@JsonTypeName("updateCountPreferenceOfAChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateCountPreferenceOfAChannelRequest { + /** + * Gets or Sets countPreference + */ + public enum CountPreferenceEnum { + FALSE("false"), + + ALL("all"), + + UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), + + UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); + + private String value; + + CountPreferenceEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static CountPreferenceEnum fromValue(String value) { + for (CountPreferenceEnum b : CountPreferenceEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; + private CountPreferenceEnum countPreference; + + public SendBirdUpdateCountPreferenceOfAChannelRequest() { + } + + public SendBirdUpdateCountPreferenceOfAChannelRequest countPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + return this; + } + + /** + * Get countPreference + * @return countPreference + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public CountPreferenceEnum getCountPreference() { + return countPreference; + } + + + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCountPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + } + + + /** + * Return true if this updateCountPreferenceOfAChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest = (SendBirdUpdateCountPreferenceOfAChannelRequest) o; + return Objects.equals(this.countPreference, updateCountPreferenceOfAChannelRequest.countPreference); + } + + @Override + public int hashCode() { + return Objects.hash(countPreference); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateCountPreferenceOfAChannelRequest {\n"); + sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java new file mode 100644 index 00000000..1244bf52 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java @@ -0,0 +1,152 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateCountPreferenceOfChannelByUrlResponse + */ +@JsonPropertyOrder({ + SendBirdUpdateCountPreferenceOfChannelByUrlResponse.JSON_PROPERTY_COUNT_PREFERENCE +}) +@JsonTypeName("updateCountPreferenceOfChannelByUrlResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateCountPreferenceOfChannelByUrlResponse { + /** + * Gets or Sets countPreference + */ + public enum CountPreferenceEnum { + FALSE("false"), + + ALL("all"), + + UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), + + UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); + + private String value; + + CountPreferenceEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static CountPreferenceEnum fromValue(String value) { + for (CountPreferenceEnum b : CountPreferenceEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; + private CountPreferenceEnum countPreference; + + public SendBirdUpdateCountPreferenceOfChannelByUrlResponse() { + } + + public SendBirdUpdateCountPreferenceOfChannelByUrlResponse countPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + return this; + } + + /** + * Get countPreference + * @return countPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public CountPreferenceEnum getCountPreference() { + return countPreference; + } + + + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCountPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + } + + + /** + * Return true if this updateCountPreferenceOfChannelByUrlResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateCountPreferenceOfChannelByUrlResponse updateCountPreferenceOfChannelByUrlResponse = (SendBirdUpdateCountPreferenceOfChannelByUrlResponse) o; + return Objects.equals(this.countPreference, updateCountPreferenceOfChannelByUrlResponse.countPreference); + } + + @Override + public int hashCode() { + return Objects.hash(countPreference); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateCountPreferenceOfChannelByUrlResponse {\n"); + sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java new file mode 100644 index 00000000..07b5af26 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java @@ -0,0 +1,188 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateExtraDataInAMessageRequest + */ +@JsonPropertyOrder({ + SendBirdUpdateExtraDataInAMessageRequest.JSON_PROPERTY_MODE, + SendBirdUpdateExtraDataInAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY, + SendBirdUpdateExtraDataInAMessageRequest.JSON_PROPERTY_UPSERT +}) +@JsonTypeName("updateExtraDataInAMessage_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateExtraDataInAMessageRequest { + public static final String JSON_PROPERTY_MODE = "mode"; + private String mode; + + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public static final String JSON_PROPERTY_UPSERT = "upsert"; + private Boolean upsert; + + public SendBirdUpdateExtraDataInAMessageRequest() { + } + + public SendBirdUpdateExtraDataInAMessageRequest mode(String mode) { + this.mode = mode; + return this; + } + + /** + * Get mode + * @return mode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMode() { + return mode; + } + + + @JsonProperty(JSON_PROPERTY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMode(String mode) { + this.mode = mode; + } + + + public SendBirdUpdateExtraDataInAMessageRequest sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdUpdateExtraDataInAMessageRequest addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + public SendBirdUpdateExtraDataInAMessageRequest upsert(Boolean upsert) { + this.upsert = upsert; + return this; + } + + /** + * Get upsert + * @return upsert + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UPSERT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getUpsert() { + return upsert; + } + + + @JsonProperty(JSON_PROPERTY_UPSERT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUpsert(Boolean upsert) { + this.upsert = upsert; + } + + + /** + * Return true if this updateExtraDataInAMessage_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest = (SendBirdUpdateExtraDataInAMessageRequest) o; + return Objects.equals(this.mode, updateExtraDataInAMessageRequest.mode) && + Objects.equals(this.sortedMetaarray, updateExtraDataInAMessageRequest.sortedMetaarray) && + Objects.equals(this.upsert, updateExtraDataInAMessageRequest.upsert); + } + + @Override + public int hashCode() { + return Objects.hash(mode, sortedMetaarray, upsert); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateExtraDataInAMessageRequest {\n"); + sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append(" upsert: ").append(toIndentedString(upsert)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java new file mode 100644 index 00000000..0c892be0 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java @@ -0,0 +1,124 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdateExtraDataInAMessageResponse + */ +@JsonPropertyOrder({ + SendBirdUpdateExtraDataInAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY +}) +@JsonTypeName("updateExtraDataInAMessageResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdateExtraDataInAMessageResponse { + public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; + private List sortedMetaarray = null; + + public SendBirdUpdateExtraDataInAMessageResponse() { + } + + public SendBirdUpdateExtraDataInAMessageResponse sortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + return this; + } + + public SendBirdUpdateExtraDataInAMessageResponse addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + if (this.sortedMetaarray == null) { + this.sortedMetaarray = new ArrayList<>(); + } + this.sortedMetaarray.add(sortedMetaarrayItem); + return this; + } + + /** + * Get sortedMetaarray + * @return sortedMetaarray + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getSortedMetaarray() { + return sortedMetaarray; + } + + + @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSortedMetaarray(List sortedMetaarray) { + this.sortedMetaarray = sortedMetaarray; + } + + + /** + * Return true if this updateExtraDataInAMessageResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdateExtraDataInAMessageResponse updateExtraDataInAMessageResponse = (SendBirdUpdateExtraDataInAMessageResponse) o; + return Objects.equals(this.sortedMetaarray, updateExtraDataInAMessageResponse.sortedMetaarray); + } + + @Override + public int hashCode() { + return Objects.hash(sortedMetaarray); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdateExtraDataInAMessageResponse {\n"); + sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java new file mode 100644 index 00000000..2c0e9a5e --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java @@ -0,0 +1,184 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdatePushPreferencesForAChannelRequest + */ +@JsonPropertyOrder({ + SendBirdUpdatePushPreferencesForAChannelRequest.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdUpdatePushPreferencesForAChannelRequest.JSON_PROPERTY_PUSH_SOUND +}) +@JsonTypeName("updatePushPreferencesForAChannel_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdatePushPreferencesForAChannelRequest { + /** + * The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications. + */ + public enum PushTriggerOptionEnum { + DEFAULT("default"), + + ALL("all"), + + MENTION_ONLY("mention_only"), + + FALSE("false"); + + private String value; + + PushTriggerOptionEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static PushTriggerOptionEnum fromValue(String value) { + for (PushTriggerOptionEnum b : PushTriggerOptionEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; + private PushTriggerOptionEnum pushTriggerOption; + + public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; + private String pushSound; + + public SendBirdUpdatePushPreferencesForAChannelRequest() { + } + + public SendBirdUpdatePushPreferencesForAChannelRequest pushTriggerOption(PushTriggerOptionEnum pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + return this; + } + + /** + * The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications. + * @return pushTriggerOption + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications.") + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + + public PushTriggerOptionEnum getPushTriggerOption() { + return pushTriggerOption; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setPushTriggerOption(PushTriggerOptionEnum pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + } + + + public SendBirdUpdatePushPreferencesForAChannelRequest pushSound(String pushSound) { + this.pushSound = pushSound; + return this; + } + + /** + * Get pushSound + * @return pushSound + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPushSound() { + return pushSound; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushSound(String pushSound) { + this.pushSound = pushSound; + } + + + /** + * Return true if this updatePushPreferencesForAChannel_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest = (SendBirdUpdatePushPreferencesForAChannelRequest) o; + return Objects.equals(this.pushTriggerOption, updatePushPreferencesForAChannelRequest.pushTriggerOption) && + Objects.equals(this.pushSound, updatePushPreferencesForAChannelRequest.pushSound); + } + + @Override + public int hashCode() { + return Objects.hash(pushTriggerOption, pushSound); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdatePushPreferencesForAChannelRequest {\n"); + sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); + sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java new file mode 100644 index 00000000..ca6b74d0 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java @@ -0,0 +1,178 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdatePushPreferencesForAChannelResponse + */ +@JsonPropertyOrder({ + SendBirdUpdatePushPreferencesForAChannelResponse.JSON_PROPERTY_ENABLE, + SendBirdUpdatePushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_SOUND, + SendBirdUpdatePushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION +}) +@JsonTypeName("updatePushPreferencesForAChannelResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdatePushPreferencesForAChannelResponse { + public static final String JSON_PROPERTY_ENABLE = "enable"; + private Boolean enable; + + public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; + private String pushSound; + + public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; + private SendBirdSendbirdPushTriggerOption pushTriggerOption; + + public SendBirdUpdatePushPreferencesForAChannelResponse() { + } + + public SendBirdUpdatePushPreferencesForAChannelResponse enable(Boolean enable) { + this.enable = enable; + return this; + } + + /** + * Get enable + * @return enable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnable() { + return enable; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnable(Boolean enable) { + this.enable = enable; + } + + + public SendBirdUpdatePushPreferencesForAChannelResponse pushSound(String pushSound) { + this.pushSound = pushSound; + return this; + } + + /** + * Get pushSound + * @return pushSound + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPushSound() { + return pushSound; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushSound(String pushSound) { + this.pushSound = pushSound; + } + + + public SendBirdUpdatePushPreferencesForAChannelResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + return this; + } + + /** + * Get pushTriggerOption + * @return pushTriggerOption + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + return pushTriggerOption; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + } + + + /** + * Return true if this updatePushPreferencesForAChannelResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdatePushPreferencesForAChannelResponse updatePushPreferencesForAChannelResponse = (SendBirdUpdatePushPreferencesForAChannelResponse) o; + return Objects.equals(this.enable, updatePushPreferencesForAChannelResponse.enable) && + Objects.equals(this.pushSound, updatePushPreferencesForAChannelResponse.pushSound) && + Objects.equals(this.pushTriggerOption, updatePushPreferencesForAChannelResponse.pushTriggerOption); + } + + @Override + public int hashCode() { + return Objects.hash(enable, pushSound, pushTriggerOption); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdatePushPreferencesForAChannelResponse {\n"); + sb.append(" enable: ").append(toIndentedString(enable)).append("\n"); + sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); + sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java new file mode 100644 index 00000000..71039e2b --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java @@ -0,0 +1,540 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdatePushPreferencesRequest + */ +@JsonPropertyOrder({ + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_DO_NOT_DISTURB, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_END_HOUR, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_END_MIN, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_PUSH_SOUND, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_SNOOZE_ENABLED, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_SNOOZE_END_TS, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_SNOOZE_START_TS, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_START_HOUR, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_START_MIN, + SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_TIMEZONE +}) +@JsonTypeName("updatePushPreferences_request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdatePushPreferencesRequest { + public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; + private Boolean blockPushFromBots; + + public static final String JSON_PROPERTY_DO_NOT_DISTURB = "do_not_disturb"; + private Boolean doNotDisturb; + + public static final String JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES = "enable_push_for_replies"; + private Boolean enablePushForReplies; + + public static final String JSON_PROPERTY_END_HOUR = "end_hour"; + private Integer endHour; + + public static final String JSON_PROPERTY_END_MIN = "end_min"; + private Integer endMin; + + public static final String JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS = "push_blocked_bot_ids"; + private List pushBlockedBotIds = null; + + public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; + private String pushSound; + + public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; + private SendBirdSendbirdPushTriggerOption pushTriggerOption; + + public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; + private Boolean snoozeEnabled; + + public static final String JSON_PROPERTY_SNOOZE_END_TS = "snooze_end_ts"; + private Long snoozeEndTs; + + public static final String JSON_PROPERTY_SNOOZE_START_TS = "snooze_start_ts"; + private Long snoozeStartTs; + + public static final String JSON_PROPERTY_START_HOUR = "start_hour"; + private Integer startHour; + + public static final String JSON_PROPERTY_START_MIN = "start_min"; + private Integer startMin; + + public static final String JSON_PROPERTY_TIMEZONE = "timezone"; + private String timezone; + + public SendBirdUpdatePushPreferencesRequest() { + } + + public SendBirdUpdatePushPreferencesRequest blockPushFromBots(Boolean blockPushFromBots) { + this.blockPushFromBots = blockPushFromBots; + return this; + } + + /** + * Get blockPushFromBots + * @return blockPushFromBots + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getBlockPushFromBots() { + return blockPushFromBots; + } + + + @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBlockPushFromBots(Boolean blockPushFromBots) { + this.blockPushFromBots = blockPushFromBots; + } + + + public SendBirdUpdatePushPreferencesRequest doNotDisturb(Boolean doNotDisturb) { + this.doNotDisturb = doNotDisturb; + return this; + } + + /** + * Get doNotDisturb + * @return doNotDisturb + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getDoNotDisturb() { + return doNotDisturb; + } + + + @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDoNotDisturb(Boolean doNotDisturb) { + this.doNotDisturb = doNotDisturb; + } + + + public SendBirdUpdatePushPreferencesRequest enablePushForReplies(Boolean enablePushForReplies) { + this.enablePushForReplies = enablePushForReplies; + return this; + } + + /** + * Get enablePushForReplies + * @return enablePushForReplies + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnablePushForReplies() { + return enablePushForReplies; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnablePushForReplies(Boolean enablePushForReplies) { + this.enablePushForReplies = enablePushForReplies; + } + + + public SendBirdUpdatePushPreferencesRequest endHour(Integer endHour) { + this.endHour = endHour; + return this; + } + + /** + * Get endHour + * @return endHour + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_END_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getEndHour() { + return endHour; + } + + + @JsonProperty(JSON_PROPERTY_END_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEndHour(Integer endHour) { + this.endHour = endHour; + } + + + public SendBirdUpdatePushPreferencesRequest endMin(Integer endMin) { + this.endMin = endMin; + return this; + } + + /** + * Get endMin + * @return endMin + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_END_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getEndMin() { + return endMin; + } + + + @JsonProperty(JSON_PROPERTY_END_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEndMin(Integer endMin) { + this.endMin = endMin; + } + + + public SendBirdUpdatePushPreferencesRequest pushBlockedBotIds(List pushBlockedBotIds) { + this.pushBlockedBotIds = pushBlockedBotIds; + return this; + } + + public SendBirdUpdatePushPreferencesRequest addPushBlockedBotIdsItem(String pushBlockedBotIdsItem) { + if (this.pushBlockedBotIds == null) { + this.pushBlockedBotIds = new ArrayList<>(); + } + this.pushBlockedBotIds.add(pushBlockedBotIdsItem); + return this; + } + + /** + * Get pushBlockedBotIds + * @return pushBlockedBotIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getPushBlockedBotIds() { + return pushBlockedBotIds; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushBlockedBotIds(List pushBlockedBotIds) { + this.pushBlockedBotIds = pushBlockedBotIds; + } + + + public SendBirdUpdatePushPreferencesRequest pushSound(String pushSound) { + this.pushSound = pushSound; + return this; + } + + /** + * Get pushSound + * @return pushSound + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPushSound() { + return pushSound; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushSound(String pushSound) { + this.pushSound = pushSound; + } + + + public SendBirdUpdatePushPreferencesRequest pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + return this; + } + + /** + * Get pushTriggerOption + * @return pushTriggerOption + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + return pushTriggerOption; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + } + + + public SendBirdUpdatePushPreferencesRequest snoozeEnabled(Boolean snoozeEnabled) { + this.snoozeEnabled = snoozeEnabled; + return this; + } + + /** + * Get snoozeEnabled + * @return snoozeEnabled + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSnoozeEnabled() { + return snoozeEnabled; + } + + + @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSnoozeEnabled(Boolean snoozeEnabled) { + this.snoozeEnabled = snoozeEnabled; + } + + + public SendBirdUpdatePushPreferencesRequest snoozeEndTs(Long snoozeEndTs) { + this.snoozeEndTs = snoozeEndTs; + return this; + } + + /** + * Get snoozeEndTs + * @return snoozeEndTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getSnoozeEndTs() { + return snoozeEndTs; + } + + + @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSnoozeEndTs(Long snoozeEndTs) { + this.snoozeEndTs = snoozeEndTs; + } + + + public SendBirdUpdatePushPreferencesRequest snoozeStartTs(Long snoozeStartTs) { + this.snoozeStartTs = snoozeStartTs; + return this; + } + + /** + * Get snoozeStartTs + * @return snoozeStartTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getSnoozeStartTs() { + return snoozeStartTs; + } + + + @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSnoozeStartTs(Long snoozeStartTs) { + this.snoozeStartTs = snoozeStartTs; + } + + + public SendBirdUpdatePushPreferencesRequest startHour(Integer startHour) { + this.startHour = startHour; + return this; + } + + /** + * Get startHour + * @return startHour + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_START_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getStartHour() { + return startHour; + } + + + @JsonProperty(JSON_PROPERTY_START_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStartHour(Integer startHour) { + this.startHour = startHour; + } + + + public SendBirdUpdatePushPreferencesRequest startMin(Integer startMin) { + this.startMin = startMin; + return this; + } + + /** + * Get startMin + * @return startMin + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_START_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getStartMin() { + return startMin; + } + + + @JsonProperty(JSON_PROPERTY_START_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStartMin(Integer startMin) { + this.startMin = startMin; + } + + + public SendBirdUpdatePushPreferencesRequest timezone(String timezone) { + this.timezone = timezone; + return this; + } + + /** + * Get timezone + * @return timezone + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TIMEZONE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTimezone() { + return timezone; + } + + + @JsonProperty(JSON_PROPERTY_TIMEZONE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTimezone(String timezone) { + this.timezone = timezone; + } + + + /** + * Return true if this updatePushPreferences_request object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdatePushPreferencesRequest updatePushPreferencesRequest = (SendBirdUpdatePushPreferencesRequest) o; + return Objects.equals(this.blockPushFromBots, updatePushPreferencesRequest.blockPushFromBots) && + Objects.equals(this.doNotDisturb, updatePushPreferencesRequest.doNotDisturb) && + Objects.equals(this.enablePushForReplies, updatePushPreferencesRequest.enablePushForReplies) && + Objects.equals(this.endHour, updatePushPreferencesRequest.endHour) && + Objects.equals(this.endMin, updatePushPreferencesRequest.endMin) && + Objects.equals(this.pushBlockedBotIds, updatePushPreferencesRequest.pushBlockedBotIds) && + Objects.equals(this.pushSound, updatePushPreferencesRequest.pushSound) && + Objects.equals(this.pushTriggerOption, updatePushPreferencesRequest.pushTriggerOption) && + Objects.equals(this.snoozeEnabled, updatePushPreferencesRequest.snoozeEnabled) && + Objects.equals(this.snoozeEndTs, updatePushPreferencesRequest.snoozeEndTs) && + Objects.equals(this.snoozeStartTs, updatePushPreferencesRequest.snoozeStartTs) && + Objects.equals(this.startHour, updatePushPreferencesRequest.startHour) && + Objects.equals(this.startMin, updatePushPreferencesRequest.startMin) && + Objects.equals(this.timezone, updatePushPreferencesRequest.timezone); + } + + @Override + public int hashCode() { + return Objects.hash(blockPushFromBots, doNotDisturb, enablePushForReplies, endHour, endMin, pushBlockedBotIds, pushSound, pushTriggerOption, snoozeEnabled, snoozeEndTs, snoozeStartTs, startHour, startMin, timezone); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdatePushPreferencesRequest {\n"); + sb.append(" blockPushFromBots: ").append(toIndentedString(blockPushFromBots)).append("\n"); + sb.append(" doNotDisturb: ").append(toIndentedString(doNotDisturb)).append("\n"); + sb.append(" enablePushForReplies: ").append(toIndentedString(enablePushForReplies)).append("\n"); + sb.append(" endHour: ").append(toIndentedString(endHour)).append("\n"); + sb.append(" endMin: ").append(toIndentedString(endMin)).append("\n"); + sb.append(" pushBlockedBotIds: ").append(toIndentedString(pushBlockedBotIds)).append("\n"); + sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); + sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); + sb.append(" snoozeEnabled: ").append(toIndentedString(snoozeEnabled)).append("\n"); + sb.append(" snoozeEndTs: ").append(toIndentedString(snoozeEndTs)).append("\n"); + sb.append(" snoozeStartTs: ").append(toIndentedString(snoozeStartTs)).append("\n"); + sb.append(" startHour: ").append(toIndentedString(startHour)).append("\n"); + sb.append(" startMin: ").append(toIndentedString(startMin)).append("\n"); + sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java new file mode 100644 index 00000000..7cb86e6c --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java @@ -0,0 +1,540 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdUpdatePushPreferencesResponse + */ +@JsonPropertyOrder({ + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_DO_NOT_DISTURB, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_END_HOUR, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_END_MIN, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_PUSH_SOUND, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_SNOOZE_ENABLED, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_SNOOZE_END_TS, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_SNOOZE_START_TS, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_START_HOUR, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_START_MIN, + SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_TIMEZONE +}) +@JsonTypeName("updatePushPreferencesResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdUpdatePushPreferencesResponse { + public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; + private Boolean blockPushFromBots; + + public static final String JSON_PROPERTY_DO_NOT_DISTURB = "do_not_disturb"; + private Boolean doNotDisturb; + + public static final String JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES = "enable_push_for_replies"; + private Boolean enablePushForReplies; + + public static final String JSON_PROPERTY_END_HOUR = "end_hour"; + private Integer endHour; + + public static final String JSON_PROPERTY_END_MIN = "end_min"; + private Integer endMin; + + public static final String JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS = "push_blocked_bot_ids"; + private List pushBlockedBotIds = null; + + public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; + private String pushSound; + + public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; + private SendBirdSendbirdPushTriggerOption pushTriggerOption; + + public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; + private Boolean snoozeEnabled; + + public static final String JSON_PROPERTY_SNOOZE_END_TS = "snooze_end_ts"; + private Long snoozeEndTs; + + public static final String JSON_PROPERTY_SNOOZE_START_TS = "snooze_start_ts"; + private Long snoozeStartTs; + + public static final String JSON_PROPERTY_START_HOUR = "start_hour"; + private Integer startHour; + + public static final String JSON_PROPERTY_START_MIN = "start_min"; + private Integer startMin; + + public static final String JSON_PROPERTY_TIMEZONE = "timezone"; + private String timezone; + + public SendBirdUpdatePushPreferencesResponse() { + } + + public SendBirdUpdatePushPreferencesResponse blockPushFromBots(Boolean blockPushFromBots) { + this.blockPushFromBots = blockPushFromBots; + return this; + } + + /** + * Get blockPushFromBots + * @return blockPushFromBots + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getBlockPushFromBots() { + return blockPushFromBots; + } + + + @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBlockPushFromBots(Boolean blockPushFromBots) { + this.blockPushFromBots = blockPushFromBots; + } + + + public SendBirdUpdatePushPreferencesResponse doNotDisturb(Boolean doNotDisturb) { + this.doNotDisturb = doNotDisturb; + return this; + } + + /** + * Get doNotDisturb + * @return doNotDisturb + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getDoNotDisturb() { + return doNotDisturb; + } + + + @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDoNotDisturb(Boolean doNotDisturb) { + this.doNotDisturb = doNotDisturb; + } + + + public SendBirdUpdatePushPreferencesResponse enablePushForReplies(Boolean enablePushForReplies) { + this.enablePushForReplies = enablePushForReplies; + return this; + } + + /** + * Get enablePushForReplies + * @return enablePushForReplies + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnablePushForReplies() { + return enablePushForReplies; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnablePushForReplies(Boolean enablePushForReplies) { + this.enablePushForReplies = enablePushForReplies; + } + + + public SendBirdUpdatePushPreferencesResponse endHour(Integer endHour) { + this.endHour = endHour; + return this; + } + + /** + * Get endHour + * @return endHour + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_END_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getEndHour() { + return endHour; + } + + + @JsonProperty(JSON_PROPERTY_END_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEndHour(Integer endHour) { + this.endHour = endHour; + } + + + public SendBirdUpdatePushPreferencesResponse endMin(Integer endMin) { + this.endMin = endMin; + return this; + } + + /** + * Get endMin + * @return endMin + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_END_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getEndMin() { + return endMin; + } + + + @JsonProperty(JSON_PROPERTY_END_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEndMin(Integer endMin) { + this.endMin = endMin; + } + + + public SendBirdUpdatePushPreferencesResponse pushBlockedBotIds(List pushBlockedBotIds) { + this.pushBlockedBotIds = pushBlockedBotIds; + return this; + } + + public SendBirdUpdatePushPreferencesResponse addPushBlockedBotIdsItem(String pushBlockedBotIdsItem) { + if (this.pushBlockedBotIds == null) { + this.pushBlockedBotIds = new ArrayList<>(); + } + this.pushBlockedBotIds.add(pushBlockedBotIdsItem); + return this; + } + + /** + * Get pushBlockedBotIds + * @return pushBlockedBotIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getPushBlockedBotIds() { + return pushBlockedBotIds; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushBlockedBotIds(List pushBlockedBotIds) { + this.pushBlockedBotIds = pushBlockedBotIds; + } + + + public SendBirdUpdatePushPreferencesResponse pushSound(String pushSound) { + this.pushSound = pushSound; + return this; + } + + /** + * Get pushSound + * @return pushSound + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPushSound() { + return pushSound; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushSound(String pushSound) { + this.pushSound = pushSound; + } + + + public SendBirdUpdatePushPreferencesResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + return this; + } + + /** + * Get pushTriggerOption + * @return pushTriggerOption + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + return pushTriggerOption; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + } + + + public SendBirdUpdatePushPreferencesResponse snoozeEnabled(Boolean snoozeEnabled) { + this.snoozeEnabled = snoozeEnabled; + return this; + } + + /** + * Get snoozeEnabled + * @return snoozeEnabled + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSnoozeEnabled() { + return snoozeEnabled; + } + + + @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSnoozeEnabled(Boolean snoozeEnabled) { + this.snoozeEnabled = snoozeEnabled; + } + + + public SendBirdUpdatePushPreferencesResponse snoozeEndTs(Long snoozeEndTs) { + this.snoozeEndTs = snoozeEndTs; + return this; + } + + /** + * Get snoozeEndTs + * @return snoozeEndTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getSnoozeEndTs() { + return snoozeEndTs; + } + + + @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSnoozeEndTs(Long snoozeEndTs) { + this.snoozeEndTs = snoozeEndTs; + } + + + public SendBirdUpdatePushPreferencesResponse snoozeStartTs(Long snoozeStartTs) { + this.snoozeStartTs = snoozeStartTs; + return this; + } + + /** + * Get snoozeStartTs + * @return snoozeStartTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getSnoozeStartTs() { + return snoozeStartTs; + } + + + @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSnoozeStartTs(Long snoozeStartTs) { + this.snoozeStartTs = snoozeStartTs; + } + + + public SendBirdUpdatePushPreferencesResponse startHour(Integer startHour) { + this.startHour = startHour; + return this; + } + + /** + * Get startHour + * @return startHour + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_START_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getStartHour() { + return startHour; + } + + + @JsonProperty(JSON_PROPERTY_START_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStartHour(Integer startHour) { + this.startHour = startHour; + } + + + public SendBirdUpdatePushPreferencesResponse startMin(Integer startMin) { + this.startMin = startMin; + return this; + } + + /** + * Get startMin + * @return startMin + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_START_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getStartMin() { + return startMin; + } + + + @JsonProperty(JSON_PROPERTY_START_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStartMin(Integer startMin) { + this.startMin = startMin; + } + + + public SendBirdUpdatePushPreferencesResponse timezone(String timezone) { + this.timezone = timezone; + return this; + } + + /** + * Get timezone + * @return timezone + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TIMEZONE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTimezone() { + return timezone; + } + + + @JsonProperty(JSON_PROPERTY_TIMEZONE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTimezone(String timezone) { + this.timezone = timezone; + } + + + /** + * Return true if this updatePushPreferencesResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdUpdatePushPreferencesResponse updatePushPreferencesResponse = (SendBirdUpdatePushPreferencesResponse) o; + return Objects.equals(this.blockPushFromBots, updatePushPreferencesResponse.blockPushFromBots) && + Objects.equals(this.doNotDisturb, updatePushPreferencesResponse.doNotDisturb) && + Objects.equals(this.enablePushForReplies, updatePushPreferencesResponse.enablePushForReplies) && + Objects.equals(this.endHour, updatePushPreferencesResponse.endHour) && + Objects.equals(this.endMin, updatePushPreferencesResponse.endMin) && + Objects.equals(this.pushBlockedBotIds, updatePushPreferencesResponse.pushBlockedBotIds) && + Objects.equals(this.pushSound, updatePushPreferencesResponse.pushSound) && + Objects.equals(this.pushTriggerOption, updatePushPreferencesResponse.pushTriggerOption) && + Objects.equals(this.snoozeEnabled, updatePushPreferencesResponse.snoozeEnabled) && + Objects.equals(this.snoozeEndTs, updatePushPreferencesResponse.snoozeEndTs) && + Objects.equals(this.snoozeStartTs, updatePushPreferencesResponse.snoozeStartTs) && + Objects.equals(this.startHour, updatePushPreferencesResponse.startHour) && + Objects.equals(this.startMin, updatePushPreferencesResponse.startMin) && + Objects.equals(this.timezone, updatePushPreferencesResponse.timezone); + } + + @Override + public int hashCode() { + return Objects.hash(blockPushFromBots, doNotDisturb, enablePushForReplies, endHour, endMin, pushBlockedBotIds, pushSound, pushTriggerOption, snoozeEnabled, snoozeEndTs, snoozeStartTs, startHour, startMin, timezone); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdUpdatePushPreferencesResponse {\n"); + sb.append(" blockPushFromBots: ").append(toIndentedString(blockPushFromBots)).append("\n"); + sb.append(" doNotDisturb: ").append(toIndentedString(doNotDisturb)).append("\n"); + sb.append(" enablePushForReplies: ").append(toIndentedString(enablePushForReplies)).append("\n"); + sb.append(" endHour: ").append(toIndentedString(endHour)).append("\n"); + sb.append(" endMin: ").append(toIndentedString(endMin)).append("\n"); + sb.append(" pushBlockedBotIds: ").append(toIndentedString(pushBlockedBotIds)).append("\n"); + sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); + sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); + sb.append(" snoozeEnabled: ").append(toIndentedString(snoozeEnabled)).append("\n"); + sb.append(" snoozeEndTs: ").append(toIndentedString(snoozeEndTs)).append("\n"); + sb.append(" snoozeStartTs: ").append(toIndentedString(snoozeStartTs)).append("\n"); + sb.append(" startHour: ").append(toIndentedString(startHour)).append("\n"); + sb.append(" startMin: ").append(toIndentedString(startMin)).append("\n"); + sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java new file mode 100644 index 00000000..d6eb6ce6 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java @@ -0,0 +1,274 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdViewBotByIdResponseBot; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdViewBotByIdResponse + */ +@JsonPropertyOrder({ + SendBirdViewBotByIdResponse.JSON_PROPERTY_BOT, + SendBirdViewBotByIdResponse.JSON_PROPERTY_BOT_CALLBACK_URL, + SendBirdViewBotByIdResponse.JSON_PROPERTY_ENABLE_MARK_AS_READ, + SendBirdViewBotByIdResponse.JSON_PROPERTY_IS_PRIVACY_MODE, + SendBirdViewBotByIdResponse.JSON_PROPERTY_SHOW_MEMBER, + SendBirdViewBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE +}) +@JsonTypeName("viewBotByIdResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdViewBotByIdResponse { + public static final String JSON_PROPERTY_BOT = "bot"; + private SendBirdViewBotByIdResponseBot bot; + + public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; + private String botCallbackUrl; + + public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; + private Boolean enableMarkAsRead; + + public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; + private Boolean isPrivacyMode; + + public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; + private Boolean showMember; + + public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; + private Integer channelInvitationPreference; + + public SendBirdViewBotByIdResponse() { + } + + public SendBirdViewBotByIdResponse bot(SendBirdViewBotByIdResponseBot bot) { + this.bot = bot; + return this; + } + + /** + * Get bot + * @return bot + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdViewBotByIdResponseBot getBot() { + return bot; + } + + + @JsonProperty(JSON_PROPERTY_BOT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBot(SendBirdViewBotByIdResponseBot bot) { + this.bot = bot; + } + + + public SendBirdViewBotByIdResponse botCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + return this; + } + + /** + * Get botCallbackUrl + * @return botCallbackUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotCallbackUrl() { + return botCallbackUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotCallbackUrl(String botCallbackUrl) { + this.botCallbackUrl = botCallbackUrl; + } + + + public SendBirdViewBotByIdResponse enableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + return this; + } + + /** + * Get enableMarkAsRead + * @return enableMarkAsRead + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnableMarkAsRead() { + return enableMarkAsRead; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnableMarkAsRead(Boolean enableMarkAsRead) { + this.enableMarkAsRead = enableMarkAsRead; + } + + + public SendBirdViewBotByIdResponse isPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + return this; + } + + /** + * Get isPrivacyMode + * @return isPrivacyMode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIsPrivacyMode() { + return isPrivacyMode; + } + + + @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsPrivacyMode(Boolean isPrivacyMode) { + this.isPrivacyMode = isPrivacyMode; + } + + + public SendBirdViewBotByIdResponse showMember(Boolean showMember) { + this.showMember = showMember; + return this; + } + + /** + * Get showMember + * @return showMember + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getShowMember() { + return showMember; + } + + + @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShowMember(Boolean showMember) { + this.showMember = showMember; + } + + + public SendBirdViewBotByIdResponse channelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + return this; + } + + /** + * Get channelInvitationPreference + * @return channelInvitationPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getChannelInvitationPreference() { + return channelInvitationPreference; + } + + + @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChannelInvitationPreference(Integer channelInvitationPreference) { + this.channelInvitationPreference = channelInvitationPreference; + } + + + /** + * Return true if this viewBotByIdResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdViewBotByIdResponse viewBotByIdResponse = (SendBirdViewBotByIdResponse) o; + return Objects.equals(this.bot, viewBotByIdResponse.bot) && + Objects.equals(this.botCallbackUrl, viewBotByIdResponse.botCallbackUrl) && + Objects.equals(this.enableMarkAsRead, viewBotByIdResponse.enableMarkAsRead) && + Objects.equals(this.isPrivacyMode, viewBotByIdResponse.isPrivacyMode) && + Objects.equals(this.showMember, viewBotByIdResponse.showMember) && + Objects.equals(this.channelInvitationPreference, viewBotByIdResponse.channelInvitationPreference); + } + + @Override + public int hashCode() { + return Objects.hash(bot, botCallbackUrl, enableMarkAsRead, isPrivacyMode, showMember, channelInvitationPreference); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdViewBotByIdResponse {\n"); + sb.append(" bot: ").append(toIndentedString(bot)).append("\n"); + sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); + sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); + sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); + sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); + sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java b/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java new file mode 100644 index 00000000..43f9dcf9 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java @@ -0,0 +1,273 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdViewBotByIdResponseBot + */ +@JsonPropertyOrder({ + SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_TOKEN, + SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_PROFILE_URL, + SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_USERID, + SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_NICKNAME, + SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_TYPE, + SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_METADATA +}) +@JsonTypeName("viewBotByIdResponse_bot") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdViewBotByIdResponseBot { + public static final String JSON_PROPERTY_BOT_TOKEN = "bot_token"; + private String botToken; + + public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; + private String botProfileUrl; + + public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; + private String botUserid; + + public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; + private String botNickname; + + public static final String JSON_PROPERTY_BOT_TYPE = "bot_type"; + private String botType; + + public static final String JSON_PROPERTY_BOT_METADATA = "bot_metadata"; + private Object botMetadata; + + public SendBirdViewBotByIdResponseBot() { + } + + public SendBirdViewBotByIdResponseBot botToken(String botToken) { + this.botToken = botToken; + return this; + } + + /** + * Get botToken + * @return botToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotToken() { + return botToken; + } + + + @JsonProperty(JSON_PROPERTY_BOT_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotToken(String botToken) { + this.botToken = botToken; + } + + + public SendBirdViewBotByIdResponseBot botProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + return this; + } + + /** + * Get botProfileUrl + * @return botProfileUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotProfileUrl() { + return botProfileUrl; + } + + + @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotProfileUrl(String botProfileUrl) { + this.botProfileUrl = botProfileUrl; + } + + + public SendBirdViewBotByIdResponseBot botUserid(String botUserid) { + this.botUserid = botUserid; + return this; + } + + /** + * Get botUserid + * @return botUserid + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotUserid() { + return botUserid; + } + + + @JsonProperty(JSON_PROPERTY_BOT_USERID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotUserid(String botUserid) { + this.botUserid = botUserid; + } + + + public SendBirdViewBotByIdResponseBot botNickname(String botNickname) { + this.botNickname = botNickname; + return this; + } + + /** + * Get botNickname + * @return botNickname + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotNickname() { + return botNickname; + } + + + @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotNickname(String botNickname) { + this.botNickname = botNickname; + } + + + public SendBirdViewBotByIdResponseBot botType(String botType) { + this.botType = botType; + return this; + } + + /** + * Get botType + * @return botType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBotType() { + return botType; + } + + + @JsonProperty(JSON_PROPERTY_BOT_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotType(String botType) { + this.botType = botType; + } + + + public SendBirdViewBotByIdResponseBot botMetadata(Object botMetadata) { + this.botMetadata = botMetadata; + return this; + } + + /** + * Get botMetadata + * @return botMetadata + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BOT_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Object getBotMetadata() { + return botMetadata; + } + + + @JsonProperty(JSON_PROPERTY_BOT_METADATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBotMetadata(Object botMetadata) { + this.botMetadata = botMetadata; + } + + + /** + * Return true if this viewBotByIdResponse_bot object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdViewBotByIdResponseBot viewBotByIdResponseBot = (SendBirdViewBotByIdResponseBot) o; + return Objects.equals(this.botToken, viewBotByIdResponseBot.botToken) && + Objects.equals(this.botProfileUrl, viewBotByIdResponseBot.botProfileUrl) && + Objects.equals(this.botUserid, viewBotByIdResponseBot.botUserid) && + Objects.equals(this.botNickname, viewBotByIdResponseBot.botNickname) && + Objects.equals(this.botType, viewBotByIdResponseBot.botType) && + Objects.equals(this.botMetadata, viewBotByIdResponseBot.botMetadata); + } + + @Override + public int hashCode() { + return Objects.hash(botToken, botProfileUrl, botUserid, botNickname, botType, botMetadata); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdViewBotByIdResponseBot {\n"); + sb.append(" botToken: ").append(toIndentedString(botToken)).append("\n"); + sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); + sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); + sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); + sb.append(" botType: ").append(toIndentedString(botType)).append("\n"); + sb.append(" botMetadata: ").append(toIndentedString(botMetadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java new file mode 100644 index 00000000..ef715e0d --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java @@ -0,0 +1,152 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdViewCountPreferenceOfAChannelResponse + */ +@JsonPropertyOrder({ + SendBirdViewCountPreferenceOfAChannelResponse.JSON_PROPERTY_COUNT_PREFERENCE +}) +@JsonTypeName("viewCountPreferenceOfAChannelResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdViewCountPreferenceOfAChannelResponse { + /** + * Gets or Sets countPreference + */ + public enum CountPreferenceEnum { + FALSE("false"), + + ALL("all"), + + UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), + + UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); + + private String value; + + CountPreferenceEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static CountPreferenceEnum fromValue(String value) { + for (CountPreferenceEnum b : CountPreferenceEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; + private CountPreferenceEnum countPreference; + + public SendBirdViewCountPreferenceOfAChannelResponse() { + } + + public SendBirdViewCountPreferenceOfAChannelResponse countPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + return this; + } + + /** + * Get countPreference + * @return countPreference + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public CountPreferenceEnum getCountPreference() { + return countPreference; + } + + + @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCountPreference(CountPreferenceEnum countPreference) { + this.countPreference = countPreference; + } + + + /** + * Return true if this viewCountPreferenceOfAChannelResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdViewCountPreferenceOfAChannelResponse viewCountPreferenceOfAChannelResponse = (SendBirdViewCountPreferenceOfAChannelResponse) o; + return Objects.equals(this.countPreference, viewCountPreferenceOfAChannelResponse.countPreference); + } + + @Override + public int hashCode() { + return Objects.hash(countPreference); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdViewCountPreferenceOfAChannelResponse {\n"); + sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java new file mode 100644 index 00000000..7c1f02e9 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdViewNumberOfChannelsWithUnreadMessagesResponse + */ +@JsonPropertyOrder({ + SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT +}) +@JsonTypeName("viewNumberOfChannelsWithUnreadMessagesResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdViewNumberOfChannelsWithUnreadMessagesResponse { + public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; + private Integer unreadCount; + + public SendBirdViewNumberOfChannelsWithUnreadMessagesResponse() { + } + + public SendBirdViewNumberOfChannelsWithUnreadMessagesResponse unreadCount(Integer unreadCount) { + this.unreadCount = unreadCount; + return this; + } + + /** + * Get unreadCount + * @return unreadCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadCount() { + return unreadCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadCount(Integer unreadCount) { + this.unreadCount = unreadCount; + } + + + /** + * Return true if this viewNumberOfChannelsWithUnreadMessagesResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdViewNumberOfChannelsWithUnreadMessagesResponse viewNumberOfChannelsWithUnreadMessagesResponse = (SendBirdViewNumberOfChannelsWithUnreadMessagesResponse) o; + return Objects.equals(this.unreadCount, viewNumberOfChannelsWithUnreadMessagesResponse.unreadCount); + } + + @Override + public int hashCode() { + return Objects.hash(unreadCount); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdViewNumberOfChannelsWithUnreadMessagesResponse {\n"); + sb.append(" unreadCount: ").append(toIndentedString(unreadCount)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java new file mode 100644 index 00000000..060be182 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdViewNumberOfDailyActiveUsersResponse + */ +@JsonPropertyOrder({ + SendBirdViewNumberOfDailyActiveUsersResponse.JSON_PROPERTY_DAU +}) +@JsonTypeName("viewNumberOfDailyActiveUsersResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdViewNumberOfDailyActiveUsersResponse { + public static final String JSON_PROPERTY_DAU = "dau"; + private Integer dau; + + public SendBirdViewNumberOfDailyActiveUsersResponse() { + } + + public SendBirdViewNumberOfDailyActiveUsersResponse dau(Integer dau) { + this.dau = dau; + return this; + } + + /** + * Get dau + * @return dau + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DAU) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getDau() { + return dau; + } + + + @JsonProperty(JSON_PROPERTY_DAU) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDau(Integer dau) { + this.dau = dau; + } + + + /** + * Return true if this viewNumberOfDailyActiveUsersResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdViewNumberOfDailyActiveUsersResponse viewNumberOfDailyActiveUsersResponse = (SendBirdViewNumberOfDailyActiveUsersResponse) o; + return Objects.equals(this.dau, viewNumberOfDailyActiveUsersResponse.dau); + } + + @Override + public int hashCode() { + return Objects.hash(dau); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdViewNumberOfDailyActiveUsersResponse {\n"); + sb.append(" dau: ").append(toIndentedString(dau)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java new file mode 100644 index 00000000..ab1a022c --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdViewNumberOfMonthlyActiveUsersResponse + */ +@JsonPropertyOrder({ + SendBirdViewNumberOfMonthlyActiveUsersResponse.JSON_PROPERTY_MAU +}) +@JsonTypeName("viewNumberOfMonthlyActiveUsersResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdViewNumberOfMonthlyActiveUsersResponse { + public static final String JSON_PROPERTY_MAU = "mau"; + private Integer mau; + + public SendBirdViewNumberOfMonthlyActiveUsersResponse() { + } + + public SendBirdViewNumberOfMonthlyActiveUsersResponse mau(Integer mau) { + this.mau = mau; + return this; + } + + /** + * Get mau + * @return mau + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_MAU) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getMau() { + return mau; + } + + + @JsonProperty(JSON_PROPERTY_MAU) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMau(Integer mau) { + this.mau = mau; + } + + + /** + * Return true if this viewNumberOfMonthlyActiveUsersResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdViewNumberOfMonthlyActiveUsersResponse viewNumberOfMonthlyActiveUsersResponse = (SendBirdViewNumberOfMonthlyActiveUsersResponse) o; + return Objects.equals(this.mau, viewNumberOfMonthlyActiveUsersResponse.mau); + } + + @Override + public int hashCode() { + return Objects.hash(mau); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdViewNumberOfMonthlyActiveUsersResponse {\n"); + sb.append(" mau: ").append(toIndentedString(mau)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java new file mode 100644 index 00000000..edf960a7 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java @@ -0,0 +1,113 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdViewNumberOfUnreadMessagesResponse + */ +@JsonPropertyOrder({ + SendBirdViewNumberOfUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT +}) +@JsonTypeName("viewNumberOfUnreadMessagesResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdViewNumberOfUnreadMessagesResponse { + public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; + private Integer unreadCount; + + public SendBirdViewNumberOfUnreadMessagesResponse() { + } + + public SendBirdViewNumberOfUnreadMessagesResponse unreadCount(Integer unreadCount) { + this.unreadCount = unreadCount; + return this; + } + + /** + * Get unreadCount + * @return unreadCount + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_UNREAD_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getUnreadCount() { + return unreadCount; + } + + + @JsonProperty(JSON_PROPERTY_UNREAD_COUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUnreadCount(Integer unreadCount) { + this.unreadCount = unreadCount; + } + + + /** + * Return true if this viewNumberOfUnreadMessagesResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdViewNumberOfUnreadMessagesResponse viewNumberOfUnreadMessagesResponse = (SendBirdViewNumberOfUnreadMessagesResponse) o; + return Objects.equals(this.unreadCount, viewNumberOfUnreadMessagesResponse.unreadCount); + } + + @Override + public int hashCode() { + return Objects.hash(unreadCount); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdViewNumberOfUnreadMessagesResponse {\n"); + sb.append(" unreadCount: ").append(toIndentedString(unreadCount)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java new file mode 100644 index 00000000..978a3cf6 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java @@ -0,0 +1,178 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdViewPushPreferencesForAChannelResponse + */ +@JsonPropertyOrder({ + SendBirdViewPushPreferencesForAChannelResponse.JSON_PROPERTY_ENABLE, + SendBirdViewPushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_SOUND, + SendBirdViewPushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION +}) +@JsonTypeName("viewPushPreferencesForAChannelResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdViewPushPreferencesForAChannelResponse { + public static final String JSON_PROPERTY_ENABLE = "enable"; + private Boolean enable; + + public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; + private String pushSound; + + public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; + private SendBirdSendbirdPushTriggerOption pushTriggerOption; + + public SendBirdViewPushPreferencesForAChannelResponse() { + } + + public SendBirdViewPushPreferencesForAChannelResponse enable(Boolean enable) { + this.enable = enable; + return this; + } + + /** + * Get enable + * @return enable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnable() { + return enable; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnable(Boolean enable) { + this.enable = enable; + } + + + public SendBirdViewPushPreferencesForAChannelResponse pushSound(String pushSound) { + this.pushSound = pushSound; + return this; + } + + /** + * Get pushSound + * @return pushSound + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPushSound() { + return pushSound; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushSound(String pushSound) { + this.pushSound = pushSound; + } + + + public SendBirdViewPushPreferencesForAChannelResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + return this; + } + + /** + * Get pushTriggerOption + * @return pushTriggerOption + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + return pushTriggerOption; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + } + + + /** + * Return true if this viewPushPreferencesForAChannelResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdViewPushPreferencesForAChannelResponse viewPushPreferencesForAChannelResponse = (SendBirdViewPushPreferencesForAChannelResponse) o; + return Objects.equals(this.enable, viewPushPreferencesForAChannelResponse.enable) && + Objects.equals(this.pushSound, viewPushPreferencesForAChannelResponse.pushSound) && + Objects.equals(this.pushTriggerOption, viewPushPreferencesForAChannelResponse.pushTriggerOption); + } + + @Override + public int hashCode() { + return Objects.hash(enable, pushSound, pushTriggerOption); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdViewPushPreferencesForAChannelResponse {\n"); + sb.append(" enable: ").append(toIndentedString(enable)).append("\n"); + sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); + sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java new file mode 100644 index 00000000..e8276fd7 --- /dev/null +++ b/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java @@ -0,0 +1,540 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import org.sendbird.client.JSON; + + +/** + * SendBirdViewPushPreferencesResponse + */ +@JsonPropertyOrder({ + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_DO_NOT_DISTURB, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_END_HOUR, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_END_MIN, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_PUSH_SOUND, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_SNOOZE_ENABLED, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_SNOOZE_END_TS, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_SNOOZE_START_TS, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_START_HOUR, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_START_MIN, + SendBirdViewPushPreferencesResponse.JSON_PROPERTY_TIMEZONE +}) +@JsonTypeName("viewPushPreferencesResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +public class SendBirdViewPushPreferencesResponse { + public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; + private Boolean blockPushFromBots; + + public static final String JSON_PROPERTY_DO_NOT_DISTURB = "do_not_disturb"; + private Boolean doNotDisturb; + + public static final String JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES = "enable_push_for_replies"; + private Boolean enablePushForReplies; + + public static final String JSON_PROPERTY_END_HOUR = "end_hour"; + private Integer endHour; + + public static final String JSON_PROPERTY_END_MIN = "end_min"; + private Integer endMin; + + public static final String JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS = "push_blocked_bot_ids"; + private List pushBlockedBotIds = null; + + public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; + private String pushSound; + + public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; + private SendBirdSendbirdPushTriggerOption pushTriggerOption; + + public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; + private Boolean snoozeEnabled; + + public static final String JSON_PROPERTY_SNOOZE_END_TS = "snooze_end_ts"; + private Long snoozeEndTs; + + public static final String JSON_PROPERTY_SNOOZE_START_TS = "snooze_start_ts"; + private Long snoozeStartTs; + + public static final String JSON_PROPERTY_START_HOUR = "start_hour"; + private Integer startHour; + + public static final String JSON_PROPERTY_START_MIN = "start_min"; + private Integer startMin; + + public static final String JSON_PROPERTY_TIMEZONE = "timezone"; + private String timezone; + + public SendBirdViewPushPreferencesResponse() { + } + + public SendBirdViewPushPreferencesResponse blockPushFromBots(Boolean blockPushFromBots) { + this.blockPushFromBots = blockPushFromBots; + return this; + } + + /** + * Get blockPushFromBots + * @return blockPushFromBots + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getBlockPushFromBots() { + return blockPushFromBots; + } + + + @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBlockPushFromBots(Boolean blockPushFromBots) { + this.blockPushFromBots = blockPushFromBots; + } + + + public SendBirdViewPushPreferencesResponse doNotDisturb(Boolean doNotDisturb) { + this.doNotDisturb = doNotDisturb; + return this; + } + + /** + * Get doNotDisturb + * @return doNotDisturb + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getDoNotDisturb() { + return doNotDisturb; + } + + + @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDoNotDisturb(Boolean doNotDisturb) { + this.doNotDisturb = doNotDisturb; + } + + + public SendBirdViewPushPreferencesResponse enablePushForReplies(Boolean enablePushForReplies) { + this.enablePushForReplies = enablePushForReplies; + return this; + } + + /** + * Get enablePushForReplies + * @return enablePushForReplies + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEnablePushForReplies() { + return enablePushForReplies; + } + + + @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEnablePushForReplies(Boolean enablePushForReplies) { + this.enablePushForReplies = enablePushForReplies; + } + + + public SendBirdViewPushPreferencesResponse endHour(Integer endHour) { + this.endHour = endHour; + return this; + } + + /** + * Get endHour + * @return endHour + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_END_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getEndHour() { + return endHour; + } + + + @JsonProperty(JSON_PROPERTY_END_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEndHour(Integer endHour) { + this.endHour = endHour; + } + + + public SendBirdViewPushPreferencesResponse endMin(Integer endMin) { + this.endMin = endMin; + return this; + } + + /** + * Get endMin + * @return endMin + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_END_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getEndMin() { + return endMin; + } + + + @JsonProperty(JSON_PROPERTY_END_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEndMin(Integer endMin) { + this.endMin = endMin; + } + + + public SendBirdViewPushPreferencesResponse pushBlockedBotIds(List pushBlockedBotIds) { + this.pushBlockedBotIds = pushBlockedBotIds; + return this; + } + + public SendBirdViewPushPreferencesResponse addPushBlockedBotIdsItem(String pushBlockedBotIdsItem) { + if (this.pushBlockedBotIds == null) { + this.pushBlockedBotIds = new ArrayList<>(); + } + this.pushBlockedBotIds.add(pushBlockedBotIdsItem); + return this; + } + + /** + * Get pushBlockedBotIds + * @return pushBlockedBotIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getPushBlockedBotIds() { + return pushBlockedBotIds; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushBlockedBotIds(List pushBlockedBotIds) { + this.pushBlockedBotIds = pushBlockedBotIds; + } + + + public SendBirdViewPushPreferencesResponse pushSound(String pushSound) { + this.pushSound = pushSound; + return this; + } + + /** + * Get pushSound + * @return pushSound + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPushSound() { + return pushSound; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_SOUND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushSound(String pushSound) { + this.pushSound = pushSound; + } + + + public SendBirdViewPushPreferencesResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + return this; + } + + /** + * Get pushTriggerOption + * @return pushTriggerOption + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + return pushTriggerOption; + } + + + @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + this.pushTriggerOption = pushTriggerOption; + } + + + public SendBirdViewPushPreferencesResponse snoozeEnabled(Boolean snoozeEnabled) { + this.snoozeEnabled = snoozeEnabled; + return this; + } + + /** + * Get snoozeEnabled + * @return snoozeEnabled + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSnoozeEnabled() { + return snoozeEnabled; + } + + + @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSnoozeEnabled(Boolean snoozeEnabled) { + this.snoozeEnabled = snoozeEnabled; + } + + + public SendBirdViewPushPreferencesResponse snoozeEndTs(Long snoozeEndTs) { + this.snoozeEndTs = snoozeEndTs; + return this; + } + + /** + * Get snoozeEndTs + * @return snoozeEndTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getSnoozeEndTs() { + return snoozeEndTs; + } + + + @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSnoozeEndTs(Long snoozeEndTs) { + this.snoozeEndTs = snoozeEndTs; + } + + + public SendBirdViewPushPreferencesResponse snoozeStartTs(Long snoozeStartTs) { + this.snoozeStartTs = snoozeStartTs; + return this; + } + + /** + * Get snoozeStartTs + * @return snoozeStartTs + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Long getSnoozeStartTs() { + return snoozeStartTs; + } + + + @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSnoozeStartTs(Long snoozeStartTs) { + this.snoozeStartTs = snoozeStartTs; + } + + + public SendBirdViewPushPreferencesResponse startHour(Integer startHour) { + this.startHour = startHour; + return this; + } + + /** + * Get startHour + * @return startHour + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_START_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getStartHour() { + return startHour; + } + + + @JsonProperty(JSON_PROPERTY_START_HOUR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStartHour(Integer startHour) { + this.startHour = startHour; + } + + + public SendBirdViewPushPreferencesResponse startMin(Integer startMin) { + this.startMin = startMin; + return this; + } + + /** + * Get startMin + * @return startMin + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_START_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Integer getStartMin() { + return startMin; + } + + + @JsonProperty(JSON_PROPERTY_START_MIN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStartMin(Integer startMin) { + this.startMin = startMin; + } + + + public SendBirdViewPushPreferencesResponse timezone(String timezone) { + this.timezone = timezone; + return this; + } + + /** + * Get timezone + * @return timezone + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_TIMEZONE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getTimezone() { + return timezone; + } + + + @JsonProperty(JSON_PROPERTY_TIMEZONE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTimezone(String timezone) { + this.timezone = timezone; + } + + + /** + * Return true if this viewPushPreferencesResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendBirdViewPushPreferencesResponse viewPushPreferencesResponse = (SendBirdViewPushPreferencesResponse) o; + return Objects.equals(this.blockPushFromBots, viewPushPreferencesResponse.blockPushFromBots) && + Objects.equals(this.doNotDisturb, viewPushPreferencesResponse.doNotDisturb) && + Objects.equals(this.enablePushForReplies, viewPushPreferencesResponse.enablePushForReplies) && + Objects.equals(this.endHour, viewPushPreferencesResponse.endHour) && + Objects.equals(this.endMin, viewPushPreferencesResponse.endMin) && + Objects.equals(this.pushBlockedBotIds, viewPushPreferencesResponse.pushBlockedBotIds) && + Objects.equals(this.pushSound, viewPushPreferencesResponse.pushSound) && + Objects.equals(this.pushTriggerOption, viewPushPreferencesResponse.pushTriggerOption) && + Objects.equals(this.snoozeEnabled, viewPushPreferencesResponse.snoozeEnabled) && + Objects.equals(this.snoozeEndTs, viewPushPreferencesResponse.snoozeEndTs) && + Objects.equals(this.snoozeStartTs, viewPushPreferencesResponse.snoozeStartTs) && + Objects.equals(this.startHour, viewPushPreferencesResponse.startHour) && + Objects.equals(this.startMin, viewPushPreferencesResponse.startMin) && + Objects.equals(this.timezone, viewPushPreferencesResponse.timezone); + } + + @Override + public int hashCode() { + return Objects.hash(blockPushFromBots, doNotDisturb, enablePushForReplies, endHour, endMin, pushBlockedBotIds, pushSound, pushTriggerOption, snoozeEnabled, snoozeEndTs, snoozeStartTs, startHour, startMin, timezone); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendBirdViewPushPreferencesResponse {\n"); + sb.append(" blockPushFromBots: ").append(toIndentedString(blockPushFromBots)).append("\n"); + sb.append(" doNotDisturb: ").append(toIndentedString(doNotDisturb)).append("\n"); + sb.append(" enablePushForReplies: ").append(toIndentedString(enablePushForReplies)).append("\n"); + sb.append(" endHour: ").append(toIndentedString(endHour)).append("\n"); + sb.append(" endMin: ").append(toIndentedString(endMin)).append("\n"); + sb.append(" pushBlockedBotIds: ").append(toIndentedString(pushBlockedBotIds)).append("\n"); + sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); + sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); + sb.append(" snoozeEnabled: ").append(toIndentedString(snoozeEnabled)).append("\n"); + sb.append(" snoozeEndTs: ").append(toIndentedString(snoozeEndTs)).append("\n"); + sb.append(" snoozeStartTs: ").append(toIndentedString(snoozeStartTs)).append("\n"); + sb.append(" startHour: ").append(toIndentedString(startHour)).append("\n"); + sb.append(" startMin: ").append(toIndentedString(startMin)).append("\n"); + sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/org/sendbird/client/ApiClient.java b/src/main/java/org/sendbird/client/ApiClient.java index fe90c937..136e1fe4 100644 --- a/src/main/java/org/sendbird/client/ApiClient.java +++ b/src/main/java/org/sendbird/client/ApiClient.java @@ -66,7 +66,7 @@ /** *

ApiClient class.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class ApiClient extends JavaTimeFormatter { protected Map defaultHeaderMap = new HashMap(); protected Map defaultCookieMap = new HashMap(); diff --git a/src/main/java/org/sendbird/client/ApiException.java b/src/main/java/org/sendbird/client/ApiException.java index bdbb324b..07a96802 100644 --- a/src/main/java/org/sendbird/client/ApiException.java +++ b/src/main/java/org/sendbird/client/ApiException.java @@ -19,7 +19,7 @@ /** * API Exception */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/src/main/java/org/sendbird/client/Configuration.java b/src/main/java/org/sendbird/client/Configuration.java index 142d4f9b..5117e1da 100644 --- a/src/main/java/org/sendbird/client/Configuration.java +++ b/src/main/java/org/sendbird/client/Configuration.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/org/sendbird/client/JSON.java b/src/main/java/org/sendbird/client/JSON.java index f7954a99..d3fa17b1 100644 --- a/src/main/java/org/sendbird/client/JSON.java +++ b/src/main/java/org/sendbird/client/JSON.java @@ -15,7 +15,7 @@ import javax.ws.rs.core.GenericType; import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class JSON implements ContextResolver { private ObjectMapper mapper; diff --git a/src/main/java/org/sendbird/client/JavaTimeFormatter.java b/src/main/java/org/sendbird/client/JavaTimeFormatter.java index 7fa5bb15..b01e522b 100644 --- a/src/main/java/org/sendbird/client/JavaTimeFormatter.java +++ b/src/main/java/org/sendbird/client/JavaTimeFormatter.java @@ -20,7 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/src/main/java/org/sendbird/client/Pair.java b/src/main/java/org/sendbird/client/Pair.java index aa5f9836..3cf2c4e9 100644 --- a/src/main/java/org/sendbird/client/Pair.java +++ b/src/main/java/org/sendbird/client/Pair.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/org/sendbird/client/StringUtil.java b/src/main/java/org/sendbird/client/StringUtil.java index 10c4ec58..776a97d2 100644 --- a/src/main/java/org/sendbird/client/StringUtil.java +++ b/src/main/java/org/sendbird/client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/org/sendbird/client/api/AnnouncementApi.java b/src/main/java/org/sendbird/client/api/AnnouncementApi.java index f116c2dc..c62176c4 100644 --- a/src/main/java/org/sendbird/client/api/AnnouncementApi.java +++ b/src/main/java/org/sendbird/client/api/AnnouncementApi.java @@ -8,15 +8,15 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.ScheduleAnAnnouncementRequest; -import org.openapitools.client.model.ScheduleAnAnnouncementResponse; +import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequest; +import org.openapitools.client.model.SendBirdScheduleAnAnnouncementResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class AnnouncementApi { private ApiClient apiClient; @@ -47,8 +47,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse scheduleAnAnnouncementWithHttpInfo(String apiToken, ScheduleAnAnnouncementRequest scheduleAnAnnouncementRequest) throws ApiException { - Object localVarPostBody = scheduleAnAnnouncementRequest; +private ApiResponse scheduleAnAnnouncementWithHttpInfo(String apiToken, SendBirdScheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest) throws ApiException { + Object localVarPostBody = sendBirdScheduleAnAnnouncementRequest; // create path and map variables String localVarPath = "/v3/announcements"; @@ -77,7 +77,7 @@ private ApiResponse scheduleAnAnnouncementWithHt String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("AnnouncementApi.scheduleAnAnnouncement", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -86,7 +86,7 @@ private ApiResponse scheduleAnAnnouncementWithHt public class APIscheduleAnAnnouncementRequest { private String apiToken; - private ScheduleAnAnnouncementRequest scheduleAnAnnouncementRequest; + private SendBirdScheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest; private APIscheduleAnAnnouncementRequest() { } @@ -102,18 +102,18 @@ public APIscheduleAnAnnouncementRequest apiToken(String apiToken) { } /** - * Set scheduleAnAnnouncementRequest - * @param scheduleAnAnnouncementRequest (optional) + * Set sendBirdScheduleAnAnnouncementRequest + * @param sendBirdScheduleAnAnnouncementRequest (optional) * @return APIscheduleAnAnnouncementRequest */ - public APIscheduleAnAnnouncementRequest scheduleAnAnnouncementRequest(ScheduleAnAnnouncementRequest scheduleAnAnnouncementRequest) { - this.scheduleAnAnnouncementRequest = scheduleAnAnnouncementRequest; + public APIscheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest(SendBirdScheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest) { + this.sendBirdScheduleAnAnnouncementRequest = sendBirdScheduleAnAnnouncementRequest; return this; } /** * Execute scheduleAnAnnouncement request - * @return ScheduleAnAnnouncementResponse + * @return SendBirdScheduleAnAnnouncementResponse * @throws ApiException if fails to make API call * @http.response.details @@ -123,13 +123,13 @@ public APIscheduleAnAnnouncementRequest scheduleAnAnnouncementRequest(ScheduleAn */ - public ScheduleAnAnnouncementResponse execute() throws ApiException { + public SendBirdScheduleAnAnnouncementResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute scheduleAnAnnouncement request with HTTP info returned - * @return ApiResponse<ScheduleAnAnnouncementResponse> + * @return ApiResponse<SendBirdScheduleAnAnnouncementResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -138,8 +138,8 @@ public ScheduleAnAnnouncementResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return scheduleAnAnnouncementWithHttpInfo(apiToken, scheduleAnAnnouncementRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return scheduleAnAnnouncementWithHttpInfo(apiToken, sendBirdScheduleAnAnnouncementRequest); } } diff --git a/src/main/java/org/sendbird/client/api/BotApi.java b/src/main/java/org/sendbird/client/api/BotApi.java index 3eb03a0a..d97df73a 100644 --- a/src/main/java/org/sendbird/client/api/BotApi.java +++ b/src/main/java/org/sendbird/client/api/BotApi.java @@ -9,25 +9,25 @@ import javax.ws.rs.core.GenericType; import java.math.BigDecimal; -import org.openapitools.client.model.CreateABotRequest; -import org.openapitools.client.model.CreateABotResponse; import java.io.File; -import org.openapitools.client.model.JoinChannelsRequest; -import org.openapitools.client.model.ListBotsResponse; -import org.openapitools.client.model.SendABotMessageResponse; -import org.openapitools.client.model.SendbirdExtendedMessagePayload; -import org.openapitools.client.model.SendbirdGroupChannelDetail; -import org.openapitools.client.model.SendbirdSortedMetaarrayInner; -import org.openapitools.client.model.UpdateBotByIdData; -import org.openapitools.client.model.UpdateBotByIdResponse; -import org.openapitools.client.model.ViewBotByIdResponse; +import org.openapitools.client.model.SendBirdCreateABotRequest; +import org.openapitools.client.model.SendBirdCreateABotResponse; +import org.openapitools.client.model.SendBirdJoinChannelsRequest; +import org.openapitools.client.model.SendBirdListBotsResponse; +import org.openapitools.client.model.SendBirdSendABotMessageResponse; +import org.openapitools.client.model.SendBirdSendbirdExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetail; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdUpdateBotByIdData; +import org.openapitools.client.model.SendBirdUpdateBotByIdResponse; +import org.openapitools.client.model.SendBirdViewBotByIdResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class BotApi { private ApiClient apiClient; @@ -58,8 +58,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse createABotWithHttpInfo(String apiToken, CreateABotRequest createABotRequest) throws ApiException { - Object localVarPostBody = createABotRequest; +private ApiResponse createABotWithHttpInfo(String apiToken, SendBirdCreateABotRequest sendBirdCreateABotRequest) throws ApiException { + Object localVarPostBody = sendBirdCreateABotRequest; // create path and map variables String localVarPath = "/v3/bots"; @@ -88,7 +88,7 @@ private ApiResponse createABotWithHttpInfo(String apiToken, String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.createABot", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -97,7 +97,7 @@ private ApiResponse createABotWithHttpInfo(String apiToken, public class APIcreateABotRequest { private String apiToken; - private CreateABotRequest createABotRequest; + private SendBirdCreateABotRequest sendBirdCreateABotRequest; private APIcreateABotRequest() { } @@ -113,18 +113,18 @@ public APIcreateABotRequest apiToken(String apiToken) { } /** - * Set createABotRequest - * @param createABotRequest (optional) + * Set sendBirdCreateABotRequest + * @param sendBirdCreateABotRequest (optional) * @return APIcreateABotRequest */ - public APIcreateABotRequest createABotRequest(CreateABotRequest createABotRequest) { - this.createABotRequest = createABotRequest; + public APIcreateABotRequest sendBirdCreateABotRequest(SendBirdCreateABotRequest sendBirdCreateABotRequest) { + this.sendBirdCreateABotRequest = sendBirdCreateABotRequest; return this; } /** * Execute createABot request - * @return CreateABotResponse + * @return SendBirdCreateABotResponse * @throws ApiException if fails to make API call * @http.response.details @@ -134,13 +134,13 @@ public APIcreateABotRequest createABotRequest(CreateABotRequest createABotReques */ - public CreateABotResponse execute() throws ApiException { + public SendBirdCreateABotResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createABot request with HTTP info returned - * @return ApiResponse<CreateABotResponse> + * @return ApiResponse<SendBirdCreateABotResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -149,8 +149,8 @@ public CreateABotResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createABotWithHttpInfo(apiToken, createABotRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createABotWithHttpInfo(apiToken, sendBirdCreateABotRequest); } } @@ -272,8 +272,8 @@ public APIdeleteBotByIdRequest deleteBotById(String botUserid) throws ApiExcepti return new APIdeleteBotByIdRequest(botUserid); } -private ApiResponse joinChannelsWithHttpInfo(String botUserid, String apiToken, JoinChannelsRequest joinChannelsRequest) throws ApiException { - Object localVarPostBody = joinChannelsRequest; +private ApiResponse joinChannelsWithHttpInfo(String botUserid, String apiToken, SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest) throws ApiException { + Object localVarPostBody = sendBirdJoinChannelsRequest; // verify the required parameter 'botUserid' is set if (botUserid == null) { @@ -308,7 +308,7 @@ private ApiResponse joinChannelsWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.joinChannels", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -318,7 +318,7 @@ private ApiResponse joinChannelsWithHttpInfo(String public class APIjoinChannelsRequest { private String botUserid; private String apiToken; - private JoinChannelsRequest joinChannelsRequest; + private SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest; private APIjoinChannelsRequest(String botUserid) { this.botUserid = botUserid; @@ -335,18 +335,18 @@ public APIjoinChannelsRequest apiToken(String apiToken) { } /** - * Set joinChannelsRequest - * @param joinChannelsRequest (optional) + * Set sendBirdJoinChannelsRequest + * @param sendBirdJoinChannelsRequest (optional) * @return APIjoinChannelsRequest */ - public APIjoinChannelsRequest joinChannelsRequest(JoinChannelsRequest joinChannelsRequest) { - this.joinChannelsRequest = joinChannelsRequest; + public APIjoinChannelsRequest sendBirdJoinChannelsRequest(SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest) { + this.sendBirdJoinChannelsRequest = sendBirdJoinChannelsRequest; return this; } /** * Execute joinChannels request - * @return SendbirdGroupChannelDetail + * @return SendBirdSendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -356,13 +356,13 @@ public APIjoinChannelsRequest joinChannelsRequest(JoinChannelsRequest joinChanne */ - public SendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute joinChannels request with HTTP info returned - * @return ApiResponse<SendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -371,8 +371,8 @@ public SendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return joinChannelsWithHttpInfo(botUserid, apiToken, joinChannelsRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return joinChannelsWithHttpInfo(botUserid, apiToken, sendBirdJoinChannelsRequest); } } @@ -610,7 +610,7 @@ public APIleaveGroupChannelsRequest leaveGroupChannels(String botUserid) throws return new APIleaveGroupChannelsRequest(botUserid); } -private ApiResponse listBotsWithHttpInfo(String token, Integer limit, String apiToken) throws ApiException { +private ApiResponse listBotsWithHttpInfo(String token, Integer limit, String apiToken) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -642,7 +642,7 @@ private ApiResponse listBotsWithHttpInfo(String token, Integer String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.listBots", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -689,7 +689,7 @@ public APIlistBotsRequest apiToken(String apiToken) { /** * Execute listBots request - * @return ListBotsResponse + * @return SendBirdListBotsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -699,13 +699,13 @@ public APIlistBotsRequest apiToken(String apiToken) { */ - public ListBotsResponse execute() throws ApiException { + public SendBirdListBotsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listBots request with HTTP info returned - * @return ApiResponse<ListBotsResponse> + * @return ApiResponse<SendBirdListBotsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -714,7 +714,7 @@ public ListBotsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listBotsWithHttpInfo(token, limit, apiToken); } } @@ -731,7 +731,7 @@ public APIlistBotsRequest listBots() throws ApiException { return new APIlistBotsRequest(); } -private ApiResponse sendABotMessageWithHttpInfo(String botUserid, String messageType, String channelUrl, String apiToken, String message, List mentioned, SendbirdExtendedMessagePayload extendedMessagePayload, File _file, Boolean requireAuth, String mentionType, List mentionedUserIds, Boolean isSilent, List sortedMetaarray, String apnsBundleId, Object appleCriticalAlertOptions, String sound, BigDecimal volume, Long createdAt, String customType, String data, String dedupId, Boolean markAsRead, Boolean sendPush) throws ApiException { +private ApiResponse sendABotMessageWithHttpInfo(String botUserid, String messageType, String channelUrl, String apiToken, String message, List mentioned, SendBirdSendbirdExtendedMessagePayload extendedMessagePayload, File _file, Boolean requireAuth, String mentionType, List mentionedUserIds, Boolean isSilent, List sortedMetaarray, String apnsBundleId, Object appleCriticalAlertOptions, String sound, BigDecimal volume, Long createdAt, String customType, String data, String dedupId, Boolean markAsRead, Boolean sendPush) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'botUserid' is set @@ -819,7 +819,7 @@ private ApiResponse sendABotMessageWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.sendABotMessage", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -833,13 +833,13 @@ public class APIsendABotMessageRequest { private String apiToken; private String message; private List mentioned; - private SendbirdExtendedMessagePayload extendedMessagePayload; + private SendBirdSendbirdExtendedMessagePayload extendedMessagePayload; private File _file; private Boolean requireAuth; private String mentionType; private List mentionedUserIds; private Boolean isSilent; - private List sortedMetaarray; + private List sortedMetaarray; private String apnsBundleId; private Object appleCriticalAlertOptions; private String sound; @@ -910,7 +910,7 @@ public APIsendABotMessageRequest mentioned(List mentioned) { * @param extendedMessagePayload (optional) * @return APIsendABotMessageRequest */ - public APIsendABotMessageRequest extendedMessagePayload(SendbirdExtendedMessagePayload extendedMessagePayload) { + public APIsendABotMessageRequest extendedMessagePayload(SendBirdSendbirdExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; return this; } @@ -970,7 +970,7 @@ public APIsendABotMessageRequest isSilent(Boolean isSilent) { * @param sortedMetaarray (optional) * @return APIsendABotMessageRequest */ - public APIsendABotMessageRequest sortedMetaarray(List sortedMetaarray) { + public APIsendABotMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } @@ -1077,7 +1077,7 @@ public APIsendABotMessageRequest sendPush(Boolean sendPush) { /** * Execute sendABotMessage request - * @return SendABotMessageResponse + * @return SendBirdSendABotMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1087,13 +1087,13 @@ public APIsendABotMessageRequest sendPush(Boolean sendPush) { */ - public SendABotMessageResponse execute() throws ApiException { + public SendBirdSendABotMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute sendABotMessage request with HTTP info returned - * @return ApiResponse<SendABotMessageResponse> + * @return ApiResponse<SendBirdSendABotMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1102,7 +1102,7 @@ public SendABotMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return sendABotMessageWithHttpInfo(botUserid, messageType, channelUrl, apiToken, message, mentioned, extendedMessagePayload, _file, requireAuth, mentionType, mentionedUserIds, isSilent, sortedMetaarray, apnsBundleId, appleCriticalAlertOptions, sound, volume, createdAt, customType, data, dedupId, markAsRead, sendPush); } } @@ -1120,8 +1120,8 @@ public APIsendABotMessageRequest sendABotMessage(String botUserid) throws ApiExc return new APIsendABotMessageRequest(botUserid); } -private ApiResponse updateBotByIdWithHttpInfo(String botUserid, String apiToken, UpdateBotByIdData updateBotByIdData) throws ApiException { - Object localVarPostBody = updateBotByIdData; +private ApiResponse updateBotByIdWithHttpInfo(String botUserid, String apiToken, SendBirdUpdateBotByIdData sendBirdUpdateBotByIdData) throws ApiException { + Object localVarPostBody = sendBirdUpdateBotByIdData; // verify the required parameter 'botUserid' is set if (botUserid == null) { @@ -1156,7 +1156,7 @@ private ApiResponse updateBotByIdWithHttpInfo(String botU String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.updateBotById", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1166,7 +1166,7 @@ private ApiResponse updateBotByIdWithHttpInfo(String botU public class APIupdateBotByIdRequest { private String botUserid; private String apiToken; - private UpdateBotByIdData updateBotByIdData; + private SendBirdUpdateBotByIdData sendBirdUpdateBotByIdData; private APIupdateBotByIdRequest(String botUserid) { this.botUserid = botUserid; @@ -1183,18 +1183,18 @@ public APIupdateBotByIdRequest apiToken(String apiToken) { } /** - * Set updateBotByIdData - * @param updateBotByIdData (optional) + * Set sendBirdUpdateBotByIdData + * @param sendBirdUpdateBotByIdData (optional) * @return APIupdateBotByIdRequest */ - public APIupdateBotByIdRequest updateBotByIdData(UpdateBotByIdData updateBotByIdData) { - this.updateBotByIdData = updateBotByIdData; + public APIupdateBotByIdRequest sendBirdUpdateBotByIdData(SendBirdUpdateBotByIdData sendBirdUpdateBotByIdData) { + this.sendBirdUpdateBotByIdData = sendBirdUpdateBotByIdData; return this; } /** * Execute updateBotById request - * @return UpdateBotByIdResponse + * @return SendBirdUpdateBotByIdResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1204,13 +1204,13 @@ public APIupdateBotByIdRequest updateBotByIdData(UpdateBotByIdData updateBotById */ - public UpdateBotByIdResponse execute() throws ApiException { + public SendBirdUpdateBotByIdResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateBotById request with HTTP info returned - * @return ApiResponse<UpdateBotByIdResponse> + * @return ApiResponse<SendBirdUpdateBotByIdResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1219,8 +1219,8 @@ public UpdateBotByIdResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateBotByIdWithHttpInfo(botUserid, apiToken, updateBotByIdData); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateBotByIdWithHttpInfo(botUserid, apiToken, sendBirdUpdateBotByIdData); } } @@ -1237,7 +1237,7 @@ public APIupdateBotByIdRequest updateBotById(String botUserid) throws ApiExcepti return new APIupdateBotByIdRequest(botUserid); } -private ApiResponse viewBotByIdWithHttpInfo(String botUserid, String apiToken) throws ApiException { +private ApiResponse viewBotByIdWithHttpInfo(String botUserid, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'botUserid' is set @@ -1273,7 +1273,7 @@ private ApiResponse viewBotByIdWithHttpInfo(String botUseri String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.viewBotById", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1300,7 +1300,7 @@ public APIviewBotByIdRequest apiToken(String apiToken) { /** * Execute viewBotById request - * @return ViewBotByIdResponse + * @return SendBirdViewBotByIdResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1310,13 +1310,13 @@ public APIviewBotByIdRequest apiToken(String apiToken) { */ - public ViewBotByIdResponse execute() throws ApiException { + public SendBirdViewBotByIdResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewBotById request with HTTP info returned - * @return ApiResponse<ViewBotByIdResponse> + * @return ApiResponse<SendBirdViewBotByIdResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1325,7 +1325,7 @@ public ViewBotByIdResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewBotByIdWithHttpInfo(botUserid, apiToken); } } diff --git a/src/main/java/org/sendbird/client/api/GroupChannelApi.java b/src/main/java/org/sendbird/client/api/GroupChannelApi.java index d6459156..a0ccdcb3 100644 --- a/src/main/java/org/sendbird/client/api/GroupChannelApi.java +++ b/src/main/java/org/sendbird/client/api/GroupChannelApi.java @@ -8,31 +8,31 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.AcceptAnInvitationRequest; -import org.openapitools.client.model.CheckIfMemberResponse; -import org.openapitools.client.model.CreateAGroupChannelRequest; -import org.openapitools.client.model.GetAGroupChannelResponse; -import org.openapitools.client.model.GroupChannelListMembersResponse; -import org.openapitools.client.model.GroupChatListChannelsResponse; -import org.openapitools.client.model.HideAChannelRequest; -import org.openapitools.client.model.InviteAsMembersRequest; -import org.openapitools.client.model.InviteAsMembersResponse; -import org.openapitools.client.model.JoinAChannelRequest; -import org.openapitools.client.model.LeaveAChannelRequest; -import org.openapitools.client.model.ListOperatorsResponse; -import org.openapitools.client.model.RegisterOperatorsToAGroupChannelRequest; -import org.openapitools.client.model.ResetChatHistoryRequest; -import org.openapitools.client.model.ResetChatHistoryResponse; -import org.openapitools.client.model.SendbirdGroupChannelDetail; -import org.openapitools.client.model.StartTypingIndicatorsRequest; -import org.openapitools.client.model.UpdateAGroupChannelRequest; +import org.openapitools.client.model.SendBirdAcceptAnInvitationRequest; +import org.openapitools.client.model.SendBirdCheckIfMemberResponse; +import org.openapitools.client.model.SendBirdCreateAGroupChannelRequest; +import org.openapitools.client.model.SendBirdGetAGroupChannelResponse; +import org.openapitools.client.model.SendBirdGroupChannelListMembersResponse; +import org.openapitools.client.model.SendBirdGroupChatListChannelsResponse; +import org.openapitools.client.model.SendBirdHideAChannelRequest; +import org.openapitools.client.model.SendBirdInviteAsMembersRequest; +import org.openapitools.client.model.SendBirdInviteAsMembersResponse; +import org.openapitools.client.model.SendBirdJoinAChannelRequest; +import org.openapitools.client.model.SendBirdLeaveAChannelRequest; +import org.openapitools.client.model.SendBirdListOperatorsResponse; +import org.openapitools.client.model.SendBirdRegisterOperatorsToAGroupChannelRequest; +import org.openapitools.client.model.SendBirdResetChatHistoryRequest; +import org.openapitools.client.model.SendBirdResetChatHistoryResponse; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetail; +import org.openapitools.client.model.SendBirdStartTypingIndicatorsRequest; +import org.openapitools.client.model.SendBirdUpdateAGroupChannelRequest; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class GroupChannelApi { private ApiClient apiClient; @@ -63,8 +63,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse acceptAnInvitationWithHttpInfo(String channelUrl, String apiToken, AcceptAnInvitationRequest acceptAnInvitationRequest) throws ApiException { - Object localVarPostBody = acceptAnInvitationRequest; +private ApiResponse acceptAnInvitationWithHttpInfo(String channelUrl, String apiToken, SendBirdAcceptAnInvitationRequest sendBirdAcceptAnInvitationRequest) throws ApiException { + Object localVarPostBody = sendBirdAcceptAnInvitationRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -99,7 +99,7 @@ private ApiResponse acceptAnInvitationWithHttpInfo(S String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.acceptAnInvitation", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -109,7 +109,7 @@ private ApiResponse acceptAnInvitationWithHttpInfo(S public class APIacceptAnInvitationRequest { private String channelUrl; private String apiToken; - private AcceptAnInvitationRequest acceptAnInvitationRequest; + private SendBirdAcceptAnInvitationRequest sendBirdAcceptAnInvitationRequest; private APIacceptAnInvitationRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -126,18 +126,18 @@ public APIacceptAnInvitationRequest apiToken(String apiToken) { } /** - * Set acceptAnInvitationRequest - * @param acceptAnInvitationRequest (optional) + * Set sendBirdAcceptAnInvitationRequest + * @param sendBirdAcceptAnInvitationRequest (optional) * @return APIacceptAnInvitationRequest */ - public APIacceptAnInvitationRequest acceptAnInvitationRequest(AcceptAnInvitationRequest acceptAnInvitationRequest) { - this.acceptAnInvitationRequest = acceptAnInvitationRequest; + public APIacceptAnInvitationRequest sendBirdAcceptAnInvitationRequest(SendBirdAcceptAnInvitationRequest sendBirdAcceptAnInvitationRequest) { + this.sendBirdAcceptAnInvitationRequest = sendBirdAcceptAnInvitationRequest; return this; } /** * Execute acceptAnInvitation request - * @return SendbirdGroupChannelDetail + * @return SendBirdSendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -147,13 +147,13 @@ public APIacceptAnInvitationRequest acceptAnInvitationRequest(AcceptAnInvitation */ - public SendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute acceptAnInvitation request with HTTP info returned - * @return ApiResponse<SendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -162,8 +162,8 @@ public SendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return acceptAnInvitationWithHttpInfo(channelUrl, apiToken, acceptAnInvitationRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return acceptAnInvitationWithHttpInfo(channelUrl, apiToken, sendBirdAcceptAnInvitationRequest); } } @@ -315,7 +315,7 @@ public APIcancelTheRegistrationOfOperatorsRequest cancelTheRegistrationOfOperato return new APIcancelTheRegistrationOfOperatorsRequest(channelUrl); } -private ApiResponse checkIfMemberWithHttpInfo(String channelUrl, String userId, String apiToken) throws ApiException { +private ApiResponse checkIfMemberWithHttpInfo(String channelUrl, String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -357,7 +357,7 @@ private ApiResponse checkIfMemberWithHttpInfo(String chan String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.checkIfMember", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -386,7 +386,7 @@ public APIcheckIfMemberRequest apiToken(String apiToken) { /** * Execute checkIfMember request - * @return CheckIfMemberResponse + * @return SendBirdCheckIfMemberResponse * @throws ApiException if fails to make API call * @http.response.details @@ -396,13 +396,13 @@ public APIcheckIfMemberRequest apiToken(String apiToken) { */ - public CheckIfMemberResponse execute() throws ApiException { + public SendBirdCheckIfMemberResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute checkIfMember request with HTTP info returned - * @return ApiResponse<CheckIfMemberResponse> + * @return ApiResponse<SendBirdCheckIfMemberResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -411,7 +411,7 @@ public CheckIfMemberResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return checkIfMemberWithHttpInfo(channelUrl, userId, apiToken); } } @@ -430,8 +430,8 @@ public APIcheckIfMemberRequest checkIfMember(String channelUrl, String userId) t return new APIcheckIfMemberRequest(channelUrl, userId); } -private ApiResponse createAGroupChannelWithHttpInfo(String apiToken, CreateAGroupChannelRequest createAGroupChannelRequest) throws ApiException { - Object localVarPostBody = createAGroupChannelRequest; +private ApiResponse createAGroupChannelWithHttpInfo(String apiToken, SendBirdCreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdCreateAGroupChannelRequest; // create path and map variables String localVarPath = "/v3/group_channels"; @@ -460,7 +460,7 @@ private ApiResponse createAGroupChannelWithHttpInfo( String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.createAGroupChannel", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -469,7 +469,7 @@ private ApiResponse createAGroupChannelWithHttpInfo( public class APIcreateAGroupChannelRequest { private String apiToken; - private CreateAGroupChannelRequest createAGroupChannelRequest; + private SendBirdCreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest; private APIcreateAGroupChannelRequest() { } @@ -485,18 +485,18 @@ public APIcreateAGroupChannelRequest apiToken(String apiToken) { } /** - * Set createAGroupChannelRequest - * @param createAGroupChannelRequest (optional) + * Set sendBirdCreateAGroupChannelRequest + * @param sendBirdCreateAGroupChannelRequest (optional) * @return APIcreateAGroupChannelRequest */ - public APIcreateAGroupChannelRequest createAGroupChannelRequest(CreateAGroupChannelRequest createAGroupChannelRequest) { - this.createAGroupChannelRequest = createAGroupChannelRequest; + public APIcreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest(SendBirdCreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest) { + this.sendBirdCreateAGroupChannelRequest = sendBirdCreateAGroupChannelRequest; return this; } /** * Execute createAGroupChannel request - * @return SendbirdGroupChannelDetail + * @return SendBirdSendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -506,13 +506,13 @@ public APIcreateAGroupChannelRequest createAGroupChannelRequest(CreateAGroupChan */ - public SendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAGroupChannel request with HTTP info returned - * @return ApiResponse<SendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -521,8 +521,8 @@ public SendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createAGroupChannelWithHttpInfo(apiToken, createAGroupChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createAGroupChannelWithHttpInfo(apiToken, sendBirdCreateAGroupChannelRequest); } } @@ -644,7 +644,7 @@ public APIdeleteAGroupChannelRequest deleteAGroupChannel(String channelUrl) thro return new APIdeleteAGroupChannelRequest(channelUrl); } -private ApiResponse getAGroupChannelWithHttpInfo(String channelUrl, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMember, String memberActiveMode, String userId, String apiToken) throws ApiException { +private ApiResponse getAGroupChannelWithHttpInfo(String channelUrl, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMember, String memberActiveMode, String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -685,7 +685,7 @@ private ApiResponse getAGroupChannelWithHttpInfo(Strin String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.getAGroupChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -767,7 +767,7 @@ public APIgetAGroupChannelRequest apiToken(String apiToken) { /** * Execute getAGroupChannel request - * @return GetAGroupChannelResponse + * @return SendBirdGetAGroupChannelResponse * @throws ApiException if fails to make API call * @http.response.details @@ -777,13 +777,13 @@ public APIgetAGroupChannelRequest apiToken(String apiToken) { */ - public GetAGroupChannelResponse execute() throws ApiException { + public SendBirdGetAGroupChannelResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getAGroupChannel request with HTTP info returned - * @return ApiResponse<GetAGroupChannelResponse> + * @return ApiResponse<SendBirdGetAGroupChannelResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -792,7 +792,7 @@ public GetAGroupChannelResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getAGroupChannelWithHttpInfo(channelUrl, showDeliveryReceipt, showReadReceipt, showMember, memberActiveMode, userId, apiToken); } } @@ -810,8 +810,8 @@ public APIgetAGroupChannelRequest getAGroupChannel(String channelUrl) throws Api return new APIgetAGroupChannelRequest(channelUrl); } -private ApiResponse hideAChannelWithHttpInfo(String channelUrl, String apiToken, HideAChannelRequest hideAChannelRequest) throws ApiException { - Object localVarPostBody = hideAChannelRequest; +private ApiResponse hideAChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdHideAChannelRequest sendBirdHideAChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdHideAChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -856,7 +856,7 @@ private ApiResponse hideAChannelWithHttpInfo(String channelUrl, String a public class APIhideAChannelRequest { private String channelUrl; private String apiToken; - private HideAChannelRequest hideAChannelRequest; + private SendBirdHideAChannelRequest sendBirdHideAChannelRequest; private APIhideAChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -873,12 +873,12 @@ public APIhideAChannelRequest apiToken(String apiToken) { } /** - * Set hideAChannelRequest - * @param hideAChannelRequest (optional) + * Set sendBirdHideAChannelRequest + * @param sendBirdHideAChannelRequest (optional) * @return APIhideAChannelRequest */ - public APIhideAChannelRequest hideAChannelRequest(HideAChannelRequest hideAChannelRequest) { - this.hideAChannelRequest = hideAChannelRequest; + public APIhideAChannelRequest sendBirdHideAChannelRequest(SendBirdHideAChannelRequest sendBirdHideAChannelRequest) { + this.sendBirdHideAChannelRequest = sendBirdHideAChannelRequest; return this; } @@ -910,7 +910,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return hideAChannelWithHttpInfo(channelUrl, apiToken, hideAChannelRequest); + return hideAChannelWithHttpInfo(channelUrl, apiToken, sendBirdHideAChannelRequest); } } @@ -927,8 +927,8 @@ public APIhideAChannelRequest hideAChannel(String channelUrl) throws ApiExceptio return new APIhideAChannelRequest(channelUrl); } -private ApiResponse inviteAsMembersWithHttpInfo(String channelUrl, String apiToken, InviteAsMembersRequest inviteAsMembersRequest) throws ApiException { - Object localVarPostBody = inviteAsMembersRequest; +private ApiResponse inviteAsMembersWithHttpInfo(String channelUrl, String apiToken, SendBirdInviteAsMembersRequest sendBirdInviteAsMembersRequest) throws ApiException { + Object localVarPostBody = sendBirdInviteAsMembersRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -963,7 +963,7 @@ private ApiResponse inviteAsMembersWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.inviteAsMembers", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -973,7 +973,7 @@ private ApiResponse inviteAsMembersWithHttpInfo(String public class APIinviteAsMembersRequest { private String channelUrl; private String apiToken; - private InviteAsMembersRequest inviteAsMembersRequest; + private SendBirdInviteAsMembersRequest sendBirdInviteAsMembersRequest; private APIinviteAsMembersRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -990,18 +990,18 @@ public APIinviteAsMembersRequest apiToken(String apiToken) { } /** - * Set inviteAsMembersRequest - * @param inviteAsMembersRequest (optional) + * Set sendBirdInviteAsMembersRequest + * @param sendBirdInviteAsMembersRequest (optional) * @return APIinviteAsMembersRequest */ - public APIinviteAsMembersRequest inviteAsMembersRequest(InviteAsMembersRequest inviteAsMembersRequest) { - this.inviteAsMembersRequest = inviteAsMembersRequest; + public APIinviteAsMembersRequest sendBirdInviteAsMembersRequest(SendBirdInviteAsMembersRequest sendBirdInviteAsMembersRequest) { + this.sendBirdInviteAsMembersRequest = sendBirdInviteAsMembersRequest; return this; } /** * Execute inviteAsMembers request - * @return InviteAsMembersResponse + * @return SendBirdInviteAsMembersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1011,13 +1011,13 @@ public APIinviteAsMembersRequest inviteAsMembersRequest(InviteAsMembersRequest i */ - public InviteAsMembersResponse execute() throws ApiException { + public SendBirdInviteAsMembersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute inviteAsMembers request with HTTP info returned - * @return ApiResponse<InviteAsMembersResponse> + * @return ApiResponse<SendBirdInviteAsMembersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1026,8 +1026,8 @@ public InviteAsMembersResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return inviteAsMembersWithHttpInfo(channelUrl, apiToken, inviteAsMembersRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return inviteAsMembersWithHttpInfo(channelUrl, apiToken, sendBirdInviteAsMembersRequest); } } @@ -1044,8 +1044,8 @@ public APIinviteAsMembersRequest inviteAsMembers(String channelUrl) throws ApiEx return new APIinviteAsMembersRequest(channelUrl); } -private ApiResponse joinAChannelWithHttpInfo(String channelUrl, String apiToken, JoinAChannelRequest joinAChannelRequest) throws ApiException { - Object localVarPostBody = joinAChannelRequest; +private ApiResponse joinAChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdJoinAChannelRequest sendBirdJoinAChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdJoinAChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -1080,7 +1080,7 @@ private ApiResponse joinAChannelWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.joinAChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1090,7 +1090,7 @@ private ApiResponse joinAChannelWithHttpInfo(String public class APIjoinAChannelRequest { private String channelUrl; private String apiToken; - private JoinAChannelRequest joinAChannelRequest; + private SendBirdJoinAChannelRequest sendBirdJoinAChannelRequest; private APIjoinAChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -1107,18 +1107,18 @@ public APIjoinAChannelRequest apiToken(String apiToken) { } /** - * Set joinAChannelRequest - * @param joinAChannelRequest (optional) + * Set sendBirdJoinAChannelRequest + * @param sendBirdJoinAChannelRequest (optional) * @return APIjoinAChannelRequest */ - public APIjoinAChannelRequest joinAChannelRequest(JoinAChannelRequest joinAChannelRequest) { - this.joinAChannelRequest = joinAChannelRequest; + public APIjoinAChannelRequest sendBirdJoinAChannelRequest(SendBirdJoinAChannelRequest sendBirdJoinAChannelRequest) { + this.sendBirdJoinAChannelRequest = sendBirdJoinAChannelRequest; return this; } /** * Execute joinAChannel request - * @return SendbirdGroupChannelDetail + * @return SendBirdSendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -1128,13 +1128,13 @@ public APIjoinAChannelRequest joinAChannelRequest(JoinAChannelRequest joinAChann */ - public SendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute joinAChannel request with HTTP info returned - * @return ApiResponse<SendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -1143,8 +1143,8 @@ public SendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return joinAChannelWithHttpInfo(channelUrl, apiToken, joinAChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return joinAChannelWithHttpInfo(channelUrl, apiToken, sendBirdJoinAChannelRequest); } } @@ -1161,8 +1161,8 @@ public APIjoinAChannelRequest joinAChannel(String channelUrl) throws ApiExceptio return new APIjoinAChannelRequest(channelUrl); } -private ApiResponse leaveAChannelWithHttpInfo(String channelUrl, String apiToken, LeaveAChannelRequest leaveAChannelRequest) throws ApiException { - Object localVarPostBody = leaveAChannelRequest; +private ApiResponse leaveAChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdLeaveAChannelRequest sendBirdLeaveAChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdLeaveAChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -1207,7 +1207,7 @@ private ApiResponse leaveAChannelWithHttpInfo(String channelUrl, String public class APIleaveAChannelRequest { private String channelUrl; private String apiToken; - private LeaveAChannelRequest leaveAChannelRequest; + private SendBirdLeaveAChannelRequest sendBirdLeaveAChannelRequest; private APIleaveAChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -1224,12 +1224,12 @@ public APIleaveAChannelRequest apiToken(String apiToken) { } /** - * Set leaveAChannelRequest - * @param leaveAChannelRequest (optional) + * Set sendBirdLeaveAChannelRequest + * @param sendBirdLeaveAChannelRequest (optional) * @return APIleaveAChannelRequest */ - public APIleaveAChannelRequest leaveAChannelRequest(LeaveAChannelRequest leaveAChannelRequest) { - this.leaveAChannelRequest = leaveAChannelRequest; + public APIleaveAChannelRequest sendBirdLeaveAChannelRequest(SendBirdLeaveAChannelRequest sendBirdLeaveAChannelRequest) { + this.sendBirdLeaveAChannelRequest = sendBirdLeaveAChannelRequest; return this; } @@ -1261,7 +1261,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return leaveAChannelWithHttpInfo(channelUrl, apiToken, leaveAChannelRequest); + return leaveAChannelWithHttpInfo(channelUrl, apiToken, sendBirdLeaveAChannelRequest); } } @@ -1278,7 +1278,7 @@ public APIleaveAChannelRequest leaveAChannel(String channelUrl) throws ApiExcept return new APIleaveAChannelRequest(channelUrl); } -private ApiResponse listChannelsWithHttpInfo(String apiToken, String token, Integer limit, String distinctMode, String publicMode, String superMode, Long createdAfter, Long createdBefore, Boolean showEmpty, Boolean showMember, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMetadata, Boolean showFrozen, String order, String metadataOrderKey, String customTypes, String customTypeStartswith, String channelUrls, String name, String nameContains, String nameStartswith, String membersExactlyIn, String membersIncludeIn, String queryType, String membersNickname, String membersNicknameContains, String metadataKey, String metadataValues, String metadataValueStartswith, String metacounterKey, String metacounterValues, String metacounterValueGt, String metacounterValueGte, String metacounterValueLt, String metacounterValueLte, Boolean includeSortedMetaarrayInLastMessage) throws ApiException { +private ApiResponse listChannelsWithHttpInfo(String apiToken, String token, Integer limit, String distinctMode, String publicMode, String superMode, Long createdAfter, Long createdBefore, Boolean showEmpty, Boolean showMember, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMetadata, Boolean showFrozen, String order, String metadataOrderKey, String customTypes, String customTypeStartswith, String channelUrls, String name, String nameContains, String nameStartswith, String membersExactlyIn, String membersIncludeIn, String queryType, String membersNickname, String membersNicknameContains, String metadataKey, String metadataValues, String metadataValueStartswith, String metacounterKey, String metacounterValues, String metacounterValueGt, String metacounterValueGte, String metacounterValueLt, String metacounterValueLte, Boolean includeSortedMetaarrayInLastMessage) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'apiToken' is set @@ -1349,7 +1349,7 @@ private ApiResponse listChannelsWithHttpInfo(Stri String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.listChannels", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1770,7 +1770,7 @@ public APIlistChannelsRequest includeSortedMetaarrayInLastMessage(Boolean includ /** * Execute listChannels request - * @return GroupChatListChannelsResponse + * @return SendBirdGroupChatListChannelsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1780,13 +1780,13 @@ public APIlistChannelsRequest includeSortedMetaarrayInLastMessage(Boolean includ */ - public GroupChatListChannelsResponse execute() throws ApiException { + public SendBirdGroupChatListChannelsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listChannels request with HTTP info returned - * @return ApiResponse<GroupChatListChannelsResponse> + * @return ApiResponse<SendBirdGroupChatListChannelsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1795,7 +1795,7 @@ public GroupChatListChannelsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listChannelsWithHttpInfo(apiToken, token, limit, distinctMode, publicMode, superMode, createdAfter, createdBefore, showEmpty, showMember, showDeliveryReceipt, showReadReceipt, showMetadata, showFrozen, order, metadataOrderKey, customTypes, customTypeStartswith, channelUrls, name, nameContains, nameStartswith, membersExactlyIn, membersIncludeIn, queryType, membersNickname, membersNicknameContains, metadataKey, metadataValues, metadataValueStartswith, metacounterKey, metacounterValues, metacounterValueGt, metacounterValueGte, metacounterValueLt, metacounterValueLte, includeSortedMetaarrayInLastMessage); } } @@ -1812,7 +1812,7 @@ public APIlistChannelsRequest listChannels() throws ApiException { return new APIlistChannelsRequest(); } -private ApiResponse listMembersWithHttpInfo(String channelUrl, String token, Integer limit, String userId, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMemberIsMuted, String order, String operatorFilter, String memberStateFilter, String mutedMemberFilter, String memberActiveModeFilter, String nicknameStartswith, Boolean includePushPreference, String apiToken) throws ApiException { +private ApiResponse listMembersWithHttpInfo(String channelUrl, String token, Integer limit, String userId, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMemberIsMuted, String order, String operatorFilter, String memberStateFilter, String mutedMemberFilter, String memberActiveModeFilter, String nicknameStartswith, Boolean includePushPreference, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -1861,7 +1861,7 @@ private ApiResponse listMembersWithHttpInfo(Str String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.listMembers", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2031,7 +2031,7 @@ public APIlistMembersRequest apiToken(String apiToken) { /** * Execute listMembers request - * @return GroupChannelListMembersResponse + * @return SendBirdGroupChannelListMembersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2041,13 +2041,13 @@ public APIlistMembersRequest apiToken(String apiToken) { */ - public GroupChannelListMembersResponse execute() throws ApiException { + public SendBirdGroupChannelListMembersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listMembers request with HTTP info returned - * @return ApiResponse<GroupChannelListMembersResponse> + * @return ApiResponse<SendBirdGroupChannelListMembersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2056,7 +2056,7 @@ public GroupChannelListMembersResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listMembersWithHttpInfo(channelUrl, token, limit, userId, showDeliveryReceipt, showReadReceipt, showMemberIsMuted, order, operatorFilter, memberStateFilter, mutedMemberFilter, memberActiveModeFilter, nicknameStartswith, includePushPreference, apiToken); } } @@ -2074,7 +2074,7 @@ public APIlistMembersRequest listMembers(String channelUrl) throws ApiException return new APIlistMembersRequest(channelUrl); } -private ApiResponse listOperatorsWithHttpInfo(String channelUrl, String token, Integer limit, String apiToken) throws ApiException { +private ApiResponse listOperatorsWithHttpInfo(String channelUrl, String token, Integer limit, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -2112,7 +2112,7 @@ private ApiResponse listOperatorsWithHttpInfo(String chan String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.listOperators", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2161,7 +2161,7 @@ public APIlistOperatorsRequest apiToken(String apiToken) { /** * Execute listOperators request - * @return ListOperatorsResponse + * @return SendBirdListOperatorsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2171,13 +2171,13 @@ public APIlistOperatorsRequest apiToken(String apiToken) { */ - public ListOperatorsResponse execute() throws ApiException { + public SendBirdListOperatorsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listOperators request with HTTP info returned - * @return ApiResponse<ListOperatorsResponse> + * @return ApiResponse<SendBirdListOperatorsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2186,7 +2186,7 @@ public ListOperatorsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listOperatorsWithHttpInfo(channelUrl, token, limit, apiToken); } } @@ -2204,8 +2204,8 @@ public APIlistOperatorsRequest listOperators(String channelUrl) throws ApiExcept return new APIlistOperatorsRequest(channelUrl); } -private ApiResponse registerOperatorsToAGroupChannelWithHttpInfo(String channelUrl, String apiToken, RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest) throws ApiException { - Object localVarPostBody = registerOperatorsToAGroupChannelRequest; +private ApiResponse registerOperatorsToAGroupChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdRegisterOperatorsToAGroupChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -2250,7 +2250,7 @@ private ApiResponse registerOperatorsToAGroupChannelWithHttpInfo(String public class APIregisterOperatorsToAGroupChannelRequest { private String channelUrl; private String apiToken; - private RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest; + private SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest; private APIregisterOperatorsToAGroupChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -2267,12 +2267,12 @@ public APIregisterOperatorsToAGroupChannelRequest apiToken(String apiToken) { } /** - * Set registerOperatorsToAGroupChannelRequest - * @param registerOperatorsToAGroupChannelRequest (optional) + * Set sendBirdRegisterOperatorsToAGroupChannelRequest + * @param sendBirdRegisterOperatorsToAGroupChannelRequest (optional) * @return APIregisterOperatorsToAGroupChannelRequest */ - public APIregisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest(RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest) { - this.registerOperatorsToAGroupChannelRequest = registerOperatorsToAGroupChannelRequest; + public APIregisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest(SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest) { + this.sendBirdRegisterOperatorsToAGroupChannelRequest = sendBirdRegisterOperatorsToAGroupChannelRequest; return this; } @@ -2304,7 +2304,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return registerOperatorsToAGroupChannelWithHttpInfo(channelUrl, apiToken, registerOperatorsToAGroupChannelRequest); + return registerOperatorsToAGroupChannelWithHttpInfo(channelUrl, apiToken, sendBirdRegisterOperatorsToAGroupChannelRequest); } } @@ -2321,8 +2321,8 @@ public APIregisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChann return new APIregisterOperatorsToAGroupChannelRequest(channelUrl); } -private ApiResponse resetChatHistoryWithHttpInfo(String channelUrl, String apiToken, ResetChatHistoryRequest resetChatHistoryRequest) throws ApiException { - Object localVarPostBody = resetChatHistoryRequest; +private ApiResponse resetChatHistoryWithHttpInfo(String channelUrl, String apiToken, SendBirdResetChatHistoryRequest sendBirdResetChatHistoryRequest) throws ApiException { + Object localVarPostBody = sendBirdResetChatHistoryRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -2357,7 +2357,7 @@ private ApiResponse resetChatHistoryWithHttpInfo(Strin String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.resetChatHistory", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2367,7 +2367,7 @@ private ApiResponse resetChatHistoryWithHttpInfo(Strin public class APIresetChatHistoryRequest { private String channelUrl; private String apiToken; - private ResetChatHistoryRequest resetChatHistoryRequest; + private SendBirdResetChatHistoryRequest sendBirdResetChatHistoryRequest; private APIresetChatHistoryRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -2384,18 +2384,18 @@ public APIresetChatHistoryRequest apiToken(String apiToken) { } /** - * Set resetChatHistoryRequest - * @param resetChatHistoryRequest (optional) + * Set sendBirdResetChatHistoryRequest + * @param sendBirdResetChatHistoryRequest (optional) * @return APIresetChatHistoryRequest */ - public APIresetChatHistoryRequest resetChatHistoryRequest(ResetChatHistoryRequest resetChatHistoryRequest) { - this.resetChatHistoryRequest = resetChatHistoryRequest; + public APIresetChatHistoryRequest sendBirdResetChatHistoryRequest(SendBirdResetChatHistoryRequest sendBirdResetChatHistoryRequest) { + this.sendBirdResetChatHistoryRequest = sendBirdResetChatHistoryRequest; return this; } /** * Execute resetChatHistory request - * @return ResetChatHistoryResponse + * @return SendBirdResetChatHistoryResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2405,13 +2405,13 @@ public APIresetChatHistoryRequest resetChatHistoryRequest(ResetChatHistoryReques */ - public ResetChatHistoryResponse execute() throws ApiException { + public SendBirdResetChatHistoryResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute resetChatHistory request with HTTP info returned - * @return ApiResponse<ResetChatHistoryResponse> + * @return ApiResponse<SendBirdResetChatHistoryResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2420,8 +2420,8 @@ public ResetChatHistoryResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return resetChatHistoryWithHttpInfo(channelUrl, apiToken, resetChatHistoryRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return resetChatHistoryWithHttpInfo(channelUrl, apiToken, sendBirdResetChatHistoryRequest); } } @@ -2438,8 +2438,8 @@ public APIresetChatHistoryRequest resetChatHistory(String channelUrl) throws Api return new APIresetChatHistoryRequest(channelUrl); } -private ApiResponse startTypingIndicatorsWithHttpInfo(String channelUrl, String apiToken, StartTypingIndicatorsRequest startTypingIndicatorsRequest) throws ApiException { - Object localVarPostBody = startTypingIndicatorsRequest; +private ApiResponse startTypingIndicatorsWithHttpInfo(String channelUrl, String apiToken, SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest) throws ApiException { + Object localVarPostBody = sendBirdStartTypingIndicatorsRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -2484,7 +2484,7 @@ private ApiResponse startTypingIndicatorsWithHttpInfo(String channelUrl, public class APIstartTypingIndicatorsRequest { private String channelUrl; private String apiToken; - private StartTypingIndicatorsRequest startTypingIndicatorsRequest; + private SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest; private APIstartTypingIndicatorsRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -2501,12 +2501,12 @@ public APIstartTypingIndicatorsRequest apiToken(String apiToken) { } /** - * Set startTypingIndicatorsRequest - * @param startTypingIndicatorsRequest (optional) + * Set sendBirdStartTypingIndicatorsRequest + * @param sendBirdStartTypingIndicatorsRequest (optional) * @return APIstartTypingIndicatorsRequest */ - public APIstartTypingIndicatorsRequest startTypingIndicatorsRequest(StartTypingIndicatorsRequest startTypingIndicatorsRequest) { - this.startTypingIndicatorsRequest = startTypingIndicatorsRequest; + public APIstartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest(SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest) { + this.sendBirdStartTypingIndicatorsRequest = sendBirdStartTypingIndicatorsRequest; return this; } @@ -2538,7 +2538,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return startTypingIndicatorsWithHttpInfo(channelUrl, apiToken, startTypingIndicatorsRequest); + return startTypingIndicatorsWithHttpInfo(channelUrl, apiToken, sendBirdStartTypingIndicatorsRequest); } } @@ -2555,8 +2555,8 @@ public APIstartTypingIndicatorsRequest startTypingIndicators(String channelUrl) return new APIstartTypingIndicatorsRequest(channelUrl); } -private ApiResponse stopTypingIndicatorsWithHttpInfo(String channelUrl, String apiToken, StartTypingIndicatorsRequest startTypingIndicatorsRequest) throws ApiException { - Object localVarPostBody = startTypingIndicatorsRequest; +private ApiResponse stopTypingIndicatorsWithHttpInfo(String channelUrl, String apiToken, SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest) throws ApiException { + Object localVarPostBody = sendBirdStartTypingIndicatorsRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -2601,7 +2601,7 @@ private ApiResponse stopTypingIndicatorsWithHttpInfo(String channelUrl, public class APIstopTypingIndicatorsRequest { private String channelUrl; private String apiToken; - private StartTypingIndicatorsRequest startTypingIndicatorsRequest; + private SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest; private APIstopTypingIndicatorsRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -2618,12 +2618,12 @@ public APIstopTypingIndicatorsRequest apiToken(String apiToken) { } /** - * Set startTypingIndicatorsRequest - * @param startTypingIndicatorsRequest (optional) + * Set sendBirdStartTypingIndicatorsRequest + * @param sendBirdStartTypingIndicatorsRequest (optional) * @return APIstopTypingIndicatorsRequest */ - public APIstopTypingIndicatorsRequest startTypingIndicatorsRequest(StartTypingIndicatorsRequest startTypingIndicatorsRequest) { - this.startTypingIndicatorsRequest = startTypingIndicatorsRequest; + public APIstopTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest(SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest) { + this.sendBirdStartTypingIndicatorsRequest = sendBirdStartTypingIndicatorsRequest; return this; } @@ -2655,7 +2655,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return stopTypingIndicatorsWithHttpInfo(channelUrl, apiToken, startTypingIndicatorsRequest); + return stopTypingIndicatorsWithHttpInfo(channelUrl, apiToken, sendBirdStartTypingIndicatorsRequest); } } @@ -2807,8 +2807,8 @@ public APIunhideAChannelRequest unhideAChannel(String channelUrl) throws ApiExce return new APIunhideAChannelRequest(channelUrl); } -private ApiResponse updateAGroupChannelWithHttpInfo(String channelUrl, String apiToken, UpdateAGroupChannelRequest updateAGroupChannelRequest) throws ApiException { - Object localVarPostBody = updateAGroupChannelRequest; +private ApiResponse updateAGroupChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdUpdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdUpdateAGroupChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -2843,7 +2843,7 @@ private ApiResponse updateAGroupChannelWithHttpInfo( String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.updateAGroupChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2853,7 +2853,7 @@ private ApiResponse updateAGroupChannelWithHttpInfo( public class APIupdateAGroupChannelRequest { private String channelUrl; private String apiToken; - private UpdateAGroupChannelRequest updateAGroupChannelRequest; + private SendBirdUpdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest; private APIupdateAGroupChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -2870,18 +2870,18 @@ public APIupdateAGroupChannelRequest apiToken(String apiToken) { } /** - * Set updateAGroupChannelRequest - * @param updateAGroupChannelRequest (optional) + * Set sendBirdUpdateAGroupChannelRequest + * @param sendBirdUpdateAGroupChannelRequest (optional) * @return APIupdateAGroupChannelRequest */ - public APIupdateAGroupChannelRequest updateAGroupChannelRequest(UpdateAGroupChannelRequest updateAGroupChannelRequest) { - this.updateAGroupChannelRequest = updateAGroupChannelRequest; + public APIupdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest(SendBirdUpdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest) { + this.sendBirdUpdateAGroupChannelRequest = sendBirdUpdateAGroupChannelRequest; return this; } /** * Execute updateAGroupChannel request - * @return SendbirdGroupChannelDetail + * @return SendBirdSendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -2891,13 +2891,13 @@ public APIupdateAGroupChannelRequest updateAGroupChannelRequest(UpdateAGroupChan */ - public SendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAGroupChannel request with HTTP info returned - * @return ApiResponse<SendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -2906,8 +2906,8 @@ public SendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateAGroupChannelWithHttpInfo(channelUrl, apiToken, updateAGroupChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateAGroupChannelWithHttpInfo(channelUrl, apiToken, sendBirdUpdateAGroupChannelRequest); } } diff --git a/src/main/java/org/sendbird/client/api/MessageApi.java b/src/main/java/org/sendbird/client/api/MessageApi.java index 20de7993..02c61a90 100644 --- a/src/main/java/org/sendbird/client/api/MessageApi.java +++ b/src/main/java/org/sendbird/client/api/MessageApi.java @@ -8,24 +8,24 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.AddExtraDataToAMessageRequest; -import org.openapitools.client.model.AddExtraDataToAMessageResponse; -import org.openapitools.client.model.GetTotalNumberOfMessagesInAChannelResponse; -import org.openapitools.client.model.ListMessagesResponse; -import org.openapitools.client.model.MarkChannelMessagesAsReadRequest; -import org.openapitools.client.model.MigrateMessagesRequest; -import org.openapitools.client.model.SendAMessageRequest; -import org.openapitools.client.model.SendbirdMessageResponse; -import org.openapitools.client.model.UpdateAMessageRequest; -import org.openapitools.client.model.UpdateExtraDataInAMessageRequest; -import org.openapitools.client.model.UpdateExtraDataInAMessageResponse; +import org.openapitools.client.model.SendBirdAddExtraDataToAMessageRequest; +import org.openapitools.client.model.SendBirdAddExtraDataToAMessageResponse; +import org.openapitools.client.model.SendBirdGetTotalNumberOfMessagesInAChannelResponse; +import org.openapitools.client.model.SendBirdListMessagesResponse; +import org.openapitools.client.model.SendBirdMarkChannelMessagesAsReadRequest; +import org.openapitools.client.model.SendBirdMigrateMessagesRequest; +import org.openapitools.client.model.SendBirdSendAMessageRequest; +import org.openapitools.client.model.SendBirdSendbirdMessageResponse; +import org.openapitools.client.model.SendBirdUpdateAMessageRequest; +import org.openapitools.client.model.SendBirdUpdateExtraDataInAMessageRequest; +import org.openapitools.client.model.SendBirdUpdateExtraDataInAMessageResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class MessageApi { private ApiClient apiClient; @@ -56,8 +56,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse addExtraDataToAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, AddExtraDataToAMessageRequest addExtraDataToAMessageRequest) throws ApiException { - Object localVarPostBody = addExtraDataToAMessageRequest; +private ApiResponse addExtraDataToAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, SendBirdAddExtraDataToAMessageRequest sendBirdAddExtraDataToAMessageRequest) throws ApiException { + Object localVarPostBody = sendBirdAddExtraDataToAMessageRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -104,7 +104,7 @@ private ApiResponse addExtraDataToAMessageWithHt String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.addExtraDataToAMessage", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -116,7 +116,7 @@ public class APIaddExtraDataToAMessageRequest { private String channelUrl; private Long messageId; private String apiToken; - private AddExtraDataToAMessageRequest addExtraDataToAMessageRequest; + private SendBirdAddExtraDataToAMessageRequest sendBirdAddExtraDataToAMessageRequest; private APIaddExtraDataToAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; @@ -135,18 +135,18 @@ public APIaddExtraDataToAMessageRequest apiToken(String apiToken) { } /** - * Set addExtraDataToAMessageRequest - * @param addExtraDataToAMessageRequest (optional) + * Set sendBirdAddExtraDataToAMessageRequest + * @param sendBirdAddExtraDataToAMessageRequest (optional) * @return APIaddExtraDataToAMessageRequest */ - public APIaddExtraDataToAMessageRequest addExtraDataToAMessageRequest(AddExtraDataToAMessageRequest addExtraDataToAMessageRequest) { - this.addExtraDataToAMessageRequest = addExtraDataToAMessageRequest; + public APIaddExtraDataToAMessageRequest sendBirdAddExtraDataToAMessageRequest(SendBirdAddExtraDataToAMessageRequest sendBirdAddExtraDataToAMessageRequest) { + this.sendBirdAddExtraDataToAMessageRequest = sendBirdAddExtraDataToAMessageRequest; return this; } /** * Execute addExtraDataToAMessage request - * @return AddExtraDataToAMessageResponse + * @return SendBirdAddExtraDataToAMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -156,13 +156,13 @@ public APIaddExtraDataToAMessageRequest addExtraDataToAMessageRequest(AddExtraDa */ - public AddExtraDataToAMessageResponse execute() throws ApiException { + public SendBirdAddExtraDataToAMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute addExtraDataToAMessage request with HTTP info returned - * @return ApiResponse<AddExtraDataToAMessageResponse> + * @return ApiResponse<SendBirdAddExtraDataToAMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -171,8 +171,8 @@ public AddExtraDataToAMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return addExtraDataToAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, addExtraDataToAMessageRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return addExtraDataToAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, sendBirdAddExtraDataToAMessageRequest); } } @@ -315,7 +315,7 @@ public APIdeleteAMessageRequest deleteAMessage(String channelType, String channe return new APIdeleteAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse getAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, Boolean includeReactions, Boolean includeThreadInfo, Boolean includeParentMessageInfo, Boolean includePollDetails, Boolean withSortedMetaArray, String apiToken) throws ApiException { +private ApiResponse getAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, Boolean includeReactions, Boolean includeThreadInfo, Boolean includeParentMessageInfo, Boolean includePollDetails, Boolean withSortedMetaArray, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelType' is set @@ -368,7 +368,7 @@ private ApiResponse getAMessageWithHttpInfo(String chan String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.getAMessage", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -454,7 +454,7 @@ public APIgetAMessageRequest apiToken(String apiToken) { /** * Execute getAMessage request - * @return SendbirdMessageResponse + * @return SendBirdSendbirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -464,13 +464,13 @@ public APIgetAMessageRequest apiToken(String apiToken) { */ - public SendbirdMessageResponse execute() throws ApiException { + public SendBirdSendbirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getAMessage request with HTTP info returned - * @return ApiResponse<SendbirdMessageResponse> + * @return ApiResponse<SendBirdSendbirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -479,7 +479,7 @@ public SendbirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getAMessageWithHttpInfo(channelType, channelUrl, messageId, includeReactions, includeThreadInfo, includeParentMessageInfo, includePollDetails, withSortedMetaArray, apiToken); } } @@ -499,7 +499,7 @@ public APIgetAMessageRequest getAMessage(String channelType, String channelUrl, return new APIgetAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse getTotalNumberOfMessagesInAChannelWithHttpInfo(String channelType, String channelUrl, String apiToken) throws ApiException { +private ApiResponse getTotalNumberOfMessagesInAChannelWithHttpInfo(String channelType, String channelUrl, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelType' is set @@ -541,7 +541,7 @@ private ApiResponse getTotalNumberOf String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.getTotalNumberOfMessagesInAChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -570,7 +570,7 @@ public APIgetTotalNumberOfMessagesInAChannelRequest apiToken(String apiToken) { /** * Execute getTotalNumberOfMessagesInAChannel request - * @return GetTotalNumberOfMessagesInAChannelResponse + * @return SendBirdGetTotalNumberOfMessagesInAChannelResponse * @throws ApiException if fails to make API call * @http.response.details @@ -580,13 +580,13 @@ public APIgetTotalNumberOfMessagesInAChannelRequest apiToken(String apiToken) { */ - public GetTotalNumberOfMessagesInAChannelResponse execute() throws ApiException { + public SendBirdGetTotalNumberOfMessagesInAChannelResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getTotalNumberOfMessagesInAChannel request with HTTP info returned - * @return ApiResponse<GetTotalNumberOfMessagesInAChannelResponse> + * @return ApiResponse<SendBirdGetTotalNumberOfMessagesInAChannelResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -595,7 +595,7 @@ public GetTotalNumberOfMessagesInAChannelResponse execute() throws ApiException
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getTotalNumberOfMessagesInAChannelWithHttpInfo(channelType, channelUrl, apiToken); } } @@ -614,7 +614,7 @@ public APIgetTotalNumberOfMessagesInAChannelRequest getTotalNumberOfMessagesInAC return new APIgetTotalNumberOfMessagesInAChannelRequest(channelType, channelUrl); } -private ApiResponse listMessagesWithHttpInfo(String channelType, String channelUrl, Long messageTs, Long messageId, Integer prevLimit, Integer nextLimit, Boolean include, Boolean reverse, String senderId, String senderIds, String operatorFilter, String customTypes, String messageType, Boolean includingRemoved, Boolean includeReactions, String includeReplyType, Boolean includeParentMessageInfo, Boolean includeThreadInfo, Boolean includePollDetails, Boolean withSortedMetaArray, Boolean showSubchannelMessagesOnly, String userId, String apiToken) throws ApiException { +private ApiResponse listMessagesWithHttpInfo(String channelType, String channelUrl, Long messageTs, Long messageId, Integer prevLimit, Integer nextLimit, Boolean include, Boolean reverse, String senderId, String senderIds, String operatorFilter, String customTypes, String messageType, Boolean includingRemoved, Boolean includeReactions, String includeReplyType, Boolean includeParentMessageInfo, Boolean includeThreadInfo, Boolean includePollDetails, Boolean withSortedMetaArray, Boolean showSubchannelMessagesOnly, String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelType' is set @@ -686,7 +686,7 @@ private ApiResponse listMessagesWithHttpInfo(String channe String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.listMessages", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -935,7 +935,7 @@ public APIlistMessagesRequest apiToken(String apiToken) { /** * Execute listMessages request - * @return ListMessagesResponse + * @return SendBirdListMessagesResponse * @throws ApiException if fails to make API call * @http.response.details @@ -945,13 +945,13 @@ public APIlistMessagesRequest apiToken(String apiToken) { */ - public ListMessagesResponse execute() throws ApiException { + public SendBirdListMessagesResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listMessages request with HTTP info returned - * @return ApiResponse<ListMessagesResponse> + * @return ApiResponse<SendBirdListMessagesResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -960,7 +960,7 @@ public ListMessagesResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listMessagesWithHttpInfo(channelType, channelUrl, messageTs, messageId, prevLimit, nextLimit, include, reverse, senderId, senderIds, operatorFilter, customTypes, messageType, includingRemoved, includeReactions, includeReplyType, includeParentMessageInfo, includeThreadInfo, includePollDetails, withSortedMetaArray, showSubchannelMessagesOnly, userId, apiToken); } } @@ -979,8 +979,8 @@ public APIlistMessagesRequest listMessages(String channelType, String channelUrl return new APIlistMessagesRequest(channelType, channelUrl); } -private ApiResponse markChannelMessagesAsReadWithHttpInfo(String channelUrl, String apiToken, MarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest) throws ApiException { - Object localVarPostBody = markChannelMessagesAsReadRequest; +private ApiResponse markChannelMessagesAsReadWithHttpInfo(String channelUrl, String apiToken, SendBirdMarkChannelMessagesAsReadRequest sendBirdMarkChannelMessagesAsReadRequest) throws ApiException { + Object localVarPostBody = sendBirdMarkChannelMessagesAsReadRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -1025,7 +1025,7 @@ private ApiResponse markChannelMessagesAsReadWithHttpInfo(String channel public class APImarkChannelMessagesAsReadRequest { private String channelUrl; private String apiToken; - private MarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest; + private SendBirdMarkChannelMessagesAsReadRequest sendBirdMarkChannelMessagesAsReadRequest; private APImarkChannelMessagesAsReadRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -1042,12 +1042,12 @@ public APImarkChannelMessagesAsReadRequest apiToken(String apiToken) { } /** - * Set markChannelMessagesAsReadRequest - * @param markChannelMessagesAsReadRequest (optional) + * Set sendBirdMarkChannelMessagesAsReadRequest + * @param sendBirdMarkChannelMessagesAsReadRequest (optional) * @return APImarkChannelMessagesAsReadRequest */ - public APImarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest(MarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest) { - this.markChannelMessagesAsReadRequest = markChannelMessagesAsReadRequest; + public APImarkChannelMessagesAsReadRequest sendBirdMarkChannelMessagesAsReadRequest(SendBirdMarkChannelMessagesAsReadRequest sendBirdMarkChannelMessagesAsReadRequest) { + this.sendBirdMarkChannelMessagesAsReadRequest = sendBirdMarkChannelMessagesAsReadRequest; return this; } @@ -1079,7 +1079,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return markChannelMessagesAsReadWithHttpInfo(channelUrl, apiToken, markChannelMessagesAsReadRequest); + return markChannelMessagesAsReadWithHttpInfo(channelUrl, apiToken, sendBirdMarkChannelMessagesAsReadRequest); } } @@ -1096,8 +1096,8 @@ public APImarkChannelMessagesAsReadRequest markChannelMessagesAsRead(String chan return new APImarkChannelMessagesAsReadRequest(channelUrl); } -private ApiResponse migrateMessagesWithHttpInfo(String targetChannelUrl, String apiToken, MigrateMessagesRequest migrateMessagesRequest) throws ApiException { - Object localVarPostBody = migrateMessagesRequest; +private ApiResponse migrateMessagesWithHttpInfo(String targetChannelUrl, String apiToken, SendBirdMigrateMessagesRequest sendBirdMigrateMessagesRequest) throws ApiException { + Object localVarPostBody = sendBirdMigrateMessagesRequest; // verify the required parameter 'targetChannelUrl' is set if (targetChannelUrl == null) { @@ -1142,7 +1142,7 @@ private ApiResponse migrateMessagesWithHttpInfo(String targetChannelUrl, public class APImigrateMessagesRequest { private String targetChannelUrl; private String apiToken; - private MigrateMessagesRequest migrateMessagesRequest; + private SendBirdMigrateMessagesRequest sendBirdMigrateMessagesRequest; private APImigrateMessagesRequest(String targetChannelUrl) { this.targetChannelUrl = targetChannelUrl; @@ -1159,12 +1159,12 @@ public APImigrateMessagesRequest apiToken(String apiToken) { } /** - * Set migrateMessagesRequest - * @param migrateMessagesRequest (optional) + * Set sendBirdMigrateMessagesRequest + * @param sendBirdMigrateMessagesRequest (optional) * @return APImigrateMessagesRequest */ - public APImigrateMessagesRequest migrateMessagesRequest(MigrateMessagesRequest migrateMessagesRequest) { - this.migrateMessagesRequest = migrateMessagesRequest; + public APImigrateMessagesRequest sendBirdMigrateMessagesRequest(SendBirdMigrateMessagesRequest sendBirdMigrateMessagesRequest) { + this.sendBirdMigrateMessagesRequest = sendBirdMigrateMessagesRequest; return this; } @@ -1196,7 +1196,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return migrateMessagesWithHttpInfo(targetChannelUrl, apiToken, migrateMessagesRequest); + return migrateMessagesWithHttpInfo(targetChannelUrl, apiToken, sendBirdMigrateMessagesRequest); } } @@ -1349,8 +1349,8 @@ public APIremoveExtraDataFromAMessageRequest removeExtraDataFromAMessage(String return new APIremoveExtraDataFromAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse sendAMessageWithHttpInfo(String channelType, String channelUrl, String apiToken, SendAMessageRequest sendAMessageRequest) throws ApiException { - Object localVarPostBody = sendAMessageRequest; +private ApiResponse sendAMessageWithHttpInfo(String channelType, String channelUrl, String apiToken, SendBirdSendAMessageRequest sendBirdSendAMessageRequest) throws ApiException { + Object localVarPostBody = sendBirdSendAMessageRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -1391,7 +1391,7 @@ private ApiResponse sendAMessageWithHttpInfo(String cha String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.sendAMessage", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1402,7 +1402,7 @@ public class APIsendAMessageRequest { private String channelType; private String channelUrl; private String apiToken; - private SendAMessageRequest sendAMessageRequest; + private SendBirdSendAMessageRequest sendBirdSendAMessageRequest; private APIsendAMessageRequest(String channelType, String channelUrl) { this.channelType = channelType; @@ -1420,18 +1420,18 @@ public APIsendAMessageRequest apiToken(String apiToken) { } /** - * Set sendAMessageRequest - * @param sendAMessageRequest (optional) + * Set sendBirdSendAMessageRequest + * @param sendBirdSendAMessageRequest (optional) * @return APIsendAMessageRequest */ - public APIsendAMessageRequest sendAMessageRequest(SendAMessageRequest sendAMessageRequest) { - this.sendAMessageRequest = sendAMessageRequest; + public APIsendAMessageRequest sendBirdSendAMessageRequest(SendBirdSendAMessageRequest sendBirdSendAMessageRequest) { + this.sendBirdSendAMessageRequest = sendBirdSendAMessageRequest; return this; } /** * Execute sendAMessage request - * @return SendbirdMessageResponse + * @return SendBirdSendbirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1441,13 +1441,13 @@ public APIsendAMessageRequest sendAMessageRequest(SendAMessageRequest sendAMessa */ - public SendbirdMessageResponse execute() throws ApiException { + public SendBirdSendbirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute sendAMessage request with HTTP info returned - * @return ApiResponse<SendbirdMessageResponse> + * @return ApiResponse<SendBirdSendbirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1456,8 +1456,8 @@ public SendbirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return sendAMessageWithHttpInfo(channelType, channelUrl, apiToken, sendAMessageRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return sendAMessageWithHttpInfo(channelType, channelUrl, apiToken, sendBirdSendAMessageRequest); } } @@ -1475,8 +1475,8 @@ public APIsendAMessageRequest sendAMessage(String channelType, String channelUrl return new APIsendAMessageRequest(channelType, channelUrl); } -private ApiResponse updateAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, UpdateAMessageRequest updateAMessageRequest) throws ApiException { - Object localVarPostBody = updateAMessageRequest; +private ApiResponse updateAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, SendBirdUpdateAMessageRequest sendBirdUpdateAMessageRequest) throws ApiException { + Object localVarPostBody = sendBirdUpdateAMessageRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -1523,7 +1523,7 @@ private ApiResponse updateAMessageWithHttpInfo(String c String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.updateAMessage", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1535,7 +1535,7 @@ public class APIupdateAMessageRequest { private String channelUrl; private Long messageId; private String apiToken; - private UpdateAMessageRequest updateAMessageRequest; + private SendBirdUpdateAMessageRequest sendBirdUpdateAMessageRequest; private APIupdateAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; @@ -1554,18 +1554,18 @@ public APIupdateAMessageRequest apiToken(String apiToken) { } /** - * Set updateAMessageRequest - * @param updateAMessageRequest (optional) + * Set sendBirdUpdateAMessageRequest + * @param sendBirdUpdateAMessageRequest (optional) * @return APIupdateAMessageRequest */ - public APIupdateAMessageRequest updateAMessageRequest(UpdateAMessageRequest updateAMessageRequest) { - this.updateAMessageRequest = updateAMessageRequest; + public APIupdateAMessageRequest sendBirdUpdateAMessageRequest(SendBirdUpdateAMessageRequest sendBirdUpdateAMessageRequest) { + this.sendBirdUpdateAMessageRequest = sendBirdUpdateAMessageRequest; return this; } /** * Execute updateAMessage request - * @return SendbirdMessageResponse + * @return SendBirdSendbirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1575,13 +1575,13 @@ public APIupdateAMessageRequest updateAMessageRequest(UpdateAMessageRequest upda */ - public SendbirdMessageResponse execute() throws ApiException { + public SendBirdSendbirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAMessage request with HTTP info returned - * @return ApiResponse<SendbirdMessageResponse> + * @return ApiResponse<SendBirdSendbirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1590,8 +1590,8 @@ public SendbirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, updateAMessageRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, sendBirdUpdateAMessageRequest); } } @@ -1610,8 +1610,8 @@ public APIupdateAMessageRequest updateAMessage(String channelType, String channe return new APIupdateAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse updateExtraDataInAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest) throws ApiException { - Object localVarPostBody = updateExtraDataInAMessageRequest; +private ApiResponse updateExtraDataInAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, SendBirdUpdateExtraDataInAMessageRequest sendBirdUpdateExtraDataInAMessageRequest) throws ApiException { + Object localVarPostBody = sendBirdUpdateExtraDataInAMessageRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -1658,7 +1658,7 @@ private ApiResponse updateExtraDataInAMessage String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.updateExtraDataInAMessage", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1670,7 +1670,7 @@ public class APIupdateExtraDataInAMessageRequest { private String channelUrl; private Long messageId; private String apiToken; - private UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest; + private SendBirdUpdateExtraDataInAMessageRequest sendBirdUpdateExtraDataInAMessageRequest; private APIupdateExtraDataInAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; @@ -1689,18 +1689,18 @@ public APIupdateExtraDataInAMessageRequest apiToken(String apiToken) { } /** - * Set updateExtraDataInAMessageRequest - * @param updateExtraDataInAMessageRequest (optional) + * Set sendBirdUpdateExtraDataInAMessageRequest + * @param sendBirdUpdateExtraDataInAMessageRequest (optional) * @return APIupdateExtraDataInAMessageRequest */ - public APIupdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest(UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest) { - this.updateExtraDataInAMessageRequest = updateExtraDataInAMessageRequest; + public APIupdateExtraDataInAMessageRequest sendBirdUpdateExtraDataInAMessageRequest(SendBirdUpdateExtraDataInAMessageRequest sendBirdUpdateExtraDataInAMessageRequest) { + this.sendBirdUpdateExtraDataInAMessageRequest = sendBirdUpdateExtraDataInAMessageRequest; return this; } /** * Execute updateExtraDataInAMessage request - * @return UpdateExtraDataInAMessageResponse + * @return SendBirdUpdateExtraDataInAMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1710,13 +1710,13 @@ public APIupdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest(Upda */ - public UpdateExtraDataInAMessageResponse execute() throws ApiException { + public SendBirdUpdateExtraDataInAMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateExtraDataInAMessage request with HTTP info returned - * @return ApiResponse<UpdateExtraDataInAMessageResponse> + * @return ApiResponse<SendBirdUpdateExtraDataInAMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1725,8 +1725,8 @@ public UpdateExtraDataInAMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateExtraDataInAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, updateExtraDataInAMessageRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateExtraDataInAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, sendBirdUpdateExtraDataInAMessageRequest); } } diff --git a/src/main/java/org/sendbird/client/api/MetadataApi.java b/src/main/java/org/sendbird/client/api/MetadataApi.java index 93a537d4..2abcd81e 100644 --- a/src/main/java/org/sendbird/client/api/MetadataApi.java +++ b/src/main/java/org/sendbird/client/api/MetadataApi.java @@ -8,16 +8,16 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.CreateAChannelMetadataRequest; -import org.openapitools.client.model.CreateAChannelMetadataResponse; -import org.openapitools.client.model.UpdateAChannelMetadataRequest; +import org.openapitools.client.model.SendBirdCreateAChannelMetadataRequest; +import org.openapitools.client.model.SendBirdCreateAChannelMetadataResponse; +import org.openapitools.client.model.SendBirdUpdateAChannelMetadataRequest; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class MetadataApi { private ApiClient apiClient; @@ -48,8 +48,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse createAChannelMetadataWithHttpInfo(String channelType, String channelUrl, String apiToken, CreateAChannelMetadataRequest createAChannelMetadataRequest) throws ApiException { - Object localVarPostBody = createAChannelMetadataRequest; +private ApiResponse createAChannelMetadataWithHttpInfo(String channelType, String channelUrl, String apiToken, SendBirdCreateAChannelMetadataRequest sendBirdCreateAChannelMetadataRequest) throws ApiException { + Object localVarPostBody = sendBirdCreateAChannelMetadataRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -90,7 +90,7 @@ private ApiResponse createAChannelMetadataWithHt String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MetadataApi.createAChannelMetadata", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -101,7 +101,7 @@ public class APIcreateAChannelMetadataRequest { private String channelType; private String channelUrl; private String apiToken; - private CreateAChannelMetadataRequest createAChannelMetadataRequest; + private SendBirdCreateAChannelMetadataRequest sendBirdCreateAChannelMetadataRequest; private APIcreateAChannelMetadataRequest(String channelType, String channelUrl) { this.channelType = channelType; @@ -119,18 +119,18 @@ public APIcreateAChannelMetadataRequest apiToken(String apiToken) { } /** - * Set createAChannelMetadataRequest - * @param createAChannelMetadataRequest (optional) + * Set sendBirdCreateAChannelMetadataRequest + * @param sendBirdCreateAChannelMetadataRequest (optional) * @return APIcreateAChannelMetadataRequest */ - public APIcreateAChannelMetadataRequest createAChannelMetadataRequest(CreateAChannelMetadataRequest createAChannelMetadataRequest) { - this.createAChannelMetadataRequest = createAChannelMetadataRequest; + public APIcreateAChannelMetadataRequest sendBirdCreateAChannelMetadataRequest(SendBirdCreateAChannelMetadataRequest sendBirdCreateAChannelMetadataRequest) { + this.sendBirdCreateAChannelMetadataRequest = sendBirdCreateAChannelMetadataRequest; return this; } /** * Execute createAChannelMetadata request - * @return CreateAChannelMetadataResponse + * @return SendBirdCreateAChannelMetadataResponse * @throws ApiException if fails to make API call * @http.response.details @@ -140,13 +140,13 @@ public APIcreateAChannelMetadataRequest createAChannelMetadataRequest(CreateACha */ - public CreateAChannelMetadataResponse execute() throws ApiException { + public SendBirdCreateAChannelMetadataResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAChannelMetadata request with HTTP info returned - * @return ApiResponse<CreateAChannelMetadataResponse> + * @return ApiResponse<SendBirdCreateAChannelMetadataResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -155,8 +155,8 @@ public CreateAChannelMetadataResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createAChannelMetadataWithHttpInfo(channelType, channelUrl, apiToken, createAChannelMetadataRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createAChannelMetadataWithHttpInfo(channelType, channelUrl, apiToken, sendBirdCreateAChannelMetadataRequest); } } @@ -293,8 +293,8 @@ public APIdeleteAChannelMetadataWhenDeletingAllItemsOfAChannelMetadataRequest de return new APIdeleteAChannelMetadataWhenDeletingAllItemsOfAChannelMetadataRequest(channelType, channelUrl, key); } -private ApiResponse updateAChannelMetadataWithHttpInfo(String channelType, String channelUrl, String apiToken, UpdateAChannelMetadataRequest updateAChannelMetadataRequest) throws ApiException { - Object localVarPostBody = updateAChannelMetadataRequest; +private ApiResponse updateAChannelMetadataWithHttpInfo(String channelType, String channelUrl, String apiToken, SendBirdUpdateAChannelMetadataRequest sendBirdUpdateAChannelMetadataRequest) throws ApiException { + Object localVarPostBody = sendBirdUpdateAChannelMetadataRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -346,7 +346,7 @@ public class APIupdateAChannelMetadataRequest { private String channelType; private String channelUrl; private String apiToken; - private UpdateAChannelMetadataRequest updateAChannelMetadataRequest; + private SendBirdUpdateAChannelMetadataRequest sendBirdUpdateAChannelMetadataRequest; private APIupdateAChannelMetadataRequest(String channelType, String channelUrl) { this.channelType = channelType; @@ -364,12 +364,12 @@ public APIupdateAChannelMetadataRequest apiToken(String apiToken) { } /** - * Set updateAChannelMetadataRequest - * @param updateAChannelMetadataRequest (optional) + * Set sendBirdUpdateAChannelMetadataRequest + * @param sendBirdUpdateAChannelMetadataRequest (optional) * @return APIupdateAChannelMetadataRequest */ - public APIupdateAChannelMetadataRequest updateAChannelMetadataRequest(UpdateAChannelMetadataRequest updateAChannelMetadataRequest) { - this.updateAChannelMetadataRequest = updateAChannelMetadataRequest; + public APIupdateAChannelMetadataRequest sendBirdUpdateAChannelMetadataRequest(SendBirdUpdateAChannelMetadataRequest sendBirdUpdateAChannelMetadataRequest) { + this.sendBirdUpdateAChannelMetadataRequest = sendBirdUpdateAChannelMetadataRequest; return this; } @@ -401,7 +401,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return updateAChannelMetadataWithHttpInfo(channelType, channelUrl, apiToken, updateAChannelMetadataRequest); + return updateAChannelMetadataWithHttpInfo(channelType, channelUrl, apiToken, sendBirdUpdateAChannelMetadataRequest); } } diff --git a/src/main/java/org/sendbird/client/api/ModerationApi.java b/src/main/java/org/sendbird/client/api/ModerationApi.java index 733b6ee2..a9913ad5 100644 --- a/src/main/java/org/sendbird/client/api/ModerationApi.java +++ b/src/main/java/org/sendbird/client/api/ModerationApi.java @@ -8,20 +8,20 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.BlockAUserRequest; -import org.openapitools.client.model.BlockAUserResponse; -import org.openapitools.client.model.FreezeAGroupChannelRequest; -import org.openapitools.client.model.FreezeAnOpenChannelRequest; -import org.openapitools.client.model.ListBlockedUsersResponse; -import org.openapitools.client.model.SendbirdGroupChannelDetail; -import org.openapitools.client.model.SendbirdOpenChannel; +import org.openapitools.client.model.SendBirdBlockAUserRequest; +import org.openapitools.client.model.SendBirdBlockAUserResponse; +import org.openapitools.client.model.SendBirdFreezeAGroupChannelRequest; +import org.openapitools.client.model.SendBirdFreezeAnOpenChannelRequest; +import org.openapitools.client.model.SendBirdListBlockedUsersResponse; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetail; +import org.openapitools.client.model.SendBirdSendbirdOpenChannel; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class ModerationApi { private ApiClient apiClient; @@ -52,8 +52,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse blockAUserWithHttpInfo(String userId, String apiToken, BlockAUserRequest blockAUserRequest) throws ApiException { - Object localVarPostBody = blockAUserRequest; +private ApiResponse blockAUserWithHttpInfo(String userId, String apiToken, SendBirdBlockAUserRequest sendBirdBlockAUserRequest) throws ApiException { + Object localVarPostBody = sendBirdBlockAUserRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -88,7 +88,7 @@ private ApiResponse blockAUserWithHttpInfo(String userId, St String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.blockAUser", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -98,7 +98,7 @@ private ApiResponse blockAUserWithHttpInfo(String userId, St public class APIblockAUserRequest { private String userId; private String apiToken; - private BlockAUserRequest blockAUserRequest; + private SendBirdBlockAUserRequest sendBirdBlockAUserRequest; private APIblockAUserRequest(String userId) { this.userId = userId; @@ -115,18 +115,18 @@ public APIblockAUserRequest apiToken(String apiToken) { } /** - * Set blockAUserRequest - * @param blockAUserRequest (optional) + * Set sendBirdBlockAUserRequest + * @param sendBirdBlockAUserRequest (optional) * @return APIblockAUserRequest */ - public APIblockAUserRequest blockAUserRequest(BlockAUserRequest blockAUserRequest) { - this.blockAUserRequest = blockAUserRequest; + public APIblockAUserRequest sendBirdBlockAUserRequest(SendBirdBlockAUserRequest sendBirdBlockAUserRequest) { + this.sendBirdBlockAUserRequest = sendBirdBlockAUserRequest; return this; } /** * Execute blockAUser request - * @return BlockAUserResponse + * @return SendBirdBlockAUserResponse * @throws ApiException if fails to make API call * @http.response.details @@ -136,13 +136,13 @@ public APIblockAUserRequest blockAUserRequest(BlockAUserRequest blockAUserReques */ - public BlockAUserResponse execute() throws ApiException { + public SendBirdBlockAUserResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute blockAUser request with HTTP info returned - * @return ApiResponse<BlockAUserResponse> + * @return ApiResponse<SendBirdBlockAUserResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -151,8 +151,8 @@ public BlockAUserResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return blockAUserWithHttpInfo(userId, apiToken, blockAUserRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return blockAUserWithHttpInfo(userId, apiToken, sendBirdBlockAUserRequest); } } @@ -169,8 +169,8 @@ public APIblockAUserRequest blockAUser(String userId) throws ApiException { return new APIblockAUserRequest(userId); } -private ApiResponse freezeAGroupChannelWithHttpInfo(String channelUrl, String apiToken, FreezeAGroupChannelRequest freezeAGroupChannelRequest) throws ApiException { - Object localVarPostBody = freezeAGroupChannelRequest; +private ApiResponse freezeAGroupChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdFreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdFreezeAGroupChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -205,7 +205,7 @@ private ApiResponse freezeAGroupChannelWithHttpInfo( String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.freezeAGroupChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -215,7 +215,7 @@ private ApiResponse freezeAGroupChannelWithHttpInfo( public class APIfreezeAGroupChannelRequest { private String channelUrl; private String apiToken; - private FreezeAGroupChannelRequest freezeAGroupChannelRequest; + private SendBirdFreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest; private APIfreezeAGroupChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -232,18 +232,18 @@ public APIfreezeAGroupChannelRequest apiToken(String apiToken) { } /** - * Set freezeAGroupChannelRequest - * @param freezeAGroupChannelRequest (optional) + * Set sendBirdFreezeAGroupChannelRequest + * @param sendBirdFreezeAGroupChannelRequest (optional) * @return APIfreezeAGroupChannelRequest */ - public APIfreezeAGroupChannelRequest freezeAGroupChannelRequest(FreezeAGroupChannelRequest freezeAGroupChannelRequest) { - this.freezeAGroupChannelRequest = freezeAGroupChannelRequest; + public APIfreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest(SendBirdFreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest) { + this.sendBirdFreezeAGroupChannelRequest = sendBirdFreezeAGroupChannelRequest; return this; } /** * Execute freezeAGroupChannel request - * @return SendbirdGroupChannelDetail + * @return SendBirdSendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -253,13 +253,13 @@ public APIfreezeAGroupChannelRequest freezeAGroupChannelRequest(FreezeAGroupChan */ - public SendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute freezeAGroupChannel request with HTTP info returned - * @return ApiResponse<SendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -268,8 +268,8 @@ public SendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return freezeAGroupChannelWithHttpInfo(channelUrl, apiToken, freezeAGroupChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return freezeAGroupChannelWithHttpInfo(channelUrl, apiToken, sendBirdFreezeAGroupChannelRequest); } } @@ -286,8 +286,8 @@ public APIfreezeAGroupChannelRequest freezeAGroupChannel(String channelUrl) thro return new APIfreezeAGroupChannelRequest(channelUrl); } -private ApiResponse freezeAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, FreezeAnOpenChannelRequest freezeAnOpenChannelRequest) throws ApiException { - Object localVarPostBody = freezeAnOpenChannelRequest; +private ApiResponse freezeAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdFreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdFreezeAnOpenChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -322,7 +322,7 @@ private ApiResponse freezeAnOpenChannelWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.freezeAnOpenChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -332,7 +332,7 @@ private ApiResponse freezeAnOpenChannelWithHttpInfo(String public class APIfreezeAnOpenChannelRequest { private String channelUrl; private String apiToken; - private FreezeAnOpenChannelRequest freezeAnOpenChannelRequest; + private SendBirdFreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest; private APIfreezeAnOpenChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -349,18 +349,18 @@ public APIfreezeAnOpenChannelRequest apiToken(String apiToken) { } /** - * Set freezeAnOpenChannelRequest - * @param freezeAnOpenChannelRequest (optional) + * Set sendBirdFreezeAnOpenChannelRequest + * @param sendBirdFreezeAnOpenChannelRequest (optional) * @return APIfreezeAnOpenChannelRequest */ - public APIfreezeAnOpenChannelRequest freezeAnOpenChannelRequest(FreezeAnOpenChannelRequest freezeAnOpenChannelRequest) { - this.freezeAnOpenChannelRequest = freezeAnOpenChannelRequest; + public APIfreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest(SendBirdFreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest) { + this.sendBirdFreezeAnOpenChannelRequest = sendBirdFreezeAnOpenChannelRequest; return this; } /** * Execute freezeAnOpenChannel request - * @return SendbirdOpenChannel + * @return SendBirdSendbirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -370,13 +370,13 @@ public APIfreezeAnOpenChannelRequest freezeAnOpenChannelRequest(FreezeAnOpenChan */ - public SendbirdOpenChannel execute() throws ApiException { + public SendBirdSendbirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute freezeAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendbirdOpenChannel> + * @return ApiResponse<SendBirdSendbirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -385,8 +385,8 @@ public SendbirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return freezeAnOpenChannelWithHttpInfo(channelUrl, apiToken, freezeAnOpenChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return freezeAnOpenChannelWithHttpInfo(channelUrl, apiToken, sendBirdFreezeAnOpenChannelRequest); } } @@ -403,7 +403,7 @@ public APIfreezeAnOpenChannelRequest freezeAnOpenChannel(String channelUrl) thro return new APIfreezeAnOpenChannelRequest(channelUrl); } -private ApiResponse listBlockedUsersWithHttpInfo(String userId, String _list, String token, Integer limit, String userIds, String metadatakey, String metadatavaluesIn, String apiToken) throws ApiException { +private ApiResponse listBlockedUsersWithHttpInfo(String userId, String _list, String token, Integer limit, String userIds, String metadatakey, String metadatavaluesIn, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -445,7 +445,7 @@ private ApiResponse listBlockedUsersWithHttpInfo(Strin String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.listBlockedUsers", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -538,7 +538,7 @@ public APIlistBlockedUsersRequest apiToken(String apiToken) { /** * Execute listBlockedUsers request - * @return ListBlockedUsersResponse + * @return SendBirdListBlockedUsersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -548,13 +548,13 @@ public APIlistBlockedUsersRequest apiToken(String apiToken) { */ - public ListBlockedUsersResponse execute() throws ApiException { + public SendBirdListBlockedUsersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listBlockedUsers request with HTTP info returned - * @return ApiResponse<ListBlockedUsersResponse> + * @return ApiResponse<SendBirdListBlockedUsersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -563,7 +563,7 @@ public ListBlockedUsersResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listBlockedUsersWithHttpInfo(userId, _list, token, limit, userIds, metadatakey, metadatavaluesIn, apiToken); } } diff --git a/src/main/java/org/sendbird/client/api/OpenChannelApi.java b/src/main/java/org/sendbird/client/api/OpenChannelApi.java index 2112e457..92032eb3 100644 --- a/src/main/java/org/sendbird/client/api/OpenChannelApi.java +++ b/src/main/java/org/sendbird/client/api/OpenChannelApi.java @@ -8,19 +8,19 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.CreateAnOpenChannelRequest; -import org.openapitools.client.model.ListOpenChannelsResponse; -import org.openapitools.client.model.ListOperatorsResponse; -import org.openapitools.client.model.RegisterOperatorsToAGroupChannelRequest; -import org.openapitools.client.model.SendbirdOpenChannel; -import org.openapitools.client.model.UpdateAnOpenChannelRequest; +import org.openapitools.client.model.SendBirdCreateAnOpenChannelRequest; +import org.openapitools.client.model.SendBirdListOpenChannelsResponse; +import org.openapitools.client.model.SendBirdListOperatorsResponse; +import org.openapitools.client.model.SendBirdRegisterOperatorsToAGroupChannelRequest; +import org.openapitools.client.model.SendBirdSendbirdOpenChannel; +import org.openapitools.client.model.SendBirdUpdateAnOpenChannelRequest; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class OpenChannelApi { private ApiClient apiClient; @@ -51,8 +51,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse createAnOpenChannelWithHttpInfo(String apiToken, CreateAnOpenChannelRequest createAnOpenChannelRequest) throws ApiException { - Object localVarPostBody = createAnOpenChannelRequest; +private ApiResponse createAnOpenChannelWithHttpInfo(String apiToken, SendBirdCreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdCreateAnOpenChannelRequest; // create path and map variables String localVarPath = "/v3/open_channels"; @@ -81,7 +81,7 @@ private ApiResponse createAnOpenChannelWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.createAnOpenChannel", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -90,7 +90,7 @@ private ApiResponse createAnOpenChannelWithHttpInfo(String public class APIcreateAnOpenChannelRequest { private String apiToken; - private CreateAnOpenChannelRequest createAnOpenChannelRequest; + private SendBirdCreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest; private APIcreateAnOpenChannelRequest() { } @@ -106,18 +106,18 @@ public APIcreateAnOpenChannelRequest apiToken(String apiToken) { } /** - * Set createAnOpenChannelRequest - * @param createAnOpenChannelRequest (optional) + * Set sendBirdCreateAnOpenChannelRequest + * @param sendBirdCreateAnOpenChannelRequest (optional) * @return APIcreateAnOpenChannelRequest */ - public APIcreateAnOpenChannelRequest createAnOpenChannelRequest(CreateAnOpenChannelRequest createAnOpenChannelRequest) { - this.createAnOpenChannelRequest = createAnOpenChannelRequest; + public APIcreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest(SendBirdCreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest) { + this.sendBirdCreateAnOpenChannelRequest = sendBirdCreateAnOpenChannelRequest; return this; } /** * Execute createAnOpenChannel request - * @return SendbirdOpenChannel + * @return SendBirdSendbirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -127,13 +127,13 @@ public APIcreateAnOpenChannelRequest createAnOpenChannelRequest(CreateAnOpenChan */ - public SendbirdOpenChannel execute() throws ApiException { + public SendBirdSendbirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendbirdOpenChannel> + * @return ApiResponse<SendBirdSendbirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -142,8 +142,8 @@ public SendbirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createAnOpenChannelWithHttpInfo(apiToken, createAnOpenChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createAnOpenChannelWithHttpInfo(apiToken, sendBirdCreateAnOpenChannelRequest); } } @@ -265,7 +265,7 @@ public APIdeleteAnOpenChannelRequest deleteAnOpenChannel(String channelUrl) thro return new APIdeleteAnOpenChannelRequest(channelUrl); } -private ApiResponse getAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, Boolean includeOperators) throws ApiException { +private ApiResponse getAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, Boolean includeOperators) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -302,7 +302,7 @@ private ApiResponse getAnOpenChannelWithHttpInfo(String cha String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.getAnOpenChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -340,7 +340,7 @@ public APIgetAnOpenChannelRequest includeOperators(Boolean includeOperators) { /** * Execute getAnOpenChannel request - * @return SendbirdOpenChannel + * @return SendBirdSendbirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -350,13 +350,13 @@ public APIgetAnOpenChannelRequest includeOperators(Boolean includeOperators) { */ - public SendbirdOpenChannel execute() throws ApiException { + public SendBirdSendbirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendbirdOpenChannel> + * @return ApiResponse<SendBirdSendbirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -365,7 +365,7 @@ public SendbirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getAnOpenChannelWithHttpInfo(channelUrl, apiToken, includeOperators); } } @@ -383,7 +383,7 @@ public APIgetAnOpenChannelRequest getAnOpenChannel(String channelUrl) throws Api return new APIgetAnOpenChannelRequest(channelUrl); } -private ApiResponse listChannelOperatorsWithHttpInfo(String channelUrl, String token, Integer limit, String apiToken) throws ApiException { +private ApiResponse listChannelOperatorsWithHttpInfo(String channelUrl, String token, Integer limit, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -421,7 +421,7 @@ private ApiResponse listChannelOperatorsWithHttpInfo(Stri String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.listChannelOperators", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -470,7 +470,7 @@ public APIlistChannelOperatorsRequest apiToken(String apiToken) { /** * Execute listChannelOperators request - * @return ListOperatorsResponse + * @return SendBirdListOperatorsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -480,13 +480,13 @@ public APIlistChannelOperatorsRequest apiToken(String apiToken) { */ - public ListOperatorsResponse execute() throws ApiException { + public SendBirdListOperatorsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listChannelOperators request with HTTP info returned - * @return ApiResponse<ListOperatorsResponse> + * @return ApiResponse<SendBirdListOperatorsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -495,7 +495,7 @@ public ListOperatorsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listChannelOperatorsWithHttpInfo(channelUrl, token, limit, apiToken); } } @@ -513,7 +513,7 @@ public APIlistChannelOperatorsRequest listChannelOperators(String channelUrl) th return new APIlistChannelOperatorsRequest(channelUrl); } -private ApiResponse listOpenChannelsWithHttpInfo(String token, String channelUrls, Integer limit, String customTypes, String nameContains, String urlContains, Boolean showFrozen, Boolean showMetadata, String apiToken) throws ApiException { +private ApiResponse listOpenChannelsWithHttpInfo(String token, String channelUrls, Integer limit, String customTypes, String nameContains, String urlContains, Boolean showFrozen, Boolean showMetadata, String apiToken) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -551,7 +551,7 @@ private ApiResponse listOpenChannelsWithHttpInfo(Strin String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.listOpenChannels", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -664,7 +664,7 @@ public APIlistOpenChannelsRequest apiToken(String apiToken) { /** * Execute listOpenChannels request - * @return ListOpenChannelsResponse + * @return SendBirdListOpenChannelsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -674,13 +674,13 @@ public APIlistOpenChannelsRequest apiToken(String apiToken) { */ - public ListOpenChannelsResponse execute() throws ApiException { + public SendBirdListOpenChannelsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listOpenChannels request with HTTP info returned - * @return ApiResponse<ListOpenChannelsResponse> + * @return ApiResponse<SendBirdListOpenChannelsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -689,7 +689,7 @@ public ListOpenChannelsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listOpenChannelsWithHttpInfo(token, channelUrls, limit, customTypes, nameContains, urlContains, showFrozen, showMetadata, apiToken); } } @@ -706,8 +706,8 @@ public APIlistOpenChannelsRequest listOpenChannels() throws ApiException { return new APIlistOpenChannelsRequest(); } -private ApiResponse registerOperatorsWithHttpInfo(String channelUrl, String apiToken, RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest) throws ApiException { - Object localVarPostBody = registerOperatorsToAGroupChannelRequest; +private ApiResponse registerOperatorsWithHttpInfo(String channelUrl, String apiToken, SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdRegisterOperatorsToAGroupChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -752,7 +752,7 @@ private ApiResponse registerOperatorsWithHttpInfo(String channelUrl, Str public class APIregisterOperatorsRequest { private String channelUrl; private String apiToken; - private RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest; + private SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest; private APIregisterOperatorsRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -769,12 +769,12 @@ public APIregisterOperatorsRequest apiToken(String apiToken) { } /** - * Set registerOperatorsToAGroupChannelRequest - * @param registerOperatorsToAGroupChannelRequest (optional) + * Set sendBirdRegisterOperatorsToAGroupChannelRequest + * @param sendBirdRegisterOperatorsToAGroupChannelRequest (optional) * @return APIregisterOperatorsRequest */ - public APIregisterOperatorsRequest registerOperatorsToAGroupChannelRequest(RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest) { - this.registerOperatorsToAGroupChannelRequest = registerOperatorsToAGroupChannelRequest; + public APIregisterOperatorsRequest sendBirdRegisterOperatorsToAGroupChannelRequest(SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest) { + this.sendBirdRegisterOperatorsToAGroupChannelRequest = sendBirdRegisterOperatorsToAGroupChannelRequest; return this; } @@ -806,7 +806,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return registerOperatorsWithHttpInfo(channelUrl, apiToken, registerOperatorsToAGroupChannelRequest); + return registerOperatorsWithHttpInfo(channelUrl, apiToken, sendBirdRegisterOperatorsToAGroupChannelRequest); } } @@ -958,8 +958,8 @@ public APIunregisterOperatorsRequest unregisterOperators(String channelUrl) thro return new APIunregisterOperatorsRequest(channelUrl); } -private ApiResponse updateAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, UpdateAnOpenChannelRequest updateAnOpenChannelRequest) throws ApiException { - Object localVarPostBody = updateAnOpenChannelRequest; +private ApiResponse updateAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdUpdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdUpdateAnOpenChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -994,7 +994,7 @@ private ApiResponse updateAnOpenChannelWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.updateAnOpenChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1004,7 +1004,7 @@ private ApiResponse updateAnOpenChannelWithHttpInfo(String public class APIupdateAnOpenChannelRequest { private String channelUrl; private String apiToken; - private UpdateAnOpenChannelRequest updateAnOpenChannelRequest; + private SendBirdUpdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest; private APIupdateAnOpenChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -1021,18 +1021,18 @@ public APIupdateAnOpenChannelRequest apiToken(String apiToken) { } /** - * Set updateAnOpenChannelRequest - * @param updateAnOpenChannelRequest (optional) + * Set sendBirdUpdateAnOpenChannelRequest + * @param sendBirdUpdateAnOpenChannelRequest (optional) * @return APIupdateAnOpenChannelRequest */ - public APIupdateAnOpenChannelRequest updateAnOpenChannelRequest(UpdateAnOpenChannelRequest updateAnOpenChannelRequest) { - this.updateAnOpenChannelRequest = updateAnOpenChannelRequest; + public APIupdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest(SendBirdUpdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest) { + this.sendBirdUpdateAnOpenChannelRequest = sendBirdUpdateAnOpenChannelRequest; return this; } /** * Execute updateAnOpenChannel request - * @return SendbirdOpenChannel + * @return SendBirdSendbirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -1042,13 +1042,13 @@ public APIupdateAnOpenChannelRequest updateAnOpenChannelRequest(UpdateAnOpenChan */ - public SendbirdOpenChannel execute() throws ApiException { + public SendBirdSendbirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendbirdOpenChannel> + * @return ApiResponse<SendBirdSendbirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -1057,8 +1057,8 @@ public SendbirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateAnOpenChannelWithHttpInfo(channelUrl, apiToken, updateAnOpenChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateAnOpenChannelWithHttpInfo(channelUrl, apiToken, sendBirdUpdateAnOpenChannelRequest); } } diff --git a/src/main/java/org/sendbird/client/api/StatisticsApi.java b/src/main/java/org/sendbird/client/api/StatisticsApi.java index f382c3d3..ca331aa8 100644 --- a/src/main/java/org/sendbird/client/api/StatisticsApi.java +++ b/src/main/java/org/sendbird/client/api/StatisticsApi.java @@ -8,15 +8,15 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.ViewNumberOfDailyActiveUsersResponse; -import org.openapitools.client.model.ViewNumberOfMonthlyActiveUsersResponse; +import org.openapitools.client.model.SendBirdViewNumberOfDailyActiveUsersResponse; +import org.openapitools.client.model.SendBirdViewNumberOfMonthlyActiveUsersResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class StatisticsApi { private ApiClient apiClient; @@ -47,7 +47,7 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse viewNumberOfDailyActiveUsersWithHttpInfo(String date, String apiToken) throws ApiException { +private ApiResponse viewNumberOfDailyActiveUsersWithHttpInfo(String date, String apiToken) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -78,7 +78,7 @@ private ApiResponse viewNumberOfDailyActiv String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("StatisticsApi.viewNumberOfDailyActiveUsers", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -114,7 +114,7 @@ public APIviewNumberOfDailyActiveUsersRequest apiToken(String apiToken) { /** * Execute viewNumberOfDailyActiveUsers request - * @return ViewNumberOfDailyActiveUsersResponse + * @return SendBirdViewNumberOfDailyActiveUsersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -124,13 +124,13 @@ public APIviewNumberOfDailyActiveUsersRequest apiToken(String apiToken) { */ - public ViewNumberOfDailyActiveUsersResponse execute() throws ApiException { + public SendBirdViewNumberOfDailyActiveUsersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewNumberOfDailyActiveUsers request with HTTP info returned - * @return ApiResponse<ViewNumberOfDailyActiveUsersResponse> + * @return ApiResponse<SendBirdViewNumberOfDailyActiveUsersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -139,7 +139,7 @@ public ViewNumberOfDailyActiveUsersResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewNumberOfDailyActiveUsersWithHttpInfo(date, apiToken); } } @@ -156,7 +156,7 @@ public APIviewNumberOfDailyActiveUsersRequest viewNumberOfDailyActiveUsers() thr return new APIviewNumberOfDailyActiveUsersRequest(); } -private ApiResponse viewNumberOfMonthlyActiveUsersWithHttpInfo(String date, String apiToken) throws ApiException { +private ApiResponse viewNumberOfMonthlyActiveUsersWithHttpInfo(String date, String apiToken) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -187,7 +187,7 @@ private ApiResponse viewNumberOfMonthlyA String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("StatisticsApi.viewNumberOfMonthlyActiveUsers", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -223,7 +223,7 @@ public APIviewNumberOfMonthlyActiveUsersRequest apiToken(String apiToken) { /** * Execute viewNumberOfMonthlyActiveUsers request - * @return ViewNumberOfMonthlyActiveUsersResponse + * @return SendBirdViewNumberOfMonthlyActiveUsersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -233,13 +233,13 @@ public APIviewNumberOfMonthlyActiveUsersRequest apiToken(String apiToken) { */ - public ViewNumberOfMonthlyActiveUsersResponse execute() throws ApiException { + public SendBirdViewNumberOfMonthlyActiveUsersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewNumberOfMonthlyActiveUsers request with HTTP info returned - * @return ApiResponse<ViewNumberOfMonthlyActiveUsersResponse> + * @return ApiResponse<SendBirdViewNumberOfMonthlyActiveUsersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -248,7 +248,7 @@ public ViewNumberOfMonthlyActiveUsersResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewNumberOfMonthlyActiveUsersWithHttpInfo(date, apiToken); } } diff --git a/src/main/java/org/sendbird/client/api/UserApi.java b/src/main/java/org/sendbird/client/api/UserApi.java index 19cb362a..9f589f07 100644 --- a/src/main/java/org/sendbird/client/api/UserApi.java +++ b/src/main/java/org/sendbird/client/api/UserApi.java @@ -8,44 +8,44 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.AddARegistrationOrDeviceTokenRequest; -import org.openapitools.client.model.AddARegistrationOrDeviceTokenResponse; -import org.openapitools.client.model.ChooseAPushNotificationContentTemplateRequest; -import org.openapitools.client.model.ChooseAPushNotificationContentTemplateResponse; -import org.openapitools.client.model.CreateAUserRequest; -import org.openapitools.client.model.CreateUserTokenRequest; -import org.openapitools.client.model.CreateUserTokenResponse; -import org.openapitools.client.model.GetChannelInvitationPreferenceResponse; -import org.openapitools.client.model.LeaveMyGroupChannelsRequest; -import org.openapitools.client.model.ListMyGroupChannelsResponse; -import org.openapitools.client.model.ListRegistrationOrDeviceTokensResponse; -import org.openapitools.client.model.ListUsersResponse; -import org.openapitools.client.model.MarkAllMessagesAsReadRequest; -import org.openapitools.client.model.MarkChannelMessagesAsReadRequest; -import org.openapitools.client.model.RemoveARegistrationOrDeviceTokenResponse; -import org.openapitools.client.model.RemoveAllRegistrationOrDeviceTokenResponse; -import org.openapitools.client.model.SendbirdUser; -import org.openapitools.client.model.UpdateAUserRequest; -import org.openapitools.client.model.UpdateChannelInvitationPreferenceRequest; -import org.openapitools.client.model.UpdateChannelInvitationPreferenceResponse; -import org.openapitools.client.model.UpdateCountPreferenceOfAChannelRequest; -import org.openapitools.client.model.UpdateCountPreferenceOfChannelByUrlResponse; -import org.openapitools.client.model.UpdatePushPreferencesForAChannelRequest; -import org.openapitools.client.model.UpdatePushPreferencesForAChannelResponse; -import org.openapitools.client.model.UpdatePushPreferencesRequest; -import org.openapitools.client.model.UpdatePushPreferencesResponse; -import org.openapitools.client.model.ViewCountPreferenceOfAChannelResponse; -import org.openapitools.client.model.ViewNumberOfChannelsWithUnreadMessagesResponse; -import org.openapitools.client.model.ViewNumberOfUnreadMessagesResponse; -import org.openapitools.client.model.ViewPushPreferencesForAChannelResponse; -import org.openapitools.client.model.ViewPushPreferencesResponse; +import org.openapitools.client.model.SendBirdAddARegistrationOrDeviceTokenRequest; +import org.openapitools.client.model.SendBirdAddARegistrationOrDeviceTokenResponse; +import org.openapitools.client.model.SendBirdChooseAPushNotificationContentTemplateRequest; +import org.openapitools.client.model.SendBirdChooseAPushNotificationContentTemplateResponse; +import org.openapitools.client.model.SendBirdCreateAUserRequest; +import org.openapitools.client.model.SendBirdCreateUserTokenRequest; +import org.openapitools.client.model.SendBirdCreateUserTokenResponse; +import org.openapitools.client.model.SendBirdGetChannelInvitationPreferenceResponse; +import org.openapitools.client.model.SendBirdLeaveMyGroupChannelsRequest; +import org.openapitools.client.model.SendBirdListMyGroupChannelsResponse; +import org.openapitools.client.model.SendBirdListRegistrationOrDeviceTokensResponse; +import org.openapitools.client.model.SendBirdListUsersResponse; +import org.openapitools.client.model.SendBirdMarkAllMessagesAsReadRequest; +import org.openapitools.client.model.SendBirdMarkChannelMessagesAsReadRequest; +import org.openapitools.client.model.SendBirdRemoveARegistrationOrDeviceTokenResponse; +import org.openapitools.client.model.SendBirdRemoveAllRegistrationOrDeviceTokenResponse; +import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.client.model.SendBirdUpdateAUserRequest; +import org.openapitools.client.model.SendBirdUpdateChannelInvitationPreferenceRequest; +import org.openapitools.client.model.SendBirdUpdateChannelInvitationPreferenceResponse; +import org.openapitools.client.model.SendBirdUpdateCountPreferenceOfAChannelRequest; +import org.openapitools.client.model.SendBirdUpdateCountPreferenceOfChannelByUrlResponse; +import org.openapitools.client.model.SendBirdUpdatePushPreferencesForAChannelRequest; +import org.openapitools.client.model.SendBirdUpdatePushPreferencesForAChannelResponse; +import org.openapitools.client.model.SendBirdUpdatePushPreferencesRequest; +import org.openapitools.client.model.SendBirdUpdatePushPreferencesResponse; +import org.openapitools.client.model.SendBirdViewCountPreferenceOfAChannelResponse; +import org.openapitools.client.model.SendBirdViewNumberOfChannelsWithUnreadMessagesResponse; +import org.openapitools.client.model.SendBirdViewNumberOfUnreadMessagesResponse; +import org.openapitools.client.model.SendBirdViewPushPreferencesForAChannelResponse; +import org.openapitools.client.model.SendBirdViewPushPreferencesResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class UserApi { private ApiClient apiClient; @@ -76,8 +76,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse addARegistrationOrDeviceTokenWithHttpInfo(String userId, String tokenType, String apiToken, AddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest) throws ApiException { - Object localVarPostBody = addARegistrationOrDeviceTokenRequest; +private ApiResponse addARegistrationOrDeviceTokenWithHttpInfo(String userId, String tokenType, String apiToken, SendBirdAddARegistrationOrDeviceTokenRequest sendBirdAddARegistrationOrDeviceTokenRequest) throws ApiException { + Object localVarPostBody = sendBirdAddARegistrationOrDeviceTokenRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -118,7 +118,7 @@ private ApiResponse addARegistrationOrDev String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.addARegistrationOrDeviceToken", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -129,7 +129,7 @@ public class APIaddARegistrationOrDeviceTokenRequest { private String userId; private String tokenType; private String apiToken; - private AddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest; + private SendBirdAddARegistrationOrDeviceTokenRequest sendBirdAddARegistrationOrDeviceTokenRequest; private APIaddARegistrationOrDeviceTokenRequest(String userId, String tokenType) { this.userId = userId; @@ -147,18 +147,18 @@ public APIaddARegistrationOrDeviceTokenRequest apiToken(String apiToken) { } /** - * Set addARegistrationOrDeviceTokenRequest - * @param addARegistrationOrDeviceTokenRequest (optional) + * Set sendBirdAddARegistrationOrDeviceTokenRequest + * @param sendBirdAddARegistrationOrDeviceTokenRequest (optional) * @return APIaddARegistrationOrDeviceTokenRequest */ - public APIaddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest(AddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest) { - this.addARegistrationOrDeviceTokenRequest = addARegistrationOrDeviceTokenRequest; + public APIaddARegistrationOrDeviceTokenRequest sendBirdAddARegistrationOrDeviceTokenRequest(SendBirdAddARegistrationOrDeviceTokenRequest sendBirdAddARegistrationOrDeviceTokenRequest) { + this.sendBirdAddARegistrationOrDeviceTokenRequest = sendBirdAddARegistrationOrDeviceTokenRequest; return this; } /** * Execute addARegistrationOrDeviceToken request - * @return AddARegistrationOrDeviceTokenResponse + * @return SendBirdAddARegistrationOrDeviceTokenResponse * @throws ApiException if fails to make API call * @http.response.details @@ -168,13 +168,13 @@ public APIaddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequ */ - public AddARegistrationOrDeviceTokenResponse execute() throws ApiException { + public SendBirdAddARegistrationOrDeviceTokenResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute addARegistrationOrDeviceToken request with HTTP info returned - * @return ApiResponse<AddARegistrationOrDeviceTokenResponse> + * @return ApiResponse<SendBirdAddARegistrationOrDeviceTokenResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -183,8 +183,8 @@ public AddARegistrationOrDeviceTokenResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return addARegistrationOrDeviceTokenWithHttpInfo(userId, tokenType, apiToken, addARegistrationOrDeviceTokenRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return addARegistrationOrDeviceTokenWithHttpInfo(userId, tokenType, apiToken, sendBirdAddARegistrationOrDeviceTokenRequest); } } @@ -202,8 +202,8 @@ public APIaddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceToken(Str return new APIaddARegistrationOrDeviceTokenRequest(userId, tokenType); } -private ApiResponse chooseAPushNotificationContentTemplateWithHttpInfo(String userId, String apiToken, ChooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest) throws ApiException { - Object localVarPostBody = chooseAPushNotificationContentTemplateRequest; +private ApiResponse chooseAPushNotificationContentTemplateWithHttpInfo(String userId, String apiToken, SendBirdChooseAPushNotificationContentTemplateRequest sendBirdChooseAPushNotificationContentTemplateRequest) throws ApiException { + Object localVarPostBody = sendBirdChooseAPushNotificationContentTemplateRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -238,7 +238,7 @@ private ApiResponse chooseAPushN String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.chooseAPushNotificationContentTemplate", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -248,7 +248,7 @@ private ApiResponse chooseAPushN public class APIchooseAPushNotificationContentTemplateRequest { private String userId; private String apiToken; - private ChooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest; + private SendBirdChooseAPushNotificationContentTemplateRequest sendBirdChooseAPushNotificationContentTemplateRequest; private APIchooseAPushNotificationContentTemplateRequest(String userId) { this.userId = userId; @@ -265,18 +265,18 @@ public APIchooseAPushNotificationContentTemplateRequest apiToken(String apiToken } /** - * Set chooseAPushNotificationContentTemplateRequest - * @param chooseAPushNotificationContentTemplateRequest (optional) + * Set sendBirdChooseAPushNotificationContentTemplateRequest + * @param sendBirdChooseAPushNotificationContentTemplateRequest (optional) * @return APIchooseAPushNotificationContentTemplateRequest */ - public APIchooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest(ChooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest) { - this.chooseAPushNotificationContentTemplateRequest = chooseAPushNotificationContentTemplateRequest; + public APIchooseAPushNotificationContentTemplateRequest sendBirdChooseAPushNotificationContentTemplateRequest(SendBirdChooseAPushNotificationContentTemplateRequest sendBirdChooseAPushNotificationContentTemplateRequest) { + this.sendBirdChooseAPushNotificationContentTemplateRequest = sendBirdChooseAPushNotificationContentTemplateRequest; return this; } /** * Execute chooseAPushNotificationContentTemplate request - * @return ChooseAPushNotificationContentTemplateResponse + * @return SendBirdChooseAPushNotificationContentTemplateResponse * @throws ApiException if fails to make API call * @http.response.details @@ -286,13 +286,13 @@ public APIchooseAPushNotificationContentTemplateRequest chooseAPushNotificationC */ - public ChooseAPushNotificationContentTemplateResponse execute() throws ApiException { + public SendBirdChooseAPushNotificationContentTemplateResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute chooseAPushNotificationContentTemplate request with HTTP info returned - * @return ApiResponse<ChooseAPushNotificationContentTemplateResponse> + * @return ApiResponse<SendBirdChooseAPushNotificationContentTemplateResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -301,8 +301,8 @@ public ChooseAPushNotificationContentTemplateResponse execute() throws ApiExcept
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return chooseAPushNotificationContentTemplateWithHttpInfo(userId, apiToken, chooseAPushNotificationContentTemplateRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return chooseAPushNotificationContentTemplateWithHttpInfo(userId, apiToken, sendBirdChooseAPushNotificationContentTemplateRequest); } } @@ -319,8 +319,8 @@ public APIchooseAPushNotificationContentTemplateRequest chooseAPushNotificationC return new APIchooseAPushNotificationContentTemplateRequest(userId); } -private ApiResponse createAUserWithHttpInfo(String apiToken, CreateAUserRequest createAUserRequest) throws ApiException { - Object localVarPostBody = createAUserRequest; +private ApiResponse createAUserWithHttpInfo(String apiToken, SendBirdCreateAUserRequest sendBirdCreateAUserRequest) throws ApiException { + Object localVarPostBody = sendBirdCreateAUserRequest; // create path and map variables String localVarPath = "/v3/users"; @@ -349,7 +349,7 @@ private ApiResponse createAUserWithHttpInfo(String apiToken, Creat String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.createAUser", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -358,7 +358,7 @@ private ApiResponse createAUserWithHttpInfo(String apiToken, Creat public class APIcreateAUserRequest { private String apiToken; - private CreateAUserRequest createAUserRequest; + private SendBirdCreateAUserRequest sendBirdCreateAUserRequest; private APIcreateAUserRequest() { } @@ -374,18 +374,18 @@ public APIcreateAUserRequest apiToken(String apiToken) { } /** - * Set createAUserRequest - * @param createAUserRequest (optional) + * Set sendBirdCreateAUserRequest + * @param sendBirdCreateAUserRequest (optional) * @return APIcreateAUserRequest */ - public APIcreateAUserRequest createAUserRequest(CreateAUserRequest createAUserRequest) { - this.createAUserRequest = createAUserRequest; + public APIcreateAUserRequest sendBirdCreateAUserRequest(SendBirdCreateAUserRequest sendBirdCreateAUserRequest) { + this.sendBirdCreateAUserRequest = sendBirdCreateAUserRequest; return this; } /** * Execute createAUser request - * @return SendbirdUser + * @return SendBirdSendbirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -395,13 +395,13 @@ public APIcreateAUserRequest createAUserRequest(CreateAUserRequest createAUserRe */ - public SendbirdUser execute() throws ApiException { + public SendBirdSendbirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAUser request with HTTP info returned - * @return ApiResponse<SendbirdUser> + * @return ApiResponse<SendBirdSendbirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -410,8 +410,8 @@ public SendbirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createAUserWithHttpInfo(apiToken, createAUserRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createAUserWithHttpInfo(apiToken, sendBirdCreateAUserRequest); } } @@ -427,8 +427,8 @@ public APIcreateAUserRequest createAUser() throws ApiException { return new APIcreateAUserRequest(); } -private ApiResponse createUserTokenWithHttpInfo(String userId, String apiToken, CreateUserTokenRequest createUserTokenRequest) throws ApiException { - Object localVarPostBody = createUserTokenRequest; +private ApiResponse createUserTokenWithHttpInfo(String userId, String apiToken, SendBirdCreateUserTokenRequest sendBirdCreateUserTokenRequest) throws ApiException { + Object localVarPostBody = sendBirdCreateUserTokenRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -463,7 +463,7 @@ private ApiResponse createUserTokenWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.createUserToken", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -473,7 +473,7 @@ private ApiResponse createUserTokenWithHttpInfo(String public class APIcreateUserTokenRequest { private String userId; private String apiToken; - private CreateUserTokenRequest createUserTokenRequest; + private SendBirdCreateUserTokenRequest sendBirdCreateUserTokenRequest; private APIcreateUserTokenRequest(String userId) { this.userId = userId; @@ -490,18 +490,18 @@ public APIcreateUserTokenRequest apiToken(String apiToken) { } /** - * Set createUserTokenRequest - * @param createUserTokenRequest (optional) + * Set sendBirdCreateUserTokenRequest + * @param sendBirdCreateUserTokenRequest (optional) * @return APIcreateUserTokenRequest */ - public APIcreateUserTokenRequest createUserTokenRequest(CreateUserTokenRequest createUserTokenRequest) { - this.createUserTokenRequest = createUserTokenRequest; + public APIcreateUserTokenRequest sendBirdCreateUserTokenRequest(SendBirdCreateUserTokenRequest sendBirdCreateUserTokenRequest) { + this.sendBirdCreateUserTokenRequest = sendBirdCreateUserTokenRequest; return this; } /** * Execute createUserToken request - * @return CreateUserTokenResponse + * @return SendBirdCreateUserTokenResponse * @throws ApiException if fails to make API call * @http.response.details @@ -511,13 +511,13 @@ public APIcreateUserTokenRequest createUserTokenRequest(CreateUserTokenRequest c */ - public CreateUserTokenResponse execute() throws ApiException { + public SendBirdCreateUserTokenResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createUserToken request with HTTP info returned - * @return ApiResponse<CreateUserTokenResponse> + * @return ApiResponse<SendBirdCreateUserTokenResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -526,8 +526,8 @@ public CreateUserTokenResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createUserTokenWithHttpInfo(userId, apiToken, createUserTokenRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createUserTokenWithHttpInfo(userId, apiToken, sendBirdCreateUserTokenRequest); } } @@ -650,7 +650,7 @@ public APIdeleteAUserRequest deleteAUser(String userId) throws ApiException { return new APIdeleteAUserRequest(userId); } -private ApiResponse getChannelInvitationPreferenceWithHttpInfo(String userId, String apiToken) throws ApiException { +private ApiResponse getChannelInvitationPreferenceWithHttpInfo(String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -686,7 +686,7 @@ private ApiResponse getChannelInvitation String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.getChannelInvitationPreference", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -713,7 +713,7 @@ public APIgetChannelInvitationPreferenceRequest apiToken(String apiToken) { /** * Execute getChannelInvitationPreference request - * @return GetChannelInvitationPreferenceResponse + * @return SendBirdGetChannelInvitationPreferenceResponse * @throws ApiException if fails to make API call * @http.response.details @@ -723,13 +723,13 @@ public APIgetChannelInvitationPreferenceRequest apiToken(String apiToken) { */ - public GetChannelInvitationPreferenceResponse execute() throws ApiException { + public SendBirdGetChannelInvitationPreferenceResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getChannelInvitationPreference request with HTTP info returned - * @return ApiResponse<GetChannelInvitationPreferenceResponse> + * @return ApiResponse<SendBirdGetChannelInvitationPreferenceResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -738,7 +738,7 @@ public GetChannelInvitationPreferenceResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getChannelInvitationPreferenceWithHttpInfo(userId, apiToken); } } @@ -756,8 +756,8 @@ public APIgetChannelInvitationPreferenceRequest getChannelInvitationPreference(S return new APIgetChannelInvitationPreferenceRequest(userId); } -private ApiResponse leaveMyGroupChannelsWithHttpInfo(String userId, String apiToken, LeaveMyGroupChannelsRequest leaveMyGroupChannelsRequest) throws ApiException { - Object localVarPostBody = leaveMyGroupChannelsRequest; +private ApiResponse leaveMyGroupChannelsWithHttpInfo(String userId, String apiToken, SendBirdLeaveMyGroupChannelsRequest sendBirdLeaveMyGroupChannelsRequest) throws ApiException { + Object localVarPostBody = sendBirdLeaveMyGroupChannelsRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -802,7 +802,7 @@ private ApiResponse leaveMyGroupChannelsWithHttpInfo(String userId, Stri public class APIleaveMyGroupChannelsRequest { private String userId; private String apiToken; - private LeaveMyGroupChannelsRequest leaveMyGroupChannelsRequest; + private SendBirdLeaveMyGroupChannelsRequest sendBirdLeaveMyGroupChannelsRequest; private APIleaveMyGroupChannelsRequest(String userId) { this.userId = userId; @@ -819,12 +819,12 @@ public APIleaveMyGroupChannelsRequest apiToken(String apiToken) { } /** - * Set leaveMyGroupChannelsRequest - * @param leaveMyGroupChannelsRequest (optional) + * Set sendBirdLeaveMyGroupChannelsRequest + * @param sendBirdLeaveMyGroupChannelsRequest (optional) * @return APIleaveMyGroupChannelsRequest */ - public APIleaveMyGroupChannelsRequest leaveMyGroupChannelsRequest(LeaveMyGroupChannelsRequest leaveMyGroupChannelsRequest) { - this.leaveMyGroupChannelsRequest = leaveMyGroupChannelsRequest; + public APIleaveMyGroupChannelsRequest sendBirdLeaveMyGroupChannelsRequest(SendBirdLeaveMyGroupChannelsRequest sendBirdLeaveMyGroupChannelsRequest) { + this.sendBirdLeaveMyGroupChannelsRequest = sendBirdLeaveMyGroupChannelsRequest; return this; } @@ -856,7 +856,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return leaveMyGroupChannelsWithHttpInfo(userId, apiToken, leaveMyGroupChannelsRequest); + return leaveMyGroupChannelsWithHttpInfo(userId, apiToken, sendBirdLeaveMyGroupChannelsRequest); } } @@ -873,7 +873,7 @@ public APIleaveMyGroupChannelsRequest leaveMyGroupChannels(String userId) throws return new APIleaveMyGroupChannelsRequest(userId); } -private ApiResponse listMyGroupChannelsWithHttpInfo(String userId, String apiToken, String token, Integer limit, String distinctMode, String publicMode, String superMode, Long createdAfter, Long createdBefore, Boolean showEmpty, Boolean showMember, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMetadata, Boolean showFrozen, String order, String metadataOrderKey, String customTypes, String customTypeStartswith, String channelUrls, String name, String nameContains, String nameStartswith, String membersExactlyIn, String membersIncludeIn, String queryType, String membersNickname, String membersNicknameContains, String membersNicknameStartswith, String searchQuery, String searchFields, String metadataKey, String metadataValues, String metadataValueStartswith, String metacounterKey, String metacounterValues, String metacounterValueGt, String metacounterValueGte, String metacounterValueLt, String metacounterValueLte, Boolean includeSortedMetaarrayInLastMessage, String hiddenMode, String unreadFilter, String memberStateFilter) throws ApiException { +private ApiResponse listMyGroupChannelsWithHttpInfo(String userId, String apiToken, String token, Integer limit, String distinctMode, String publicMode, String superMode, Long createdAfter, Long createdBefore, Boolean showEmpty, Boolean showMember, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMetadata, Boolean showFrozen, String order, String metadataOrderKey, String customTypes, String customTypeStartswith, String channelUrls, String name, String nameContains, String nameStartswith, String membersExactlyIn, String membersIncludeIn, String queryType, String membersNickname, String membersNicknameContains, String membersNicknameStartswith, String searchQuery, String searchFields, String metadataKey, String metadataValues, String metadataValueStartswith, String metacounterKey, String metacounterValues, String metacounterValueGt, String metacounterValueGte, String metacounterValueLt, String metacounterValueLte, Boolean includeSortedMetaarrayInLastMessage, String hiddenMode, String unreadFilter, String memberStateFilter) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -956,7 +956,7 @@ private ApiResponse listMyGroupChannelsWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.listMyGroupChannels", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1445,7 +1445,7 @@ public APIlistMyGroupChannelsRequest memberStateFilter(String memberStateFilter) /** * Execute listMyGroupChannels request - * @return ListMyGroupChannelsResponse + * @return SendBirdListMyGroupChannelsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1455,13 +1455,13 @@ public APIlistMyGroupChannelsRequest memberStateFilter(String memberStateFilter) */ - public ListMyGroupChannelsResponse execute() throws ApiException { + public SendBirdListMyGroupChannelsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listMyGroupChannels request with HTTP info returned - * @return ApiResponse<ListMyGroupChannelsResponse> + * @return ApiResponse<SendBirdListMyGroupChannelsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1470,7 +1470,7 @@ public ListMyGroupChannelsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listMyGroupChannelsWithHttpInfo(userId, apiToken, token, limit, distinctMode, publicMode, superMode, createdAfter, createdBefore, showEmpty, showMember, showDeliveryReceipt, showReadReceipt, showMetadata, showFrozen, order, metadataOrderKey, customTypes, customTypeStartswith, channelUrls, name, nameContains, nameStartswith, membersExactlyIn, membersIncludeIn, queryType, membersNickname, membersNicknameContains, membersNicknameStartswith, searchQuery, searchFields, metadataKey, metadataValues, metadataValueStartswith, metacounterKey, metacounterValues, metacounterValueGt, metacounterValueGte, metacounterValueLt, metacounterValueLte, includeSortedMetaarrayInLastMessage, hiddenMode, unreadFilter, memberStateFilter); } } @@ -1488,7 +1488,7 @@ public APIlistMyGroupChannelsRequest listMyGroupChannels(String userId) throws A return new APIlistMyGroupChannelsRequest(userId); } -private ApiResponse listRegistrationOrDeviceTokensWithHttpInfo(String userId, String tokenType, String apiToken) throws ApiException { +private ApiResponse listRegistrationOrDeviceTokensWithHttpInfo(String userId, String tokenType, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -1530,7 +1530,7 @@ private ApiResponse listRegistrationOrDe String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.listRegistrationOrDeviceTokens", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1559,7 +1559,7 @@ public APIlistRegistrationOrDeviceTokensRequest apiToken(String apiToken) { /** * Execute listRegistrationOrDeviceTokens request - * @return ListRegistrationOrDeviceTokensResponse + * @return SendBirdListRegistrationOrDeviceTokensResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1569,13 +1569,13 @@ public APIlistRegistrationOrDeviceTokensRequest apiToken(String apiToken) { */ - public ListRegistrationOrDeviceTokensResponse execute() throws ApiException { + public SendBirdListRegistrationOrDeviceTokensResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listRegistrationOrDeviceTokens request with HTTP info returned - * @return ApiResponse<ListRegistrationOrDeviceTokensResponse> + * @return ApiResponse<SendBirdListRegistrationOrDeviceTokensResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1584,7 +1584,7 @@ public ListRegistrationOrDeviceTokensResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listRegistrationOrDeviceTokensWithHttpInfo(userId, tokenType, apiToken); } } @@ -1603,7 +1603,7 @@ public APIlistRegistrationOrDeviceTokensRequest listRegistrationOrDeviceTokens(S return new APIlistRegistrationOrDeviceTokensRequest(userId, tokenType); } -private ApiResponse listUsersWithHttpInfo(String token, Integer limit, String activeMode, Boolean showBot, String userIds, String nickname, String nicknameStartswith, String metadatakey, String metadatavaluesIn, String apiToken) throws ApiException { +private ApiResponse listUsersWithHttpInfo(String token, Integer limit, String activeMode, Boolean showBot, String userIds, String nickname, String nicknameStartswith, String metadatakey, String metadatavaluesIn, String apiToken) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1642,7 +1642,7 @@ private ApiResponse listUsersWithHttpInfo(String token, Integ String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.listUsers", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1766,7 +1766,7 @@ public APIlistUsersRequest apiToken(String apiToken) { /** * Execute listUsers request - * @return ListUsersResponse + * @return SendBirdListUsersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1776,13 +1776,13 @@ public APIlistUsersRequest apiToken(String apiToken) { */ - public ListUsersResponse execute() throws ApiException { + public SendBirdListUsersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listUsers request with HTTP info returned - * @return ApiResponse<ListUsersResponse> + * @return ApiResponse<SendBirdListUsersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1791,7 +1791,7 @@ public ListUsersResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listUsersWithHttpInfo(token, limit, activeMode, showBot, userIds, nickname, nicknameStartswith, metadatakey, metadatavaluesIn, apiToken); } } @@ -1808,8 +1808,8 @@ public APIlistUsersRequest listUsers() throws ApiException { return new APIlistUsersRequest(); } -private ApiResponse markAllMessagesAsReadWithHttpInfo(String userId, String apiToken, MarkAllMessagesAsReadRequest markAllMessagesAsReadRequest) throws ApiException { - Object localVarPostBody = markAllMessagesAsReadRequest; +private ApiResponse markAllMessagesAsReadWithHttpInfo(String userId, String apiToken, SendBirdMarkAllMessagesAsReadRequest sendBirdMarkAllMessagesAsReadRequest) throws ApiException { + Object localVarPostBody = sendBirdMarkAllMessagesAsReadRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -1854,7 +1854,7 @@ private ApiResponse markAllMessagesAsReadWithHttpInfo(String userId, Str public class APImarkAllMessagesAsReadRequest { private String userId; private String apiToken; - private MarkAllMessagesAsReadRequest markAllMessagesAsReadRequest; + private SendBirdMarkAllMessagesAsReadRequest sendBirdMarkAllMessagesAsReadRequest; private APImarkAllMessagesAsReadRequest(String userId) { this.userId = userId; @@ -1871,12 +1871,12 @@ public APImarkAllMessagesAsReadRequest apiToken(String apiToken) { } /** - * Set markAllMessagesAsReadRequest - * @param markAllMessagesAsReadRequest (optional) + * Set sendBirdMarkAllMessagesAsReadRequest + * @param sendBirdMarkAllMessagesAsReadRequest (optional) * @return APImarkAllMessagesAsReadRequest */ - public APImarkAllMessagesAsReadRequest markAllMessagesAsReadRequest(MarkAllMessagesAsReadRequest markAllMessagesAsReadRequest) { - this.markAllMessagesAsReadRequest = markAllMessagesAsReadRequest; + public APImarkAllMessagesAsReadRequest sendBirdMarkAllMessagesAsReadRequest(SendBirdMarkAllMessagesAsReadRequest sendBirdMarkAllMessagesAsReadRequest) { + this.sendBirdMarkAllMessagesAsReadRequest = sendBirdMarkAllMessagesAsReadRequest; return this; } @@ -1908,7 +1908,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return markAllMessagesAsReadWithHttpInfo(userId, apiToken, markAllMessagesAsReadRequest); + return markAllMessagesAsReadWithHttpInfo(userId, apiToken, sendBirdMarkAllMessagesAsReadRequest); } } @@ -1925,7 +1925,7 @@ public APImarkAllMessagesAsReadRequest markAllMessagesAsRead(String userId) thro return new APImarkAllMessagesAsReadRequest(userId); } -private ApiResponse removeARegistrationOrDeviceTokenWithHttpInfo(String userId, String tokenType, String token, String apiToken) throws ApiException { +private ApiResponse removeARegistrationOrDeviceTokenWithHttpInfo(String userId, String tokenType, String token, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -1973,7 +1973,7 @@ private ApiResponse removeARegistratio String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.removeARegistrationOrDeviceToken", localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2004,7 +2004,7 @@ public APIremoveARegistrationOrDeviceTokenRequest apiToken(String apiToken) { /** * Execute removeARegistrationOrDeviceToken request - * @return RemoveARegistrationOrDeviceTokenResponse + * @return SendBirdRemoveARegistrationOrDeviceTokenResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2014,13 +2014,13 @@ public APIremoveARegistrationOrDeviceTokenRequest apiToken(String apiToken) { */ - public RemoveARegistrationOrDeviceTokenResponse execute() throws ApiException { + public SendBirdRemoveARegistrationOrDeviceTokenResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute removeARegistrationOrDeviceToken request with HTTP info returned - * @return ApiResponse<RemoveARegistrationOrDeviceTokenResponse> + * @return ApiResponse<SendBirdRemoveARegistrationOrDeviceTokenResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2029,7 +2029,7 @@ public RemoveARegistrationOrDeviceTokenResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return removeARegistrationOrDeviceTokenWithHttpInfo(userId, tokenType, token, apiToken); } } @@ -2049,7 +2049,7 @@ public APIremoveARegistrationOrDeviceTokenRequest removeARegistrationOrDeviceTok return new APIremoveARegistrationOrDeviceTokenRequest(userId, tokenType, token); } -private ApiResponse> removeARegistrationOrDeviceTokenFromAnOwnerWithHttpInfo(String tokenType, String token, String apiToken) throws ApiException { +private ApiResponse> removeARegistrationOrDeviceTokenFromAnOwnerWithHttpInfo(String tokenType, String token, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'tokenType' is set @@ -2091,7 +2091,7 @@ private ApiResponse> removeARegistrationO String[] localVarAuthNames = new String[] { }; - GenericType> localVarReturnType = new GenericType>() {}; + GenericType> localVarReturnType = new GenericType>() {}; return apiClient.invokeAPI("UserApi.removeARegistrationOrDeviceTokenFromAnOwner", localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2120,7 +2120,7 @@ public APIremoveARegistrationOrDeviceTokenFromAnOwnerRequest apiToken(String api /** * Execute removeARegistrationOrDeviceTokenFromAnOwner request - * @return List<MarkChannelMessagesAsReadRequest> + * @return List<SendBirdMarkChannelMessagesAsReadRequest> * @throws ApiException if fails to make API call * @http.response.details @@ -2130,13 +2130,13 @@ public APIremoveARegistrationOrDeviceTokenFromAnOwnerRequest apiToken(String api */ - public List execute() throws ApiException { + public List execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute removeARegistrationOrDeviceTokenFromAnOwner request with HTTP info returned - * @return ApiResponse<List<MarkChannelMessagesAsReadRequest>> + * @return ApiResponse<List<SendBirdMarkChannelMessagesAsReadRequest>> * @throws ApiException if fails to make API call * @http.response.details
@@ -2145,7 +2145,7 @@ public List execute() throws ApiException {
*/ - public ApiResponse> executeWithHttpInfo() throws ApiException { + public ApiResponse> executeWithHttpInfo() throws ApiException { return removeARegistrationOrDeviceTokenFromAnOwnerWithHttpInfo(tokenType, token, apiToken); } } @@ -2164,7 +2164,7 @@ public APIremoveARegistrationOrDeviceTokenFromAnOwnerRequest removeARegistration return new APIremoveARegistrationOrDeviceTokenFromAnOwnerRequest(tokenType, token); } -private ApiResponse removeAllRegistrationOrDeviceTokenWithHttpInfo(String userId, String apiToken) throws ApiException { +private ApiResponse removeAllRegistrationOrDeviceTokenWithHttpInfo(String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -2200,7 +2200,7 @@ private ApiResponse removeAllRegistr String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.removeAllRegistrationOrDeviceToken", localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2227,7 +2227,7 @@ public APIremoveAllRegistrationOrDeviceTokenRequest apiToken(String apiToken) { /** * Execute removeAllRegistrationOrDeviceToken request - * @return RemoveAllRegistrationOrDeviceTokenResponse + * @return SendBirdRemoveAllRegistrationOrDeviceTokenResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2237,13 +2237,13 @@ public APIremoveAllRegistrationOrDeviceTokenRequest apiToken(String apiToken) { */ - public RemoveAllRegistrationOrDeviceTokenResponse execute() throws ApiException { + public SendBirdRemoveAllRegistrationOrDeviceTokenResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute removeAllRegistrationOrDeviceToken request with HTTP info returned - * @return ApiResponse<RemoveAllRegistrationOrDeviceTokenResponse> + * @return ApiResponse<SendBirdRemoveAllRegistrationOrDeviceTokenResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2252,7 +2252,7 @@ public RemoveAllRegistrationOrDeviceTokenResponse execute() throws ApiException
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return removeAllRegistrationOrDeviceTokenWithHttpInfo(userId, apiToken); } } @@ -2376,8 +2376,8 @@ public APIresetPushPreferencesRequest resetPushPreferences(String userId) throws return new APIresetPushPreferencesRequest(userId); } -private ApiResponse updateAUserWithHttpInfo(String userId, String apiToken, UpdateAUserRequest updateAUserRequest) throws ApiException { - Object localVarPostBody = updateAUserRequest; +private ApiResponse updateAUserWithHttpInfo(String userId, String apiToken, SendBirdUpdateAUserRequest sendBirdUpdateAUserRequest) throws ApiException { + Object localVarPostBody = sendBirdUpdateAUserRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -2412,7 +2412,7 @@ private ApiResponse updateAUserWithHttpInfo(String userId, String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updateAUser", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2422,7 +2422,7 @@ private ApiResponse updateAUserWithHttpInfo(String userId, String public class APIupdateAUserRequest { private String userId; private String apiToken; - private UpdateAUserRequest updateAUserRequest; + private SendBirdUpdateAUserRequest sendBirdUpdateAUserRequest; private APIupdateAUserRequest(String userId) { this.userId = userId; @@ -2439,18 +2439,18 @@ public APIupdateAUserRequest apiToken(String apiToken) { } /** - * Set updateAUserRequest - * @param updateAUserRequest (optional) + * Set sendBirdUpdateAUserRequest + * @param sendBirdUpdateAUserRequest (optional) * @return APIupdateAUserRequest */ - public APIupdateAUserRequest updateAUserRequest(UpdateAUserRequest updateAUserRequest) { - this.updateAUserRequest = updateAUserRequest; + public APIupdateAUserRequest sendBirdUpdateAUserRequest(SendBirdUpdateAUserRequest sendBirdUpdateAUserRequest) { + this.sendBirdUpdateAUserRequest = sendBirdUpdateAUserRequest; return this; } /** * Execute updateAUser request - * @return SendbirdUser + * @return SendBirdSendbirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -2460,13 +2460,13 @@ public APIupdateAUserRequest updateAUserRequest(UpdateAUserRequest updateAUserRe */ - public SendbirdUser execute() throws ApiException { + public SendBirdSendbirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAUser request with HTTP info returned - * @return ApiResponse<SendbirdUser> + * @return ApiResponse<SendBirdSendbirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -2475,8 +2475,8 @@ public SendbirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateAUserWithHttpInfo(userId, apiToken, updateAUserRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateAUserWithHttpInfo(userId, apiToken, sendBirdUpdateAUserRequest); } } @@ -2493,8 +2493,8 @@ public APIupdateAUserRequest updateAUser(String userId) throws ApiException { return new APIupdateAUserRequest(userId); } -private ApiResponse updateChannelInvitationPreferenceWithHttpInfo(String userId, String apiToken, UpdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest) throws ApiException { - Object localVarPostBody = updateChannelInvitationPreferenceRequest; +private ApiResponse updateChannelInvitationPreferenceWithHttpInfo(String userId, String apiToken, SendBirdUpdateChannelInvitationPreferenceRequest sendBirdUpdateChannelInvitationPreferenceRequest) throws ApiException { + Object localVarPostBody = sendBirdUpdateChannelInvitationPreferenceRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -2529,7 +2529,7 @@ private ApiResponse updateChannelInvi String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updateChannelInvitationPreference", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2539,7 +2539,7 @@ private ApiResponse updateChannelInvi public class APIupdateChannelInvitationPreferenceRequest { private String userId; private String apiToken; - private UpdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest; + private SendBirdUpdateChannelInvitationPreferenceRequest sendBirdUpdateChannelInvitationPreferenceRequest; private APIupdateChannelInvitationPreferenceRequest(String userId) { this.userId = userId; @@ -2556,18 +2556,18 @@ public APIupdateChannelInvitationPreferenceRequest apiToken(String apiToken) { } /** - * Set updateChannelInvitationPreferenceRequest - * @param updateChannelInvitationPreferenceRequest (optional) + * Set sendBirdUpdateChannelInvitationPreferenceRequest + * @param sendBirdUpdateChannelInvitationPreferenceRequest (optional) * @return APIupdateChannelInvitationPreferenceRequest */ - public APIupdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest(UpdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest) { - this.updateChannelInvitationPreferenceRequest = updateChannelInvitationPreferenceRequest; + public APIupdateChannelInvitationPreferenceRequest sendBirdUpdateChannelInvitationPreferenceRequest(SendBirdUpdateChannelInvitationPreferenceRequest sendBirdUpdateChannelInvitationPreferenceRequest) { + this.sendBirdUpdateChannelInvitationPreferenceRequest = sendBirdUpdateChannelInvitationPreferenceRequest; return this; } /** * Execute updateChannelInvitationPreference request - * @return UpdateChannelInvitationPreferenceResponse + * @return SendBirdUpdateChannelInvitationPreferenceResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2577,13 +2577,13 @@ public APIupdateChannelInvitationPreferenceRequest updateChannelInvitationPrefer */ - public UpdateChannelInvitationPreferenceResponse execute() throws ApiException { + public SendBirdUpdateChannelInvitationPreferenceResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateChannelInvitationPreference request with HTTP info returned - * @return ApiResponse<UpdateChannelInvitationPreferenceResponse> + * @return ApiResponse<SendBirdUpdateChannelInvitationPreferenceResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2592,8 +2592,8 @@ public UpdateChannelInvitationPreferenceResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateChannelInvitationPreferenceWithHttpInfo(userId, apiToken, updateChannelInvitationPreferenceRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateChannelInvitationPreferenceWithHttpInfo(userId, apiToken, sendBirdUpdateChannelInvitationPreferenceRequest); } } @@ -2610,8 +2610,8 @@ public APIupdateChannelInvitationPreferenceRequest updateChannelInvitationPrefer return new APIupdateChannelInvitationPreferenceRequest(userId); } -private ApiResponse updateCountPreferenceOfAChannelWithHttpInfo(String userId, String channelUrl, String apiToken, UpdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest) throws ApiException { - Object localVarPostBody = updateCountPreferenceOfAChannelRequest; +private ApiResponse updateCountPreferenceOfAChannelWithHttpInfo(String userId, String channelUrl, String apiToken, SendBirdUpdateCountPreferenceOfAChannelRequest sendBirdUpdateCountPreferenceOfAChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdUpdateCountPreferenceOfAChannelRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -2652,7 +2652,7 @@ private ApiResponse updateCountPref String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updateCountPreferenceOfAChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2663,7 +2663,7 @@ public class APIupdateCountPreferenceOfAChannelRequest { private String userId; private String channelUrl; private String apiToken; - private UpdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest; + private SendBirdUpdateCountPreferenceOfAChannelRequest sendBirdUpdateCountPreferenceOfAChannelRequest; private APIupdateCountPreferenceOfAChannelRequest(String userId, String channelUrl) { this.userId = userId; @@ -2681,18 +2681,18 @@ public APIupdateCountPreferenceOfAChannelRequest apiToken(String apiToken) { } /** - * Set updateCountPreferenceOfAChannelRequest - * @param updateCountPreferenceOfAChannelRequest (optional) + * Set sendBirdUpdateCountPreferenceOfAChannelRequest + * @param sendBirdUpdateCountPreferenceOfAChannelRequest (optional) * @return APIupdateCountPreferenceOfAChannelRequest */ - public APIupdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest(UpdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest) { - this.updateCountPreferenceOfAChannelRequest = updateCountPreferenceOfAChannelRequest; + public APIupdateCountPreferenceOfAChannelRequest sendBirdUpdateCountPreferenceOfAChannelRequest(SendBirdUpdateCountPreferenceOfAChannelRequest sendBirdUpdateCountPreferenceOfAChannelRequest) { + this.sendBirdUpdateCountPreferenceOfAChannelRequest = sendBirdUpdateCountPreferenceOfAChannelRequest; return this; } /** * Execute updateCountPreferenceOfAChannel request - * @return UpdateCountPreferenceOfChannelByUrlResponse + * @return SendBirdUpdateCountPreferenceOfChannelByUrlResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2702,13 +2702,13 @@ public APIupdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannel */ - public UpdateCountPreferenceOfChannelByUrlResponse execute() throws ApiException { + public SendBirdUpdateCountPreferenceOfChannelByUrlResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateCountPreferenceOfAChannel request with HTTP info returned - * @return ApiResponse<UpdateCountPreferenceOfChannelByUrlResponse> + * @return ApiResponse<SendBirdUpdateCountPreferenceOfChannelByUrlResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2717,8 +2717,8 @@ public UpdateCountPreferenceOfChannelByUrlResponse execute() throws ApiException
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateCountPreferenceOfAChannelWithHttpInfo(userId, channelUrl, apiToken, updateCountPreferenceOfAChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateCountPreferenceOfAChannelWithHttpInfo(userId, channelUrl, apiToken, sendBirdUpdateCountPreferenceOfAChannelRequest); } } @@ -2736,8 +2736,8 @@ public APIupdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannel return new APIupdateCountPreferenceOfAChannelRequest(userId, channelUrl); } -private ApiResponse updatePushPreferencesWithHttpInfo(String userId, String apiToken, UpdatePushPreferencesRequest updatePushPreferencesRequest) throws ApiException { - Object localVarPostBody = updatePushPreferencesRequest; +private ApiResponse updatePushPreferencesWithHttpInfo(String userId, String apiToken, SendBirdUpdatePushPreferencesRequest sendBirdUpdatePushPreferencesRequest) throws ApiException { + Object localVarPostBody = sendBirdUpdatePushPreferencesRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -2772,7 +2772,7 @@ private ApiResponse updatePushPreferencesWithHttp String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updatePushPreferences", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2782,7 +2782,7 @@ private ApiResponse updatePushPreferencesWithHttp public class APIupdatePushPreferencesRequest { private String userId; private String apiToken; - private UpdatePushPreferencesRequest updatePushPreferencesRequest; + private SendBirdUpdatePushPreferencesRequest sendBirdUpdatePushPreferencesRequest; private APIupdatePushPreferencesRequest(String userId) { this.userId = userId; @@ -2799,18 +2799,18 @@ public APIupdatePushPreferencesRequest apiToken(String apiToken) { } /** - * Set updatePushPreferencesRequest - * @param updatePushPreferencesRequest (optional) + * Set sendBirdUpdatePushPreferencesRequest + * @param sendBirdUpdatePushPreferencesRequest (optional) * @return APIupdatePushPreferencesRequest */ - public APIupdatePushPreferencesRequest updatePushPreferencesRequest(UpdatePushPreferencesRequest updatePushPreferencesRequest) { - this.updatePushPreferencesRequest = updatePushPreferencesRequest; + public APIupdatePushPreferencesRequest sendBirdUpdatePushPreferencesRequest(SendBirdUpdatePushPreferencesRequest sendBirdUpdatePushPreferencesRequest) { + this.sendBirdUpdatePushPreferencesRequest = sendBirdUpdatePushPreferencesRequest; return this; } /** * Execute updatePushPreferences request - * @return UpdatePushPreferencesResponse + * @return SendBirdUpdatePushPreferencesResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2820,13 +2820,13 @@ public APIupdatePushPreferencesRequest updatePushPreferencesRequest(UpdatePushPr */ - public UpdatePushPreferencesResponse execute() throws ApiException { + public SendBirdUpdatePushPreferencesResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updatePushPreferences request with HTTP info returned - * @return ApiResponse<UpdatePushPreferencesResponse> + * @return ApiResponse<SendBirdUpdatePushPreferencesResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2835,8 +2835,8 @@ public UpdatePushPreferencesResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updatePushPreferencesWithHttpInfo(userId, apiToken, updatePushPreferencesRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updatePushPreferencesWithHttpInfo(userId, apiToken, sendBirdUpdatePushPreferencesRequest); } } @@ -2853,8 +2853,8 @@ public APIupdatePushPreferencesRequest updatePushPreferences(String userId) thro return new APIupdatePushPreferencesRequest(userId); } -private ApiResponse updatePushPreferencesForAChannelWithHttpInfo(String userId, String channelUrl, String apiToken, UpdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest) throws ApiException { - Object localVarPostBody = updatePushPreferencesForAChannelRequest; +private ApiResponse updatePushPreferencesForAChannelWithHttpInfo(String userId, String channelUrl, String apiToken, SendBirdUpdatePushPreferencesForAChannelRequest sendBirdUpdatePushPreferencesForAChannelRequest) throws ApiException { + Object localVarPostBody = sendBirdUpdatePushPreferencesForAChannelRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -2895,7 +2895,7 @@ private ApiResponse updatePushPreferen String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updatePushPreferencesForAChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2906,7 +2906,7 @@ public class APIupdatePushPreferencesForAChannelRequest { private String userId; private String channelUrl; private String apiToken; - private UpdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest; + private SendBirdUpdatePushPreferencesForAChannelRequest sendBirdUpdatePushPreferencesForAChannelRequest; private APIupdatePushPreferencesForAChannelRequest(String userId, String channelUrl) { this.userId = userId; @@ -2924,18 +2924,18 @@ public APIupdatePushPreferencesForAChannelRequest apiToken(String apiToken) { } /** - * Set updatePushPreferencesForAChannelRequest - * @param updatePushPreferencesForAChannelRequest (optional) + * Set sendBirdUpdatePushPreferencesForAChannelRequest + * @param sendBirdUpdatePushPreferencesForAChannelRequest (optional) * @return APIupdatePushPreferencesForAChannelRequest */ - public APIupdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest(UpdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest) { - this.updatePushPreferencesForAChannelRequest = updatePushPreferencesForAChannelRequest; + public APIupdatePushPreferencesForAChannelRequest sendBirdUpdatePushPreferencesForAChannelRequest(SendBirdUpdatePushPreferencesForAChannelRequest sendBirdUpdatePushPreferencesForAChannelRequest) { + this.sendBirdUpdatePushPreferencesForAChannelRequest = sendBirdUpdatePushPreferencesForAChannelRequest; return this; } /** * Execute updatePushPreferencesForAChannel request - * @return UpdatePushPreferencesForAChannelResponse + * @return SendBirdUpdatePushPreferencesForAChannelResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2945,13 +2945,13 @@ public APIupdatePushPreferencesForAChannelRequest updatePushPreferencesForAChann */ - public UpdatePushPreferencesForAChannelResponse execute() throws ApiException { + public SendBirdUpdatePushPreferencesForAChannelResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updatePushPreferencesForAChannel request with HTTP info returned - * @return ApiResponse<UpdatePushPreferencesForAChannelResponse> + * @return ApiResponse<SendBirdUpdatePushPreferencesForAChannelResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2960,8 +2960,8 @@ public UpdatePushPreferencesForAChannelResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updatePushPreferencesForAChannelWithHttpInfo(userId, channelUrl, apiToken, updatePushPreferencesForAChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updatePushPreferencesForAChannelWithHttpInfo(userId, channelUrl, apiToken, sendBirdUpdatePushPreferencesForAChannelRequest); } } @@ -2979,7 +2979,7 @@ public APIupdatePushPreferencesForAChannelRequest updatePushPreferencesForAChann return new APIupdatePushPreferencesForAChannelRequest(userId, channelUrl); } -private ApiResponse viewAUserWithHttpInfo(String userId, Boolean includeUnreadCount, String customTypes, String superMode, String apiToken) throws ApiException { +private ApiResponse viewAUserWithHttpInfo(String userId, Boolean includeUnreadCount, String customTypes, String superMode, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3018,7 +3018,7 @@ private ApiResponse viewAUserWithHttpInfo(String userId, Boolean i String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewAUser", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3078,7 +3078,7 @@ public APIviewAUserRequest apiToken(String apiToken) { /** * Execute viewAUser request - * @return SendbirdUser + * @return SendBirdSendbirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -3088,13 +3088,13 @@ public APIviewAUserRequest apiToken(String apiToken) { */ - public SendbirdUser execute() throws ApiException { + public SendBirdSendbirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewAUser request with HTTP info returned - * @return ApiResponse<SendbirdUser> + * @return ApiResponse<SendBirdSendbirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -3103,7 +3103,7 @@ public SendbirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewAUserWithHttpInfo(userId, includeUnreadCount, customTypes, superMode, apiToken); } } @@ -3121,7 +3121,7 @@ public APIviewAUserRequest viewAUser(String userId) throws ApiException { return new APIviewAUserRequest(userId); } -private ApiResponse viewCountPreferenceOfAChannelWithHttpInfo(String userId, String channelUrl, String apiToken) throws ApiException { +private ApiResponse viewCountPreferenceOfAChannelWithHttpInfo(String userId, String channelUrl, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3163,7 +3163,7 @@ private ApiResponse viewCountPreferenceOf String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewCountPreferenceOfAChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3192,7 +3192,7 @@ public APIviewCountPreferenceOfAChannelRequest apiToken(String apiToken) { /** * Execute viewCountPreferenceOfAChannel request - * @return ViewCountPreferenceOfAChannelResponse + * @return SendBirdViewCountPreferenceOfAChannelResponse * @throws ApiException if fails to make API call * @http.response.details @@ -3202,13 +3202,13 @@ public APIviewCountPreferenceOfAChannelRequest apiToken(String apiToken) { */ - public ViewCountPreferenceOfAChannelResponse execute() throws ApiException { + public SendBirdViewCountPreferenceOfAChannelResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewCountPreferenceOfAChannel request with HTTP info returned - * @return ApiResponse<ViewCountPreferenceOfAChannelResponse> + * @return ApiResponse<SendBirdViewCountPreferenceOfAChannelResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -3217,7 +3217,7 @@ public ViewCountPreferenceOfAChannelResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewCountPreferenceOfAChannelWithHttpInfo(userId, channelUrl, apiToken); } } @@ -3236,7 +3236,7 @@ public APIviewCountPreferenceOfAChannelRequest viewCountPreferenceOfAChannel(Str return new APIviewCountPreferenceOfAChannelRequest(userId, channelUrl); } -private ApiResponse viewNumberOfChannelsWithUnreadMessagesWithHttpInfo(String userId, String customTypes, String superMode, String apiToken) throws ApiException { +private ApiResponse viewNumberOfChannelsWithUnreadMessagesWithHttpInfo(String userId, String customTypes, String superMode, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3274,7 +3274,7 @@ private ApiResponse viewNumberOf String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewNumberOfChannelsWithUnreadMessages", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3323,7 +3323,7 @@ public APIviewNumberOfChannelsWithUnreadMessagesRequest apiToken(String apiToken /** * Execute viewNumberOfChannelsWithUnreadMessages request - * @return ViewNumberOfChannelsWithUnreadMessagesResponse + * @return SendBirdViewNumberOfChannelsWithUnreadMessagesResponse * @throws ApiException if fails to make API call * @http.response.details @@ -3333,13 +3333,13 @@ public APIviewNumberOfChannelsWithUnreadMessagesRequest apiToken(String apiToken */ - public ViewNumberOfChannelsWithUnreadMessagesResponse execute() throws ApiException { + public SendBirdViewNumberOfChannelsWithUnreadMessagesResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewNumberOfChannelsWithUnreadMessages request with HTTP info returned - * @return ApiResponse<ViewNumberOfChannelsWithUnreadMessagesResponse> + * @return ApiResponse<SendBirdViewNumberOfChannelsWithUnreadMessagesResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -3348,7 +3348,7 @@ public ViewNumberOfChannelsWithUnreadMessagesResponse execute() throws ApiExcept
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewNumberOfChannelsWithUnreadMessagesWithHttpInfo(userId, customTypes, superMode, apiToken); } } @@ -3366,7 +3366,7 @@ public APIviewNumberOfChannelsWithUnreadMessagesRequest viewNumberOfChannelsWith return new APIviewNumberOfChannelsWithUnreadMessagesRequest(userId); } -private ApiResponse viewNumberOfUnreadMessagesWithHttpInfo(String userId, String customTypes, String superMode, String apiToken) throws ApiException { +private ApiResponse viewNumberOfUnreadMessagesWithHttpInfo(String userId, String customTypes, String superMode, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3404,7 +3404,7 @@ private ApiResponse viewNumberOfUnreadMessag String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewNumberOfUnreadMessages", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3453,7 +3453,7 @@ public APIviewNumberOfUnreadMessagesRequest apiToken(String apiToken) { /** * Execute viewNumberOfUnreadMessages request - * @return ViewNumberOfUnreadMessagesResponse + * @return SendBirdViewNumberOfUnreadMessagesResponse * @throws ApiException if fails to make API call * @http.response.details @@ -3463,13 +3463,13 @@ public APIviewNumberOfUnreadMessagesRequest apiToken(String apiToken) { */ - public ViewNumberOfUnreadMessagesResponse execute() throws ApiException { + public SendBirdViewNumberOfUnreadMessagesResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewNumberOfUnreadMessages request with HTTP info returned - * @return ApiResponse<ViewNumberOfUnreadMessagesResponse> + * @return ApiResponse<SendBirdViewNumberOfUnreadMessagesResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -3478,7 +3478,7 @@ public ViewNumberOfUnreadMessagesResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewNumberOfUnreadMessagesWithHttpInfo(userId, customTypes, superMode, apiToken); } } @@ -3496,7 +3496,7 @@ public APIviewNumberOfUnreadMessagesRequest viewNumberOfUnreadMessages(String us return new APIviewNumberOfUnreadMessagesRequest(userId); } -private ApiResponse viewPushPreferencesWithHttpInfo(String userId, String apiToken) throws ApiException { +private ApiResponse viewPushPreferencesWithHttpInfo(String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3532,7 +3532,7 @@ private ApiResponse viewPushPreferencesWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewPushPreferences", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3559,7 +3559,7 @@ public APIviewPushPreferencesRequest apiToken(String apiToken) { /** * Execute viewPushPreferences request - * @return ViewPushPreferencesResponse + * @return SendBirdViewPushPreferencesResponse * @throws ApiException if fails to make API call * @http.response.details @@ -3569,13 +3569,13 @@ public APIviewPushPreferencesRequest apiToken(String apiToken) { */ - public ViewPushPreferencesResponse execute() throws ApiException { + public SendBirdViewPushPreferencesResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewPushPreferences request with HTTP info returned - * @return ApiResponse<ViewPushPreferencesResponse> + * @return ApiResponse<SendBirdViewPushPreferencesResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -3584,7 +3584,7 @@ public ViewPushPreferencesResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewPushPreferencesWithHttpInfo(userId, apiToken); } } @@ -3602,7 +3602,7 @@ public APIviewPushPreferencesRequest viewPushPreferences(String userId) throws A return new APIviewPushPreferencesRequest(userId); } -private ApiResponse viewPushPreferencesForAChannelWithHttpInfo(String userId, String channelUrl, String apiToken) throws ApiException { +private ApiResponse viewPushPreferencesForAChannelWithHttpInfo(String userId, String channelUrl, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3644,7 +3644,7 @@ private ApiResponse viewPushPreferencesF String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewPushPreferencesForAChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3673,7 +3673,7 @@ public APIviewPushPreferencesForAChannelRequest apiToken(String apiToken) { /** * Execute viewPushPreferencesForAChannel request - * @return ViewPushPreferencesForAChannelResponse + * @return SendBirdViewPushPreferencesForAChannelResponse * @throws ApiException if fails to make API call * @http.response.details @@ -3683,13 +3683,13 @@ public APIviewPushPreferencesForAChannelRequest apiToken(String apiToken) { */ - public ViewPushPreferencesForAChannelResponse execute() throws ApiException { + public SendBirdViewPushPreferencesForAChannelResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewPushPreferencesForAChannel request with HTTP info returned - * @return ApiResponse<ViewPushPreferencesForAChannelResponse> + * @return ApiResponse<SendBirdViewPushPreferencesForAChannelResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -3698,7 +3698,7 @@ public ViewPushPreferencesForAChannelResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewPushPreferencesForAChannelWithHttpInfo(userId, channelUrl, apiToken); } } @@ -3717,7 +3717,7 @@ public APIviewPushPreferencesForAChannelRequest viewPushPreferencesForAChannel(S return new APIviewPushPreferencesForAChannelRequest(userId, channelUrl); } -private ApiResponse> viewWhoOwnsARegistrationOrDeviceTokenWithHttpInfo(String tokenType, String token, String apiToken) throws ApiException { +private ApiResponse> viewWhoOwnsARegistrationOrDeviceTokenWithHttpInfo(String tokenType, String token, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'tokenType' is set @@ -3759,7 +3759,7 @@ private ApiResponse> viewWhoOwnsARegistra String[] localVarAuthNames = new String[] { }; - GenericType> localVarReturnType = new GenericType>() {}; + GenericType> localVarReturnType = new GenericType>() {}; return apiClient.invokeAPI("UserApi.viewWhoOwnsARegistrationOrDeviceToken", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3788,7 +3788,7 @@ public APIviewWhoOwnsARegistrationOrDeviceTokenRequest apiToken(String apiToken) /** * Execute viewWhoOwnsARegistrationOrDeviceToken request - * @return List<MarkChannelMessagesAsReadRequest> + * @return List<SendBirdMarkChannelMessagesAsReadRequest> * @throws ApiException if fails to make API call * @http.response.details @@ -3798,13 +3798,13 @@ public APIviewWhoOwnsARegistrationOrDeviceTokenRequest apiToken(String apiToken) */ - public List execute() throws ApiException { + public List execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewWhoOwnsARegistrationOrDeviceToken request with HTTP info returned - * @return ApiResponse<List<MarkChannelMessagesAsReadRequest>> + * @return ApiResponse<List<SendBirdMarkChannelMessagesAsReadRequest>> * @throws ApiException if fails to make API call * @http.response.details
@@ -3813,7 +3813,7 @@ public List execute() throws ApiException {
*/ - public ApiResponse> executeWithHttpInfo() throws ApiException { + public ApiResponse> executeWithHttpInfo() throws ApiException { return viewWhoOwnsARegistrationOrDeviceTokenWithHttpInfo(tokenType, token, apiToken); } } diff --git a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java index d2b97d6c..fadc9cea 100644 --- a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java +++ b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java index 475ba97e..8974ab26 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java @@ -23,7 +23,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java index 1abc07ef..591755f4 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/src/test/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequestTest.java new file mode 100644 index 00000000..06ec7718 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequestTest.java @@ -0,0 +1,62 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdAcceptAnInvitationRequest + */ +public class SendBirdAcceptAnInvitationRequestTest { + private final SendBirdAcceptAnInvitationRequest model = new SendBirdAcceptAnInvitationRequest(); + + /** + * Model tests for SendBirdAcceptAnInvitationRequest + */ + @Test + public void testSendBirdAcceptAnInvitationRequest() { + // TODO: test SendBirdAcceptAnInvitationRequest + } + + /** + * Test the property 'accessCode' + */ + @Test + public void accessCodeTest() { + // TODO: test accessCode + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequestTest.java new file mode 100644 index 00000000..a74f2d51 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequestTest.java @@ -0,0 +1,66 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdAddARegistrationOrDeviceTokenRequest + */ +public class SendBirdAddARegistrationOrDeviceTokenRequestTest { + private final SendBirdAddARegistrationOrDeviceTokenRequest model = new SendBirdAddARegistrationOrDeviceTokenRequest(); + + /** + * Model tests for SendBirdAddARegistrationOrDeviceTokenRequest + */ + @Test + public void testSendBirdAddARegistrationOrDeviceTokenRequest() { + // TODO: test SendBirdAddARegistrationOrDeviceTokenRequest + } + + /** + * Test the property 'apnsDeviceToken' + */ + @Test + public void apnsDeviceTokenTest() { + // TODO: test apnsDeviceToken + } + + /** + * Test the property 'gcmRegToken' + */ + @Test + public void gcmRegTokenTest() { + // TODO: test gcmRegToken + } + + /** + * Test the property 'huaweiDeviceToken' + */ + @Test + public void huaweiDeviceTokenTest() { + // TODO: test huaweiDeviceToken + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponseTest.java new file mode 100644 index 00000000..8b22d371 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponseTest.java @@ -0,0 +1,67 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdAddARegistrationOrDeviceTokenResponse + */ +public class SendBirdAddARegistrationOrDeviceTokenResponseTest { + private final SendBirdAddARegistrationOrDeviceTokenResponse model = new SendBirdAddARegistrationOrDeviceTokenResponse(); + + /** + * Model tests for SendBirdAddARegistrationOrDeviceTokenResponse + */ + @Test + public void testSendBirdAddARegistrationOrDeviceTokenResponse() { + // TODO: test SendBirdAddARegistrationOrDeviceTokenResponse + } + + /** + * Test the property 'token' + */ + @Test + public void tokenTest() { + // TODO: test token + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'user' + */ + @Test + public void userTest() { + // TODO: test user + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequestTest.java new file mode 100644 index 00000000..75abd66c --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequestTest.java @@ -0,0 +1,53 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdAddExtraDataToAMessageRequest + */ +public class SendBirdAddExtraDataToAMessageRequestTest { + private final SendBirdAddExtraDataToAMessageRequest model = new SendBirdAddExtraDataToAMessageRequest(); + + /** + * Model tests for SendBirdAddExtraDataToAMessageRequest + */ + @Test + public void testSendBirdAddExtraDataToAMessageRequest() { + // TODO: test SendBirdAddExtraDataToAMessageRequest + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponseTest.java new file mode 100644 index 00000000..ab8efdc9 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponseTest.java @@ -0,0 +1,53 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdAddExtraDataToAMessageResponse + */ +public class SendBirdAddExtraDataToAMessageResponseTest { + private final SendBirdAddExtraDataToAMessageResponse model = new SendBirdAddExtraDataToAMessageResponse(); + + /** + * Model tests for SendBirdAddExtraDataToAMessageResponse + */ + @Test + public void testSendBirdAddExtraDataToAMessageResponse() { + // TODO: test SendBirdAddExtraDataToAMessageResponse + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdBlockAUserRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdBlockAUserRequestTest.java new file mode 100644 index 00000000..00cbfbe2 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdBlockAUserRequestTest.java @@ -0,0 +1,60 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdBlockAUserRequest + */ +public class SendBirdBlockAUserRequestTest { + private final SendBirdBlockAUserRequest model = new SendBirdBlockAUserRequest(); + + /** + * Model tests for SendBirdBlockAUserRequest + */ + @Test + public void testSendBirdBlockAUserRequest() { + // TODO: test SendBirdBlockAUserRequest + } + + /** + * Test the property 'targetId' + */ + @Test + public void targetIdTest() { + // TODO: test targetId + } + + /** + * Test the property 'userIds' + */ + @Test + public void userIdsTest() { + // TODO: test userIds + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdBlockAUserResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdBlockAUserResponseTest.java new file mode 100644 index 00000000..805b90f7 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdBlockAUserResponseTest.java @@ -0,0 +1,61 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdUser; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdBlockAUserResponse + */ +public class SendBirdBlockAUserResponseTest { + private final SendBirdBlockAUserResponse model = new SendBirdBlockAUserResponse(); + + /** + * Model tests for SendBirdBlockAUserResponse + */ + @Test + public void testSendBirdBlockAUserResponse() { + // TODO: test SendBirdBlockAUserResponse + } + + /** + * Test the property 'users' + */ + @Test + public void usersTest() { + // TODO: test users + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCheckIfMemberResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdCheckIfMemberResponseTest.java new file mode 100644 index 00000000..d40f4e9f --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdCheckIfMemberResponseTest.java @@ -0,0 +1,58 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdCheckIfMemberResponse + */ +public class SendBirdCheckIfMemberResponseTest { + private final SendBirdCheckIfMemberResponse model = new SendBirdCheckIfMemberResponse(); + + /** + * Model tests for SendBirdCheckIfMemberResponse + */ + @Test + public void testSendBirdCheckIfMemberResponse() { + // TODO: test SendBirdCheckIfMemberResponse + } + + /** + * Test the property 'isMember' + */ + @Test + public void isMemberTest() { + // TODO: test isMember + } + + /** + * Test the property 'state' + */ + @Test + public void stateTest() { + // TODO: test state + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequestTest.java new file mode 100644 index 00000000..02514587 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequestTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdChooseAPushNotificationContentTemplateRequest + */ +public class SendBirdChooseAPushNotificationContentTemplateRequestTest { + private final SendBirdChooseAPushNotificationContentTemplateRequest model = new SendBirdChooseAPushNotificationContentTemplateRequest(); + + /** + * Model tests for SendBirdChooseAPushNotificationContentTemplateRequest + */ + @Test + public void testSendBirdChooseAPushNotificationContentTemplateRequest() { + // TODO: test SendBirdChooseAPushNotificationContentTemplateRequest + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponseTest.java new file mode 100644 index 00000000..2a2aa799 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponseTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdChooseAPushNotificationContentTemplateResponse + */ +public class SendBirdChooseAPushNotificationContentTemplateResponseTest { + private final SendBirdChooseAPushNotificationContentTemplateResponse model = new SendBirdChooseAPushNotificationContentTemplateResponse(); + + /** + * Model tests for SendBirdChooseAPushNotificationContentTemplateResponse + */ + @Test + public void testSendBirdChooseAPushNotificationContentTemplateResponse() { + // TODO: test SendBirdChooseAPushNotificationContentTemplateResponse + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateABotRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateABotRequestTest.java new file mode 100644 index 00000000..39d1352c --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdCreateABotRequestTest.java @@ -0,0 +1,114 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdCreateABotRequest + */ +public class SendBirdCreateABotRequestTest { + private final SendBirdCreateABotRequest model = new SendBirdCreateABotRequest(); + + /** + * Model tests for SendBirdCreateABotRequest + */ + @Test + public void testSendBirdCreateABotRequest() { + // TODO: test SendBirdCreateABotRequest + } + + /** + * Test the property 'botCallbackUrl' + */ + @Test + public void botCallbackUrlTest() { + // TODO: test botCallbackUrl + } + + /** + * Test the property 'botNickname' + */ + @Test + public void botNicknameTest() { + // TODO: test botNickname + } + + /** + * Test the property 'botProfileUrl' + */ + @Test + public void botProfileUrlTest() { + // TODO: test botProfileUrl + } + + /** + * Test the property 'botType' + */ + @Test + public void botTypeTest() { + // TODO: test botType + } + + /** + * Test the property 'botUserid' + */ + @Test + public void botUseridTest() { + // TODO: test botUserid + } + + /** + * Test the property 'isPrivacyMode' + */ + @Test + public void isPrivacyModeTest() { + // TODO: test isPrivacyMode + } + + /** + * Test the property 'channelInvitationPreference' + */ + @Test + public void channelInvitationPreferenceTest() { + // TODO: test channelInvitationPreference + } + + /** + * Test the property 'enableMarkAsRead' + */ + @Test + public void enableMarkAsReadTest() { + // TODO: test enableMarkAsRead + } + + /** + * Test the property 'showMember' + */ + @Test + public void showMemberTest() { + // TODO: test showMember + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseBotTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseBotTest.java new file mode 100644 index 00000000..9824e28c --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseBotTest.java @@ -0,0 +1,114 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdCreateABotResponseBot + */ +public class SendBirdCreateABotResponseBotTest { + private final SendBirdCreateABotResponseBot model = new SendBirdCreateABotResponseBot(); + + /** + * Model tests for SendBirdCreateABotResponseBot + */ + @Test + public void testSendBirdCreateABotResponseBot() { + // TODO: test SendBirdCreateABotResponseBot + } + + /** + * Test the property 'aiAgentType' + */ + @Test + public void aiAgentTypeTest() { + // TODO: test aiAgentType + } + + /** + * Test the property 'botMetadata' + */ + @Test + public void botMetadataTest() { + // TODO: test botMetadata + } + + /** + * Test the property 'botNickname' + */ + @Test + public void botNicknameTest() { + // TODO: test botNickname + } + + /** + * Test the property 'botProfileUrl' + */ + @Test + public void botProfileUrlTest() { + // TODO: test botProfileUrl + } + + /** + * Test the property 'botRequireAuthForProfileImage' + */ + @Test + public void botRequireAuthForProfileImageTest() { + // TODO: test botRequireAuthForProfileImage + } + + /** + * Test the property 'botToken' + */ + @Test + public void botTokenTest() { + // TODO: test botToken + } + + /** + * Test the property 'botType' + */ + @Test + public void botTypeTest() { + // TODO: test botType + } + + /** + * Test the property 'botUserid' + */ + @Test + public void botUseridTest() { + // TODO: test botUserid + } + + /** + * Test the property 'feedback' + */ + @Test + public void feedbackTest() { + // TODO: test feedback + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseTest.java new file mode 100644 index 00000000..4692ef65 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseTest.java @@ -0,0 +1,108 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdCreateABotResponseBot; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyle; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdCreateABotResponse + */ +public class SendBirdCreateABotResponseTest { + private final SendBirdCreateABotResponse model = new SendBirdCreateABotResponse(); + + /** + * Model tests for SendBirdCreateABotResponse + */ + @Test + public void testSendBirdCreateABotResponse() { + // TODO: test SendBirdCreateABotResponse + } + + /** + * Test the property 'bot' + */ + @Test + public void botTest() { + // TODO: test bot + } + + /** + * Test the property 'botCallbackUrl' + */ + @Test + public void botCallbackUrlTest() { + // TODO: test botCallbackUrl + } + + /** + * Test the property 'botStyle' + */ + @Test + public void botStyleTest() { + // TODO: test botStyle + } + + /** + * Test the property 'channelInvitationPreference' + */ + @Test + public void channelInvitationPreferenceTest() { + // TODO: test channelInvitationPreference + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'enableMarkAsRead' + */ + @Test + public void enableMarkAsReadTest() { + // TODO: test enableMarkAsRead + } + + /** + * Test the property 'isPrivacyMode' + */ + @Test + public void isPrivacyModeTest() { + // TODO: test isPrivacyMode + } + + /** + * Test the property 'showMember' + */ + @Test + public void showMemberTest() { + // TODO: test showMember + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequestTest.java new file mode 100644 index 00000000..27c7d5ec --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequestTest.java @@ -0,0 +1,58 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdCreateAChannelMetadataRequest + */ +public class SendBirdCreateAChannelMetadataRequestTest { + private final SendBirdCreateAChannelMetadataRequest model = new SendBirdCreateAChannelMetadataRequest(); + + /** + * Model tests for SendBirdCreateAChannelMetadataRequest + */ + @Test + public void testSendBirdCreateAChannelMetadataRequest() { + // TODO: test SendBirdCreateAChannelMetadataRequest + } + + /** + * Test the property 'includeTs' + */ + @Test + public void includeTsTest() { + // TODO: test includeTs + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponseTest.java new file mode 100644 index 00000000..f8c0b921 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponseTest.java @@ -0,0 +1,58 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdCreateAChannelMetadataResponse + */ +public class SendBirdCreateAChannelMetadataResponseTest { + private final SendBirdCreateAChannelMetadataResponse model = new SendBirdCreateAChannelMetadataResponse(); + + /** + * Model tests for SendBirdCreateAChannelMetadataResponse + */ + @Test + public void testSendBirdCreateAChannelMetadataResponse() { + // TODO: test SendBirdCreateAChannelMetadataResponse + } + + /** + * Test the property 'includeTs' + */ + @Test + public void includeTsTest() { + // TODO: test includeTs + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequestTest.java new file mode 100644 index 00000000..05810bb2 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequestTest.java @@ -0,0 +1,202 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdCreateAGroupChannelRequest + */ +public class SendBirdCreateAGroupChannelRequestTest { + private final SendBirdCreateAGroupChannelRequest model = new SendBirdCreateAGroupChannelRequest(); + + /** + * Model tests for SendBirdCreateAGroupChannelRequest + */ + @Test + public void testSendBirdCreateAGroupChannelRequest() { + // TODO: test SendBirdCreateAGroupChannelRequest + } + + /** + * Test the property 'accessCode' + */ + @Test + public void accessCodeTest() { + // TODO: test accessCode + } + + /** + * Test the property 'blockSdkUserChannelJoin' + */ + @Test + public void blockSdkUserChannelJoinTest() { + // TODO: test blockSdkUserChannelJoin + } + + /** + * Test the property 'channelUrl' + */ + @Test + public void channelUrlTest() { + // TODO: test channelUrl + } + + /** + * Test the property 'coverFile' + */ + @Test + public void coverFileTest() { + // TODO: test coverFile + } + + /** + * Test the property 'coverUrl' + */ + @Test + public void coverUrlTest() { + // TODO: test coverUrl + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'hiddenStatus' + */ + @Test + public void hiddenStatusTest() { + // TODO: test hiddenStatus + } + + /** + * Test the property 'invitationStatus' + */ + @Test + public void invitationStatusTest() { + // TODO: test invitationStatus + } + + /** + * Test the property 'inviterId' + */ + @Test + public void inviterIdTest() { + // TODO: test inviterId + } + + /** + * Test the property 'isDistinct' + */ + @Test + public void isDistinctTest() { + // TODO: test isDistinct + } + + /** + * Test the property 'isEphemeral' + */ + @Test + public void isEphemeralTest() { + // TODO: test isEphemeral + } + + /** + * Test the property 'isPublic' + */ + @Test + public void isPublicTest() { + // TODO: test isPublic + } + + /** + * Test the property 'isSuper' + */ + @Test + public void isSuperTest() { + // TODO: test isSuper + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'operatorIds' + */ + @Test + public void operatorIdsTest() { + // TODO: test operatorIds + } + + /** + * Test the property 'strict' + */ + @Test + public void strictTest() { + // TODO: test strict + } + + /** + * Test the property 'userIds' + */ + @Test + public void userIdsTest() { + // TODO: test userIds + } + + /** + * Test the property 'users' + */ + @Test + public void usersTest() { + // TODO: test users + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateAUserRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateAUserRequestTest.java new file mode 100644 index 00000000..f260befe --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdCreateAUserRequestTest.java @@ -0,0 +1,105 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdCreateAUserRequest + */ +public class SendBirdCreateAUserRequestTest { + private final SendBirdCreateAUserRequest model = new SendBirdCreateAUserRequest(); + + /** + * Model tests for SendBirdCreateAUserRequest + */ + @Test + public void testSendBirdCreateAUserRequest() { + // TODO: test SendBirdCreateAUserRequest + } + + /** + * Test the property 'discoveryKeys' + */ + @Test + public void discoveryKeysTest() { + // TODO: test discoveryKeys + } + + /** + * Test the property 'issueAccessToken' + */ + @Test + public void issueAccessTokenTest() { + // TODO: test issueAccessToken + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + + /** + * Test the property 'nickname' + */ + @Test + public void nicknameTest() { + // TODO: test nickname + } + + /** + * Test the property 'profileFile' + */ + @Test + public void profileFileTest() { + // TODO: test profileFile + } + + /** + * Test the property 'profileUrl' + */ + @Test + public void profileUrlTest() { + // TODO: test profileUrl + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequestTest.java new file mode 100644 index 00000000..98ab8ebf --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequestTest.java @@ -0,0 +1,117 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdCreateAnOpenChannelRequest + */ +public class SendBirdCreateAnOpenChannelRequestTest { + private final SendBirdCreateAnOpenChannelRequest model = new SendBirdCreateAnOpenChannelRequest(); + + /** + * Model tests for SendBirdCreateAnOpenChannelRequest + */ + @Test + public void testSendBirdCreateAnOpenChannelRequest() { + // TODO: test SendBirdCreateAnOpenChannelRequest + } + + /** + * Test the property 'isDynamicPartitioned' + */ + @Test + public void isDynamicPartitionedTest() { + // TODO: test isDynamicPartitioned + } + + /** + * Test the property 'channelUrl' + */ + @Test + public void channelUrlTest() { + // TODO: test channelUrl + } + + /** + * Test the property 'coverFile' + */ + @Test + public void coverFileTest() { + // TODO: test coverFile + } + + /** + * Test the property 'coverUrl' + */ + @Test + public void coverUrlTest() { + // TODO: test coverUrl + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'isEphemeral' + */ + @Test + public void isEphemeralTest() { + // TODO: test isEphemeral + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'operatorIds' + */ + @Test + public void operatorIdsTest() { + // TODO: test operatorIds + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenRequestTest.java new file mode 100644 index 00000000..1728bb8c --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenRequestTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdCreateUserTokenRequest + */ +public class SendBirdCreateUserTokenRequestTest { + private final SendBirdCreateUserTokenRequest model = new SendBirdCreateUserTokenRequest(); + + /** + * Model tests for SendBirdCreateUserTokenRequest + */ + @Test + public void testSendBirdCreateUserTokenRequest() { + // TODO: test SendBirdCreateUserTokenRequest + } + + /** + * Test the property 'expiresAt' + */ + @Test + public void expiresAtTest() { + // TODO: test expiresAt + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenResponseTest.java new file mode 100644 index 00000000..800eee89 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenResponseTest.java @@ -0,0 +1,58 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdCreateUserTokenResponse + */ +public class SendBirdCreateUserTokenResponseTest { + private final SendBirdCreateUserTokenResponse model = new SendBirdCreateUserTokenResponse(); + + /** + * Model tests for SendBirdCreateUserTokenResponse + */ + @Test + public void testSendBirdCreateUserTokenResponse() { + // TODO: test SendBirdCreateUserTokenResponse + } + + /** + * Test the property 'expiresAt' + */ + @Test + public void expiresAtTest() { + // TODO: test expiresAt + } + + /** + * Test the property 'token' + */ + @Test + public void tokenTest() { + // TODO: test token + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequestTest.java new file mode 100644 index 00000000..b5c3b817 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequestTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdFreezeAGroupChannelRequest + */ +public class SendBirdFreezeAGroupChannelRequestTest { + private final SendBirdFreezeAGroupChannelRequest model = new SendBirdFreezeAGroupChannelRequest(); + + /** + * Model tests for SendBirdFreezeAGroupChannelRequest + */ + @Test + public void testSendBirdFreezeAGroupChannelRequest() { + // TODO: test SendBirdFreezeAGroupChannelRequest + } + + /** + * Test the property 'freeze' + */ + @Test + public void freezeTest() { + // TODO: test freeze + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequestTest.java new file mode 100644 index 00000000..422b5f4e --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequestTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdFreezeAnOpenChannelRequest + */ +public class SendBirdFreezeAnOpenChannelRequestTest { + private final SendBirdFreezeAnOpenChannelRequest model = new SendBirdFreezeAnOpenChannelRequest(); + + /** + * Model tests for SendBirdFreezeAnOpenChannelRequest + */ + @Test + public void testSendBirdFreezeAnOpenChannelRequest() { + // TODO: test SendBirdFreezeAnOpenChannelRequest + } + + /** + * Test the property 'freeze' + */ + @Test + public void freezeTest() { + // TODO: test freeze + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOfTest.java b/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOfTest.java new file mode 100644 index 00000000..cfa87305 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOfTest.java @@ -0,0 +1,51 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdGetAGroupChannelResponseAllOf + */ +public class SendBirdGetAGroupChannelResponseAllOfTest { + private final SendBirdGetAGroupChannelResponseAllOf model = new SendBirdGetAGroupChannelResponseAllOf(); + + /** + * Model tests for SendBirdGetAGroupChannelResponseAllOf + */ + @Test + public void testSendBirdGetAGroupChannelResponseAllOf() { + // TODO: test SendBirdGetAGroupChannelResponseAllOf + } + + /** + * Test the property 'channel' + */ + @Test + public void channelTest() { + // TODO: test channel + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseTest.java new file mode 100644 index 00000000..d870fdb3 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseTest.java @@ -0,0 +1,427 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import org.openapitools.client.model.SendBirdGetAGroupChannelResponseAllOf; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendbirdGroupChannel; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdSendbirdMember; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendbirdSmsFallback; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdGetAGroupChannelResponse + */ +public class SendBirdGetAGroupChannelResponseTest { + private final SendBirdGetAGroupChannelResponse model = new SendBirdGetAGroupChannelResponse(); + + /** + * Model tests for SendBirdGetAGroupChannelResponse + */ + @Test + public void testSendBirdGetAGroupChannelResponse() { + // TODO: test SendBirdGetAGroupChannelResponse + } + + /** + * Test the property 'channel' + */ + @Test + public void channelTest() { + // TODO: test channel + } + + /** + * Test the property 'channelUrl' + */ + @Test + public void channelUrlTest() { + // TODO: test channelUrl + } + + /** + * Test the property 'countPreference' + */ + @Test + public void countPreferenceTest() { + // TODO: test countPreference + } + + /** + * Test the property 'coverUrl' + */ + @Test + public void coverUrlTest() { + // TODO: test coverUrl + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'createdBy' + */ + @Test + public void createdByTest() { + // TODO: test createdBy + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'deliveryReceipt' + */ + @Test + public void deliveryReceiptTest() { + // TODO: test deliveryReceipt + } + + /** + * Test the property 'disappearingMessage' + */ + @Test + public void disappearingMessageTest() { + // TODO: test disappearingMessage + } + + /** + * Test the property 'freeze' + */ + @Test + public void freezeTest() { + // TODO: test freeze + } + + /** + * Test the property 'hasAiBot' + */ + @Test + public void hasAiBotTest() { + // TODO: test hasAiBot + } + + /** + * Test the property 'hasBot' + */ + @Test + public void hasBotTest() { + // TODO: test hasBot + } + + /** + * Test the property 'hiddenState' + */ + @Test + public void hiddenStateTest() { + // TODO: test hiddenState + } + + /** + * Test the property 'ignoreProfanityFilter' + */ + @Test + public void ignoreProfanityFilterTest() { + // TODO: test ignoreProfanityFilter + } + + /** + * Test the property 'invitedAt' + */ + @Test + public void invitedAtTest() { + // TODO: test invitedAt + } + + /** + * Test the property 'inviter' + */ + @Test + public void inviterTest() { + // TODO: test inviter + } + + /** + * Test the property 'isAccessCodeRequired' + */ + @Test + public void isAccessCodeRequiredTest() { + // TODO: test isAccessCodeRequired + } + + /** + * Test the property 'isBroadcast' + */ + @Test + public void isBroadcastTest() { + // TODO: test isBroadcast + } + + /** + * Test the property 'isDiscoverable' + */ + @Test + public void isDiscoverableTest() { + // TODO: test isDiscoverable + } + + /** + * Test the property 'isDistinct' + */ + @Test + public void isDistinctTest() { + // TODO: test isDistinct + } + + /** + * Test the property 'isEphemeral' + */ + @Test + public void isEphemeralTest() { + // TODO: test isEphemeral + } + + /** + * Test the property 'isExclusive' + */ + @Test + public void isExclusiveTest() { + // TODO: test isExclusive + } + + /** + * Test the property 'isHidden' + */ + @Test + public void isHiddenTest() { + // TODO: test isHidden + } + + /** + * Test the property 'isMuted' + */ + @Test + public void isMutedTest() { + // TODO: test isMuted + } + + /** + * Test the property 'isPublic' + */ + @Test + public void isPublicTest() { + // TODO: test isPublic + } + + /** + * Test the property 'isPushEnabled' + */ + @Test + public void isPushEnabledTest() { + // TODO: test isPushEnabled + } + + /** + * Test the property 'isSuper' + */ + @Test + public void isSuperTest() { + // TODO: test isSuper + } + + /** + * Test the property 'joinedMemberCount' + */ + @Test + public void joinedMemberCountTest() { + // TODO: test joinedMemberCount + } + + /** + * Test the property 'joinedTs' + */ + @Test + public void joinedTsTest() { + // TODO: test joinedTs + } + + /** + * Test the property 'lastMessage' + */ + @Test + public void lastMessageTest() { + // TODO: test lastMessage + } + + /** + * Test the property 'maxLengthMessage' + */ + @Test + public void maxLengthMessageTest() { + // TODO: test maxLengthMessage + } + + /** + * Test the property 'memberCount' + */ + @Test + public void memberCountTest() { + // TODO: test memberCount + } + + /** + * Test the property 'memberState' + */ + @Test + public void memberStateTest() { + // TODO: test memberState + } + + /** + * Test the property 'members' + */ + @Test + public void membersTest() { + // TODO: test members + } + + /** + * Test the property 'messageSurvivalSeconds' + */ + @Test + public void messageSurvivalSecondsTest() { + // TODO: test messageSurvivalSeconds + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + + /** + * Test the property 'myRole' + */ + @Test + public void myRoleTest() { + // TODO: test myRole + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'pushTriggerOption' + */ + @Test + public void pushTriggerOptionTest() { + // TODO: test pushTriggerOption + } + + /** + * Test the property 'readReceipt' + */ + @Test + public void readReceiptTest() { + // TODO: test readReceipt + } + + /** + * Test the property 'smsFallback' + */ + @Test + public void smsFallbackTest() { + // TODO: test smsFallback + } + + /** + * Test the property 'tsMessageOffset' + */ + @Test + public void tsMessageOffsetTest() { + // TODO: test tsMessageOffset + } + + /** + * Test the property 'unreadMentionCount' + */ + @Test + public void unreadMentionCountTest() { + // TODO: test unreadMentionCount + } + + /** + * Test the property 'unreadMessageCount' + */ + @Test + public void unreadMessageCountTest() { + // TODO: test unreadMessageCount + } + + /** + * Test the property 'userLastRead' + */ + @Test + public void userLastReadTest() { + // TODO: test userLastRead + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponseTest.java new file mode 100644 index 00000000..2320d274 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponseTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdGetChannelInvitationPreferenceResponse + */ +public class SendBirdGetChannelInvitationPreferenceResponseTest { + private final SendBirdGetChannelInvitationPreferenceResponse model = new SendBirdGetChannelInvitationPreferenceResponse(); + + /** + * Model tests for SendBirdGetChannelInvitationPreferenceResponse + */ + @Test + public void testSendBirdGetChannelInvitationPreferenceResponse() { + // TODO: test SendBirdGetChannelInvitationPreferenceResponse + } + + /** + * Test the property 'autoAccept' + */ + @Test + public void autoAcceptTest() { + // TODO: test autoAccept + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponseTest.java new file mode 100644 index 00000000..4e1aaf4a --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponseTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdGetTotalNumberOfMessagesInAChannelResponse + */ +public class SendBirdGetTotalNumberOfMessagesInAChannelResponseTest { + private final SendBirdGetTotalNumberOfMessagesInAChannelResponse model = new SendBirdGetTotalNumberOfMessagesInAChannelResponse(); + + /** + * Model tests for SendBirdGetTotalNumberOfMessagesInAChannelResponse + */ + @Test + public void testSendBirdGetTotalNumberOfMessagesInAChannelResponse() { + // TODO: test SendBirdGetTotalNumberOfMessagesInAChannelResponse + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponseTest.java new file mode 100644 index 00000000..93034457 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponseTest.java @@ -0,0 +1,61 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdMember; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdGroupChannelListMembersResponse + */ +public class SendBirdGroupChannelListMembersResponseTest { + private final SendBirdGroupChannelListMembersResponse model = new SendBirdGroupChannelListMembersResponse(); + + /** + * Model tests for SendBirdGroupChannelListMembersResponse + */ + @Test + public void testSendBirdGroupChannelListMembersResponse() { + // TODO: test SendBirdGroupChannelListMembersResponse + } + + /** + * Test the property 'members' + */ + @Test + public void membersTest() { + // TODO: test members + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponseTest.java new file mode 100644 index 00000000..f67825ec --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponseTest.java @@ -0,0 +1,69 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdGroupChannel; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdGroupChatListChannelsResponse + */ +public class SendBirdGroupChatListChannelsResponseTest { + private final SendBirdGroupChatListChannelsResponse model = new SendBirdGroupChatListChannelsResponse(); + + /** + * Model tests for SendBirdGroupChatListChannelsResponse + */ + @Test + public void testSendBirdGroupChatListChannelsResponse() { + // TODO: test SendBirdGroupChatListChannelsResponse + } + + /** + * Test the property 'channels' + */ + @Test + public void channelsTest() { + // TODO: test channels + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + + /** + * Test the property 'ts' + */ + @Test + public void tsTest() { + // TODO: test ts + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdHideAChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdHideAChannelRequestTest.java new file mode 100644 index 00000000..3c4b102f --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdHideAChannelRequestTest.java @@ -0,0 +1,74 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdHideAChannelRequest + */ +public class SendBirdHideAChannelRequestTest { + private final SendBirdHideAChannelRequest model = new SendBirdHideAChannelRequest(); + + /** + * Model tests for SendBirdHideAChannelRequest + */ + @Test + public void testSendBirdHideAChannelRequest() { + // TODO: test SendBirdHideAChannelRequest + } + + /** + * Test the property 'allowAutoUnhide' + */ + @Test + public void allowAutoUnhideTest() { + // TODO: test allowAutoUnhide + } + + /** + * Test the property 'hidePreviousMessages' + */ + @Test + public void hidePreviousMessagesTest() { + // TODO: test hidePreviousMessages + } + + /** + * Test the property 'shouldHideAll' + */ + @Test + public void shouldHideAllTest() { + // TODO: test shouldHideAll + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersRequestTest.java new file mode 100644 index 00000000..2e5a43fa --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersRequestTest.java @@ -0,0 +1,76 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdInviteAsMembersRequest + */ +public class SendBirdInviteAsMembersRequestTest { + private final SendBirdInviteAsMembersRequest model = new SendBirdInviteAsMembersRequest(); + + /** + * Model tests for SendBirdInviteAsMembersRequest + */ + @Test + public void testSendBirdInviteAsMembersRequest() { + // TODO: test SendBirdInviteAsMembersRequest + } + + /** + * Test the property 'hiddenStatus' + */ + @Test + public void hiddenStatusTest() { + // TODO: test hiddenStatus + } + + /** + * Test the property 'invitationStatus' + */ + @Test + public void invitationStatusTest() { + // TODO: test invitationStatus + } + + /** + * Test the property 'inviterId' + */ + @Test + public void inviterIdTest() { + // TODO: test inviterId + } + + /** + * Test the property 'userIds' + */ + @Test + public void userIdsTest() { + // TODO: test userIds + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOfTest.java b/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOfTest.java new file mode 100644 index 00000000..2d0bc6e3 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOfTest.java @@ -0,0 +1,53 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdUser; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdInviteAsMembersResponseAllOf + */ +public class SendBirdInviteAsMembersResponseAllOfTest { + private final SendBirdInviteAsMembersResponseAllOf model = new SendBirdInviteAsMembersResponseAllOf(); + + /** + * Model tests for SendBirdInviteAsMembersResponseAllOf + */ + @Test + public void testSendBirdInviteAsMembersResponseAllOf() { + // TODO: test SendBirdInviteAsMembersResponseAllOf + } + + /** + * Test the property 'operators' + */ + @Test + public void operatorsTest() { + // TODO: test operators + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseTest.java new file mode 100644 index 00000000..ad5bdc9a --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseTest.java @@ -0,0 +1,427 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import org.openapitools.client.model.SendBirdInviteAsMembersResponseAllOf; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendbirdGroupChannel; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdSendbirdMember; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendbirdSmsFallback; +import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdInviteAsMembersResponse + */ +public class SendBirdInviteAsMembersResponseTest { + private final SendBirdInviteAsMembersResponse model = new SendBirdInviteAsMembersResponse(); + + /** + * Model tests for SendBirdInviteAsMembersResponse + */ + @Test + public void testSendBirdInviteAsMembersResponse() { + // TODO: test SendBirdInviteAsMembersResponse + } + + /** + * Test the property 'channelUrl' + */ + @Test + public void channelUrlTest() { + // TODO: test channelUrl + } + + /** + * Test the property 'countPreference' + */ + @Test + public void countPreferenceTest() { + // TODO: test countPreference + } + + /** + * Test the property 'coverUrl' + */ + @Test + public void coverUrlTest() { + // TODO: test coverUrl + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'createdBy' + */ + @Test + public void createdByTest() { + // TODO: test createdBy + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'deliveryReceipt' + */ + @Test + public void deliveryReceiptTest() { + // TODO: test deliveryReceipt + } + + /** + * Test the property 'disappearingMessage' + */ + @Test + public void disappearingMessageTest() { + // TODO: test disappearingMessage + } + + /** + * Test the property 'freeze' + */ + @Test + public void freezeTest() { + // TODO: test freeze + } + + /** + * Test the property 'hasAiBot' + */ + @Test + public void hasAiBotTest() { + // TODO: test hasAiBot + } + + /** + * Test the property 'hasBot' + */ + @Test + public void hasBotTest() { + // TODO: test hasBot + } + + /** + * Test the property 'hiddenState' + */ + @Test + public void hiddenStateTest() { + // TODO: test hiddenState + } + + /** + * Test the property 'ignoreProfanityFilter' + */ + @Test + public void ignoreProfanityFilterTest() { + // TODO: test ignoreProfanityFilter + } + + /** + * Test the property 'invitedAt' + */ + @Test + public void invitedAtTest() { + // TODO: test invitedAt + } + + /** + * Test the property 'inviter' + */ + @Test + public void inviterTest() { + // TODO: test inviter + } + + /** + * Test the property 'isAccessCodeRequired' + */ + @Test + public void isAccessCodeRequiredTest() { + // TODO: test isAccessCodeRequired + } + + /** + * Test the property 'isBroadcast' + */ + @Test + public void isBroadcastTest() { + // TODO: test isBroadcast + } + + /** + * Test the property 'isDiscoverable' + */ + @Test + public void isDiscoverableTest() { + // TODO: test isDiscoverable + } + + /** + * Test the property 'isDistinct' + */ + @Test + public void isDistinctTest() { + // TODO: test isDistinct + } + + /** + * Test the property 'isEphemeral' + */ + @Test + public void isEphemeralTest() { + // TODO: test isEphemeral + } + + /** + * Test the property 'isExclusive' + */ + @Test + public void isExclusiveTest() { + // TODO: test isExclusive + } + + /** + * Test the property 'isHidden' + */ + @Test + public void isHiddenTest() { + // TODO: test isHidden + } + + /** + * Test the property 'isMuted' + */ + @Test + public void isMutedTest() { + // TODO: test isMuted + } + + /** + * Test the property 'isPublic' + */ + @Test + public void isPublicTest() { + // TODO: test isPublic + } + + /** + * Test the property 'isPushEnabled' + */ + @Test + public void isPushEnabledTest() { + // TODO: test isPushEnabled + } + + /** + * Test the property 'isSuper' + */ + @Test + public void isSuperTest() { + // TODO: test isSuper + } + + /** + * Test the property 'joinedMemberCount' + */ + @Test + public void joinedMemberCountTest() { + // TODO: test joinedMemberCount + } + + /** + * Test the property 'joinedTs' + */ + @Test + public void joinedTsTest() { + // TODO: test joinedTs + } + + /** + * Test the property 'lastMessage' + */ + @Test + public void lastMessageTest() { + // TODO: test lastMessage + } + + /** + * Test the property 'maxLengthMessage' + */ + @Test + public void maxLengthMessageTest() { + // TODO: test maxLengthMessage + } + + /** + * Test the property 'memberCount' + */ + @Test + public void memberCountTest() { + // TODO: test memberCount + } + + /** + * Test the property 'memberState' + */ + @Test + public void memberStateTest() { + // TODO: test memberState + } + + /** + * Test the property 'members' + */ + @Test + public void membersTest() { + // TODO: test members + } + + /** + * Test the property 'messageSurvivalSeconds' + */ + @Test + public void messageSurvivalSecondsTest() { + // TODO: test messageSurvivalSeconds + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + + /** + * Test the property 'myRole' + */ + @Test + public void myRoleTest() { + // TODO: test myRole + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'pushTriggerOption' + */ + @Test + public void pushTriggerOptionTest() { + // TODO: test pushTriggerOption + } + + /** + * Test the property 'readReceipt' + */ + @Test + public void readReceiptTest() { + // TODO: test readReceipt + } + + /** + * Test the property 'smsFallback' + */ + @Test + public void smsFallbackTest() { + // TODO: test smsFallback + } + + /** + * Test the property 'tsMessageOffset' + */ + @Test + public void tsMessageOffsetTest() { + // TODO: test tsMessageOffset + } + + /** + * Test the property 'unreadMentionCount' + */ + @Test + public void unreadMentionCountTest() { + // TODO: test unreadMentionCount + } + + /** + * Test the property 'unreadMessageCount' + */ + @Test + public void unreadMessageCountTest() { + // TODO: test unreadMessageCount + } + + /** + * Test the property 'userLastRead' + */ + @Test + public void userLastReadTest() { + // TODO: test userLastRead + } + + /** + * Test the property 'operators' + */ + @Test + public void operatorsTest() { + // TODO: test operators + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdJoinAChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdJoinAChannelRequestTest.java new file mode 100644 index 00000000..7bca77b6 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdJoinAChannelRequestTest.java @@ -0,0 +1,62 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdJoinAChannelRequest + */ +public class SendBirdJoinAChannelRequestTest { + private final SendBirdJoinAChannelRequest model = new SendBirdJoinAChannelRequest(); + + /** + * Model tests for SendBirdJoinAChannelRequest + */ + @Test + public void testSendBirdJoinAChannelRequest() { + // TODO: test SendBirdJoinAChannelRequest + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'accessCode' + */ + @Test + public void accessCodeTest() { + // TODO: test accessCode + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdJoinChannelsRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdJoinChannelsRequestTest.java new file mode 100644 index 00000000..4b04da4e --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdJoinChannelsRequestTest.java @@ -0,0 +1,52 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdJoinChannelsRequest + */ +public class SendBirdJoinChannelsRequestTest { + private final SendBirdJoinChannelsRequest model = new SendBirdJoinChannelsRequest(); + + /** + * Model tests for SendBirdJoinChannelsRequest + */ + @Test + public void testSendBirdJoinChannelsRequest() { + // TODO: test SendBirdJoinChannelsRequest + } + + /** + * Test the property 'channelUrls' + */ + @Test + public void channelUrlsTest() { + // TODO: test channelUrls + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdLeaveAChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdLeaveAChannelRequestTest.java new file mode 100644 index 00000000..841a6ef9 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdLeaveAChannelRequestTest.java @@ -0,0 +1,76 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdLeaveAChannelRequest + */ +public class SendBirdLeaveAChannelRequestTest { + private final SendBirdLeaveAChannelRequest model = new SendBirdLeaveAChannelRequest(); + + /** + * Model tests for SendBirdLeaveAChannelRequest + */ + @Test + public void testSendBirdLeaveAChannelRequest() { + // TODO: test SendBirdLeaveAChannelRequest + } + + /** + * Test the property 'userIds' + */ + @Test + public void userIdsTest() { + // TODO: test userIds + } + + /** + * Test the property 'shouldLeaveAll' + */ + @Test + public void shouldLeaveAllTest() { + // TODO: test shouldLeaveAll + } + + /** + * Test the property 'shouldRemoveOperatorStatus' + */ + @Test + public void shouldRemoveOperatorStatusTest() { + // TODO: test shouldRemoveOperatorStatus + } + + /** + * Test the property 'reason' + */ + @Test + public void reasonTest() { + // TODO: test reason + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequestTest.java new file mode 100644 index 00000000..06211ea7 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequestTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdLeaveMyGroupChannelsRequest + */ +public class SendBirdLeaveMyGroupChannelsRequestTest { + private final SendBirdLeaveMyGroupChannelsRequest model = new SendBirdLeaveMyGroupChannelsRequest(); + + /** + * Model tests for SendBirdLeaveMyGroupChannelsRequest + */ + @Test + public void testSendBirdLeaveMyGroupChannelsRequest() { + // TODO: test SendBirdLeaveMyGroupChannelsRequest + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBlockedUsersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBlockedUsersResponseTest.java new file mode 100644 index 00000000..a600df21 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListBlockedUsersResponseTest.java @@ -0,0 +1,61 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdUser; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListBlockedUsersResponse + */ +public class SendBirdListBlockedUsersResponseTest { + private final SendBirdListBlockedUsersResponse model = new SendBirdListBlockedUsersResponse(); + + /** + * Model tests for SendBirdListBlockedUsersResponse + */ + @Test + public void testSendBirdListBlockedUsersResponse() { + // TODO: test SendBirdListBlockedUsersResponse + } + + /** + * Test the property 'users' + */ + @Test + public void usersTest() { + // TODO: test users + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColorTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColorTest.java new file mode 100644 index 00000000..b2c803ea --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColorTest.java @@ -0,0 +1,66 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListBotsResponseBotsInnerBotStyleColor + */ +public class SendBirdListBotsResponseBotsInnerBotStyleColorTest { + private final SendBirdListBotsResponseBotsInnerBotStyleColor model = new SendBirdListBotsResponseBotsInnerBotStyleColor(); + + /** + * Model tests for SendBirdListBotsResponseBotsInnerBotStyleColor + */ + @Test + public void testSendBirdListBotsResponseBotsInnerBotStyleColor() { + // TODO: test SendBirdListBotsResponseBotsInnerBotStyleColor + } + + /** + * Test the property 'accentColor' + */ + @Test + public void accentColorTest() { + // TODO: test accentColor + } + + /** + * Test the property 'botMessageColor' + */ + @Test + public void botMessageColorTest() { + // TODO: test botMessageColor + } + + /** + * Test the property 'theme' + */ + @Test + public void themeTest() { + // TODO: test theme + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleTest.java new file mode 100644 index 00000000..fc12a93d --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleTest.java @@ -0,0 +1,79 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyleColor; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListBotsResponseBotsInnerBotStyle + */ +public class SendBirdListBotsResponseBotsInnerBotStyleTest { + private final SendBirdListBotsResponseBotsInnerBotStyle model = new SendBirdListBotsResponseBotsInnerBotStyle(); + + /** + * Model tests for SendBirdListBotsResponseBotsInnerBotStyle + */ + @Test + public void testSendBirdListBotsResponseBotsInnerBotStyle() { + // TODO: test SendBirdListBotsResponseBotsInnerBotStyle + } + + /** + * Test the property 'autoOpen' + */ + @Test + public void autoOpenTest() { + // TODO: test autoOpen + } + + /** + * Test the property 'color' + */ + @Test + public void colorTest() { + // TODO: test color + } + + /** + * Test the property 'toggleButtonType' + */ + @Test + public void toggleButtonTypeTest() { + // TODO: test toggleButtonType + } + + /** + * Test the property 'toggleButtonUrl' + */ + @Test + public void toggleButtonUrlTest() { + // TODO: test toggleButtonUrl + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotTest.java new file mode 100644 index 00000000..7716fb0f --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotTest.java @@ -0,0 +1,106 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListBotsResponseBotsInnerBot + */ +public class SendBirdListBotsResponseBotsInnerBotTest { + private final SendBirdListBotsResponseBotsInnerBot model = new SendBirdListBotsResponseBotsInnerBot(); + + /** + * Model tests for SendBirdListBotsResponseBotsInnerBot + */ + @Test + public void testSendBirdListBotsResponseBotsInnerBot() { + // TODO: test SendBirdListBotsResponseBotsInnerBot + } + + /** + * Test the property 'aiAgentType' + */ + @Test + public void aiAgentTypeTest() { + // TODO: test aiAgentType + } + + /** + * Test the property 'botMetadata' + */ + @Test + public void botMetadataTest() { + // TODO: test botMetadata + } + + /** + * Test the property 'botNickname' + */ + @Test + public void botNicknameTest() { + // TODO: test botNickname + } + + /** + * Test the property 'botProfileUrl' + */ + @Test + public void botProfileUrlTest() { + // TODO: test botProfileUrl + } + + /** + * Test the property 'botRequireAuthForProfileImage' + */ + @Test + public void botRequireAuthForProfileImageTest() { + // TODO: test botRequireAuthForProfileImage + } + + /** + * Test the property 'botToken' + */ + @Test + public void botTokenTest() { + // TODO: test botToken + } + + /** + * Test the property 'botType' + */ + @Test + public void botTypeTest() { + // TODO: test botType + } + + /** + * Test the property 'botUserid' + */ + @Test + public void botUseridTest() { + // TODO: test botUserid + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest.java new file mode 100644 index 00000000..f8aff4f0 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest.java @@ -0,0 +1,52 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListBotsResponseBotsInnerFirstMessagesInnerData + */ +public class SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest { + private final SendBirdListBotsResponseBotsInnerFirstMessagesInnerData model = new SendBirdListBotsResponseBotsInnerFirstMessagesInnerData(); + + /** + * Model tests for SendBirdListBotsResponseBotsInnerFirstMessagesInnerData + */ + @Test + public void testSendBirdListBotsResponseBotsInnerFirstMessagesInnerData() { + // TODO: test SendBirdListBotsResponseBotsInnerFirstMessagesInnerData + } + + /** + * Test the property 'suggestedReplies' + */ + @Test + public void suggestedRepliesTest() { + // TODO: test suggestedReplies + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest.java new file mode 100644 index 00000000..c69860c2 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest.java @@ -0,0 +1,59 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerFirstMessagesInnerData; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListBotsResponseBotsInnerFirstMessagesInner + */ +public class SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest { + private final SendBirdListBotsResponseBotsInnerFirstMessagesInner model = new SendBirdListBotsResponseBotsInnerFirstMessagesInner(); + + /** + * Model tests for SendBirdListBotsResponseBotsInnerFirstMessagesInner + */ + @Test + public void testSendBirdListBotsResponseBotsInnerFirstMessagesInner() { + // TODO: test SendBirdListBotsResponseBotsInnerFirstMessagesInner + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguardTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguardTest.java new file mode 100644 index 00000000..b17a0de5 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguardTest.java @@ -0,0 +1,76 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListBotsResponseBotsInnerSafeguard + */ +public class SendBirdListBotsResponseBotsInnerSafeguardTest { + private final SendBirdListBotsResponseBotsInnerSafeguard model = new SendBirdListBotsResponseBotsInnerSafeguard(); + + /** + * Model tests for SendBirdListBotsResponseBotsInnerSafeguard + */ + @Test + public void testSendBirdListBotsResponseBotsInnerSafeguard() { + // TODO: test SendBirdListBotsResponseBotsInnerSafeguard + } + + /** + * Test the property 'bannedPhrases' + */ + @Test + public void bannedPhrasesTest() { + // TODO: test bannedPhrases + } + + /** + * Test the property 'enabled' + */ + @Test + public void enabledTest() { + // TODO: test enabled + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'piiMasking' + */ + @Test + public void piiMaskingTest() { + // TODO: test piiMasking + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerTest.java new file mode 100644 index 00000000..b99d906c --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerTest.java @@ -0,0 +1,128 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBot; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyle; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerFirstMessagesInner; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerSafeguard; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListBotsResponseBotsInner + */ +public class SendBirdListBotsResponseBotsInnerTest { + private final SendBirdListBotsResponseBotsInner model = new SendBirdListBotsResponseBotsInner(); + + /** + * Model tests for SendBirdListBotsResponseBotsInner + */ + @Test + public void testSendBirdListBotsResponseBotsInner() { + // TODO: test SendBirdListBotsResponseBotsInner + } + + /** + * Test the property 'bot' + */ + @Test + public void botTest() { + // TODO: test bot + } + + /** + * Test the property 'botCallbackUrl' + */ + @Test + public void botCallbackUrlTest() { + // TODO: test botCallbackUrl + } + + /** + * Test the property 'botStyle' + */ + @Test + public void botStyleTest() { + // TODO: test botStyle + } + + /** + * Test the property 'channelInvitationPreference' + */ + @Test + public void channelInvitationPreferenceTest() { + // TODO: test channelInvitationPreference + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'enableMarkAsRead' + */ + @Test + public void enableMarkAsReadTest() { + // TODO: test enableMarkAsRead + } + + /** + * Test the property 'firstMessages' + */ + @Test + public void firstMessagesTest() { + // TODO: test firstMessages + } + + /** + * Test the property 'isPrivacyMode' + */ + @Test + public void isPrivacyModeTest() { + // TODO: test isPrivacyMode + } + + /** + * Test the property 'safeguard' + */ + @Test + public void safeguardTest() { + // TODO: test safeguard + } + + /** + * Test the property 'showMember' + */ + @Test + public void showMemberTest() { + // TODO: test showMember + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseTest.java new file mode 100644 index 00000000..33b18ac2 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseTest.java @@ -0,0 +1,61 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdListBotsResponseBotsInner; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListBotsResponse + */ +public class SendBirdListBotsResponseTest { + private final SendBirdListBotsResponse model = new SendBirdListBotsResponse(); + + /** + * Model tests for SendBirdListBotsResponse + */ + @Test + public void testSendBirdListBotsResponse() { + // TODO: test SendBirdListBotsResponse + } + + /** + * Test the property 'bots' + */ + @Test + public void botsTest() { + // TODO: test bots + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListMessagesResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListMessagesResponseTest.java new file mode 100644 index 00000000..7d30546d --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListMessagesResponseTest.java @@ -0,0 +1,53 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdMessageResponse; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListMessagesResponse + */ +public class SendBirdListMessagesResponseTest { + private final SendBirdListMessagesResponse model = new SendBirdListMessagesResponse(); + + /** + * Model tests for SendBirdListMessagesResponse + */ + @Test + public void testSendBirdListMessagesResponse() { + // TODO: test SendBirdListMessagesResponse + } + + /** + * Test the property 'messages' + */ + @Test + public void messagesTest() { + // TODO: test messages + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponseTest.java new file mode 100644 index 00000000..7f215c26 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponseTest.java @@ -0,0 +1,69 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdGroupChannel; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListMyGroupChannelsResponse + */ +public class SendBirdListMyGroupChannelsResponseTest { + private final SendBirdListMyGroupChannelsResponse model = new SendBirdListMyGroupChannelsResponse(); + + /** + * Model tests for SendBirdListMyGroupChannelsResponse + */ + @Test + public void testSendBirdListMyGroupChannelsResponse() { + // TODO: test SendBirdListMyGroupChannelsResponse + } + + /** + * Test the property 'channels' + */ + @Test + public void channelsTest() { + // TODO: test channels + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + + /** + * Test the property 'ts' + */ + @Test + public void tsTest() { + // TODO: test ts + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListOpenChannelsResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListOpenChannelsResponseTest.java new file mode 100644 index 00000000..541431e3 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListOpenChannelsResponseTest.java @@ -0,0 +1,69 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdOpenChannel; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListOpenChannelsResponse + */ +public class SendBirdListOpenChannelsResponseTest { + private final SendBirdListOpenChannelsResponse model = new SendBirdListOpenChannelsResponse(); + + /** + * Model tests for SendBirdListOpenChannelsResponse + */ + @Test + public void testSendBirdListOpenChannelsResponse() { + // TODO: test SendBirdListOpenChannelsResponse + } + + /** + * Test the property 'channels' + */ + @Test + public void channelsTest() { + // TODO: test channels + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + + /** + * Test the property 'ts' + */ + @Test + public void tsTest() { + // TODO: test ts + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListOperatorsResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListOperatorsResponseTest.java new file mode 100644 index 00000000..0bc718f3 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListOperatorsResponseTest.java @@ -0,0 +1,61 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListOperatorsResponse + */ +public class SendBirdListOperatorsResponseTest { + private final SendBirdListOperatorsResponse model = new SendBirdListOperatorsResponse(); + + /** + * Model tests for SendBirdListOperatorsResponse + */ + @Test + public void testSendBirdListOperatorsResponse() { + // TODO: test SendBirdListOperatorsResponse + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + + /** + * Test the property 'operators' + */ + @Test + public void operatorsTest() { + // TODO: test operators + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponseTest.java new file mode 100644 index 00000000..a8d7584c --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponseTest.java @@ -0,0 +1,77 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListRegistrationOrDeviceTokensResponse + */ +public class SendBirdListRegistrationOrDeviceTokensResponseTest { + private final SendBirdListRegistrationOrDeviceTokensResponse model = new SendBirdListRegistrationOrDeviceTokensResponse(); + + /** + * Model tests for SendBirdListRegistrationOrDeviceTokensResponse + */ + @Test + public void testSendBirdListRegistrationOrDeviceTokensResponse() { + // TODO: test SendBirdListRegistrationOrDeviceTokensResponse + } + + /** + * Test the property 'token' + */ + @Test + public void tokenTest() { + // TODO: test token + } + + /** + * Test the property 'tokens' + */ + @Test + public void tokensTest() { + // TODO: test tokens + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'user' + */ + @Test + public void userTest() { + // TODO: test user + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListUsersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListUsersResponseTest.java new file mode 100644 index 00000000..1706d762 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdListUsersResponseTest.java @@ -0,0 +1,61 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdUser; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdListUsersResponse + */ +public class SendBirdListUsersResponseTest { + private final SendBirdListUsersResponse model = new SendBirdListUsersResponse(); + + /** + * Model tests for SendBirdListUsersResponse + */ + @Test + public void testSendBirdListUsersResponse() { + // TODO: test SendBirdListUsersResponse + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + + /** + * Test the property 'users' + */ + @Test + public void usersTest() { + // TODO: test users + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequestTest.java new file mode 100644 index 00000000..2a127b8f --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequestTest.java @@ -0,0 +1,52 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdMarkAllMessagesAsReadRequest + */ +public class SendBirdMarkAllMessagesAsReadRequestTest { + private final SendBirdMarkAllMessagesAsReadRequest model = new SendBirdMarkAllMessagesAsReadRequest(); + + /** + * Model tests for SendBirdMarkAllMessagesAsReadRequest + */ + @Test + public void testSendBirdMarkAllMessagesAsReadRequest() { + // TODO: test SendBirdMarkAllMessagesAsReadRequest + } + + /** + * Test the property 'channelUrls' + */ + @Test + public void channelUrlsTest() { + // TODO: test channelUrls + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequestTest.java new file mode 100644 index 00000000..6f55f69d --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequestTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdMarkChannelMessagesAsReadRequest + */ +public class SendBirdMarkChannelMessagesAsReadRequestTest { + private final SendBirdMarkChannelMessagesAsReadRequest model = new SendBirdMarkChannelMessagesAsReadRequest(); + + /** + * Model tests for SendBirdMarkChannelMessagesAsReadRequest + */ + @Test + public void testSendBirdMarkChannelMessagesAsReadRequest() { + // TODO: test SendBirdMarkChannelMessagesAsReadRequest + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequestTest.java new file mode 100644 index 00000000..25c848fe --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequestTest.java @@ -0,0 +1,116 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdMigrateMessagesAdminMessageRequest + */ +public class SendBirdMigrateMessagesAdminMessageRequestTest { + private final SendBirdMigrateMessagesAdminMessageRequest model = new SendBirdMigrateMessagesAdminMessageRequest(); + + /** + * Model tests for SendBirdMigrateMessagesAdminMessageRequest + */ + @Test + public void testSendBirdMigrateMessagesAdminMessageRequest() { + // TODO: test SendBirdMigrateMessagesAdminMessageRequest + } + + /** + * Test the property 'messageType' + */ + @Test + public void messageTypeTest() { + // TODO: test messageType + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'timestamp' + */ + @Test + public void timestampTest() { + // TODO: test timestamp + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'isSilent' + */ + @Test + public void isSilentTest() { + // TODO: test isSilent + } + + /** + * Test the property 'mentionedUserIds' + */ + @Test + public void mentionedUserIdsTest() { + // TODO: test mentionedUserIds + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'dedupId' + */ + @Test + public void dedupIdTest() { + // TODO: test dedupId + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestTest.java new file mode 100644 index 00000000..89bc69a1 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestTest.java @@ -0,0 +1,157 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequestThumbnailsInner; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdMigrateMessagesFileMessageRequest + */ +public class SendBirdMigrateMessagesFileMessageRequestTest { + private final SendBirdMigrateMessagesFileMessageRequest model = new SendBirdMigrateMessagesFileMessageRequest(); + + /** + * Model tests for SendBirdMigrateMessagesFileMessageRequest + */ + @Test + public void testSendBirdMigrateMessagesFileMessageRequest() { + // TODO: test SendBirdMigrateMessagesFileMessageRequest + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'messageType' + */ + @Test + public void messageTypeTest() { + // TODO: test messageType + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + + /** + * Test the property 'timestamp' + */ + @Test + public void timestampTest() { + // TODO: test timestamp + } + + /** + * Test the property 'fileName' + */ + @Test + public void fileNameTest() { + // TODO: test fileName + } + + /** + * Test the property 'fileSize' + */ + @Test + public void fileSizeTest() { + // TODO: test fileSize + } + + /** + * Test the property 'fileType' + */ + @Test + public void fileTypeTest() { + // TODO: test fileType + } + + /** + * Test the property 'thumbnails' + */ + @Test + public void thumbnailsTest() { + // TODO: test thumbnails + } + + /** + * Test the property 'requireAuth' + */ + @Test + public void requireAuthTest() { + // TODO: test requireAuth + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'customField' + */ + @Test + public void customFieldTest() { + // TODO: test customField + } + + /** + * Test the property 'mentionedUserIds' + */ + @Test + public void mentionedUserIdsTest() { + // TODO: test mentionedUserIds + } + + /** + * Test the property 'dedupId' + */ + @Test + public void dedupIdTest() { + // TODO: test dedupId + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest.java new file mode 100644 index 00000000..68c75f83 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest.java @@ -0,0 +1,35 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdMigrateMessagesFileMessageRequestThumbnailsInner + */ +public class SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest { + private final SendBirdMigrateMessagesFileMessageRequestThumbnailsInner model = new SendBirdMigrateMessagesFileMessageRequestThumbnailsInner(); + + /** + * Model tests for SendBirdMigrateMessagesFileMessageRequestThumbnailsInner + */ + @Test + public void testSendBirdMigrateMessagesFileMessageRequestThumbnailsInner() { + // TODO: test SendBirdMigrateMessagesFileMessageRequestThumbnailsInner + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInnerTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInnerTest.java new file mode 100644 index 00000000..9fa74736 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInnerTest.java @@ -0,0 +1,184 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdMigrateMessagesAdminMessageRequest; +import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequest; +import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequestThumbnailsInner; +import org.openapitools.client.model.SendBirdMigrateMessagesTextMessageRequest; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdMigrateMessagesRequestMessagesInner + */ +public class SendBirdMigrateMessagesRequestMessagesInnerTest { + private final SendBirdMigrateMessagesRequestMessagesInner model = new SendBirdMigrateMessagesRequestMessagesInner(); + + /** + * Model tests for SendBirdMigrateMessagesRequestMessagesInner + */ + @Test + public void testSendBirdMigrateMessagesRequestMessagesInner() { + // TODO: test SendBirdMigrateMessagesRequestMessagesInner + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'messageType' + */ + @Test + public void messageTypeTest() { + // TODO: test messageType + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'timestamp' + */ + @Test + public void timestampTest() { + // TODO: test timestamp + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'mentionedUserIds' + */ + @Test + public void mentionedUserIdsTest() { + // TODO: test mentionedUserIds + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'dedupId' + */ + @Test + public void dedupIdTest() { + // TODO: test dedupId + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + + /** + * Test the property 'fileName' + */ + @Test + public void fileNameTest() { + // TODO: test fileName + } + + /** + * Test the property 'fileSize' + */ + @Test + public void fileSizeTest() { + // TODO: test fileSize + } + + /** + * Test the property 'fileType' + */ + @Test + public void fileTypeTest() { + // TODO: test fileType + } + + /** + * Test the property 'thumbnails' + */ + @Test + public void thumbnailsTest() { + // TODO: test thumbnails + } + + /** + * Test the property 'requireAuth' + */ + @Test + public void requireAuthTest() { + // TODO: test requireAuth + } + + /** + * Test the property 'customField' + */ + @Test + public void customFieldTest() { + // TODO: test customField + } + + /** + * Test the property 'isSilent' + */ + @Test + public void isSilentTest() { + // TODO: test isSilent + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestTest.java new file mode 100644 index 00000000..5e4d9ae2 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestTest.java @@ -0,0 +1,69 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdMigrateMessagesRequestMessagesInner; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdMigrateMessagesRequest + */ +public class SendBirdMigrateMessagesRequestTest { + private final SendBirdMigrateMessagesRequest model = new SendBirdMigrateMessagesRequest(); + + /** + * Model tests for SendBirdMigrateMessagesRequest + */ + @Test + public void testSendBirdMigrateMessagesRequest() { + // TODO: test SendBirdMigrateMessagesRequest + } + + /** + * Test the property 'messages' + */ + @Test + public void messagesTest() { + // TODO: test messages + } + + /** + * Test the property 'updateReadTs' + */ + @Test + public void updateReadTsTest() { + // TODO: test updateReadTs + } + + /** + * Test the property 'rewindReadTs' + */ + @Test + public void rewindReadTsTest() { + // TODO: test rewindReadTs + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequestTest.java new file mode 100644 index 00000000..8157ad43 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequestTest.java @@ -0,0 +1,116 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdMigrateMessagesTextMessageRequest + */ +public class SendBirdMigrateMessagesTextMessageRequestTest { + private final SendBirdMigrateMessagesTextMessageRequest model = new SendBirdMigrateMessagesTextMessageRequest(); + + /** + * Model tests for SendBirdMigrateMessagesTextMessageRequest + */ + @Test + public void testSendBirdMigrateMessagesTextMessageRequest() { + // TODO: test SendBirdMigrateMessagesTextMessageRequest + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'messageType' + */ + @Test + public void messageTypeTest() { + // TODO: test messageType + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'timestamp' + */ + @Test + public void timestampTest() { + // TODO: test timestamp + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'mentionedUserIds' + */ + @Test + public void mentionedUserIdsTest() { + // TODO: test mentionedUserIds + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'dedupId' + */ + @Test + public void dedupIdTest() { + // TODO: test dedupId + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequestTest.java new file mode 100644 index 00000000..1eebc6ab --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequestTest.java @@ -0,0 +1,52 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdRegisterOperatorsToAGroupChannelRequest + */ +public class SendBirdRegisterOperatorsToAGroupChannelRequestTest { + private final SendBirdRegisterOperatorsToAGroupChannelRequest model = new SendBirdRegisterOperatorsToAGroupChannelRequest(); + + /** + * Model tests for SendBirdRegisterOperatorsToAGroupChannelRequest + */ + @Test + public void testSendBirdRegisterOperatorsToAGroupChannelRequest() { + // TODO: test SendBirdRegisterOperatorsToAGroupChannelRequest + } + + /** + * Test the property 'operatorIds' + */ + @Test + public void operatorIdsTest() { + // TODO: test operatorIds + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponseTest.java new file mode 100644 index 00000000..8c117f3c --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponseTest.java @@ -0,0 +1,59 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdRemoveARegistrationOrDeviceTokenResponse + */ +public class SendBirdRemoveARegistrationOrDeviceTokenResponseTest { + private final SendBirdRemoveARegistrationOrDeviceTokenResponse model = new SendBirdRemoveARegistrationOrDeviceTokenResponse(); + + /** + * Model tests for SendBirdRemoveARegistrationOrDeviceTokenResponse + */ + @Test + public void testSendBirdRemoveARegistrationOrDeviceTokenResponse() { + // TODO: test SendBirdRemoveARegistrationOrDeviceTokenResponse + } + + /** + * Test the property 'token' + */ + @Test + public void tokenTest() { + // TODO: test token + } + + /** + * Test the property 'user' + */ + @Test + public void userTest() { + // TODO: test user + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest.java new file mode 100644 index 00000000..6e2f7abf --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest.java @@ -0,0 +1,61 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdRemoveAllRegistrationOrDeviceTokenResponse + */ +public class SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest { + private final SendBirdRemoveAllRegistrationOrDeviceTokenResponse model = new SendBirdRemoveAllRegistrationOrDeviceTokenResponse(); + + /** + * Model tests for SendBirdRemoveAllRegistrationOrDeviceTokenResponse + */ + @Test + public void testSendBirdRemoveAllRegistrationOrDeviceTokenResponse() { + // TODO: test SendBirdRemoveAllRegistrationOrDeviceTokenResponse + } + + /** + * Test the property 'token' + */ + @Test + public void tokenTest() { + // TODO: test token + } + + /** + * Test the property 'user' + */ + @Test + public void userTest() { + // TODO: test user + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryRequestTest.java new file mode 100644 index 00000000..d4959296 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryRequestTest.java @@ -0,0 +1,58 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdResetChatHistoryRequest + */ +public class SendBirdResetChatHistoryRequestTest { + private final SendBirdResetChatHistoryRequest model = new SendBirdResetChatHistoryRequest(); + + /** + * Model tests for SendBirdResetChatHistoryRequest + */ + @Test + public void testSendBirdResetChatHistoryRequest() { + // TODO: test SendBirdResetChatHistoryRequest + } + + /** + * Test the property 'resetAll' + */ + @Test + public void resetAllTest() { + // TODO: test resetAll + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryResponseTest.java new file mode 100644 index 00000000..7c71fbd8 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryResponseTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdResetChatHistoryResponse + */ +public class SendBirdResetChatHistoryResponseTest { + private final SendBirdResetChatHistoryResponse model = new SendBirdResetChatHistoryResponse(); + + /** + * Model tests for SendBirdResetChatHistoryResponse + */ + @Test + public void testSendBirdResetChatHistoryResponse() { + // TODO: test SendBirdResetChatHistoryResponse + } + + /** + * Test the property 'tsMessageOffset' + */ + @Test + public void tsMessageOffsetTest() { + // TODO: test tsMessageOffset + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest.java b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest.java new file mode 100644 index 00000000..fe8bb952 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest.java @@ -0,0 +1,82 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdScheduleAnAnnouncementRequestCreateChannelOptions + */ +public class SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest { + private final SendBirdScheduleAnAnnouncementRequestCreateChannelOptions model = new SendBirdScheduleAnAnnouncementRequestCreateChannelOptions(); + + /** + * Model tests for SendBirdScheduleAnAnnouncementRequestCreateChannelOptions + */ + @Test + public void testSendBirdScheduleAnAnnouncementRequestCreateChannelOptions() { + // TODO: test SendBirdScheduleAnAnnouncementRequestCreateChannelOptions + } + + /** + * Test the property 'coverUrl' + */ + @Test + public void coverUrlTest() { + // TODO: test coverUrl + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'distinct' + */ + @Test + public void distinctTest() { + // TODO: test distinct + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessageTest.java b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessageTest.java new file mode 100644 index 00000000..fb914b03 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessageTest.java @@ -0,0 +1,82 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdScheduleAnAnnouncementRequestMessage + */ +public class SendBirdScheduleAnAnnouncementRequestMessageTest { + private final SendBirdScheduleAnAnnouncementRequestMessage model = new SendBirdScheduleAnAnnouncementRequestMessage(); + + /** + * Model tests for SendBirdScheduleAnAnnouncementRequestMessage + */ + @Test + public void testSendBirdScheduleAnAnnouncementRequestMessage() { + // TODO: test SendBirdScheduleAnAnnouncementRequestMessage + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestTest.java new file mode 100644 index 00000000..465fc4f0 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestTest.java @@ -0,0 +1,190 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestCreateChannelOptions; +import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestMessage; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdScheduleAnAnnouncementRequest + */ +public class SendBirdScheduleAnAnnouncementRequestTest { + private final SendBirdScheduleAnAnnouncementRequest model = new SendBirdScheduleAnAnnouncementRequest(); + + /** + * Model tests for SendBirdScheduleAnAnnouncementRequest + */ + @Test + public void testSendBirdScheduleAnAnnouncementRequest() { + // TODO: test SendBirdScheduleAnAnnouncementRequest + } + + /** + * Test the property 'announcementGroup' + */ + @Test + public void announcementGroupTest() { + // TODO: test announcementGroup + } + + /** + * Test the property 'assignSenderAsChannelInviter' + */ + @Test + public void assignSenderAsChannelInviterTest() { + // TODO: test assignSenderAsChannelInviter + } + + /** + * Test the property 'ceaseAt' + */ + @Test + public void ceaseAtTest() { + // TODO: test ceaseAt + } + + /** + * Test the property 'createChannel' + */ + @Test + public void createChannelTest() { + // TODO: test createChannel + } + + /** + * Test the property 'createChannelOptions' + */ + @Test + public void createChannelOptionsTest() { + // TODO: test createChannelOptions + } + + /** + * Test the property 'enablePush' + */ + @Test + public void enablePushTest() { + // TODO: test enablePush + } + + /** + * Test the property 'endAt' + */ + @Test + public void endAtTest() { + // TODO: test endAt + } + + /** + * Test the property 'keepChannelHiddenForSender' + */ + @Test + public void keepChannelHiddenForSenderTest() { + // TODO: test keepChannelHiddenForSender + } + + /** + * Test the property 'markAsRead' + */ + @Test + public void markAsReadTest() { + // TODO: test markAsRead + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'resumeAt' + */ + @Test + public void resumeAtTest() { + // TODO: test resumeAt + } + + /** + * Test the property 'scheduledAt' + */ + @Test + public void scheduledAtTest() { + // TODO: test scheduledAt + } + + /** + * Test the property 'sendToFrozenChannels' + */ + @Test + public void sendToFrozenChannelsTest() { + // TODO: test sendToFrozenChannels + } + + /** + * Test the property 'targetAt' + */ + @Test + public void targetAtTest() { + // TODO: test targetAt + } + + /** + * Test the property 'targetChannelType' + */ + @Test + public void targetChannelTypeTest() { + // TODO: test targetChannelType + } + + /** + * Test the property 'targetCustomType' + */ + @Test + public void targetCustomTypeTest() { + // TODO: test targetCustomType + } + + /** + * Test the property 'targetList' + */ + @Test + public void targetListTest() { + // TODO: test targetList + } + + /** + * Test the property 'uniqueId' + */ + @Test + public void uniqueIdTest() { + // TODO: test uniqueId + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessageTest.java b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessageTest.java new file mode 100644 index 00000000..effcb792 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessageTest.java @@ -0,0 +1,90 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdScheduleAnAnnouncementResponseMessage + */ +public class SendBirdScheduleAnAnnouncementResponseMessageTest { + private final SendBirdScheduleAnAnnouncementResponseMessage model = new SendBirdScheduleAnAnnouncementResponseMessage(); + + /** + * Model tests for SendBirdScheduleAnAnnouncementResponseMessage + */ + @Test + public void testSendBirdScheduleAnAnnouncementResponseMessage() { + // TODO: test SendBirdScheduleAnAnnouncementResponseMessage + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'messageRetentionHour' + */ + @Test + public void messageRetentionHourTest() { + // TODO: test messageRetentionHour + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseTest.java new file mode 100644 index 00000000..47adfec5 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseTest.java @@ -0,0 +1,237 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.math.BigDecimal; +import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestCreateChannelOptions; +import org.openapitools.client.model.SendBirdScheduleAnAnnouncementResponseMessage; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdScheduleAnAnnouncementResponse + */ +public class SendBirdScheduleAnAnnouncementResponseTest { + private final SendBirdScheduleAnAnnouncementResponse model = new SendBirdScheduleAnAnnouncementResponse(); + + /** + * Model tests for SendBirdScheduleAnAnnouncementResponse + */ + @Test + public void testSendBirdScheduleAnAnnouncementResponse() { + // TODO: test SendBirdScheduleAnAnnouncementResponse + } + + /** + * Test the property 'announcementGroup' + */ + @Test + public void announcementGroupTest() { + // TODO: test announcementGroup + } + + /** + * Test the property 'ceaseAt' + */ + @Test + public void ceaseAtTest() { + // TODO: test ceaseAt + } + + /** + * Test the property 'completedAt' + */ + @Test + public void completedAtTest() { + // TODO: test completedAt + } + + /** + * Test the property 'createChannel' + */ + @Test + public void createChannelTest() { + // TODO: test createChannel + } + + /** + * Test the property 'createChannelOptions' + */ + @Test + public void createChannelOptionsTest() { + // TODO: test createChannelOptions + } + + /** + * Test the property 'enablePush' + */ + @Test + public void enablePushTest() { + // TODO: test enablePush + } + + /** + * Test the property 'endAt' + */ + @Test + public void endAtTest() { + // TODO: test endAt + } + + /** + * Test the property 'markAsRead' + */ + @Test + public void markAsReadTest() { + // TODO: test markAsRead + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'openCount' + */ + @Test + public void openCountTest() { + // TODO: test openCount + } + + /** + * Test the property 'openRate' + */ + @Test + public void openRateTest() { + // TODO: test openRate + } + + /** + * Test the property 'priority' + */ + @Test + public void priorityTest() { + // TODO: test priority + } + + /** + * Test the property 'resumeAt' + */ + @Test + public void resumeAtTest() { + // TODO: test resumeAt + } + + /** + * Test the property 'scheduledAt' + */ + @Test + public void scheduledAtTest() { + // TODO: test scheduledAt + } + + /** + * Test the property 'sendToFrozenChannels' + */ + @Test + public void sendToFrozenChannelsTest() { + // TODO: test sendToFrozenChannels + } + + /** + * Test the property 'sentChannelCount' + */ + @Test + public void sentChannelCountTest() { + // TODO: test sentChannelCount + } + + /** + * Test the property 'sentUserCount' + */ + @Test + public void sentUserCountTest() { + // TODO: test sentUserCount + } + + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } + + /** + * Test the property 'targetAt' + */ + @Test + public void targetAtTest() { + // TODO: test targetAt + } + + /** + * Test the property 'targetChannelCount' + */ + @Test + public void targetChannelCountTest() { + // TODO: test targetChannelCount + } + + /** + * Test the property 'targetChannelType' + */ + @Test + public void targetChannelTypeTest() { + // TODO: test targetChannelType + } + + /** + * Test the property 'targetCustomType' + */ + @Test + public void targetCustomTypeTest() { + // TODO: test targetCustomType + } + + /** + * Test the property 'targetUserCount' + */ + @Test + public void targetUserCountTest() { + // TODO: test targetUserCount + } + + /** + * Test the property 'uniqueId' + */ + @Test + public void uniqueIdTest() { + // TODO: test uniqueId + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendABotMessageResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendABotMessageResponseTest.java new file mode 100644 index 00000000..d161625b --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendABotMessageResponseTest.java @@ -0,0 +1,51 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdMessageResponse; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendABotMessageResponse + */ +public class SendBirdSendABotMessageResponseTest { + private final SendBirdSendABotMessageResponse model = new SendBirdSendABotMessageResponse(); + + /** + * Model tests for SendBirdSendABotMessageResponse + */ + @Test + public void testSendBirdSendABotMessageResponse() { + // TODO: test SendBirdSendABotMessageResponse + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOfTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOfTest.java new file mode 100644 index 00000000..8c4ec01e --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOfTest.java @@ -0,0 +1,58 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendAMessageRequestPushMessageTemplateOneOf + */ +public class SendBirdSendAMessageRequestPushMessageTemplateOneOfTest { + private final SendBirdSendAMessageRequestPushMessageTemplateOneOf model = new SendBirdSendAMessageRequestPushMessageTemplateOneOf(); + + /** + * Model tests for SendBirdSendAMessageRequestPushMessageTemplateOneOf + */ + @Test + public void testSendBirdSendAMessageRequestPushMessageTemplateOneOf() { + // TODO: test SendBirdSendAMessageRequestPushMessageTemplateOneOf + } + + /** + * Test the property 'title' + */ + @Test + public void titleTest() { + // TODO: test title + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateTest.java new file mode 100644 index 00000000..a3fb663d --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateTest.java @@ -0,0 +1,59 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplateOneOf; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendAMessageRequestPushMessageTemplate + */ +public class SendBirdSendAMessageRequestPushMessageTemplateTest { + private final SendBirdSendAMessageRequestPushMessageTemplate model = new SendBirdSendAMessageRequestPushMessageTemplate(); + + /** + * Model tests for SendBirdSendAMessageRequestPushMessageTemplate + */ + @Test + public void testSendBirdSendAMessageRequestPushMessageTemplate() { + // TODO: test SendBirdSendAMessageRequestPushMessageTemplate + } + + /** + * Test the property 'title' + */ + @Test + public void titleTest() { + // TODO: test title + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestTest.java new file mode 100644 index 00000000..82f25d3c --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestTest.java @@ -0,0 +1,256 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplate; +import org.openapitools.client.model.SendBirdSendbirdFile; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendAMessageRequest + */ +public class SendBirdSendAMessageRequestTest { + private final SendBirdSendAMessageRequest model = new SendBirdSendAMessageRequest(); + + /** + * Model tests for SendBirdSendAMessageRequest + */ + @Test + public void testSendBirdSendAMessageRequest() { + // TODO: test SendBirdSendAMessageRequest + } + + /** + * Test the property 'messageType' + */ + @Test + public void messageTypeTest() { + // TODO: test messageType + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'pushMessageTemplate' + */ + @Test + public void pushMessageTemplateTest() { + // TODO: test pushMessageTemplate + } + + /** + * Test the property 'pollId' + */ + @Test + public void pollIdTest() { + // TODO: test pollId + } + + /** + * Test the property 'files' + */ + @Test + public void filesTest() { + // TODO: test files + } + + /** + * Test the property 'requireAuth' + */ + @Test + public void requireAuthTest() { + // TODO: test requireAuth + } + + /** + * Test the property 'thumbnail1' + */ + @Test + public void thumbnail1Test() { + // TODO: test thumbnail1 + } + + /** + * Test the property 'thumbnail2' + */ + @Test + public void thumbnail2Test() { + // TODO: test thumbnail2 + } + + /** + * Test the property 'thumbnail3' + */ + @Test + public void thumbnail3Test() { + // TODO: test thumbnail3 + } + + /** + * Test the property 'thumbnails' + */ + @Test + public void thumbnailsTest() { + // TODO: test thumbnails + } + + /** + * Test the property 'apnsBundleId' + */ + @Test + public void apnsBundleIdTest() { + // TODO: test apnsBundleId + } + + /** + * Test the property 'appleCriticalAlertOptions' + */ + @Test + public void appleCriticalAlertOptionsTest() { + // TODO: test appleCriticalAlertOptions + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'dedupId' + */ + @Test + public void dedupIdTest() { + // TODO: test dedupId + } + + /** + * Test the property 'includePollDetails' + */ + @Test + public void includePollDetailsTest() { + // TODO: test includePollDetails + } + + /** + * Test the property 'isSilent' + */ + @Test + public void isSilentTest() { + // TODO: test isSilent + } + + /** + * Test the property 'markAsRead' + */ + @Test + public void markAsReadTest() { + // TODO: test markAsRead + } + + /** + * Test the property 'mentionType' + */ + @Test + public void mentionTypeTest() { + // TODO: test mentionType + } + + /** + * Test the property 'mentionedUserIds' + */ + @Test + public void mentionedUserIdsTest() { + // TODO: test mentionedUserIds + } + + /** + * Test the property 'sendPush' + */ + @Test + public void sendPushTest() { + // TODO: test sendPush + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + + /** + * Test the property 'sound' + */ + @Test + public void soundTest() { + // TODO: test sound + } + + /** + * Test the property 'volume' + */ + @Test + public void volumeTest() { + // TODO: test volume + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBodyTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBodyTest.java new file mode 100644 index 00000000..88b144e9 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBodyTest.java @@ -0,0 +1,142 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendTextMessageRequestBodyPushMessageTemplate; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendAdminMessageRequestBody + */ +public class SendBirdSendAdminMessageRequestBodyTest { + private final SendBirdSendAdminMessageRequestBody model = new SendBirdSendAdminMessageRequestBody(); + + /** + * Model tests for SendBirdSendAdminMessageRequestBody + */ + @Test + public void testSendBirdSendAdminMessageRequestBody() { + // TODO: test SendBirdSendAdminMessageRequestBody + } + + /** + * Test the property 'apnsBundleId' + */ + @Test + public void apnsBundleIdTest() { + // TODO: test apnsBundleId + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'dedupId' + */ + @Test + public void dedupIdTest() { + // TODO: test dedupId + } + + /** + * Test the property 'isSilent' + */ + @Test + public void isSilentTest() { + // TODO: test isSilent + } + + /** + * Test the property 'mentionType' + */ + @Test + public void mentionTypeTest() { + // TODO: test mentionType + } + + /** + * Test the property 'mentionedUserIds' + */ + @Test + public void mentionedUserIdsTest() { + // TODO: test mentionedUserIds + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'messageType' + */ + @Test + public void messageTypeTest() { + // TODO: test messageType + } + + /** + * Test the property 'pushMessageTemplate' + */ + @Test + public void pushMessageTemplateTest() { + // TODO: test pushMessageTemplate + } + + /** + * Test the property 'sendPush' + */ + @Test + public void sendPushTest() { + // TODO: test sendPush + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBodyTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBodyTest.java new file mode 100644 index 00000000..b67bbe27 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBodyTest.java @@ -0,0 +1,215 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdFile; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendFileMessageRequestBody + */ +public class SendBirdSendFileMessageRequestBodyTest { + private final SendBirdSendFileMessageRequestBody model = new SendBirdSendFileMessageRequestBody(); + + /** + * Model tests for SendBirdSendFileMessageRequestBody + */ + @Test + public void testSendBirdSendFileMessageRequestBody() { + // TODO: test SendBirdSendFileMessageRequestBody + } + + /** + * Test the property 'apnsBundleId' + */ + @Test + public void apnsBundleIdTest() { + // TODO: test apnsBundleId + } + + /** + * Test the property 'appleCriticalAlertOptions' + */ + @Test + public void appleCriticalAlertOptionsTest() { + // TODO: test appleCriticalAlertOptions + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'dedupId' + */ + @Test + public void dedupIdTest() { + // TODO: test dedupId + } + + /** + * Test the property 'files' + */ + @Test + public void filesTest() { + // TODO: test files + } + + /** + * Test the property 'isSilent' + */ + @Test + public void isSilentTest() { + // TODO: test isSilent + } + + /** + * Test the property 'markAsRead' + */ + @Test + public void markAsReadTest() { + // TODO: test markAsRead + } + + /** + * Test the property 'mentionType' + */ + @Test + public void mentionTypeTest() { + // TODO: test mentionType + } + + /** + * Test the property 'mentionedUserIds' + */ + @Test + public void mentionedUserIdsTest() { + // TODO: test mentionedUserIds + } + + /** + * Test the property 'messageType' + */ + @Test + public void messageTypeTest() { + // TODO: test messageType + } + + /** + * Test the property 'requireAuth' + */ + @Test + public void requireAuthTest() { + // TODO: test requireAuth + } + + /** + * Test the property 'sendPush' + */ + @Test + public void sendPushTest() { + // TODO: test sendPush + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + + /** + * Test the property 'sound' + */ + @Test + public void soundTest() { + // TODO: test sound + } + + /** + * Test the property 'thumbnail1' + */ + @Test + public void thumbnail1Test() { + // TODO: test thumbnail1 + } + + /** + * Test the property 'thumbnail2' + */ + @Test + public void thumbnail2Test() { + // TODO: test thumbnail2 + } + + /** + * Test the property 'thumbnail3' + */ + @Test + public void thumbnail3Test() { + // TODO: test thumbnail3 + } + + /** + * Test the property 'thumbnails' + */ + @Test + public void thumbnailsTest() { + // TODO: test thumbnails + } + + /** + * Test the property 'volume' + */ + @Test + public void volumeTest() { + // TODO: test volume + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplateTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplateTest.java new file mode 100644 index 00000000..7ade934e --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplateTest.java @@ -0,0 +1,59 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplateOneOf; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendTextMessageRequestBodyPushMessageTemplate + */ +public class SendBirdSendTextMessageRequestBodyPushMessageTemplateTest { + private final SendBirdSendTextMessageRequestBodyPushMessageTemplate model = new SendBirdSendTextMessageRequestBodyPushMessageTemplate(); + + /** + * Model tests for SendBirdSendTextMessageRequestBodyPushMessageTemplate + */ + @Test + public void testSendBirdSendTextMessageRequestBodyPushMessageTemplate() { + // TODO: test SendBirdSendTextMessageRequestBodyPushMessageTemplate + } + + /** + * Test the property 'title' + */ + @Test + public void titleTest() { + // TODO: test title + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyTest.java new file mode 100644 index 00000000..606119da --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyTest.java @@ -0,0 +1,199 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendTextMessageRequestBodyPushMessageTemplate; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendTextMessageRequestBody + */ +public class SendBirdSendTextMessageRequestBodyTest { + private final SendBirdSendTextMessageRequestBody model = new SendBirdSendTextMessageRequestBody(); + + /** + * Model tests for SendBirdSendTextMessageRequestBody + */ + @Test + public void testSendBirdSendTextMessageRequestBody() { + // TODO: test SendBirdSendTextMessageRequestBody + } + + /** + * Test the property 'apnsBundleId' + */ + @Test + public void apnsBundleIdTest() { + // TODO: test apnsBundleId + } + + /** + * Test the property 'appleCriticalAlertOptions' + */ + @Test + public void appleCriticalAlertOptionsTest() { + // TODO: test appleCriticalAlertOptions + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'dedupId' + */ + @Test + public void dedupIdTest() { + // TODO: test dedupId + } + + /** + * Test the property 'includePollDetails' + */ + @Test + public void includePollDetailsTest() { + // TODO: test includePollDetails + } + + /** + * Test the property 'isSilent' + */ + @Test + public void isSilentTest() { + // TODO: test isSilent + } + + /** + * Test the property 'markAsRead' + */ + @Test + public void markAsReadTest() { + // TODO: test markAsRead + } + + /** + * Test the property 'mentionType' + */ + @Test + public void mentionTypeTest() { + // TODO: test mentionType + } + + /** + * Test the property 'mentionedUserIds' + */ + @Test + public void mentionedUserIdsTest() { + // TODO: test mentionedUserIds + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'messageType' + */ + @Test + public void messageTypeTest() { + // TODO: test messageType + } + + /** + * Test the property 'pollId' + */ + @Test + public void pollIdTest() { + // TODO: test pollId + } + + /** + * Test the property 'pushMessageTemplate' + */ + @Test + public void pushMessageTemplateTest() { + // TODO: test pushMessageTemplate + } + + /** + * Test the property 'sendPush' + */ + @Test + public void sendPushTest() { + // TODO: test sendPush + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + + /** + * Test the property 'sound' + */ + @Test + public void soundTest() { + // TODO: test sound + } + + /** + * Test the property 'volume' + */ + @Test + public void volumeTest() { + // TODO: test volume + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfoTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfoTest.java new file mode 100644 index 00000000..fffae873 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfoTest.java @@ -0,0 +1,110 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdBasicUserInfo + */ +public class SendBirdSendbirdBasicUserInfoTest { + private final SendBirdSendbirdBasicUserInfo model = new SendBirdSendbirdBasicUserInfo(); + + /** + * Model tests for SendBirdSendbirdBasicUserInfo + */ + @Test + public void testSendBirdSendbirdBasicUserInfo() { + // TODO: test SendBirdSendbirdBasicUserInfo + } + + /** + * Test the property 'requireAuthForProfileImage' + */ + @Test + public void requireAuthForProfileImageTest() { + // TODO: test requireAuthForProfileImage + } + + /** + * Test the property 'isActive' + */ + @Test + public void isActiveTest() { + // TODO: test isActive + } + + /** + * Test the property 'isBlockedByMe' + */ + @Test + public void isBlockedByMeTest() { + // TODO: test isBlockedByMe + } + + /** + * Test the property 'role' + */ + @Test + public void roleTest() { + // TODO: test role + } + + /** + * Test the property 'nickname' + */ + @Test + public void nicknameTest() { + // TODO: test nickname + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'profileUrl' + */ + @Test + public void profileUrlTest() { + // TODO: test profileUrl + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessageTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessageTest.java new file mode 100644 index 00000000..47a05b7d --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessageTest.java @@ -0,0 +1,58 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdDisappearingMessage + */ +public class SendBirdSendbirdDisappearingMessageTest { + private final SendBirdSendbirdDisappearingMessage model = new SendBirdSendbirdDisappearingMessage(); + + /** + * Model tests for SendBirdSendbirdDisappearingMessage + */ + @Test + public void testSendBirdSendbirdDisappearingMessage() { + // TODO: test SendBirdSendbirdDisappearingMessage + } + + /** + * Test the property 'messageSurvivalSeconds' + */ + @Test + public void messageSurvivalSecondsTest() { + // TODO: test messageSurvivalSeconds + } + + /** + * Test the property 'isTriggeredByMessageRead' + */ + @Test + public void isTriggeredByMessageReadTest() { + // TODO: test isTriggeredByMessageRead + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayloadTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayloadTest.java new file mode 100644 index 00000000..230bdfd4 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayloadTest.java @@ -0,0 +1,60 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdExtendedMessagePayload + */ +public class SendBirdSendbirdExtendedMessagePayloadTest { + private final SendBirdSendbirdExtendedMessagePayload model = new SendBirdSendbirdExtendedMessagePayload(); + + /** + * Model tests for SendBirdSendbirdExtendedMessagePayload + */ + @Test + public void testSendBirdSendbirdExtendedMessagePayload() { + // TODO: test SendBirdSendbirdExtendedMessagePayload + } + + /** + * Test the property 'customView' + */ + @Test + public void customViewTest() { + // TODO: test customView + } + + /** + * Test the property 'suggestedReplies' + */ + @Test + public void suggestedRepliesTest() { + // TODO: test suggestedReplies + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdFileTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdFileTest.java new file mode 100644 index 00000000..14411498 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdFileTest.java @@ -0,0 +1,93 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdThumbnail; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdFile + */ +public class SendBirdSendbirdFileTest { + private final SendBirdSendbirdFile model = new SendBirdSendbirdFile(); + + /** + * Model tests for SendBirdSendbirdFile + */ + @Test + public void testSendBirdSendbirdFile() { + // TODO: test SendBirdSendbirdFile + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + + /** + * Test the property 'fileName' + */ + @Test + public void fileNameTest() { + // TODO: test fileName + } + + /** + * Test the property 'fileSize' + */ + @Test + public void fileSizeTest() { + // TODO: test fileSize + } + + /** + * Test the property 'fileType' + */ + @Test + public void fileTypeTest() { + // TODO: test fileType + } + + /** + * Test the property 'thumbnails' + */ + @Test + public void thumbnailsTest() { + // TODO: test thumbnails + } + + /** + * Test the property 'requireAuth' + */ + @Test + public void requireAuthTest() { + // TODO: test requireAuth + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannelTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannelTest.java new file mode 100644 index 00000000..be367c83 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannelTest.java @@ -0,0 +1,106 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdGroupChannelDetailChannel + */ +public class SendBirdSendbirdGroupChannelDetailChannelTest { + private final SendBirdSendbirdGroupChannelDetailChannel model = new SendBirdSendbirdGroupChannelDetailChannel(); + + /** + * Model tests for SendBirdSendbirdGroupChannelDetailChannel + */ + @Test + public void testSendBirdSendbirdGroupChannelDetailChannel() { + // TODO: test SendBirdSendbirdGroupChannelDetailChannel + } + + /** + * Test the property 'channelUrl' + */ + @Test + public void channelUrlTest() { + // TODO: test channelUrl + } + + /** + * Test the property 'coverUrl' + */ + @Test + public void coverUrlTest() { + // TODO: test coverUrl + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'maxLengthMessage' + */ + @Test + public void maxLengthMessageTest() { + // TODO: test maxLengthMessage + } + + /** + * Test the property 'memberCount' + */ + @Test + public void memberCountTest() { + // TODO: test memberCount + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailTest.java new file mode 100644 index 00000000..82a34785 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailTest.java @@ -0,0 +1,317 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendBirdSendbirdMember; +import org.openapitools.client.model.SendBirdSendbirdMessageResponse; +import org.openapitools.client.model.SendBirdSendbirdSmsFallback; +import org.openapitools.client.model.SendBirdSendbirdUser; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdGroupChannelDetail + */ +public class SendBirdSendbirdGroupChannelDetailTest { + private final SendBirdSendbirdGroupChannelDetail model = new SendBirdSendbirdGroupChannelDetail(); + + /** + * Model tests for SendBirdSendbirdGroupChannelDetail + */ + @Test + public void testSendBirdSendbirdGroupChannelDetail() { + // TODO: test SendBirdSendbirdGroupChannelDetail + } + + /** + * Test the property 'channel' + */ + @Test + public void channelTest() { + // TODO: test channel + } + + /** + * Test the property 'channelUrl' + */ + @Test + public void channelUrlTest() { + // TODO: test channelUrl + } + + /** + * Test the property 'coverUrl' + */ + @Test + public void coverUrlTest() { + // TODO: test coverUrl + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'createdBy' + */ + @Test + public void createdByTest() { + // TODO: test createdBy + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'deliveryReceipt' + */ + @Test + public void deliveryReceiptTest() { + // TODO: test deliveryReceipt + } + + /** + * Test the property 'disappearingMessage' + */ + @Test + public void disappearingMessageTest() { + // TODO: test disappearingMessage + } + + /** + * Test the property 'freeze' + */ + @Test + public void freezeTest() { + // TODO: test freeze + } + + /** + * Test the property 'hasAiBot' + */ + @Test + public void hasAiBotTest() { + // TODO: test hasAiBot + } + + /** + * Test the property 'hasBot' + */ + @Test + public void hasBotTest() { + // TODO: test hasBot + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'ignoreProfanityFilter' + */ + @Test + public void ignoreProfanityFilterTest() { + // TODO: test ignoreProfanityFilter + } + + /** + * Test the property 'isAccessCodeRequired' + */ + @Test + public void isAccessCodeRequiredTest() { + // TODO: test isAccessCodeRequired + } + + /** + * Test the property 'isBroadcast' + */ + @Test + public void isBroadcastTest() { + // TODO: test isBroadcast + } + + /** + * Test the property 'isDiscoverable' + */ + @Test + public void isDiscoverableTest() { + // TODO: test isDiscoverable + } + + /** + * Test the property 'isDistinct' + */ + @Test + public void isDistinctTest() { + // TODO: test isDistinct + } + + /** + * Test the property 'isEphemeral' + */ + @Test + public void isEphemeralTest() { + // TODO: test isEphemeral + } + + /** + * Test the property 'isPublic' + */ + @Test + public void isPublicTest() { + // TODO: test isPublic + } + + /** + * Test the property 'isSuper' + */ + @Test + public void isSuperTest() { + // TODO: test isSuper + } + + /** + * Test the property 'joinedMemberCount' + */ + @Test + public void joinedMemberCountTest() { + // TODO: test joinedMemberCount + } + + /** + * Test the property 'lastMessage' + */ + @Test + public void lastMessageTest() { + // TODO: test lastMessage + } + + /** + * Test the property 'maxLengthMessage' + */ + @Test + public void maxLengthMessageTest() { + // TODO: test maxLengthMessage + } + + /** + * Test the property 'memberCount' + */ + @Test + public void memberCountTest() { + // TODO: test memberCount + } + + /** + * Test the property 'members' + */ + @Test + public void membersTest() { + // TODO: test members + } + + /** + * Test the property 'messageSurvivalSeconds' + */ + @Test + public void messageSurvivalSecondsTest() { + // TODO: test messageSurvivalSeconds + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'operators' + */ + @Test + public void operatorsTest() { + // TODO: test operators + } + + /** + * Test the property 'readReceipt' + */ + @Test + public void readReceiptTest() { + // TODO: test readReceipt + } + + /** + * Test the property 'smsFallback' + */ + @Test + public void smsFallbackTest() { + // TODO: test smsFallback + } + + /** + * Test the property 'unreadMentionCount' + */ + @Test + public void unreadMentionCountTest() { + // TODO: test unreadMentionCount + } + + /** + * Test the property 'unreadMessageCount' + */ + @Test + public void unreadMessageCountTest() { + // TODO: test unreadMessageCount + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessageTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessageTest.java new file mode 100644 index 00000000..f27a6623 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessageTest.java @@ -0,0 +1,296 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdFile; +import org.openapitools.client.model.SendBirdSendbirdMessageResponse; +import org.openapitools.client.model.SendBirdSendbirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendbirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendBirdSendbirdParentMessageInfo; +import org.openapitools.client.model.SendBirdSendbirdReaction; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdGroupChannelLastMessage + */ +public class SendBirdSendbirdGroupChannelLastMessageTest { + private final SendBirdSendbirdGroupChannelLastMessage model = new SendBirdSendbirdGroupChannelLastMessage(); + + /** + * Model tests for SendBirdSendbirdGroupChannelLastMessage + */ + @Test + public void testSendBirdSendbirdGroupChannelLastMessage() { + // TODO: test SendBirdSendbirdGroupChannelLastMessage + } + + /** + * Test the property 'requireAuth' + */ + @Test + public void requireAuthTest() { + // TODO: test requireAuth + } + + /** + * Test the property 'messageSurvivalSeconds' + */ + @Test + public void messageSurvivalSecondsTest() { + // TODO: test messageSurvivalSeconds + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'mentionedUsers' + */ + @Test + public void mentionedUsersTest() { + // TODO: test mentionedUsers + } + + /** + * Test the property 'translations' + */ + @Test + public void translationsTest() { + // TODO: test translations + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'isOpMsg' + */ + @Test + public void isOpMsgTest() { + // TODO: test isOpMsg + } + + /** + * Test the property 'reactions' + */ + @Test + public void reactionsTest() { + // TODO: test reactions + } + + /** + * Test the property 'isRemoved' + */ + @Test + public void isRemovedTest() { + // TODO: test isRemoved + } + + /** + * Test the property 'user' + */ + @Test + public void userTest() { + // TODO: test user + } + + /** + * Test the property '_file' + */ + @Test + public void _fileTest() { + // TODO: test _file + } + + /** + * Test the property 'files' + */ + @Test + public void filesTest() { + // TODO: test files + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'messageRetentionHour' + */ + @Test + public void messageRetentionHourTest() { + // TODO: test messageRetentionHour + } + + /** + * Test the property 'silent' + */ + @Test + public void silentTest() { + // TODO: test silent + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'channelType' + */ + @Test + public void channelTypeTest() { + // TODO: test channelType + } + + /** + * Test the property 'reqId' + */ + @Test + public void reqIdTest() { + // TODO: test reqId + } + + /** + * Test the property 'mentionType' + */ + @Test + public void mentionTypeTest() { + // TODO: test mentionType + } + + /** + * Test the property 'channelUrl' + */ + @Test + public void channelUrlTest() { + // TODO: test channelUrl + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + + /** + * Test the property 'threadInfo' + */ + @Test + public void threadInfoTest() { + // TODO: test threadInfo + } + + /** + * Test the property 'parentMessageId' + */ + @Test + public void parentMessageIdTest() { + // TODO: test parentMessageId + } + + /** + * Test the property 'parentMessageInfo' + */ + @Test + public void parentMessageInfoTest() { + // TODO: test parentMessageInfo + } + + /** + * Test the property 'isReplyToChannel' + */ + @Test + public void isReplyToChannelTest() { + // TODO: test isReplyToChannel + } + + /** + * Test the property 'messageEvents' + */ + @Test + public void messageEventsTest() { + // TODO: test messageEvents + } + + /** + * Test the property 'extendedMessagePayload' + */ + @Test + public void extendedMessagePayloadTest() { + // TODO: test extendedMessagePayload + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelTest.java new file mode 100644 index 00000000..f712f136 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelTest.java @@ -0,0 +1,416 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdSendbirdMember; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendbirdSmsFallback; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdGroupChannel + */ +public class SendBirdSendbirdGroupChannelTest { + private final SendBirdSendbirdGroupChannel model = new SendBirdSendbirdGroupChannel(); + + /** + * Model tests for SendBirdSendbirdGroupChannel + */ + @Test + public void testSendBirdSendbirdGroupChannel() { + // TODO: test SendBirdSendbirdGroupChannel + } + + /** + * Test the property 'channelUrl' + */ + @Test + public void channelUrlTest() { + // TODO: test channelUrl + } + + /** + * Test the property 'countPreference' + */ + @Test + public void countPreferenceTest() { + // TODO: test countPreference + } + + /** + * Test the property 'coverUrl' + */ + @Test + public void coverUrlTest() { + // TODO: test coverUrl + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'createdBy' + */ + @Test + public void createdByTest() { + // TODO: test createdBy + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'deliveryReceipt' + */ + @Test + public void deliveryReceiptTest() { + // TODO: test deliveryReceipt + } + + /** + * Test the property 'disappearingMessage' + */ + @Test + public void disappearingMessageTest() { + // TODO: test disappearingMessage + } + + /** + * Test the property 'freeze' + */ + @Test + public void freezeTest() { + // TODO: test freeze + } + + /** + * Test the property 'hasAiBot' + */ + @Test + public void hasAiBotTest() { + // TODO: test hasAiBot + } + + /** + * Test the property 'hasBot' + */ + @Test + public void hasBotTest() { + // TODO: test hasBot + } + + /** + * Test the property 'hiddenState' + */ + @Test + public void hiddenStateTest() { + // TODO: test hiddenState + } + + /** + * Test the property 'ignoreProfanityFilter' + */ + @Test + public void ignoreProfanityFilterTest() { + // TODO: test ignoreProfanityFilter + } + + /** + * Test the property 'invitedAt' + */ + @Test + public void invitedAtTest() { + // TODO: test invitedAt + } + + /** + * Test the property 'inviter' + */ + @Test + public void inviterTest() { + // TODO: test inviter + } + + /** + * Test the property 'isAccessCodeRequired' + */ + @Test + public void isAccessCodeRequiredTest() { + // TODO: test isAccessCodeRequired + } + + /** + * Test the property 'isBroadcast' + */ + @Test + public void isBroadcastTest() { + // TODO: test isBroadcast + } + + /** + * Test the property 'isDiscoverable' + */ + @Test + public void isDiscoverableTest() { + // TODO: test isDiscoverable + } + + /** + * Test the property 'isDistinct' + */ + @Test + public void isDistinctTest() { + // TODO: test isDistinct + } + + /** + * Test the property 'isEphemeral' + */ + @Test + public void isEphemeralTest() { + // TODO: test isEphemeral + } + + /** + * Test the property 'isExclusive' + */ + @Test + public void isExclusiveTest() { + // TODO: test isExclusive + } + + /** + * Test the property 'isHidden' + */ + @Test + public void isHiddenTest() { + // TODO: test isHidden + } + + /** + * Test the property 'isMuted' + */ + @Test + public void isMutedTest() { + // TODO: test isMuted + } + + /** + * Test the property 'isPublic' + */ + @Test + public void isPublicTest() { + // TODO: test isPublic + } + + /** + * Test the property 'isPushEnabled' + */ + @Test + public void isPushEnabledTest() { + // TODO: test isPushEnabled + } + + /** + * Test the property 'isSuper' + */ + @Test + public void isSuperTest() { + // TODO: test isSuper + } + + /** + * Test the property 'joinedMemberCount' + */ + @Test + public void joinedMemberCountTest() { + // TODO: test joinedMemberCount + } + + /** + * Test the property 'joinedTs' + */ + @Test + public void joinedTsTest() { + // TODO: test joinedTs + } + + /** + * Test the property 'lastMessage' + */ + @Test + public void lastMessageTest() { + // TODO: test lastMessage + } + + /** + * Test the property 'maxLengthMessage' + */ + @Test + public void maxLengthMessageTest() { + // TODO: test maxLengthMessage + } + + /** + * Test the property 'memberCount' + */ + @Test + public void memberCountTest() { + // TODO: test memberCount + } + + /** + * Test the property 'memberState' + */ + @Test + public void memberStateTest() { + // TODO: test memberState + } + + /** + * Test the property 'members' + */ + @Test + public void membersTest() { + // TODO: test members + } + + /** + * Test the property 'messageSurvivalSeconds' + */ + @Test + public void messageSurvivalSecondsTest() { + // TODO: test messageSurvivalSeconds + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + + /** + * Test the property 'myRole' + */ + @Test + public void myRoleTest() { + // TODO: test myRole + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'pushTriggerOption' + */ + @Test + public void pushTriggerOptionTest() { + // TODO: test pushTriggerOption + } + + /** + * Test the property 'readReceipt' + */ + @Test + public void readReceiptTest() { + // TODO: test readReceipt + } + + /** + * Test the property 'smsFallback' + */ + @Test + public void smsFallbackTest() { + // TODO: test smsFallback + } + + /** + * Test the property 'tsMessageOffset' + */ + @Test + public void tsMessageOffsetTest() { + // TODO: test tsMessageOffset + } + + /** + * Test the property 'unreadMentionCount' + */ + @Test + public void unreadMentionCountTest() { + // TODO: test unreadMentionCount + } + + /** + * Test the property 'unreadMessageCount' + */ + @Test + public void unreadMessageCountTest() { + // TODO: test unreadMessageCount + } + + /** + * Test the property 'userLastRead' + */ + @Test + public void userLastReadTest() { + // TODO: test userLastRead + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMemberTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMemberTest.java new file mode 100644 index 00000000..28583e89 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMemberTest.java @@ -0,0 +1,225 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdMember + */ +public class SendBirdSendbirdMemberTest { + private final SendBirdSendbirdMember model = new SendBirdSendbirdMember(); + + /** + * Model tests for SendBirdSendbirdMember + */ + @Test + public void testSendBirdSendbirdMember() { + // TODO: test SendBirdSendbirdMember + } + + /** + * Test the property 'deliveredTs' + */ + @Test + public void deliveredTsTest() { + // TODO: test deliveredTs + } + + /** + * Test the property 'doNotDisturb' + */ + @Test + public void doNotDisturbTest() { + // TODO: test doNotDisturb + } + + /** + * Test the property 'friendDiscoveryKey' + */ + @Test + public void friendDiscoveryKeyTest() { + // TODO: test friendDiscoveryKey + } + + /** + * Test the property 'friendName' + */ + @Test + public void friendNameTest() { + // TODO: test friendName + } + + /** + * Test the property 'isActive' + */ + @Test + public void isActiveTest() { + // TODO: test isActive + } + + /** + * Test the property 'isBlockedByMe' + */ + @Test + public void isBlockedByMeTest() { + // TODO: test isBlockedByMe + } + + /** + * Test the property 'isBlockingMe' + */ + @Test + public void isBlockingMeTest() { + // TODO: test isBlockingMe + } + + /** + * Test the property 'isMuted' + */ + @Test + public void isMutedTest() { + // TODO: test isMuted + } + + /** + * Test the property 'isOnline' + */ + @Test + public void isOnlineTest() { + // TODO: test isOnline + } + + /** + * Test the property 'lastSeenAt' + */ + @Test + public void lastSeenAtTest() { + // TODO: test lastSeenAt + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + + /** + * Test the property 'mutedDescription' + */ + @Test + public void mutedDescriptionTest() { + // TODO: test mutedDescription + } + + /** + * Test the property 'mutedEndAt' + */ + @Test + public void mutedEndAtTest() { + // TODO: test mutedEndAt + } + + /** + * Test the property 'nickname' + */ + @Test + public void nicknameTest() { + // TODO: test nickname + } + + /** + * Test the property 'pushEnabled' + */ + @Test + public void pushEnabledTest() { + // TODO: test pushEnabled + } + + /** + * Test the property 'pushTriggerOption' + */ + @Test + public void pushTriggerOptionTest() { + // TODO: test pushTriggerOption + } + + /** + * Test the property 'profileUrl' + */ + @Test + public void profileUrlTest() { + // TODO: test profileUrl + } + + /** + * Test the property 'requireAuthForProfileImage' + */ + @Test + public void requireAuthForProfileImageTest() { + // TODO: test requireAuthForProfileImage + } + + /** + * Test the property 'readTs' + */ + @Test + public void readTsTest() { + // TODO: test readTs + } + + /** + * Test the property 'role' + */ + @Test + public void roleTest() { + // TODO: test role + } + + /** + * Test the property 'state' + */ + @Test + public void stateTest() { + // TODO: test state + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayloadTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayloadTest.java new file mode 100644 index 00000000..e186b0d9 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayloadTest.java @@ -0,0 +1,61 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdExtendedMessagePayload; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdMessageResponseExtendedMessagePayload + */ +public class SendBirdSendbirdMessageResponseExtendedMessagePayloadTest { + private final SendBirdSendbirdMessageResponseExtendedMessagePayload model = new SendBirdSendbirdMessageResponseExtendedMessagePayload(); + + /** + * Model tests for SendBirdSendbirdMessageResponseExtendedMessagePayload + */ + @Test + public void testSendBirdSendbirdMessageResponseExtendedMessagePayload() { + // TODO: test SendBirdSendbirdMessageResponseExtendedMessagePayload + } + + /** + * Test the property 'customView' + */ + @Test + public void customViewTest() { + // TODO: test customView + } + + /** + * Test the property 'suggestedReplies' + */ + @Test + public void suggestedRepliesTest() { + // TODO: test suggestedReplies + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEventsTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEventsTest.java new file mode 100644 index 00000000..156e3741 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEventsTest.java @@ -0,0 +1,74 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdMessageResponseMessageEvents + */ +public class SendBirdSendbirdMessageResponseMessageEventsTest { + private final SendBirdSendbirdMessageResponseMessageEvents model = new SendBirdSendbirdMessageResponseMessageEvents(); + + /** + * Model tests for SendBirdSendbirdMessageResponseMessageEvents + */ + @Test + public void testSendBirdSendbirdMessageResponseMessageEvents() { + // TODO: test SendBirdSendbirdMessageResponseMessageEvents + } + + /** + * Test the property 'sendPushNotification' + */ + @Test + public void sendPushNotificationTest() { + // TODO: test sendPushNotification + } + + /** + * Test the property 'updateUnreadCount' + */ + @Test + public void updateUnreadCountTest() { + // TODO: test updateUnreadCount + } + + /** + * Test the property 'updateMentionCount' + */ + @Test + public void updateMentionCountTest() { + // TODO: test updateMentionCount + } + + /** + * Test the property 'updateLastMessage' + */ + @Test + public void updateLastMessageTest() { + // TODO: test updateLastMessage + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseTest.java new file mode 100644 index 00000000..f19cb8b6 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseTest.java @@ -0,0 +1,295 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendbirdFile; +import org.openapitools.client.model.SendBirdSendbirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendbirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendBirdSendbirdParentMessageInfo; +import org.openapitools.client.model.SendBirdSendbirdReaction; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdMessageResponse + */ +public class SendBirdSendbirdMessageResponseTest { + private final SendBirdSendbirdMessageResponse model = new SendBirdSendbirdMessageResponse(); + + /** + * Model tests for SendBirdSendbirdMessageResponse + */ + @Test + public void testSendBirdSendbirdMessageResponse() { + // TODO: test SendBirdSendbirdMessageResponse + } + + /** + * Test the property 'requireAuth' + */ + @Test + public void requireAuthTest() { + // TODO: test requireAuth + } + + /** + * Test the property 'messageSurvivalSeconds' + */ + @Test + public void messageSurvivalSecondsTest() { + // TODO: test messageSurvivalSeconds + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'mentionedUsers' + */ + @Test + public void mentionedUsersTest() { + // TODO: test mentionedUsers + } + + /** + * Test the property 'translations' + */ + @Test + public void translationsTest() { + // TODO: test translations + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'isOpMsg' + */ + @Test + public void isOpMsgTest() { + // TODO: test isOpMsg + } + + /** + * Test the property 'reactions' + */ + @Test + public void reactionsTest() { + // TODO: test reactions + } + + /** + * Test the property 'isRemoved' + */ + @Test + public void isRemovedTest() { + // TODO: test isRemoved + } + + /** + * Test the property 'user' + */ + @Test + public void userTest() { + // TODO: test user + } + + /** + * Test the property '_file' + */ + @Test + public void _fileTest() { + // TODO: test _file + } + + /** + * Test the property 'files' + */ + @Test + public void filesTest() { + // TODO: test files + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'messageRetentionHour' + */ + @Test + public void messageRetentionHourTest() { + // TODO: test messageRetentionHour + } + + /** + * Test the property 'silent' + */ + @Test + public void silentTest() { + // TODO: test silent + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'channelType' + */ + @Test + public void channelTypeTest() { + // TODO: test channelType + } + + /** + * Test the property 'reqId' + */ + @Test + public void reqIdTest() { + // TODO: test reqId + } + + /** + * Test the property 'mentionType' + */ + @Test + public void mentionTypeTest() { + // TODO: test mentionType + } + + /** + * Test the property 'channelUrl' + */ + @Test + public void channelUrlTest() { + // TODO: test channelUrl + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + + /** + * Test the property 'threadInfo' + */ + @Test + public void threadInfoTest() { + // TODO: test threadInfo + } + + /** + * Test the property 'parentMessageId' + */ + @Test + public void parentMessageIdTest() { + // TODO: test parentMessageId + } + + /** + * Test the property 'parentMessageInfo' + */ + @Test + public void parentMessageInfoTest() { + // TODO: test parentMessageInfo + } + + /** + * Test the property 'isReplyToChannel' + */ + @Test + public void isReplyToChannelTest() { + // TODO: test isReplyToChannel + } + + /** + * Test the property 'messageEvents' + */ + @Test + public void messageEventsTest() { + // TODO: test messageEvents + } + + /** + * Test the property 'extendedMessagePayload' + */ + @Test + public void extendedMessagePayloadTest() { + // TODO: test extendedMessagePayload + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdOpenChannelTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdOpenChannelTest.java new file mode 100644 index 00000000..57180ed4 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdOpenChannelTest.java @@ -0,0 +1,153 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdOpenChannel + */ +public class SendBirdSendbirdOpenChannelTest { + private final SendBirdSendbirdOpenChannel model = new SendBirdSendbirdOpenChannel(); + + /** + * Model tests for SendBirdSendbirdOpenChannel + */ + @Test + public void testSendBirdSendbirdOpenChannel() { + // TODO: test SendBirdSendbirdOpenChannel + } + + /** + * Test the property 'channelUrl' + */ + @Test + public void channelUrlTest() { + // TODO: test channelUrl + } + + /** + * Test the property 'coverUrl' + */ + @Test + public void coverUrlTest() { + // TODO: test coverUrl + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'freeze' + */ + @Test + public void freezeTest() { + // TODO: test freeze + } + + /** + * Test the property 'isDynamicPartitioned' + */ + @Test + public void isDynamicPartitionedTest() { + // TODO: test isDynamicPartitioned + } + + /** + * Test the property 'isEphemeral' + */ + @Test + public void isEphemeralTest() { + // TODO: test isEphemeral + } + + /** + * Test the property 'maxLengthMessage' + */ + @Test + public void maxLengthMessageTest() { + // TODO: test maxLengthMessage + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'operators' + */ + @Test + public void operatorsTest() { + // TODO: test operators + } + + /** + * Test the property 'participantCount' + */ + @Test + public void participantCountTest() { + // TODO: test participantCount + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfoTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfoTest.java new file mode 100644 index 00000000..2b2dfb20 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfoTest.java @@ -0,0 +1,102 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdFile; +import org.openapitools.client.model.SendBirdSendbirdUser; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdParentMessageInfo + */ +public class SendBirdSendbirdParentMessageInfoTest { + private final SendBirdSendbirdParentMessageInfo model = new SendBirdSendbirdParentMessageInfo(); + + /** + * Model tests for SendBirdSendbirdParentMessageInfo + */ + @Test + public void testSendBirdSendbirdParentMessageInfo() { + // TODO: test SendBirdSendbirdParentMessageInfo + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'ts' + */ + @Test + public void tsTest() { + // TODO: test ts + } + + /** + * Test the property 'user' + */ + @Test + public void userTest() { + // TODO: test user + } + + /** + * Test the property '_file' + */ + @Test + public void _fileTest() { + // TODO: test _file + } + + /** + * Test the property 'files' + */ + @Test + public void filesTest() { + // TODO: test files + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOptionTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOptionTest.java new file mode 100644 index 00000000..5b9b7f64 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOptionTest.java @@ -0,0 +1,33 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdPushTriggerOption + */ +public class SendBirdSendbirdPushTriggerOptionTest { + /** + * Model tests for SendBirdSendbirdPushTriggerOption + */ + @Test + public void testSendBirdSendbirdPushTriggerOption() { + // TODO: test SendBirdSendbirdPushTriggerOption + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdReactionTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdReactionTest.java new file mode 100644 index 00000000..8618c351 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdReactionTest.java @@ -0,0 +1,68 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdReaction + */ +public class SendBirdSendbirdReactionTest { + private final SendBirdSendbirdReaction model = new SendBirdSendbirdReaction(); + + /** + * Model tests for SendBirdSendbirdReaction + */ + @Test + public void testSendBirdSendbirdReaction() { + // TODO: test SendBirdSendbirdReaction + } + + /** + * Test the property 'key' + */ + @Test + public void keyTest() { + // TODO: test key + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'userIds' + */ + @Test + public void userIdsTest() { + // TODO: test userIds + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdSmsFallbackTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdSmsFallbackTest.java new file mode 100644 index 00000000..a31aff3a --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdSmsFallbackTest.java @@ -0,0 +1,60 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdSmsFallback + */ +public class SendBirdSendbirdSmsFallbackTest { + private final SendBirdSendbirdSmsFallback model = new SendBirdSendbirdSmsFallback(); + + /** + * Model tests for SendBirdSendbirdSmsFallback + */ + @Test + public void testSendBirdSendbirdSmsFallback() { + // TODO: test SendBirdSendbirdSmsFallback + } + + /** + * Test the property 'waitSeconds' + */ + @Test + public void waitSecondsTest() { + // TODO: test waitSeconds + } + + /** + * Test the property 'excludeUserIds' + */ + @Test + public void excludeUserIdsTest() { + // TODO: test excludeUserIds + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInnerTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInnerTest.java new file mode 100644 index 00000000..b7ab7c9b --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInnerTest.java @@ -0,0 +1,60 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdSortedMetaarrayInner + */ +public class SendBirdSendbirdSortedMetaarrayInnerTest { + private final SendBirdSendbirdSortedMetaarrayInner model = new SendBirdSendbirdSortedMetaarrayInner(); + + /** + * Model tests for SendBirdSendbirdSortedMetaarrayInner + */ + @Test + public void testSendBirdSendbirdSortedMetaarrayInner() { + // TODO: test SendBirdSendbirdSortedMetaarrayInner + } + + /** + * Test the property 'key' + */ + @Test + public void keyTest() { + // TODO: test key + } + + /** + * Test the property 'value' + */ + @Test + public void valueTest() { + // TODO: test value + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdThumbnailTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdThumbnailTest.java new file mode 100644 index 00000000..55794084 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdThumbnailTest.java @@ -0,0 +1,90 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdThumbnail + */ +public class SendBirdSendbirdThumbnailTest { + private final SendBirdSendbirdThumbnail model = new SendBirdSendbirdThumbnail(); + + /** + * Model tests for SendBirdSendbirdThumbnail + */ + @Test + public void testSendBirdSendbirdThumbnail() { + // TODO: test SendBirdSendbirdThumbnail + } + + /** + * Test the property 'height' + */ + @Test + public void heightTest() { + // TODO: test height + } + + /** + * Test the property 'plainUrl' + */ + @Test + public void plainUrlTest() { + // TODO: test plainUrl + } + + /** + * Test the property 'realHeight' + */ + @Test + public void realHeightTest() { + // TODO: test realHeight + } + + /** + * Test the property 'realWidth' + */ + @Test + public void realWidthTest() { + // TODO: test realWidth + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + + /** + * Test the property 'width' + */ + @Test + public void widthTest() { + // TODO: test width + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdUserTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdUserTest.java new file mode 100644 index 00000000..dca873f3 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdSendbirdUserTest.java @@ -0,0 +1,216 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdSendbirdUser + */ +public class SendBirdSendbirdUserTest { + private final SendBirdSendbirdUser model = new SendBirdSendbirdUser(); + + /** + * Model tests for SendBirdSendbirdUser + */ + @Test + public void testSendBirdSendbirdUser() { + // TODO: test SendBirdSendbirdUser + } + + /** + * Test the property 'accessToken' + */ + @Test + public void accessTokenTest() { + // TODO: test accessToken + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'discoveryKeys' + */ + @Test + public void discoveryKeysTest() { + // TODO: test discoveryKeys + } + + /** + * Test the property 'hasEverLoggedIn' + */ + @Test + public void hasEverLoggedInTest() { + // TODO: test hasEverLoggedIn + } + + /** + * Test the property 'isActive' + */ + @Test + public void isActiveTest() { + // TODO: test isActive + } + + /** + * Test the property 'isHideMeFromFriends' + */ + @Test + public void isHideMeFromFriendsTest() { + // TODO: test isHideMeFromFriends + } + + /** + * Test the property 'isOnline' + */ + @Test + public void isOnlineTest() { + // TODO: test isOnline + } + + /** + * Test the property 'isShadowBlocked' + */ + @Test + public void isShadowBlockedTest() { + // TODO: test isShadowBlocked + } + + /** + * Test the property 'lastSeenAt' + */ + @Test + public void lastSeenAtTest() { + // TODO: test lastSeenAt + } + + /** + * Test the property 'locale' + */ + @Test + public void localeTest() { + // TODO: test locale + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + + /** + * Test the property 'nickname' + */ + @Test + public void nicknameTest() { + // TODO: test nickname + } + + /** + * Test the property 'preferredLanguages' + */ + @Test + public void preferredLanguagesTest() { + // TODO: test preferredLanguages + } + + /** + * Test the property 'profileUrl' + */ + @Test + public void profileUrlTest() { + // TODO: test profileUrl + } + + /** + * Test the property 'requireAuthForProfileImage' + */ + @Test + public void requireAuthForProfileImageTest() { + // TODO: test requireAuthForProfileImage + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'state' + */ + @Test + public void stateTest() { + // TODO: test state + } + + /** + * Test the property 'unreadChannelCount' + */ + @Test + public void unreadChannelCountTest() { + // TODO: test unreadChannelCount + } + + /** + * Test the property 'unreadMessageCount' + */ + @Test + public void unreadMessageCountTest() { + // TODO: test unreadMessageCount + } + + /** + * Test the property 'phoneNumber' + */ + @Test + public void phoneNumberTest() { + // TODO: test phoneNumber + } + + /** + * Test the property 'isCreated' + */ + @Test + public void isCreatedTest() { + // TODO: test isCreated + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequestTest.java new file mode 100644 index 00000000..3b4cd28a --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequestTest.java @@ -0,0 +1,52 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdStartTypingIndicatorsRequest + */ +public class SendBirdStartTypingIndicatorsRequestTest { + private final SendBirdStartTypingIndicatorsRequest model = new SendBirdStartTypingIndicatorsRequest(); + + /** + * Model tests for SendBirdStartTypingIndicatorsRequest + */ + @Test + public void testSendBirdStartTypingIndicatorsRequest() { + // TODO: test SendBirdStartTypingIndicatorsRequest + } + + /** + * Test the property 'userIds' + */ + @Test + public void userIdsTest() { + // TODO: test userIds + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequestTest.java new file mode 100644 index 00000000..d8ec705b --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequestTest.java @@ -0,0 +1,58 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateAChannelMetadataRequest + */ +public class SendBirdUpdateAChannelMetadataRequestTest { + private final SendBirdUpdateAChannelMetadataRequest model = new SendBirdUpdateAChannelMetadataRequest(); + + /** + * Model tests for SendBirdUpdateAChannelMetadataRequest + */ + @Test + public void testSendBirdUpdateAChannelMetadataRequest() { + // TODO: test SendBirdUpdateAChannelMetadataRequest + } + + /** + * Test the property 'metadata' + */ + @Test + public void metadataTest() { + // TODO: test metadata + } + + /** + * Test the property 'upsert' + */ + @Test + public void upsertTest() { + // TODO: test upsert + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequestTest.java new file mode 100644 index 00000000..7c62bd40 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequestTest.java @@ -0,0 +1,129 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateAGroupChannelRequest + */ +public class SendBirdUpdateAGroupChannelRequestTest { + private final SendBirdUpdateAGroupChannelRequest model = new SendBirdUpdateAGroupChannelRequest(); + + /** + * Model tests for SendBirdUpdateAGroupChannelRequest + */ + @Test + public void testSendBirdUpdateAGroupChannelRequest() { + // TODO: test SendBirdUpdateAGroupChannelRequest + } + + /** + * Test the property 'accessCode' + */ + @Test + public void accessCodeTest() { + // TODO: test accessCode + } + + /** + * Test the property 'coverFile' + */ + @Test + public void coverFileTest() { + // TODO: test coverFile + } + + /** + * Test the property 'coverUrl' + */ + @Test + public void coverUrlTest() { + // TODO: test coverUrl + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'isDistinct' + */ + @Test + public void isDistinctTest() { + // TODO: test isDistinct + } + + /** + * Test the property 'isPublic' + */ + @Test + public void isPublicTest() { + // TODO: test isPublic + } + + /** + * Test the property 'isSuper' + */ + @Test + public void isSuperTest() { + // TODO: test isSuper + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'operatorIds' + */ + @Test + public void operatorIdsTest() { + // TODO: test operatorIds + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateAMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateAMessageRequestTest.java new file mode 100644 index 00000000..6ddcb7e3 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateAMessageRequestTest.java @@ -0,0 +1,100 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateAMessageRequest + */ +public class SendBirdUpdateAMessageRequestTest { + private final SendBirdUpdateAMessageRequest model = new SendBirdUpdateAMessageRequest(); + + /** + * Model tests for SendBirdUpdateAMessageRequest + */ + @Test + public void testSendBirdUpdateAMessageRequest() { + // TODO: test SendBirdUpdateAMessageRequest + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'mentionType' + */ + @Test + public void mentionTypeTest() { + // TODO: test mentionType + } + + /** + * Test the property 'mentionedUserIds' + */ + @Test + public void mentionedUserIdsTest() { + // TODO: test mentionedUserIds + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + + /** + * Test the property 'messageType' + */ + @Test + public void messageTypeTest() { + // TODO: test messageType + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateAUserRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateAUserRequestTest.java new file mode 100644 index 00000000..8ab04ed9 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateAUserRequestTest.java @@ -0,0 +1,121 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import com.fasterxml.jackson.annotation.JsonIgnore; +import org.openapitools.jackson.nullable.JsonNullable; +import java.util.NoSuchElementException; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateAUserRequest + */ +public class SendBirdUpdateAUserRequestTest { + private final SendBirdUpdateAUserRequest model = new SendBirdUpdateAUserRequest(); + + /** + * Model tests for SendBirdUpdateAUserRequest + */ + @Test + public void testSendBirdUpdateAUserRequest() { + // TODO: test SendBirdUpdateAUserRequest + } + + /** + * Test the property 'discoveryKeys' + */ + @Test + public void discoveryKeysTest() { + // TODO: test discoveryKeys + } + + /** + * Test the property 'isActive' + */ + @Test + public void isActiveTest() { + // TODO: test isActive + } + + /** + * Test the property 'issueAccessToken' + */ + @Test + public void issueAccessTokenTest() { + // TODO: test issueAccessToken + } + + /** + * Test the property 'lastSeenAt' + */ + @Test + public void lastSeenAtTest() { + // TODO: test lastSeenAt + } + + /** + * Test the property 'leaveAllWhenDeactivated' + */ + @Test + public void leaveAllWhenDeactivatedTest() { + // TODO: test leaveAllWhenDeactivated + } + + /** + * Test the property 'nickname' + */ + @Test + public void nicknameTest() { + // TODO: test nickname + } + + /** + * Test the property 'preferredLanguages' + */ + @Test + public void preferredLanguagesTest() { + // TODO: test preferredLanguages + } + + /** + * Test the property 'profileFile' + */ + @Test + public void profileFileTest() { + // TODO: test profileFile + } + + /** + * Test the property 'profileUrl' + */ + @Test + public void profileUrlTest() { + // TODO: test profileUrl + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequestTest.java new file mode 100644 index 00000000..4edc4e62 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequestTest.java @@ -0,0 +1,93 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateAnOpenChannelRequest + */ +public class SendBirdUpdateAnOpenChannelRequestTest { + private final SendBirdUpdateAnOpenChannelRequest model = new SendBirdUpdateAnOpenChannelRequest(); + + /** + * Model tests for SendBirdUpdateAnOpenChannelRequest + */ + @Test + public void testSendBirdUpdateAnOpenChannelRequest() { + // TODO: test SendBirdUpdateAnOpenChannelRequest + } + + /** + * Test the property 'coverFile' + */ + @Test + public void coverFileTest() { + // TODO: test coverFile + } + + /** + * Test the property 'coverUrl' + */ + @Test + public void coverUrlTest() { + // TODO: test coverUrl + } + + /** + * Test the property 'customType' + */ + @Test + public void customTypeTest() { + // TODO: test customType + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'operatorIds' + */ + @Test + public void operatorIdsTest() { + // TODO: test operatorIds + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdDataTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdDataTest.java new file mode 100644 index 00000000..bfbd7980 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdDataTest.java @@ -0,0 +1,106 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateBotByIdData + */ +public class SendBirdUpdateBotByIdDataTest { + private final SendBirdUpdateBotByIdData model = new SendBirdUpdateBotByIdData(); + + /** + * Model tests for SendBirdUpdateBotByIdData + */ + @Test + public void testSendBirdUpdateBotByIdData() { + // TODO: test SendBirdUpdateBotByIdData + } + + /** + * Test the property 'botUserid' + */ + @Test + public void botUseridTest() { + // TODO: test botUserid + } + + /** + * Test the property 'botNickname' + */ + @Test + public void botNicknameTest() { + // TODO: test botNickname + } + + /** + * Test the property 'botProfileUrl' + */ + @Test + public void botProfileUrlTest() { + // TODO: test botProfileUrl + } + + /** + * Test the property 'botCallbackUrl' + */ + @Test + public void botCallbackUrlTest() { + // TODO: test botCallbackUrl + } + + /** + * Test the property 'isPrivacyMode' + */ + @Test + public void isPrivacyModeTest() { + // TODO: test isPrivacyMode + } + + /** + * Test the property 'enableMarkAsRead' + */ + @Test + public void enableMarkAsReadTest() { + // TODO: test enableMarkAsRead + } + + /** + * Test the property 'showMember' + */ + @Test + public void showMemberTest() { + // TODO: test showMember + } + + /** + * Test the property 'channelInvitationPreference' + */ + @Test + public void channelInvitationPreferenceTest() { + // TODO: test channelInvitationPreference + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponseTest.java new file mode 100644 index 00000000..e9eaefaa --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponseTest.java @@ -0,0 +1,91 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdViewBotByIdResponseBot; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateBotByIdResponse + */ +public class SendBirdUpdateBotByIdResponseTest { + private final SendBirdUpdateBotByIdResponse model = new SendBirdUpdateBotByIdResponse(); + + /** + * Model tests for SendBirdUpdateBotByIdResponse + */ + @Test + public void testSendBirdUpdateBotByIdResponse() { + // TODO: test SendBirdUpdateBotByIdResponse + } + + /** + * Test the property 'bot' + */ + @Test + public void botTest() { + // TODO: test bot + } + + /** + * Test the property 'botCallbackUrl' + */ + @Test + public void botCallbackUrlTest() { + // TODO: test botCallbackUrl + } + + /** + * Test the property 'enableMarkAsRead' + */ + @Test + public void enableMarkAsReadTest() { + // TODO: test enableMarkAsRead + } + + /** + * Test the property 'isPrivacyMode' + */ + @Test + public void isPrivacyModeTest() { + // TODO: test isPrivacyMode + } + + /** + * Test the property 'showMember' + */ + @Test + public void showMemberTest() { + // TODO: test showMember + } + + /** + * Test the property 'channelInvitationPreference' + */ + @Test + public void channelInvitationPreferenceTest() { + // TODO: test channelInvitationPreference + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequestTest.java new file mode 100644 index 00000000..882d68d2 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequestTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateChannelInvitationPreferenceRequest + */ +public class SendBirdUpdateChannelInvitationPreferenceRequestTest { + private final SendBirdUpdateChannelInvitationPreferenceRequest model = new SendBirdUpdateChannelInvitationPreferenceRequest(); + + /** + * Model tests for SendBirdUpdateChannelInvitationPreferenceRequest + */ + @Test + public void testSendBirdUpdateChannelInvitationPreferenceRequest() { + // TODO: test SendBirdUpdateChannelInvitationPreferenceRequest + } + + /** + * Test the property 'autoAccept' + */ + @Test + public void autoAcceptTest() { + // TODO: test autoAccept + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponseTest.java new file mode 100644 index 00000000..32f3fdb9 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponseTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateChannelInvitationPreferenceResponse + */ +public class SendBirdUpdateChannelInvitationPreferenceResponseTest { + private final SendBirdUpdateChannelInvitationPreferenceResponse model = new SendBirdUpdateChannelInvitationPreferenceResponse(); + + /** + * Model tests for SendBirdUpdateChannelInvitationPreferenceResponse + */ + @Test + public void testSendBirdUpdateChannelInvitationPreferenceResponse() { + // TODO: test SendBirdUpdateChannelInvitationPreferenceResponse + } + + /** + * Test the property 'autoAccept' + */ + @Test + public void autoAcceptTest() { + // TODO: test autoAccept + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequestTest.java new file mode 100644 index 00000000..ad116924 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequestTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateCountPreferenceOfAChannelRequest + */ +public class SendBirdUpdateCountPreferenceOfAChannelRequestTest { + private final SendBirdUpdateCountPreferenceOfAChannelRequest model = new SendBirdUpdateCountPreferenceOfAChannelRequest(); + + /** + * Model tests for SendBirdUpdateCountPreferenceOfAChannelRequest + */ + @Test + public void testSendBirdUpdateCountPreferenceOfAChannelRequest() { + // TODO: test SendBirdUpdateCountPreferenceOfAChannelRequest + } + + /** + * Test the property 'countPreference' + */ + @Test + public void countPreferenceTest() { + // TODO: test countPreference + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest.java new file mode 100644 index 00000000..6240b42e --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateCountPreferenceOfChannelByUrlResponse + */ +public class SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest { + private final SendBirdUpdateCountPreferenceOfChannelByUrlResponse model = new SendBirdUpdateCountPreferenceOfChannelByUrlResponse(); + + /** + * Model tests for SendBirdUpdateCountPreferenceOfChannelByUrlResponse + */ + @Test + public void testSendBirdUpdateCountPreferenceOfChannelByUrlResponse() { + // TODO: test SendBirdUpdateCountPreferenceOfChannelByUrlResponse + } + + /** + * Test the property 'countPreference' + */ + @Test + public void countPreferenceTest() { + // TODO: test countPreference + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequestTest.java new file mode 100644 index 00000000..8fa36f15 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequestTest.java @@ -0,0 +1,69 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateExtraDataInAMessageRequest + */ +public class SendBirdUpdateExtraDataInAMessageRequestTest { + private final SendBirdUpdateExtraDataInAMessageRequest model = new SendBirdUpdateExtraDataInAMessageRequest(); + + /** + * Model tests for SendBirdUpdateExtraDataInAMessageRequest + */ + @Test + public void testSendBirdUpdateExtraDataInAMessageRequest() { + // TODO: test SendBirdUpdateExtraDataInAMessageRequest + } + + /** + * Test the property 'mode' + */ + @Test + public void modeTest() { + // TODO: test mode + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + + /** + * Test the property 'upsert' + */ + @Test + public void upsertTest() { + // TODO: test upsert + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponseTest.java new file mode 100644 index 00000000..db6e06a8 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponseTest.java @@ -0,0 +1,53 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdateExtraDataInAMessageResponse + */ +public class SendBirdUpdateExtraDataInAMessageResponseTest { + private final SendBirdUpdateExtraDataInAMessageResponse model = new SendBirdUpdateExtraDataInAMessageResponse(); + + /** + * Model tests for SendBirdUpdateExtraDataInAMessageResponse + */ + @Test + public void testSendBirdUpdateExtraDataInAMessageResponse() { + // TODO: test SendBirdUpdateExtraDataInAMessageResponse + } + + /** + * Test the property 'sortedMetaarray' + */ + @Test + public void sortedMetaarrayTest() { + // TODO: test sortedMetaarray + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequestTest.java new file mode 100644 index 00000000..0aa8d42a --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequestTest.java @@ -0,0 +1,58 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdatePushPreferencesForAChannelRequest + */ +public class SendBirdUpdatePushPreferencesForAChannelRequestTest { + private final SendBirdUpdatePushPreferencesForAChannelRequest model = new SendBirdUpdatePushPreferencesForAChannelRequest(); + + /** + * Model tests for SendBirdUpdatePushPreferencesForAChannelRequest + */ + @Test + public void testSendBirdUpdatePushPreferencesForAChannelRequest() { + // TODO: test SendBirdUpdatePushPreferencesForAChannelRequest + } + + /** + * Test the property 'pushTriggerOption' + */ + @Test + public void pushTriggerOptionTest() { + // TODO: test pushTriggerOption + } + + /** + * Test the property 'pushSound' + */ + @Test + public void pushSoundTest() { + // TODO: test pushSound + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponseTest.java new file mode 100644 index 00000000..cbc356ff --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponseTest.java @@ -0,0 +1,67 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdatePushPreferencesForAChannelResponse + */ +public class SendBirdUpdatePushPreferencesForAChannelResponseTest { + private final SendBirdUpdatePushPreferencesForAChannelResponse model = new SendBirdUpdatePushPreferencesForAChannelResponse(); + + /** + * Model tests for SendBirdUpdatePushPreferencesForAChannelResponse + */ + @Test + public void testSendBirdUpdatePushPreferencesForAChannelResponse() { + // TODO: test SendBirdUpdatePushPreferencesForAChannelResponse + } + + /** + * Test the property 'enable' + */ + @Test + public void enableTest() { + // TODO: test enable + } + + /** + * Test the property 'pushSound' + */ + @Test + public void pushSoundTest() { + // TODO: test pushSound + } + + /** + * Test the property 'pushTriggerOption' + */ + @Test + public void pushTriggerOptionTest() { + // TODO: test pushTriggerOption + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequestTest.java new file mode 100644 index 00000000..f5a303d7 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequestTest.java @@ -0,0 +1,157 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdatePushPreferencesRequest + */ +public class SendBirdUpdatePushPreferencesRequestTest { + private final SendBirdUpdatePushPreferencesRequest model = new SendBirdUpdatePushPreferencesRequest(); + + /** + * Model tests for SendBirdUpdatePushPreferencesRequest + */ + @Test + public void testSendBirdUpdatePushPreferencesRequest() { + // TODO: test SendBirdUpdatePushPreferencesRequest + } + + /** + * Test the property 'blockPushFromBots' + */ + @Test + public void blockPushFromBotsTest() { + // TODO: test blockPushFromBots + } + + /** + * Test the property 'doNotDisturb' + */ + @Test + public void doNotDisturbTest() { + // TODO: test doNotDisturb + } + + /** + * Test the property 'enablePushForReplies' + */ + @Test + public void enablePushForRepliesTest() { + // TODO: test enablePushForReplies + } + + /** + * Test the property 'endHour' + */ + @Test + public void endHourTest() { + // TODO: test endHour + } + + /** + * Test the property 'endMin' + */ + @Test + public void endMinTest() { + // TODO: test endMin + } + + /** + * Test the property 'pushBlockedBotIds' + */ + @Test + public void pushBlockedBotIdsTest() { + // TODO: test pushBlockedBotIds + } + + /** + * Test the property 'pushSound' + */ + @Test + public void pushSoundTest() { + // TODO: test pushSound + } + + /** + * Test the property 'pushTriggerOption' + */ + @Test + public void pushTriggerOptionTest() { + // TODO: test pushTriggerOption + } + + /** + * Test the property 'snoozeEnabled' + */ + @Test + public void snoozeEnabledTest() { + // TODO: test snoozeEnabled + } + + /** + * Test the property 'snoozeEndTs' + */ + @Test + public void snoozeEndTsTest() { + // TODO: test snoozeEndTs + } + + /** + * Test the property 'snoozeStartTs' + */ + @Test + public void snoozeStartTsTest() { + // TODO: test snoozeStartTs + } + + /** + * Test the property 'startHour' + */ + @Test + public void startHourTest() { + // TODO: test startHour + } + + /** + * Test the property 'startMin' + */ + @Test + public void startMinTest() { + // TODO: test startMin + } + + /** + * Test the property 'timezone' + */ + @Test + public void timezoneTest() { + // TODO: test timezone + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponseTest.java new file mode 100644 index 00000000..22b1bd67 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponseTest.java @@ -0,0 +1,157 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdUpdatePushPreferencesResponse + */ +public class SendBirdUpdatePushPreferencesResponseTest { + private final SendBirdUpdatePushPreferencesResponse model = new SendBirdUpdatePushPreferencesResponse(); + + /** + * Model tests for SendBirdUpdatePushPreferencesResponse + */ + @Test + public void testSendBirdUpdatePushPreferencesResponse() { + // TODO: test SendBirdUpdatePushPreferencesResponse + } + + /** + * Test the property 'blockPushFromBots' + */ + @Test + public void blockPushFromBotsTest() { + // TODO: test blockPushFromBots + } + + /** + * Test the property 'doNotDisturb' + */ + @Test + public void doNotDisturbTest() { + // TODO: test doNotDisturb + } + + /** + * Test the property 'enablePushForReplies' + */ + @Test + public void enablePushForRepliesTest() { + // TODO: test enablePushForReplies + } + + /** + * Test the property 'endHour' + */ + @Test + public void endHourTest() { + // TODO: test endHour + } + + /** + * Test the property 'endMin' + */ + @Test + public void endMinTest() { + // TODO: test endMin + } + + /** + * Test the property 'pushBlockedBotIds' + */ + @Test + public void pushBlockedBotIdsTest() { + // TODO: test pushBlockedBotIds + } + + /** + * Test the property 'pushSound' + */ + @Test + public void pushSoundTest() { + // TODO: test pushSound + } + + /** + * Test the property 'pushTriggerOption' + */ + @Test + public void pushTriggerOptionTest() { + // TODO: test pushTriggerOption + } + + /** + * Test the property 'snoozeEnabled' + */ + @Test + public void snoozeEnabledTest() { + // TODO: test snoozeEnabled + } + + /** + * Test the property 'snoozeEndTs' + */ + @Test + public void snoozeEndTsTest() { + // TODO: test snoozeEndTs + } + + /** + * Test the property 'snoozeStartTs' + */ + @Test + public void snoozeStartTsTest() { + // TODO: test snoozeStartTs + } + + /** + * Test the property 'startHour' + */ + @Test + public void startHourTest() { + // TODO: test startHour + } + + /** + * Test the property 'startMin' + */ + @Test + public void startMinTest() { + // TODO: test startMin + } + + /** + * Test the property 'timezone' + */ + @Test + public void timezoneTest() { + // TODO: test timezone + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBotTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBotTest.java new file mode 100644 index 00000000..3faa723e --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBotTest.java @@ -0,0 +1,90 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdViewBotByIdResponseBot + */ +public class SendBirdViewBotByIdResponseBotTest { + private final SendBirdViewBotByIdResponseBot model = new SendBirdViewBotByIdResponseBot(); + + /** + * Model tests for SendBirdViewBotByIdResponseBot + */ + @Test + public void testSendBirdViewBotByIdResponseBot() { + // TODO: test SendBirdViewBotByIdResponseBot + } + + /** + * Test the property 'botToken' + */ + @Test + public void botTokenTest() { + // TODO: test botToken + } + + /** + * Test the property 'botProfileUrl' + */ + @Test + public void botProfileUrlTest() { + // TODO: test botProfileUrl + } + + /** + * Test the property 'botUserid' + */ + @Test + public void botUseridTest() { + // TODO: test botUserid + } + + /** + * Test the property 'botNickname' + */ + @Test + public void botNicknameTest() { + // TODO: test botNickname + } + + /** + * Test the property 'botType' + */ + @Test + public void botTypeTest() { + // TODO: test botType + } + + /** + * Test the property 'botMetadata' + */ + @Test + public void botMetadataTest() { + // TODO: test botMetadata + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseTest.java new file mode 100644 index 00000000..773534e5 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseTest.java @@ -0,0 +1,91 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdViewBotByIdResponseBot; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdViewBotByIdResponse + */ +public class SendBirdViewBotByIdResponseTest { + private final SendBirdViewBotByIdResponse model = new SendBirdViewBotByIdResponse(); + + /** + * Model tests for SendBirdViewBotByIdResponse + */ + @Test + public void testSendBirdViewBotByIdResponse() { + // TODO: test SendBirdViewBotByIdResponse + } + + /** + * Test the property 'bot' + */ + @Test + public void botTest() { + // TODO: test bot + } + + /** + * Test the property 'botCallbackUrl' + */ + @Test + public void botCallbackUrlTest() { + // TODO: test botCallbackUrl + } + + /** + * Test the property 'enableMarkAsRead' + */ + @Test + public void enableMarkAsReadTest() { + // TODO: test enableMarkAsRead + } + + /** + * Test the property 'isPrivacyMode' + */ + @Test + public void isPrivacyModeTest() { + // TODO: test isPrivacyMode + } + + /** + * Test the property 'showMember' + */ + @Test + public void showMemberTest() { + // TODO: test showMember + } + + /** + * Test the property 'channelInvitationPreference' + */ + @Test + public void channelInvitationPreferenceTest() { + // TODO: test channelInvitationPreference + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponseTest.java new file mode 100644 index 00000000..1c0cb42f --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponseTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdViewCountPreferenceOfAChannelResponse + */ +public class SendBirdViewCountPreferenceOfAChannelResponseTest { + private final SendBirdViewCountPreferenceOfAChannelResponse model = new SendBirdViewCountPreferenceOfAChannelResponse(); + + /** + * Model tests for SendBirdViewCountPreferenceOfAChannelResponse + */ + @Test + public void testSendBirdViewCountPreferenceOfAChannelResponse() { + // TODO: test SendBirdViewCountPreferenceOfAChannelResponse + } + + /** + * Test the property 'countPreference' + */ + @Test + public void countPreferenceTest() { + // TODO: test countPreference + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest.java new file mode 100644 index 00000000..aa8d94b3 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdViewNumberOfChannelsWithUnreadMessagesResponse + */ +public class SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest { + private final SendBirdViewNumberOfChannelsWithUnreadMessagesResponse model = new SendBirdViewNumberOfChannelsWithUnreadMessagesResponse(); + + /** + * Model tests for SendBirdViewNumberOfChannelsWithUnreadMessagesResponse + */ + @Test + public void testSendBirdViewNumberOfChannelsWithUnreadMessagesResponse() { + // TODO: test SendBirdViewNumberOfChannelsWithUnreadMessagesResponse + } + + /** + * Test the property 'unreadCount' + */ + @Test + public void unreadCountTest() { + // TODO: test unreadCount + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponseTest.java new file mode 100644 index 00000000..91205eb2 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponseTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdViewNumberOfDailyActiveUsersResponse + */ +public class SendBirdViewNumberOfDailyActiveUsersResponseTest { + private final SendBirdViewNumberOfDailyActiveUsersResponse model = new SendBirdViewNumberOfDailyActiveUsersResponse(); + + /** + * Model tests for SendBirdViewNumberOfDailyActiveUsersResponse + */ + @Test + public void testSendBirdViewNumberOfDailyActiveUsersResponse() { + // TODO: test SendBirdViewNumberOfDailyActiveUsersResponse + } + + /** + * Test the property 'dau' + */ + @Test + public void dauTest() { + // TODO: test dau + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponseTest.java new file mode 100644 index 00000000..d443a017 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponseTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdViewNumberOfMonthlyActiveUsersResponse + */ +public class SendBirdViewNumberOfMonthlyActiveUsersResponseTest { + private final SendBirdViewNumberOfMonthlyActiveUsersResponse model = new SendBirdViewNumberOfMonthlyActiveUsersResponse(); + + /** + * Model tests for SendBirdViewNumberOfMonthlyActiveUsersResponse + */ + @Test + public void testSendBirdViewNumberOfMonthlyActiveUsersResponse() { + // TODO: test SendBirdViewNumberOfMonthlyActiveUsersResponse + } + + /** + * Test the property 'mau' + */ + @Test + public void mauTest() { + // TODO: test mau + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponseTest.java new file mode 100644 index 00000000..5e3ff093 --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponseTest.java @@ -0,0 +1,50 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdViewNumberOfUnreadMessagesResponse + */ +public class SendBirdViewNumberOfUnreadMessagesResponseTest { + private final SendBirdViewNumberOfUnreadMessagesResponse model = new SendBirdViewNumberOfUnreadMessagesResponse(); + + /** + * Model tests for SendBirdViewNumberOfUnreadMessagesResponse + */ + @Test + public void testSendBirdViewNumberOfUnreadMessagesResponse() { + // TODO: test SendBirdViewNumberOfUnreadMessagesResponse + } + + /** + * Test the property 'unreadCount' + */ + @Test + public void unreadCountTest() { + // TODO: test unreadCount + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponseTest.java new file mode 100644 index 00000000..7ed01dbf --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponseTest.java @@ -0,0 +1,67 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdViewPushPreferencesForAChannelResponse + */ +public class SendBirdViewPushPreferencesForAChannelResponseTest { + private final SendBirdViewPushPreferencesForAChannelResponse model = new SendBirdViewPushPreferencesForAChannelResponse(); + + /** + * Model tests for SendBirdViewPushPreferencesForAChannelResponse + */ + @Test + public void testSendBirdViewPushPreferencesForAChannelResponse() { + // TODO: test SendBirdViewPushPreferencesForAChannelResponse + } + + /** + * Test the property 'enable' + */ + @Test + public void enableTest() { + // TODO: test enable + } + + /** + * Test the property 'pushSound' + */ + @Test + public void pushSoundTest() { + // TODO: test pushSound + } + + /** + * Test the property 'pushTriggerOption' + */ + @Test + public void pushTriggerOptionTest() { + // TODO: test pushTriggerOption + } + +} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponseTest.java new file mode 100644 index 00000000..21ecd0fd --- /dev/null +++ b/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponseTest.java @@ -0,0 +1,157 @@ +/* + * Sendbird Platform SDK + * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@sendbird.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SendBirdViewPushPreferencesResponse + */ +public class SendBirdViewPushPreferencesResponseTest { + private final SendBirdViewPushPreferencesResponse model = new SendBirdViewPushPreferencesResponse(); + + /** + * Model tests for SendBirdViewPushPreferencesResponse + */ + @Test + public void testSendBirdViewPushPreferencesResponse() { + // TODO: test SendBirdViewPushPreferencesResponse + } + + /** + * Test the property 'blockPushFromBots' + */ + @Test + public void blockPushFromBotsTest() { + // TODO: test blockPushFromBots + } + + /** + * Test the property 'doNotDisturb' + */ + @Test + public void doNotDisturbTest() { + // TODO: test doNotDisturb + } + + /** + * Test the property 'enablePushForReplies' + */ + @Test + public void enablePushForRepliesTest() { + // TODO: test enablePushForReplies + } + + /** + * Test the property 'endHour' + */ + @Test + public void endHourTest() { + // TODO: test endHour + } + + /** + * Test the property 'endMin' + */ + @Test + public void endMinTest() { + // TODO: test endMin + } + + /** + * Test the property 'pushBlockedBotIds' + */ + @Test + public void pushBlockedBotIdsTest() { + // TODO: test pushBlockedBotIds + } + + /** + * Test the property 'pushSound' + */ + @Test + public void pushSoundTest() { + // TODO: test pushSound + } + + /** + * Test the property 'pushTriggerOption' + */ + @Test + public void pushTriggerOptionTest() { + // TODO: test pushTriggerOption + } + + /** + * Test the property 'snoozeEnabled' + */ + @Test + public void snoozeEnabledTest() { + // TODO: test snoozeEnabled + } + + /** + * Test the property 'snoozeEndTs' + */ + @Test + public void snoozeEndTsTest() { + // TODO: test snoozeEndTs + } + + /** + * Test the property 'snoozeStartTs' + */ + @Test + public void snoozeStartTsTest() { + // TODO: test snoozeStartTs + } + + /** + * Test the property 'startHour' + */ + @Test + public void startHourTest() { + // TODO: test startHour + } + + /** + * Test the property 'startMin' + */ + @Test + public void startMinTest() { + // TODO: test startMin + } + + /** + * Test the property 'timezone' + */ + @Test + public void timezoneTest() { + // TODO: test timezone + } + +} From d0a7cb29a5081d60987769126535d075f6350720 Mon Sep 17 00:00:00 2001 From: danney-chun <63285271+danney-chun@users.noreply.github.com> Date: Fri, 17 Oct 2025 08:58:05 +0900 Subject: [PATCH 04/10] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0ecc9f85..c29a13d2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,6 +25,6 @@ jobs: with: java-version: ${{ matrix.java }} distribution: 'temurin' - cache: maven + # cache: maven - name: Build with Maven run: mvn -B package --no-transfer-progress --file pom.xml From 51dd8f65c505d39ac1901ff319fc133af61fd5d0 Mon Sep 17 00:00:00 2001 From: danney-chun <63285271+danney-chun@users.noreply.github.com> Date: Fri, 17 Oct 2025 09:08:07 +0900 Subject: [PATCH 05/10] fixed build error --- .github/workflows/maven.yml | 2 +- .openapi-generator/FILES | 204 ++--------- api/openapi.yaml | 206 +++++------ docs/BotApi.md | 14 +- docs/GroupChannelApi.md | 24 +- docs/MessageApi.md | 18 +- docs/ModerationApi.md | 12 +- docs/OpenChannelApi.md | 18 +- ...rdAddARegistrationOrDeviceTokenResponse.md | 2 +- docs/SendBirdAddExtraDataToAMessageRequest.md | 2 +- .../SendBirdAddExtraDataToAMessageResponse.md | 2 +- docs/SendBirdBlockAUserResponse.md | 2 +- docs/SendBirdCreateAGroupChannelRequest.md | 2 +- docs/SendBirdGetAGroupChannelResponse.md | 16 +- docs/SendBirdGetAGroupChannelResponseAllOf.md | 2 +- ...SendBirdGroupChannelListMembersResponse.md | 2 +- docs/SendBirdGroupChatListChannelsResponse.md | 2 +- docs/SendBirdInviteAsMembersResponse.md | 16 +- docs/SendBirdInviteAsMembersResponseAllOf.md | 2 +- docs/SendBirdListBlockedUsersResponse.md | 2 +- docs/SendBirdListMessagesResponse.md | 2 +- docs/SendBirdListMyGroupChannelsResponse.md | 2 +- docs/SendBirdListOpenChannelsResponse.md | 2 +- docs/SendBirdListOperatorsResponse.md | 2 +- ...dListRegistrationOrDeviceTokensResponse.md | 2 +- docs/SendBirdListUsersResponse.md | 2 +- ...emoveARegistrationOrDeviceTokenResponse.md | 2 +- ...oveAllRegistrationOrDeviceTokenResponse.md | 2 +- docs/SendBirdSendABotMessageResponse.md | 2 +- docs/SendBirdSendAMessageRequest.md | 4 +- docs/SendBirdSendAdminMessageRequestBody.md | 2 +- docs/SendBirdSendFileMessageRequestBody.md | 4 +- docs/SendBirdSendTextMessageRequestBody.md | 2 +- docs/SendBirdSendbirdBasicUserInfo.md | 2 +- docs/SendBirdSendbirdDisappearingMessage.md | 2 +- .../SendBirdSendbirdExtendedMessagePayload.md | 2 +- docs/SendBirdSendbirdFile.md | 4 +- docs/SendBirdSendbirdGroupChannel.md | 16 +- docs/SendBirdSendbirdGroupChannelDetail.md | 16 +- ...ndBirdSendbirdGroupChannelDetailChannel.md | 2 +- ...SendBirdSendbirdGroupChannelLastMessage.md | 24 +- docs/SendBirdSendbirdMember.md | 4 +- docs/SendBirdSendbirdMessageResponse.md | 18 +- ...rdMessageResponseExtendedMessagePayload.md | 24 +- ...irdSendbirdMessageResponseMessageEvents.md | 2 +- docs/SendBirdSendbirdOpenChannel.md | 4 +- docs/SendBirdSendbirdParentMessageInfo.md | 8 +- docs/SendBirdSendbirdPushTriggerOption.md | 2 +- docs/SendBirdSendbirdReaction.md | 2 +- docs/SendBirdSendbirdSmsFallback.md | 2 +- docs/SendBirdSendbirdSortedMetaarrayInner.md | 2 +- docs/SendBirdSendbirdThumbnail.md | 2 +- docs/SendBirdSendbirdUser.md | 2 +- ...endBirdUpdateExtraDataInAMessageRequest.md | 2 +- ...ndBirdUpdateExtraDataInAMessageResponse.md | 2 +- ...pdatePushPreferencesForAChannelResponse.md | 2 +- docs/SendBirdUpdatePushPreferencesRequest.md | 2 +- docs/SendBirdUpdatePushPreferencesResponse.md | 2 +- ...dViewPushPreferencesForAChannelResponse.md | 2 +- docs/SendBirdViewPushPreferencesResponse.md | 2 +- docs/UserApi.md | 18 +- .../client/model/AbstractOpenApiSchema.java | 2 +- .../SendBirdAcceptAnInvitationRequest.java | 2 +- ...dAddARegistrationOrDeviceTokenRequest.java | 2 +- ...AddARegistrationOrDeviceTokenResponse.java | 12 +- ...SendBirdAddExtraDataToAMessageRequest.java | 14 +- ...endBirdAddExtraDataToAMessageResponse.java | 14 +- .../model/SendBirdBlockAUserRequest.java | 2 +- .../model/SendBirdBlockAUserResponse.java | 14 +- .../model/SendBirdCheckIfMemberResponse.java | 2 +- ...ushNotificationContentTemplateRequest.java | 2 +- ...shNotificationContentTemplateResponse.java | 2 +- .../model/SendBirdCreateABotRequest.java | 2 +- .../model/SendBirdCreateABotResponse.java | 2 +- .../model/SendBirdCreateABotResponseBot.java | 2 +- ...SendBirdCreateAChannelMetadataRequest.java | 2 +- ...endBirdCreateAChannelMetadataResponse.java | 2 +- .../SendBirdCreateAGroupChannelRequest.java | 14 +- .../model/SendBirdCreateAUserRequest.java | 2 +- .../SendBirdCreateAnOpenChannelRequest.java | 2 +- .../model/SendBirdCreateUserTokenRequest.java | 2 +- .../SendBirdCreateUserTokenResponse.java | 2 +- .../SendBirdFreezeAGroupChannelRequest.java | 2 +- .../SendBirdFreezeAnOpenChannelRequest.java | 2 +- .../SendBirdGetAGroupChannelResponse.java | 84 ++--- ...SendBirdGetAGroupChannelResponseAllOf.java | 12 +- ...etChannelInvitationPreferenceResponse.java | 2 +- ...talNumberOfMessagesInAChannelResponse.java | 2 +- ...ndBirdGroupChannelListMembersResponse.java | 14 +- ...SendBirdGroupChatListChannelsResponse.java | 14 +- .../model/SendBirdHideAChannelRequest.java | 2 +- .../model/SendBirdInviteAsMembersRequest.java | 2 +- .../SendBirdInviteAsMembersResponse.java | 86 ++--- .../SendBirdInviteAsMembersResponseAllOf.java | 14 +- .../model/SendBirdJoinAChannelRequest.java | 2 +- .../model/SendBirdJoinChannelsRequest.java | 2 +- .../model/SendBirdLeaveAChannelRequest.java | 2 +- .../SendBirdLeaveMyGroupChannelsRequest.java | 2 +- .../SendBirdListBlockedUsersResponse.java | 14 +- .../model/SendBirdListBotsResponse.java | 2 +- .../SendBirdListBotsResponseBotsInner.java | 2 +- .../SendBirdListBotsResponseBotsInnerBot.java | 2 +- ...BirdListBotsResponseBotsInnerBotStyle.java | 2 +- ...istBotsResponseBotsInnerBotStyleColor.java | 2 +- ...tsResponseBotsInnerFirstMessagesInner.java | 2 +- ...sponseBotsInnerFirstMessagesInnerData.java | 2 +- ...irdListBotsResponseBotsInnerSafeguard.java | 2 +- .../model/SendBirdListMessagesResponse.java | 14 +- .../SendBirdListMyGroupChannelsResponse.java | 14 +- .../SendBirdListOpenChannelsResponse.java | 14 +- .../model/SendBirdListOperatorsResponse.java | 14 +- ...istRegistrationOrDeviceTokensResponse.java | 12 +- .../model/SendBirdListUsersResponse.java | 14 +- .../SendBirdMarkAllMessagesAsReadRequest.java | 2 +- ...dBirdMarkChannelMessagesAsReadRequest.java | 2 +- ...irdMigrateMessagesAdminMessageRequest.java | 2 +- ...BirdMigrateMessagesFileMessageRequest.java | 2 +- ...agesFileMessageRequestThumbnailsInner.java | 2 +- .../model/SendBirdMigrateMessagesRequest.java | 2 +- ...rdMigrateMessagesRequestMessagesInner.java | 2 +- ...BirdMigrateMessagesTextMessageRequest.java | 2 +- ...gisterOperatorsToAGroupChannelRequest.java | 2 +- ...oveARegistrationOrDeviceTokenResponse.java | 12 +- ...eAllRegistrationOrDeviceTokenResponse.java | 12 +- .../SendBirdResetChatHistoryRequest.java | 2 +- .../SendBirdResetChatHistoryResponse.java | 2 +- ...SendBirdScheduleAnAnnouncementRequest.java | 2 +- ...nouncementRequestCreateChannelOptions.java | 2 +- ...dScheduleAnAnnouncementRequestMessage.java | 2 +- ...endBirdScheduleAnAnnouncementResponse.java | 2 +- ...ScheduleAnAnnouncementResponseMessage.java | 2 +- .../SendBirdSendABotMessageResponse.java | 12 +- .../model/SendBirdSendAMessageRequest.java | 24 +- ...endAMessageRequestPushMessageTemplate.java | 2 +- ...essageRequestPushMessageTemplateOneOf.java | 2 +- .../SendBirdSendAdminMessageRequestBody.java | 14 +- .../SendBirdSendFileMessageRequestBody.java | 24 +- .../SendBirdSendTextMessageRequestBody.java | 14 +- ...MessageRequestBodyPushMessageTemplate.java | 2 +- .../model/SendBirdSendbirdBasicUserInfo.java | 64 ++-- .../SendBirdSendbirdDisappearingMessage.java | 28 +- ...endBirdSendbirdExtendedMessagePayload.java | 28 +- .../client/model/SendBirdSendbirdFile.java | 62 ++-- .../model/SendBirdSendbirdGroupChannel.java | 344 +++++++++--------- .../SendBirdSendbirdGroupChannelDetail.java | 278 +++++++------- ...BirdSendbirdGroupChannelDetailChannel.java | 64 ++-- ...ndBirdSendbirdGroupChannelLastMessage.java | 100 ++--- .../client/model/SendBirdSendbirdMember.java | 158 ++++---- .../SendBirdSendbirdMessageResponse.java | 274 +++++++------- ...MessageResponseExtendedMessagePayload.java | 86 ++--- ...dSendbirdMessageResponseMessageEvents.java | 40 +- .../model/SendBirdSendbirdOpenChannel.java | 104 +++--- .../SendBirdSendbirdParentMessageInfo.java | 82 ++--- .../SendBirdSendbirdPushTriggerOption.java | 10 +- .../model/SendBirdSendbirdReaction.java | 36 +- .../model/SendBirdSendbirdSmsFallback.java | 30 +- .../SendBirdSendbirdSortedMetaarrayInner.java | 30 +- .../model/SendBirdSendbirdThumbnail.java | 52 +-- .../client/model/SendBirdSendbirdUser.java | 144 ++++---- .../SendBirdStartTypingIndicatorsRequest.java | 2 +- ...SendBirdUpdateAChannelMetadataRequest.java | 2 +- .../SendBirdUpdateAGroupChannelRequest.java | 2 +- .../model/SendBirdUpdateAMessageRequest.java | 2 +- .../model/SendBirdUpdateAUserRequest.java | 2 +- .../SendBirdUpdateAnOpenChannelRequest.java | 2 +- .../model/SendBirdUpdateBotByIdData.java | 2 +- .../model/SendBirdUpdateBotByIdResponse.java | 2 +- ...ateChannelInvitationPreferenceRequest.java | 2 +- ...teChannelInvitationPreferenceResponse.java | 2 +- ...pdateCountPreferenceOfAChannelRequest.java | 2 +- ...CountPreferenceOfChannelByUrlResponse.java | 2 +- ...dBirdUpdateExtraDataInAMessageRequest.java | 14 +- ...BirdUpdateExtraDataInAMessageResponse.java | 14 +- ...datePushPreferencesForAChannelRequest.java | 2 +- ...atePushPreferencesForAChannelResponse.java | 12 +- .../SendBirdUpdatePushPreferencesRequest.java | 12 +- ...SendBirdUpdatePushPreferencesResponse.java | 12 +- .../model/SendBirdViewBotByIdResponse.java | 2 +- .../model/SendBirdViewBotByIdResponseBot.java | 2 +- ...ViewCountPreferenceOfAChannelResponse.java | 2 +- ...rOfChannelsWithUnreadMessagesResponse.java | 2 +- ...dViewNumberOfDailyActiveUsersResponse.java | 2 +- ...iewNumberOfMonthlyActiveUsersResponse.java | 2 +- ...irdViewNumberOfUnreadMessagesResponse.java | 2 +- ...iewPushPreferencesForAChannelResponse.java | 12 +- .../SendBirdViewPushPreferencesResponse.java | 12 +- .../java/org/sendbird/client/ApiClient.java | 2 +- .../org/sendbird/client/ApiException.java | 2 +- .../org/sendbird/client/Configuration.java | 2 +- src/main/java/org/sendbird/client/JSON.java | 2 +- .../sendbird/client/JavaTimeFormatter.java | 2 +- src/main/java/org/sendbird/client/Pair.java | 2 +- .../java/org/sendbird/client/StringUtil.java | 2 +- .../sendbird/client/api/AnnouncementApi.java | 2 +- .../java/org/sendbird/client/api/BotApi.java | 30 +- .../sendbird/client/api/GroupChannelApi.java | 52 +-- .../org/sendbird/client/api/MessageApi.java | 40 +- .../org/sendbird/client/api/MetadataApi.java | 2 +- .../sendbird/client/api/ModerationApi.java | 30 +- .../sendbird/client/api/OpenChannelApi.java | 40 +- .../sendbird/client/api/StatisticsApi.java | 2 +- .../java/org/sendbird/client/api/UserApi.java | 40 +- .../org/sendbird/client/auth/ApiKeyAuth.java | 2 +- .../sendbird/client/auth/HttpBasicAuth.java | 2 +- .../sendbird/client/auth/HttpBearerAuth.java | 2 +- 205 files changed, 1817 insertions(+), 1941 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c29a13d2..0ecc9f85 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,6 +25,6 @@ jobs: with: java-version: ${{ matrix.java }} distribution: 'temurin' - # cache: maven + cache: maven - name: Build with Maven run: mvn -B package --no-transfer-progress --file pom.xml diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 20e5a93c..4ec61c19 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -85,29 +85,29 @@ docs/SendBirdSendAMessageRequest.md docs/SendBirdSendAMessageRequestPushMessageTemplate.md docs/SendBirdSendAMessageRequestPushMessageTemplateOneOf.md docs/SendBirdSendAdminMessageRequestBody.md +docs/SendBirdSendBirdBasicUserInfo.md +docs/SendBirdSendBirdDisappearingMessage.md +docs/SendBirdSendBirdExtendedMessagePayload.md +docs/SendBirdSendBirdFile.md +docs/SendBirdSendBirdGroupChannel.md +docs/SendBirdSendBirdGroupChannelDetail.md +docs/SendBirdSendBirdGroupChannelDetailChannel.md +docs/SendBirdSendBirdGroupChannelLastMessage.md +docs/SendBirdSendBirdMember.md +docs/SendBirdSendBirdMessageResponse.md +docs/SendBirdSendBirdMessageResponseExtendedMessagePayload.md +docs/SendBirdSendBirdMessageResponseMessageEvents.md +docs/SendBirdSendBirdOpenChannel.md +docs/SendBirdSendBirdParentMessageInfo.md +docs/SendBirdSendBirdPushTriggerOption.md +docs/SendBirdSendBirdReaction.md +docs/SendBirdSendBirdSmsFallback.md +docs/SendBirdSendBirdSortedMetaarrayInner.md +docs/SendBirdSendBirdThumbnail.md +docs/SendBirdSendBirdUser.md docs/SendBirdSendFileMessageRequestBody.md docs/SendBirdSendTextMessageRequestBody.md docs/SendBirdSendTextMessageRequestBodyPushMessageTemplate.md -docs/SendBirdSendbirdBasicUserInfo.md -docs/SendBirdSendbirdDisappearingMessage.md -docs/SendBirdSendbirdExtendedMessagePayload.md -docs/SendBirdSendbirdFile.md -docs/SendBirdSendbirdGroupChannel.md -docs/SendBirdSendbirdGroupChannelDetail.md -docs/SendBirdSendbirdGroupChannelDetailChannel.md -docs/SendBirdSendbirdGroupChannelLastMessage.md -docs/SendBirdSendbirdMember.md -docs/SendBirdSendbirdMessageResponse.md -docs/SendBirdSendbirdMessageResponseExtendedMessagePayload.md -docs/SendBirdSendbirdMessageResponseMessageEvents.md -docs/SendBirdSendbirdOpenChannel.md -docs/SendBirdSendbirdParentMessageInfo.md -docs/SendBirdSendbirdPushTriggerOption.md -docs/SendBirdSendbirdReaction.md -docs/SendBirdSendbirdSmsFallback.md -docs/SendBirdSendbirdSortedMetaarrayInner.md -docs/SendBirdSendbirdThumbnail.md -docs/SendBirdSendbirdUser.md docs/SendBirdStartTypingIndicatorsRequest.md docs/SendBirdUpdateAChannelMetadataRequest.md docs/SendBirdUpdateAGroupChannelRequest.md @@ -221,29 +221,29 @@ src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdBasicUserInfo.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdDisappearingMessage.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdExtendedMessagePayload.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdFile.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdGroupChannel.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdGroupChannelDetail.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdGroupChannelDetailChannel.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdGroupChannelLastMessage.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdMember.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdMessageResponse.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdMessageResponseExtendedMessagePayload.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdMessageResponseMessageEvents.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdOpenChannel.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdParentMessageInfo.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdPushTriggerOption.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdReaction.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdSmsFallback.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdSortedMetaarrayInner.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdThumbnail.java +src/main/java/org/openapitools/client/model/SendBirdSendBirdUser.java src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java -src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java @@ -295,127 +295,3 @@ src/main/java/org/sendbird/client/auth/ApiKeyAuth.java src/main/java/org/sendbird/client/auth/Authentication.java src/main/java/org/sendbird/client/auth/HttpBasicAuth.java src/main/java/org/sendbird/client/auth/HttpBearerAuth.java -src/test/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdBlockAUserRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdBlockAUserResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdCheckIfMemberResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdCreateABotRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseBotTest.java -src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdCreateAUserRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOfTest.java -src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdHideAChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOfTest.java -src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdJoinAChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdJoinChannelsRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdLeaveAChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdListBlockedUsersResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColorTest.java -src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleTest.java -src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotTest.java -src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest.java -src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest.java -src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguardTest.java -src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerTest.java -src/test/java/org/openapitools/client/model/SendBirdListBotsResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdListMessagesResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdListOpenChannelsResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdListOperatorsResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdListUsersResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest.java -src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInnerTest.java -src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest.java -src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessageTest.java -src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessageTest.java -src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdSendABotMessageResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOfTest.java -src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateTest.java -src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBodyTest.java -src/test/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBodyTest.java -src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplateTest.java -src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfoTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessageTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayloadTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdFileTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannelTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessageTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdMemberTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayloadTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEventsTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdOpenChannelTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfoTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOptionTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdReactionTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdSmsFallbackTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInnerTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdThumbnailTest.java -src/test/java/org/openapitools/client/model/SendBirdSendbirdUserTest.java -src/test/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateAMessageRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateAUserRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdDataTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequestTest.java -src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBotTest.java -src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponseTest.java -src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponseTest.java diff --git a/api/openapi.yaml b/api/openapi.yaml index a4684ef9..34a6659f 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -5405,17 +5405,17 @@ paths: x-accepts: application/json components: schemas: - Sendbird.SortedMetaarray: + SendBird.SortedMetaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' type: array - Sendbird.PushTriggerOption: + SendBird.PushTriggerOption: enum: - all - mention_only - "off" type: string - Sendbird.Thumbnail: + SendBird.Thumbnail: example: real_width: 1 width: 1 @@ -5437,7 +5437,7 @@ components: width: type: integer type: object - Sendbird.File: + SendBird.File: example: file_name: file_name file_type: file_type @@ -5468,12 +5468,12 @@ components: type: string thumbnails: items: - $ref: '#/components/schemas/Sendbird.Thumbnail' + $ref: '#/components/schemas/SendBird.Thumbnail' type: array require_auth: type: boolean type: object - Sendbird.SmsFallback: + SendBird.SmsFallback: example: exclude_user_ids: - exclude_user_ids @@ -5487,7 +5487,7 @@ components: type: string type: array type: object - Sendbird.DisappearingMessage: + SendBird.DisappearingMessage: example: is_triggered_by_message_read: true message_survival_seconds: 6 @@ -5497,7 +5497,7 @@ components: is_triggered_by_message_read: type: boolean type: object - Sendbird.BasicUserInfo: + SendBird.BasicUserInfo: example: metadata: "{}" require_auth_for_profile_image: true @@ -5534,7 +5534,7 @@ components: required: - user_id type: object - Sendbird.User: + SendBird.User: description: User example: metadata: "{}" @@ -5625,7 +5625,7 @@ components: required: - user_id type: object - Sendbird.Member: + SendBird.Member: example: metadata: "{}" is_active: true @@ -5693,7 +5693,7 @@ components: push_enabled: type: boolean push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendBird.PushTriggerOption' profile_url: default: "" type: string @@ -5721,7 +5721,7 @@ components: required: - user_id type: object - Sendbird.ExtendedMessagePayload: + SendBird.ExtendedMessagePayload: description: Specifies the extended message payload which is used to send a message with a custom message type. properties: @@ -5736,7 +5736,7 @@ components: type: string type: array type: object - Sendbird.ParentMessageInfo: + SendBird.ParentMessageInfo: example: file: file_name: file_name @@ -5835,15 +5835,15 @@ components: format: int64 type: integer user: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendBird.User' file: - $ref: '#/components/schemas/Sendbird.File' + $ref: '#/components/schemas/SendBird.File' files: items: - $ref: '#/components/schemas/Sendbird.File' + $ref: '#/components/schemas/SendBird.File' type: array type: object - Sendbird.Reaction: + SendBird.Reaction: example: updated_at: 2 user_ids: @@ -5861,7 +5861,7 @@ components: type: string type: array type: object - Sendbird.MessageResponse: + SendBird.MessageResponse: example: data: data message_events: @@ -6070,7 +6070,7 @@ components: type: string mentioned_users: items: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendBird.BasicUserInfo' type: array translations: type: object @@ -6081,17 +6081,17 @@ components: type: boolean reactions: items: - $ref: '#/components/schemas/Sendbird.Reaction' + $ref: '#/components/schemas/SendBird.Reaction' type: array is_removed: type: boolean user: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendBird.BasicUserInfo' file: type: object files: items: - $ref: '#/components/schemas/Sendbird.File' + $ref: '#/components/schemas/SendBird.File' type: array message: type: string @@ -6119,22 +6119,22 @@ components: type: integer sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' type: array thread_info: type: object parent_message_id: type: integer parent_message_info: - $ref: '#/components/schemas/Sendbird.ParentMessageInfo' + $ref: '#/components/schemas/SendBird.ParentMessageInfo' is_reply_to_channel: type: boolean message_events: - $ref: '#/components/schemas/Sendbird_MessageResponse_message_events' + $ref: '#/components/schemas/SendBird_MessageResponse_message_events' extended_message_payload: - $ref: '#/components/schemas/Sendbird_MessageResponse_extended_message_payload' + $ref: '#/components/schemas/SendBird_MessageResponse_extended_message_payload' type: object - Sendbird.GroupChannel: + SendBird.GroupChannel: example: metadata: "{}" count_preference: "false" @@ -6268,7 +6268,7 @@ components: format: int64 type: integer created_by: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendBird.BasicUserInfo' custom_type: type: string data: @@ -6276,7 +6276,7 @@ components: delivery_receipt: type: object disappearing_message: - $ref: '#/components/schemas/Sendbird.DisappearingMessage' + $ref: '#/components/schemas/SendBird.DisappearingMessage' freeze: type: boolean has_ai_bot: @@ -6295,7 +6295,7 @@ components: format: int64 type: integer inviter: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendBird.BasicUserInfo' is_access_code_required: nullable: true type: boolean @@ -6326,7 +6326,7 @@ components: nullable: true type: integer last_message: - $ref: '#/components/schemas/Sendbird_GroupChannel_last_message' + $ref: '#/components/schemas/SendBird_GroupChannel_last_message' max_length_message: type: integer member_count: @@ -6339,7 +6339,7 @@ components: type: string members: items: - $ref: '#/components/schemas/Sendbird.Member' + $ref: '#/components/schemas/SendBird.Member' type: array message_survival_seconds: type: integer @@ -6355,14 +6355,14 @@ components: name: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendBird.PushTriggerOption' read_receipt: additionalProperties: format: int64 type: integer type: object sms_fallback: - $ref: '#/components/schemas/Sendbird.SmsFallback' + $ref: '#/components/schemas/SendBird.SmsFallback' ts_message_offset: format: int64 type: integer @@ -6376,7 +6376,7 @@ components: required: - channel_url type: object - Sendbird.GroupChannelDetail: + SendBird.GroupChannelDetail: example: data: data custom_type: custom_type @@ -6733,7 +6733,7 @@ components: is_access_code_required: true properties: channel: - $ref: '#/components/schemas/Sendbird_GroupChannelDetail_channel' + $ref: '#/components/schemas/SendBird_GroupChannelDetail_channel' channel_url: type: string cover_url: @@ -6742,7 +6742,7 @@ components: format: int64 type: integer created_by: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendBird.BasicUserInfo' custom_type: type: string data: @@ -6753,7 +6753,7 @@ components: type: integer type: object disappearing_message: - $ref: '#/components/schemas/Sendbird.DisappearingMessage' + $ref: '#/components/schemas/SendBird.DisappearingMessage' freeze: type: boolean has_ai_bot: @@ -6781,14 +6781,14 @@ components: joined_member_count: type: integer last_message: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendBird.MessageResponse' max_length_message: type: integer member_count: type: integer members: items: - $ref: '#/components/schemas/Sendbird.Member' + $ref: '#/components/schemas/SendBird.Member' type: array message_survival_seconds: type: integer @@ -6796,7 +6796,7 @@ components: type: string operators: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendBird.User' type: array read_receipt: additionalProperties: @@ -6804,7 +6804,7 @@ components: type: integer type: object sms_fallback: - $ref: '#/components/schemas/Sendbird.SmsFallback' + $ref: '#/components/schemas/SendBird.SmsFallback' unread_mention_count: type: integer unread_message_count: @@ -6812,7 +6812,7 @@ components: required: - channel_url type: object - Sendbird.OpenChannel: + SendBird.OpenChannel: example: cover_url: cover_url metadata: "{}" @@ -6867,7 +6867,7 @@ components: type: string operators: items: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendBird.BasicUserInfo' type: array participant_count: type: integer @@ -6878,7 +6878,7 @@ components: - channel_url type: object createAGroupChannelResponse: - $ref: '#/components/schemas/Sendbird.GroupChannelDetail' + $ref: '#/components/schemas/SendBird.GroupChannelDetail' groupChatListChannelsResponse: example: next: next @@ -7119,7 +7119,7 @@ components: properties: channels: items: - $ref: '#/components/schemas/Sendbird.GroupChannel' + $ref: '#/components/schemas/SendBird.GroupChannel' type: array next: type: string @@ -7130,19 +7130,19 @@ components: getAGroupChannelResponse: allOf: - $ref: '#/components/schemas/getAGroupChannelResponse_allOf' - - $ref: '#/components/schemas/Sendbird.GroupChannel' + - $ref: '#/components/schemas/SendBird.GroupChannel' updateAGroupChannelResponse: - $ref: '#/components/schemas/Sendbird.GroupChannelDetail' + $ref: '#/components/schemas/SendBird.GroupChannelDetail' acceptAnInvitationResponse: - $ref: '#/components/schemas/Sendbird.GroupChannelDetail' + $ref: '#/components/schemas/SendBird.GroupChannelDetail' inviteAsMembersResponse: allOf: - - $ref: '#/components/schemas/Sendbird.GroupChannel' + - $ref: '#/components/schemas/SendBird.GroupChannel' - $ref: '#/components/schemas/inviteAsMembersResponse_allOf' joinAChannelResponse: - $ref: '#/components/schemas/Sendbird.GroupChannelDetail' + $ref: '#/components/schemas/SendBird.GroupChannelDetail' freezeAGroupChannelResponse: - $ref: '#/components/schemas/Sendbird.GroupChannelDetail' + $ref: '#/components/schemas/SendBird.GroupChannelDetail' groupChannelListMembersResponse: example: next: next @@ -7198,7 +7198,7 @@ components: properties: members: items: - $ref: '#/components/schemas/Sendbird.Member' + $ref: '#/components/schemas/SendBird.Member' type: array next: type: string @@ -7269,7 +7269,7 @@ components: type: string operators: items: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendBird.BasicUserInfo' type: array type: object listBotsResponse: @@ -7625,7 +7625,7 @@ components: is_blocked_by_me: true properties: message: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendBird.MessageResponse' type: object createABotResponse: example: @@ -7765,11 +7765,11 @@ components: type: string type: object createAnOpenChannelResponse: - $ref: '#/components/schemas/Sendbird.OpenChannel' + $ref: '#/components/schemas/SendBird.OpenChannel' getAnOpenChannelResponse: - $ref: '#/components/schemas/Sendbird.OpenChannel' + $ref: '#/components/schemas/SendBird.OpenChannel' updateAnOpenChannelResponse: - $ref: '#/components/schemas/Sendbird.OpenChannel' + $ref: '#/components/schemas/SendBird.OpenChannel' listOpenChannelsResponse: example: next: next @@ -7836,7 +7836,7 @@ components: properties: channels: items: - $ref: '#/components/schemas/Sendbird.OpenChannel' + $ref: '#/components/schemas/SendBird.OpenChannel' type: array next: type: string @@ -7845,7 +7845,7 @@ components: type: integer type: object freezeAnOpenChannelResponse: - $ref: '#/components/schemas/Sendbird.OpenChannel' + $ref: '#/components/schemas/SendBird.OpenChannel' listBlockedUsersResponse: example: next: next @@ -7903,7 +7903,7 @@ components: properties: users: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendBird.User' type: array next: type: string @@ -7965,7 +7965,7 @@ components: properties: users: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendBird.User' type: array next: type: string @@ -7978,9 +7978,9 @@ components: type: integer type: object viewAUserResponse: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendBird.User' updateAUserResponse: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendBird.User' listUsersResponse: example: next: next @@ -8040,7 +8040,7 @@ components: type: string users: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendBird.User' type: array type: object chooseAPushNotificationContentTemplateResponse: @@ -8051,7 +8051,7 @@ components: type: string type: object createAUserResponse: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendBird.User' listRegistrationOrDeviceTokensResponse: example: tokens: @@ -8082,7 +8082,7 @@ components: type: type: string user: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendBird.BasicUserInfo' type: object addARegistrationOrDeviceTokenResponse: example: @@ -8103,7 +8103,7 @@ components: type: type: string user: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendBird.BasicUserInfo' type: object viewPushPreferencesResponse: example: @@ -8141,7 +8141,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendBird.PushTriggerOption' snooze_enabled: type: boolean snooze_end_ts: @@ -8193,7 +8193,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendBird.PushTriggerOption' snooze_enabled: type: boolean snooze_end_ts: @@ -8229,7 +8229,7 @@ components: type: string type: array user: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendBird.BasicUserInfo' type: object createUserTokenResponse: example: @@ -8253,7 +8253,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendBird.PushTriggerOption' type: object updatePushPreferencesForAChannelResponse: example: @@ -8266,7 +8266,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendBird.PushTriggerOption' type: object viewWhoOwnsARegistrationOrDeviceTokenResponse: items: @@ -8523,7 +8523,7 @@ components: properties: channels: items: - $ref: '#/components/schemas/Sendbird.GroupChannel' + $ref: '#/components/schemas/SendBird.GroupChannel' type: array next: type: string @@ -8547,7 +8547,7 @@ components: token: type: string user: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendBird.BasicUserInfo' type: object viewCountPreferenceOfAChannelResponse: example: @@ -9004,7 +9004,7 @@ components: properties: messages: items: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendBird.MessageResponse' type: array type: object sendTextMessageRequestBody: @@ -9053,7 +9053,7 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' type: array sound: type: string @@ -9080,7 +9080,7 @@ components: dedup_id: type: string files: - $ref: '#/components/schemas/Sendbird.File' + $ref: '#/components/schemas/SendBird.File' is_silent: type: boolean mark_as_read: @@ -9121,7 +9121,7 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' type: array sound: type: string @@ -9177,14 +9177,14 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' type: array required: - message - message_type type: object sendAMessageResponse: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendBird.MessageResponse' getTotalNumberOfMessagesInAChannelResponse: example: total: 0 @@ -9206,7 +9206,7 @@ components: properties: sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' type: array type: object addExtraDataToAMessageResponse: @@ -9223,13 +9223,13 @@ components: properties: sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' type: array type: object getAMessageResponse: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendBird.MessageResponse' updateAMessageResponse: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendBird.MessageResponse' emptyObjectResponse: properties: {} type: object @@ -9379,7 +9379,7 @@ components: type: string type: array extended_message_payload: - $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload' + $ref: '#/components/schemas/SendBird.ExtendedMessagePayload' file: description: "When sending a single file with a message, specifies the data\ \ of the file to upload to the Sendbird server in raw binary format. When\ @@ -9424,7 +9424,7 @@ components: description: '* This property is available when message_type is FILE.' type: boolean sorted_metaarray: - $ref: '#/components/schemas/Sendbird.SortedMetaarray' + $ref: '#/components/schemas/SendBird.SortedMetaarray' apns_bundle_id: description: '* This property is available when message_type is FILE.' type: string @@ -9589,7 +9589,7 @@ components: type: array users: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendBird.User' type: array required: - users @@ -10052,7 +10052,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendBird.PushTriggerOption' snooze_enabled: type: boolean snooze_end_ts: @@ -10193,7 +10193,7 @@ components: * This property is only available for group channels and message_type is MESG. type: integer files: - $ref: '#/components/schemas/Sendbird.File' + $ref: '#/components/schemas/SendBird.File' require_auth: description: "Determines whether to require an authentication key to verify\ \ if the file is being properly accessed. Only the user who uploaded the\ @@ -10265,7 +10265,7 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' type: array sound: type: string @@ -10281,7 +10281,7 @@ components: type: string sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' type: array upsert: type: boolean @@ -10290,7 +10290,7 @@ components: properties: sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' type: array required: - sorted_metaarray @@ -10320,7 +10320,7 @@ components: required: - message_type type: object - Sendbird_SortedMetaarray_inner: + SendBird_SortedMetaarray_inner: example: value: - value @@ -10334,7 +10334,7 @@ components: type: string type: array type: object - Sendbird_MessageResponse_message_events: + SendBird_MessageResponse_message_events: example: update_last_message: true update_mention_count: true @@ -10351,13 +10351,13 @@ components: update_last_message: type: boolean type: object - Sendbird_MessageResponse_extended_message_payload: + SendBird_MessageResponse_extended_message_payload: oneOf: - - $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload' - Sendbird_GroupChannel_last_message: + - $ref: '#/components/schemas/SendBird.ExtendedMessagePayload' + SendBird_GroupChannel_last_message: oneOf: - - $ref: '#/components/schemas/Sendbird.MessageResponse' - Sendbird_GroupChannelDetail_channel: + - $ref: '#/components/schemas/SendBird.MessageResponse' + SendBird_GroupChannelDetail_channel: example: cover_url: cover_url data: data @@ -10389,13 +10389,13 @@ components: getAGroupChannelResponse_allOf: properties: channel: - $ref: '#/components/schemas/Sendbird_GroupChannelDetail_channel' + $ref: '#/components/schemas/SendBird_GroupChannelDetail_channel' type: object inviteAsMembersResponse_allOf: properties: operators: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendBird.User' type: array type: object listBotsResponse_bots_inner_bot: diff --git a/docs/BotApi.md b/docs/BotApi.md index c09d8875..2acc70e8 100644 --- a/docs/BotApi.md +++ b/docs/BotApi.md @@ -169,7 +169,7 @@ No authorization required ## joinChannels -> SendBirdSendbirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).sendBirdJoinChannelsRequest(sendBirdJoinChannelsRequest).execute(); +> SendBirdSendBirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).sendBirdJoinChannelsRequest(sendBirdJoinChannelsRequest).execute(); Join channels @@ -199,7 +199,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest = new SendBirdJoinChannelsRequest(); // SendBirdJoinChannelsRequest | try { - SendBirdSendbirdGroupChannelDetail result = api.joinChannels(botUserid) + SendBirdSendBirdGroupChannelDetail result = api.joinChannels(botUserid) .apiToken(apiToken) .sendBirdJoinChannelsRequest(sendBirdJoinChannelsRequest) .execute(); @@ -226,7 +226,7 @@ public class Example { ### Return type -[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) +[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) ### Authorization @@ -508,13 +508,13 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | String message = "message_example"; // String | Specifies the content of the message. * This property is required when message_type is MESG. List mentioned = Arrays.asList(); // List | * This property is available when message_type is MESG. - SendBirdSendbirdExtendedMessagePayload extendedMessagePayload = new SendBirdSendbirdExtendedMessagePayload(); // SendBirdSendbirdExtendedMessagePayload | + SendBirdSendBirdExtendedMessagePayload extendedMessagePayload = new SendBirdSendBirdExtendedMessagePayload(); // SendBirdSendBirdExtendedMessagePayload | File _file = new File("/path/to/file"); // File | When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. Boolean requireAuth = true; // Boolean | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. String mentionType = "users"; // String | * This property is available when message_type is FILE. List mentionedUserIds = Arrays.asList(); // List | * This property is available when message_type is FILE. Boolean isSilent = true; // Boolean | * This property is available when message_type is FILE. - List sortedMetaarray = Arrays.asList(); // List | + List sortedMetaarray = Arrays.asList(); // List | String apnsBundleId = "apnsBundleId_example"; // String | * This property is available when message_type is FILE. Object appleCriticalAlertOptions = null; // Object | * This property is available when message_type is FILE. String sound = "sound_example"; // String | * This property is available when message_type is FILE. @@ -573,13 +573,13 @@ public class Example { | **apiToken** | **String**| | [optional] | | **message** | **String**| Specifies the content of the message. * This property is required when message_type is MESG. | [optional] | | **mentioned** | **List<String>**| * This property is available when message_type is MESG. | [optional] | -| **extendedMessagePayload** | [**SendBirdSendbirdExtendedMessagePayload**](SendBirdSendbirdExtendedMessagePayload.md)| | [optional] | +| **extendedMessagePayload** | [**SendBirdSendBirdExtendedMessagePayload**](SendBirdSendBirdExtendedMessagePayload.md)| | [optional] | | **_file** | **File**| When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. | [optional] | | **requireAuth** | **Boolean**| Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. | [optional] | | **mentionType** | **String**| * This property is available when message_type is FILE. | [optional] [enum: users, channel] | | **mentionedUserIds** | **List<String>**| * This property is available when message_type is FILE. | [optional] | | **isSilent** | **Boolean**| * This property is available when message_type is FILE. | [optional] | -| **sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md)| | [optional] | +| **sortedMetaarray** | [**List<SendBirdSendBirdSortedMetaarrayInner>**](SendBirdSendBirdSortedMetaarrayInner.md)| | [optional] | | **apnsBundleId** | **String**| * This property is available when message_type is FILE. | [optional] | | **appleCriticalAlertOptions** | **Object**| * This property is available when message_type is FILE. | [optional] | | **sound** | **String**| * This property is available when message_type is FILE. | [optional] | diff --git a/docs/GroupChannelApi.md b/docs/GroupChannelApi.md index 9b0f6b27..a4847645 100644 --- a/docs/GroupChannelApi.md +++ b/docs/GroupChannelApi.md @@ -28,7 +28,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## acceptAnInvitation -> SendBirdSendbirdGroupChannelDetail acceptAnInvitation(channelUrl).apiToken(apiToken).sendBirdAcceptAnInvitationRequest(sendBirdAcceptAnInvitationRequest).execute(); +> SendBirdSendBirdGroupChannelDetail acceptAnInvitation(channelUrl).apiToken(apiToken).sendBirdAcceptAnInvitationRequest(sendBirdAcceptAnInvitationRequest).execute(); Accept an invitation @@ -61,7 +61,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdAcceptAnInvitationRequest sendBirdAcceptAnInvitationRequest = new SendBirdAcceptAnInvitationRequest(); // SendBirdAcceptAnInvitationRequest | try { - SendBirdSendbirdGroupChannelDetail result = api.acceptAnInvitation(channelUrl) + SendBirdSendBirdGroupChannelDetail result = api.acceptAnInvitation(channelUrl) .apiToken(apiToken) .sendBirdAcceptAnInvitationRequest(sendBirdAcceptAnInvitationRequest) .execute(); @@ -88,7 +88,7 @@ public class Example { ### Return type -[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) +[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) ### Authorization @@ -268,7 +268,7 @@ No authorization required ## createAGroupChannel -> SendBirdSendbirdGroupChannelDetail createAGroupChannel().apiToken(apiToken).sendBirdCreateAGroupChannelRequest(sendBirdCreateAGroupChannelRequest).execute(); +> SendBirdSendBirdGroupChannelDetail createAGroupChannel().apiToken(apiToken).sendBirdCreateAGroupChannelRequest(sendBirdCreateAGroupChannelRequest).execute(); Create a group channel @@ -299,7 +299,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdCreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest = new SendBirdCreateAGroupChannelRequest(); // SendBirdCreateAGroupChannelRequest | try { - SendBirdSendbirdGroupChannelDetail result = api.createAGroupChannel() + SendBirdSendBirdGroupChannelDetail result = api.createAGroupChannel() .apiToken(apiToken) .sendBirdCreateAGroupChannelRequest(sendBirdCreateAGroupChannelRequest) .execute(); @@ -325,7 +325,7 @@ public class Example { ### Return type -[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) +[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) ### Authorization @@ -666,7 +666,7 @@ No authorization required ## joinAChannel -> SendBirdSendbirdGroupChannelDetail joinAChannel(channelUrl).apiToken(apiToken).sendBirdJoinAChannelRequest(sendBirdJoinAChannelRequest).execute(); +> SendBirdSendBirdGroupChannelDetail joinAChannel(channelUrl).apiToken(apiToken).sendBirdJoinAChannelRequest(sendBirdJoinAChannelRequest).execute(); Join a channel @@ -696,7 +696,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdJoinAChannelRequest sendBirdJoinAChannelRequest = new SendBirdJoinAChannelRequest(); // SendBirdJoinAChannelRequest | try { - SendBirdSendbirdGroupChannelDetail result = api.joinAChannel(channelUrl) + SendBirdSendBirdGroupChannelDetail result = api.joinAChannel(channelUrl) .apiToken(apiToken) .sendBirdJoinAChannelRequest(sendBirdJoinAChannelRequest) .execute(); @@ -723,7 +723,7 @@ public class Example { ### Return type -[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) +[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) ### Authorization @@ -1603,7 +1603,7 @@ No authorization required ## updateAGroupChannel -> SendBirdSendbirdGroupChannelDetail updateAGroupChannel(channelUrl).apiToken(apiToken).sendBirdUpdateAGroupChannelRequest(sendBirdUpdateAGroupChannelRequest).execute(); +> SendBirdSendBirdGroupChannelDetail updateAGroupChannel(channelUrl).apiToken(apiToken).sendBirdUpdateAGroupChannelRequest(sendBirdUpdateAGroupChannelRequest).execute(); Update a group channel @@ -1633,7 +1633,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdUpdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest = new SendBirdUpdateAGroupChannelRequest(); // SendBirdUpdateAGroupChannelRequest | try { - SendBirdSendbirdGroupChannelDetail result = api.updateAGroupChannel(channelUrl) + SendBirdSendBirdGroupChannelDetail result = api.updateAGroupChannel(channelUrl) .apiToken(apiToken) .sendBirdUpdateAGroupChannelRequest(sendBirdUpdateAGroupChannelRequest) .execute(); @@ -1660,7 +1660,7 @@ public class Example { ### Return type -[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) +[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) ### Authorization diff --git a/docs/MessageApi.md b/docs/MessageApi.md index 8cf0392a..669ca9b8 100644 --- a/docs/MessageApi.md +++ b/docs/MessageApi.md @@ -179,7 +179,7 @@ No authorization required ## getAMessage -> SendBirdSendbirdMessageResponse getAMessage(channelType, channelUrl, messageId).includeReactions(includeReactions).includeThreadInfo(includeThreadInfo).includeParentMessageInfo(includeParentMessageInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).apiToken(apiToken).execute(); +> SendBirdSendBirdMessageResponse getAMessage(channelType, channelUrl, messageId).includeReactions(includeReactions).includeThreadInfo(includeThreadInfo).includeParentMessageInfo(includeParentMessageInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).apiToken(apiToken).execute(); Get a message @@ -226,7 +226,7 @@ public class Example { Boolean withSortedMetaArray = true; // Boolean | String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdSendbirdMessageResponse result = api.getAMessage(channelType, channelUrl, messageId) + SendBirdSendBirdMessageResponse result = api.getAMessage(channelType, channelUrl, messageId) .includeReactions(includeReactions) .includeThreadInfo(includeThreadInfo) .includeParentMessageInfo(includeParentMessageInfo) @@ -263,7 +263,7 @@ public class Example { ### Return type -[**SendBirdSendbirdMessageResponse**](SendBirdSendbirdMessageResponse.md) +[**SendBirdSendBirdMessageResponse**](SendBirdSendBirdMessageResponse.md) ### Authorization @@ -747,7 +747,7 @@ No authorization required ## sendAMessage -> SendBirdSendbirdMessageResponse sendAMessage(channelType, channelUrl).apiToken(apiToken).sendBirdSendAMessageRequest(sendBirdSendAMessageRequest).execute(); +> SendBirdSendBirdMessageResponse sendAMessage(channelType, channelUrl).apiToken(apiToken).sendBirdSendAMessageRequest(sendBirdSendAMessageRequest).execute(); Send a message @@ -780,7 +780,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdSendAMessageRequest sendBirdSendAMessageRequest = new SendBirdSendAMessageRequest(); // SendBirdSendAMessageRequest | try { - SendBirdSendbirdMessageResponse result = api.sendAMessage(channelType, channelUrl) + SendBirdSendBirdMessageResponse result = api.sendAMessage(channelType, channelUrl) .apiToken(apiToken) .sendBirdSendAMessageRequest(sendBirdSendAMessageRequest) .execute(); @@ -808,7 +808,7 @@ public class Example { ### Return type -[**SendBirdSendbirdMessageResponse**](SendBirdSendbirdMessageResponse.md) +[**SendBirdSendBirdMessageResponse**](SendBirdSendBirdMessageResponse.md) ### Authorization @@ -827,7 +827,7 @@ No authorization required ## updateAMessage -> SendBirdSendbirdMessageResponse updateAMessage(channelType, channelUrl, messageId).apiToken(apiToken).sendBirdUpdateAMessageRequest(sendBirdUpdateAMessageRequest).execute(); +> SendBirdSendBirdMessageResponse updateAMessage(channelType, channelUrl, messageId).apiToken(apiToken).sendBirdUpdateAMessageRequest(sendBirdUpdateAMessageRequest).execute(); Update a message @@ -860,7 +860,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdUpdateAMessageRequest sendBirdUpdateAMessageRequest = new SendBirdUpdateAMessageRequest(); // SendBirdUpdateAMessageRequest | try { - SendBirdSendbirdMessageResponse result = api.updateAMessage(channelType, channelUrl, messageId) + SendBirdSendBirdMessageResponse result = api.updateAMessage(channelType, channelUrl, messageId) .apiToken(apiToken) .sendBirdUpdateAMessageRequest(sendBirdUpdateAMessageRequest) .execute(); @@ -889,7 +889,7 @@ public class Example { ### Return type -[**SendBirdSendbirdMessageResponse**](SendBirdSendbirdMessageResponse.md) +[**SendBirdSendBirdMessageResponse**](SendBirdSendBirdMessageResponse.md) ### Authorization diff --git a/docs/ModerationApi.md b/docs/ModerationApi.md index f10cb375..d565ec25 100644 --- a/docs/ModerationApi.md +++ b/docs/ModerationApi.md @@ -98,7 +98,7 @@ No authorization required ## freezeAGroupChannel -> SendBirdSendbirdGroupChannelDetail freezeAGroupChannel(channelUrl).apiToken(apiToken).sendBirdFreezeAGroupChannelRequest(sendBirdFreezeAGroupChannelRequest).execute(); +> SendBirdSendBirdGroupChannelDetail freezeAGroupChannel(channelUrl).apiToken(apiToken).sendBirdFreezeAGroupChannelRequest(sendBirdFreezeAGroupChannelRequest).execute(); Freeze a group channel @@ -131,7 +131,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdFreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest = new SendBirdFreezeAGroupChannelRequest(); // SendBirdFreezeAGroupChannelRequest | try { - SendBirdSendbirdGroupChannelDetail result = api.freezeAGroupChannel(channelUrl) + SendBirdSendBirdGroupChannelDetail result = api.freezeAGroupChannel(channelUrl) .apiToken(apiToken) .sendBirdFreezeAGroupChannelRequest(sendBirdFreezeAGroupChannelRequest) .execute(); @@ -158,7 +158,7 @@ public class Example { ### Return type -[**SendBirdSendbirdGroupChannelDetail**](SendBirdSendbirdGroupChannelDetail.md) +[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) ### Authorization @@ -177,7 +177,7 @@ No authorization required ## freezeAnOpenChannel -> SendBirdSendbirdOpenChannel freezeAnOpenChannel(channelUrl).apiToken(apiToken).sendBirdFreezeAnOpenChannelRequest(sendBirdFreezeAnOpenChannelRequest).execute(); +> SendBirdSendBirdOpenChannel freezeAnOpenChannel(channelUrl).apiToken(apiToken).sendBirdFreezeAnOpenChannelRequest(sendBirdFreezeAnOpenChannelRequest).execute(); Freeze an open channel @@ -210,7 +210,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdFreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest = new SendBirdFreezeAnOpenChannelRequest(); // SendBirdFreezeAnOpenChannelRequest | try { - SendBirdSendbirdOpenChannel result = api.freezeAnOpenChannel(channelUrl) + SendBirdSendBirdOpenChannel result = api.freezeAnOpenChannel(channelUrl) .apiToken(apiToken) .sendBirdFreezeAnOpenChannelRequest(sendBirdFreezeAnOpenChannelRequest) .execute(); @@ -237,7 +237,7 @@ public class Example { ### Return type -[**SendBirdSendbirdOpenChannel**](SendBirdSendbirdOpenChannel.md) +[**SendBirdSendBirdOpenChannel**](SendBirdSendBirdOpenChannel.md) ### Authorization diff --git a/docs/OpenChannelApi.md b/docs/OpenChannelApi.md index cbc35b3d..14ad111c 100644 --- a/docs/OpenChannelApi.md +++ b/docs/OpenChannelApi.md @@ -17,7 +17,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## createAnOpenChannel -> SendBirdSendbirdOpenChannel createAnOpenChannel().apiToken(apiToken).sendBirdCreateAnOpenChannelRequest(sendBirdCreateAnOpenChannelRequest).execute(); +> SendBirdSendBirdOpenChannel createAnOpenChannel().apiToken(apiToken).sendBirdCreateAnOpenChannelRequest(sendBirdCreateAnOpenChannelRequest).execute(); Create an open channel @@ -48,7 +48,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdCreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest = new SendBirdCreateAnOpenChannelRequest(); // SendBirdCreateAnOpenChannelRequest | try { - SendBirdSendbirdOpenChannel result = api.createAnOpenChannel() + SendBirdSendBirdOpenChannel result = api.createAnOpenChannel() .apiToken(apiToken) .sendBirdCreateAnOpenChannelRequest(sendBirdCreateAnOpenChannelRequest) .execute(); @@ -74,7 +74,7 @@ public class Example { ### Return type -[**SendBirdSendbirdOpenChannel**](SendBirdSendbirdOpenChannel.md) +[**SendBirdSendBirdOpenChannel**](SendBirdSendBirdOpenChannel.md) ### Authorization @@ -166,7 +166,7 @@ No authorization required ## getAnOpenChannel -> SendBirdSendbirdOpenChannel getAnOpenChannel(channelUrl).apiToken(apiToken).includeOperators(includeOperators).execute(); +> SendBirdSendBirdOpenChannel getAnOpenChannel(channelUrl).apiToken(apiToken).includeOperators(includeOperators).execute(); Get an open channel @@ -196,7 +196,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | Boolean includeOperators = true; // Boolean | Determines whether to include a list of operators in the response. (Default: false) try { - SendBirdSendbirdOpenChannel result = api.getAnOpenChannel(channelUrl) + SendBirdSendBirdOpenChannel result = api.getAnOpenChannel(channelUrl) .apiToken(apiToken) .includeOperators(includeOperators) .execute(); @@ -223,7 +223,7 @@ public class Example { ### Return type -[**SendBirdSendbirdOpenChannel**](SendBirdSendbirdOpenChannel.md) +[**SendBirdSendBirdOpenChannel**](SendBirdSendBirdOpenChannel.md) ### Authorization @@ -579,7 +579,7 @@ No authorization required ## updateAnOpenChannel -> SendBirdSendbirdOpenChannel updateAnOpenChannel(channelUrl).apiToken(apiToken).sendBirdUpdateAnOpenChannelRequest(sendBirdUpdateAnOpenChannelRequest).execute(); +> SendBirdSendBirdOpenChannel updateAnOpenChannel(channelUrl).apiToken(apiToken).sendBirdUpdateAnOpenChannelRequest(sendBirdUpdateAnOpenChannelRequest).execute(); Update an open channel @@ -609,7 +609,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdUpdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest = new SendBirdUpdateAnOpenChannelRequest(); // SendBirdUpdateAnOpenChannelRequest | try { - SendBirdSendbirdOpenChannel result = api.updateAnOpenChannel(channelUrl) + SendBirdSendBirdOpenChannel result = api.updateAnOpenChannel(channelUrl) .apiToken(apiToken) .sendBirdUpdateAnOpenChannelRequest(sendBirdUpdateAnOpenChannelRequest) .execute(); @@ -636,7 +636,7 @@ public class Example { ### Return type -[**SendBirdSendbirdOpenChannel**](SendBirdSendbirdOpenChannel.md) +[**SendBirdSendBirdOpenChannel**](SendBirdSendBirdOpenChannel.md) ### Authorization diff --git a/docs/SendBirdAddARegistrationOrDeviceTokenResponse.md b/docs/SendBirdAddARegistrationOrDeviceTokenResponse.md index 584c5cbb..0ae41bb5 100644 --- a/docs/SendBirdAddARegistrationOrDeviceTokenResponse.md +++ b/docs/SendBirdAddARegistrationOrDeviceTokenResponse.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**token** | **String** | | [optional] | |**type** | **String** | | [optional] | -|**user** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | diff --git a/docs/SendBirdAddExtraDataToAMessageRequest.md b/docs/SendBirdAddExtraDataToAMessageRequest.md index 72a397e8..492a2282 100644 --- a/docs/SendBirdAddExtraDataToAMessageRequest.md +++ b/docs/SendBirdAddExtraDataToAMessageRequest.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | | +|**sortedMetaarray** | [**List<SendBirdSendBirdSortedMetaarrayInner>**](SendBirdSendBirdSortedMetaarrayInner.md) | | | diff --git a/docs/SendBirdAddExtraDataToAMessageResponse.md b/docs/SendBirdAddExtraDataToAMessageResponse.md index ec75f375..9f86dfe7 100644 --- a/docs/SendBirdAddExtraDataToAMessageResponse.md +++ b/docs/SendBirdAddExtraDataToAMessageResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendBirdSortedMetaarrayInner>**](SendBirdSendBirdSortedMetaarrayInner.md) | | [optional] | diff --git a/docs/SendBirdBlockAUserResponse.md b/docs/SendBirdBlockAUserResponse.md index cb7a4356..7efaf5b9 100644 --- a/docs/SendBirdBlockAUserResponse.md +++ b/docs/SendBirdBlockAUserResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**users** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | +|**users** | [**List<SendBirdSendBirdUser>**](SendBirdSendBirdUser.md) | | [optional] | |**next** | **String** | | [optional] | diff --git a/docs/SendBirdCreateAGroupChannelRequest.md b/docs/SendBirdCreateAGroupChannelRequest.md index 363c9881..ae2768d9 100644 --- a/docs/SendBirdCreateAGroupChannelRequest.md +++ b/docs/SendBirdCreateAGroupChannelRequest.md @@ -25,7 +25,7 @@ |**operatorIds** | **List<String>** | | [optional] | |**strict** | **Boolean** | | [optional] | |**userIds** | **List<String>** | | [optional] | -|**users** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | | +|**users** | [**List<SendBirdSendBirdUser>**](SendBirdSendBirdUser.md) | | | diff --git a/docs/SendBirdGetAGroupChannelResponse.md b/docs/SendBirdGetAGroupChannelResponse.md index 92dc464d..4cf099c1 100644 --- a/docs/SendBirdGetAGroupChannelResponse.md +++ b/docs/SendBirdGetAGroupChannelResponse.md @@ -7,23 +7,23 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channel** | [**SendBirdSendbirdGroupChannelDetailChannel**](SendBirdSendbirdGroupChannelDetailChannel.md) | | [optional] | +|**channel** | [**SendBirdSendBirdGroupChannelDetailChannel**](SendBirdSendBirdGroupChannelDetailChannel.md) | | [optional] | |**channelUrl** | **String** | | | |**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Object** | | [optional] | -|**disappearingMessage** | [**SendBirdSendbirdDisappearingMessage**](SendBirdSendbirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendBirdSendBirdDisappearingMessage**](SendBirdSendBirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | |**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | |**ignoreProfanityFilter** | **Boolean** | | [optional] | |**invitedAt** | **Long** | | [optional] | -|**inviter** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**inviter** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | |**isAccessCodeRequired** | **Boolean** | | [optional] | |**isBroadcast** | **Boolean** | | [optional] | |**isDiscoverable** | **Boolean** | | [optional] | @@ -37,18 +37,18 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendBirdSendbirdGroupChannelLastMessage**](SendBirdSendbirdGroupChannelLastMessage.md) | | [optional] | +|**lastMessage** | [**SendBirdSendBirdGroupChannelLastMessage**](SendBirdSendBirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | -|**members** | [**List<SendBirdSendbirdMember>**](SendBirdSendbirdMember.md) | | [optional] | +|**members** | [**List<SendBirdSendBirdMember>**](SendBirdSendBirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | |**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | |**name** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdSendBirdPushTriggerOption** | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendBirdSendbirdSmsFallback**](SendBirdSendbirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendBirdSendBirdSmsFallback**](SendBirdSendBirdSmsFallback.md) | | [optional] | |**tsMessageOffset** | **Long** | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | diff --git a/docs/SendBirdGetAGroupChannelResponseAllOf.md b/docs/SendBirdGetAGroupChannelResponseAllOf.md index 801783d0..f1d68dcb 100644 --- a/docs/SendBirdGetAGroupChannelResponseAllOf.md +++ b/docs/SendBirdGetAGroupChannelResponseAllOf.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channel** | [**SendBirdSendbirdGroupChannelDetailChannel**](SendBirdSendbirdGroupChannelDetailChannel.md) | | [optional] | +|**channel** | [**SendBirdSendBirdGroupChannelDetailChannel**](SendBirdSendBirdGroupChannelDetailChannel.md) | | [optional] | diff --git a/docs/SendBirdGroupChannelListMembersResponse.md b/docs/SendBirdGroupChannelListMembersResponse.md index 90c35b2a..9fc0b1e9 100644 --- a/docs/SendBirdGroupChannelListMembersResponse.md +++ b/docs/SendBirdGroupChannelListMembersResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**members** | [**List<SendBirdSendbirdMember>**](SendBirdSendbirdMember.md) | | | +|**members** | [**List<SendBirdSendBirdMember>**](SendBirdSendBirdMember.md) | | | |**next** | **String** | | [optional] | diff --git a/docs/SendBirdGroupChatListChannelsResponse.md b/docs/SendBirdGroupChatListChannelsResponse.md index ba39d155..f148fc9c 100644 --- a/docs/SendBirdGroupChatListChannelsResponse.md +++ b/docs/SendBirdGroupChatListChannelsResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channels** | [**List<SendBirdSendbirdGroupChannel>**](SendBirdSendbirdGroupChannel.md) | | [optional] | +|**channels** | [**List<SendBirdSendBirdGroupChannel>**](SendBirdSendBirdGroupChannel.md) | | [optional] | |**next** | **String** | | [optional] | |**ts** | **Long** | | [optional] | diff --git a/docs/SendBirdInviteAsMembersResponse.md b/docs/SendBirdInviteAsMembersResponse.md index 6c8102b6..184651d4 100644 --- a/docs/SendBirdInviteAsMembersResponse.md +++ b/docs/SendBirdInviteAsMembersResponse.md @@ -11,18 +11,18 @@ |**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Object** | | [optional] | -|**disappearingMessage** | [**SendBirdSendbirdDisappearingMessage**](SendBirdSendbirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendBirdSendBirdDisappearingMessage**](SendBirdSendBirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | |**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | |**ignoreProfanityFilter** | **Boolean** | | [optional] | |**invitedAt** | **Long** | | [optional] | -|**inviter** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**inviter** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | |**isAccessCodeRequired** | **Boolean** | | [optional] | |**isBroadcast** | **Boolean** | | [optional] | |**isDiscoverable** | **Boolean** | | [optional] | @@ -36,23 +36,23 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendBirdSendbirdGroupChannelLastMessage**](SendBirdSendbirdGroupChannelLastMessage.md) | | [optional] | +|**lastMessage** | [**SendBirdSendBirdGroupChannelLastMessage**](SendBirdSendBirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | -|**members** | [**List<SendBirdSendbirdMember>**](SendBirdSendbirdMember.md) | | [optional] | +|**members** | [**List<SendBirdSendBirdMember>**](SendBirdSendBirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | |**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | |**name** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdSendBirdPushTriggerOption** | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendBirdSendbirdSmsFallback**](SendBirdSendbirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendBirdSendBirdSmsFallback**](SendBirdSendBirdSmsFallback.md) | | [optional] | |**tsMessageOffset** | **Long** | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | |**userLastRead** | **Long** | | [optional] | -|**operators** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | +|**operators** | [**List<SendBirdSendBirdUser>**](SendBirdSendBirdUser.md) | | [optional] | diff --git a/docs/SendBirdInviteAsMembersResponseAllOf.md b/docs/SendBirdInviteAsMembersResponseAllOf.md index dddb9c2c..18a3a48f 100644 --- a/docs/SendBirdInviteAsMembersResponseAllOf.md +++ b/docs/SendBirdInviteAsMembersResponseAllOf.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**operators** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | +|**operators** | [**List<SendBirdSendBirdUser>**](SendBirdSendBirdUser.md) | | [optional] | diff --git a/docs/SendBirdListBlockedUsersResponse.md b/docs/SendBirdListBlockedUsersResponse.md index fc380e58..730a7b2d 100644 --- a/docs/SendBirdListBlockedUsersResponse.md +++ b/docs/SendBirdListBlockedUsersResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**users** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | +|**users** | [**List<SendBirdSendBirdUser>**](SendBirdSendBirdUser.md) | | [optional] | |**next** | **String** | | [optional] | diff --git a/docs/SendBirdListMessagesResponse.md b/docs/SendBirdListMessagesResponse.md index 99c3e2d7..7fef6d65 100644 --- a/docs/SendBirdListMessagesResponse.md +++ b/docs/SendBirdListMessagesResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**messages** | [**List<SendBirdSendbirdMessageResponse>**](SendBirdSendbirdMessageResponse.md) | | [optional] | +|**messages** | [**List<SendBirdSendBirdMessageResponse>**](SendBirdSendBirdMessageResponse.md) | | [optional] | diff --git a/docs/SendBirdListMyGroupChannelsResponse.md b/docs/SendBirdListMyGroupChannelsResponse.md index 8ee46bc9..003d5af9 100644 --- a/docs/SendBirdListMyGroupChannelsResponse.md +++ b/docs/SendBirdListMyGroupChannelsResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channels** | [**List<SendBirdSendbirdGroupChannel>**](SendBirdSendbirdGroupChannel.md) | | [optional] | +|**channels** | [**List<SendBirdSendBirdGroupChannel>**](SendBirdSendBirdGroupChannel.md) | | [optional] | |**next** | **String** | | [optional] | |**ts** | **Long** | | [optional] | diff --git a/docs/SendBirdListOpenChannelsResponse.md b/docs/SendBirdListOpenChannelsResponse.md index a6646be2..3146a4ae 100644 --- a/docs/SendBirdListOpenChannelsResponse.md +++ b/docs/SendBirdListOpenChannelsResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channels** | [**List<SendBirdSendbirdOpenChannel>**](SendBirdSendbirdOpenChannel.md) | | [optional] | +|**channels** | [**List<SendBirdSendBirdOpenChannel>**](SendBirdSendBirdOpenChannel.md) | | [optional] | |**next** | **String** | | [optional] | |**ts** | **Long** | | [optional] | diff --git a/docs/SendBirdListOperatorsResponse.md b/docs/SendBirdListOperatorsResponse.md index c6ff5992..7bd8e4d3 100644 --- a/docs/SendBirdListOperatorsResponse.md +++ b/docs/SendBirdListOperatorsResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**next** | **String** | | [optional] | -|**operators** | [**List<SendBirdSendbirdBasicUserInfo>**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**operators** | [**List<SendBirdSendBirdBasicUserInfo>**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | diff --git a/docs/SendBirdListRegistrationOrDeviceTokensResponse.md b/docs/SendBirdListRegistrationOrDeviceTokensResponse.md index 5c9f1d66..cfcf4c62 100644 --- a/docs/SendBirdListRegistrationOrDeviceTokensResponse.md +++ b/docs/SendBirdListRegistrationOrDeviceTokensResponse.md @@ -10,7 +10,7 @@ |**token** | **List<String>** | | [optional] | |**tokens** | **List<String>** | | [optional] | |**type** | **String** | | [optional] | -|**user** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | diff --git a/docs/SendBirdListUsersResponse.md b/docs/SendBirdListUsersResponse.md index 13b7bb1c..67648771 100644 --- a/docs/SendBirdListUsersResponse.md +++ b/docs/SendBirdListUsersResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**next** | **String** | | [optional] | -|**users** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | +|**users** | [**List<SendBirdSendBirdUser>**](SendBirdSendBirdUser.md) | | [optional] | diff --git a/docs/SendBirdRemoveARegistrationOrDeviceTokenResponse.md b/docs/SendBirdRemoveARegistrationOrDeviceTokenResponse.md index 88ed9835..c2a0bdb1 100644 --- a/docs/SendBirdRemoveARegistrationOrDeviceTokenResponse.md +++ b/docs/SendBirdRemoveARegistrationOrDeviceTokenResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**token** | **String** | | [optional] | -|**user** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | diff --git a/docs/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md b/docs/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md index 07df6016..0e81916a 100644 --- a/docs/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md +++ b/docs/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**token** | **List<String>** | | [optional] | -|**user** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | diff --git a/docs/SendBirdSendABotMessageResponse.md b/docs/SendBirdSendABotMessageResponse.md index b7ad71f9..51b05b5a 100644 --- a/docs/SendBirdSendABotMessageResponse.md +++ b/docs/SendBirdSendABotMessageResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**message** | [**SendBirdSendbirdMessageResponse**](SendBirdSendbirdMessageResponse.md) | | [optional] | +|**message** | [**SendBirdSendBirdMessageResponse**](SendBirdSendBirdMessageResponse.md) | | [optional] | diff --git a/docs/SendBirdSendAMessageRequest.md b/docs/SendBirdSendAMessageRequest.md index bb50ca47..06daeada 100644 --- a/docs/SendBirdSendAMessageRequest.md +++ b/docs/SendBirdSendAMessageRequest.md @@ -12,7 +12,7 @@ |**message** | **String** | Specifies the content of the message. * This property is required when message_type is MESG or ADMM. | [optional] | |**pushMessageTemplate** | [**SendBirdSendAMessageRequestPushMessageTemplate**](SendBirdSendAMessageRequestPushMessageTemplate.md) | | [optional] | |**pollId** | **Integer** | Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG. | [optional] | -|**files** | [**SendBirdSendbirdFile**](SendBirdSendbirdFile.md) | | [optional] | +|**files** | [**SendBirdSendBirdFile**](SendBirdSendBirdFile.md) | | [optional] | |**requireAuth** | **Boolean** | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. | [optional] | |**thumbnail1** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | |**thumbnail2** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | @@ -30,7 +30,7 @@ |**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] | |**mentionedUserIds** | **List<String>** | | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendBirdSortedMetaarrayInner>**](SendBirdSendBirdSortedMetaarrayInner.md) | | [optional] | |**sound** | **String** | | [optional] | |**volume** | **BigDecimal** | | [optional] | diff --git a/docs/SendBirdSendAdminMessageRequestBody.md b/docs/SendBirdSendAdminMessageRequestBody.md index a65db806..17771427 100644 --- a/docs/SendBirdSendAdminMessageRequestBody.md +++ b/docs/SendBirdSendAdminMessageRequestBody.md @@ -18,7 +18,7 @@ |**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | Specifies the type of the message. The value of ADMM represents an admin message. | | |**pushMessageTemplate** | [**SendBirdSendTextMessageRequestBodyPushMessageTemplate**](SendBirdSendTextMessageRequestBodyPushMessageTemplate.md) | | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendBirdSortedMetaarrayInner>**](SendBirdSendBirdSortedMetaarrayInner.md) | | [optional] | diff --git a/docs/SendBirdSendFileMessageRequestBody.md b/docs/SendBirdSendFileMessageRequestBody.md index 35c35d4a..67e7e551 100644 --- a/docs/SendBirdSendFileMessageRequestBody.md +++ b/docs/SendBirdSendFileMessageRequestBody.md @@ -13,7 +13,7 @@ |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**dedupId** | **String** | | [optional] | -|**files** | [**SendBirdSendbirdFile**](SendBirdSendbirdFile.md) | | | +|**files** | [**SendBirdSendBirdFile**](SendBirdSendBirdFile.md) | | | |**isSilent** | **Boolean** | | [optional] | |**markAsRead** | **Boolean** | | [optional] | |**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] | @@ -21,7 +21,7 @@ |**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | Specifies the type of the message. The value of FILE represents a file message. | | |**requireAuth** | **Boolean** | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendBirdSortedMetaarrayInner>**](SendBirdSendBirdSortedMetaarrayInner.md) | | [optional] | |**sound** | **String** | | [optional] | |**thumbnail1** | **String** | | [optional] | |**thumbnail2** | **String** | | [optional] | diff --git a/docs/SendBirdSendTextMessageRequestBody.md b/docs/SendBirdSendTextMessageRequestBody.md index f9ff9416..cbaf15ed 100644 --- a/docs/SendBirdSendTextMessageRequestBody.md +++ b/docs/SendBirdSendTextMessageRequestBody.md @@ -23,7 +23,7 @@ |**pollId** | **Integer** | | [optional] | |**pushMessageTemplate** | [**SendBirdSendTextMessageRequestBodyPushMessageTemplate**](SendBirdSendTextMessageRequestBodyPushMessageTemplate.md) | | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendBirdSortedMetaarrayInner>**](SendBirdSendBirdSortedMetaarrayInner.md) | | [optional] | |**sound** | **String** | | [optional] | |**volume** | **BigDecimal** | | [optional] | diff --git a/docs/SendBirdSendbirdBasicUserInfo.md b/docs/SendBirdSendbirdBasicUserInfo.md index 91d6dfc5..b8ab5a9f 100644 --- a/docs/SendBirdSendbirdBasicUserInfo.md +++ b/docs/SendBirdSendbirdBasicUserInfo.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdBasicUserInfo +# SendBirdSendBirdBasicUserInfo ## Properties diff --git a/docs/SendBirdSendbirdDisappearingMessage.md b/docs/SendBirdSendbirdDisappearingMessage.md index caf9922e..4360018d 100644 --- a/docs/SendBirdSendbirdDisappearingMessage.md +++ b/docs/SendBirdSendbirdDisappearingMessage.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdDisappearingMessage +# SendBirdSendBirdDisappearingMessage ## Properties diff --git a/docs/SendBirdSendbirdExtendedMessagePayload.md b/docs/SendBirdSendbirdExtendedMessagePayload.md index 6e604b33..3f2dc9ef 100644 --- a/docs/SendBirdSendbirdExtendedMessagePayload.md +++ b/docs/SendBirdSendbirdExtendedMessagePayload.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdExtendedMessagePayload +# SendBirdSendBirdExtendedMessagePayload Specifies the extended message payload which is used to send a message with a custom message type. diff --git a/docs/SendBirdSendbirdFile.md b/docs/SendBirdSendbirdFile.md index 3ef78b0d..a5c513bd 100644 --- a/docs/SendBirdSendbirdFile.md +++ b/docs/SendBirdSendbirdFile.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdFile +# SendBirdSendBirdFile ## Properties @@ -11,7 +11,7 @@ |**fileName** | **String** | | [optional] | |**fileSize** | **Integer** | | [optional] | |**fileType** | **String** | | [optional] | -|**thumbnails** | [**List<SendBirdSendbirdThumbnail>**](SendBirdSendbirdThumbnail.md) | | [optional] | +|**thumbnails** | [**List<SendBirdSendBirdThumbnail>**](SendBirdSendBirdThumbnail.md) | | [optional] | |**requireAuth** | **Boolean** | | [optional] | diff --git a/docs/SendBirdSendbirdGroupChannel.md b/docs/SendBirdSendbirdGroupChannel.md index 1a2e1729..9c6c75f6 100644 --- a/docs/SendBirdSendbirdGroupChannel.md +++ b/docs/SendBirdSendbirdGroupChannel.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdGroupChannel +# SendBirdSendBirdGroupChannel ## Properties @@ -11,18 +11,18 @@ |**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Object** | | [optional] | -|**disappearingMessage** | [**SendBirdSendbirdDisappearingMessage**](SendBirdSendbirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendBirdSendBirdDisappearingMessage**](SendBirdSendBirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | |**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | |**ignoreProfanityFilter** | **Boolean** | | [optional] | |**invitedAt** | **Long** | | [optional] | -|**inviter** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**inviter** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | |**isAccessCodeRequired** | **Boolean** | | [optional] | |**isBroadcast** | **Boolean** | | [optional] | |**isDiscoverable** | **Boolean** | | [optional] | @@ -36,18 +36,18 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendBirdSendbirdGroupChannelLastMessage**](SendBirdSendbirdGroupChannelLastMessage.md) | | [optional] | +|**lastMessage** | [**SendBirdSendBirdGroupChannelLastMessage**](SendBirdSendBirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | -|**members** | [**List<SendBirdSendbirdMember>**](SendBirdSendbirdMember.md) | | [optional] | +|**members** | [**List<SendBirdSendBirdMember>**](SendBirdSendBirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | |**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | |**name** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdSendBirdPushTriggerOption** | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendBirdSendbirdSmsFallback**](SendBirdSendbirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendBirdSendBirdSmsFallback**](SendBirdSendBirdSmsFallback.md) | | [optional] | |**tsMessageOffset** | **Long** | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | diff --git a/docs/SendBirdSendbirdGroupChannelDetail.md b/docs/SendBirdSendbirdGroupChannelDetail.md index 539d4923..6a96d2e2 100644 --- a/docs/SendBirdSendbirdGroupChannelDetail.md +++ b/docs/SendBirdSendbirdGroupChannelDetail.md @@ -1,21 +1,21 @@ -# SendBirdSendbirdGroupChannelDetail +# SendBirdSendBirdGroupChannelDetail ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channel** | [**SendBirdSendbirdGroupChannelDetailChannel**](SendBirdSendbirdGroupChannelDetailChannel.md) | | [optional] | +|**channel** | [**SendBirdSendBirdGroupChannelDetailChannel**](SendBirdSendBirdGroupChannelDetailChannel.md) | | [optional] | |**channelUrl** | **String** | | | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Map<String, Long>** | | [optional] | -|**disappearingMessage** | [**SendBirdSendbirdDisappearingMessage**](SendBirdSendbirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendBirdSendBirdDisappearingMessage**](SendBirdSendBirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | @@ -29,15 +29,15 @@ |**isPublic** | **Boolean** | | [optional] | |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | -|**lastMessage** | [**SendBirdSendbirdMessageResponse**](SendBirdSendbirdMessageResponse.md) | | [optional] | +|**lastMessage** | [**SendBirdSendBirdMessageResponse**](SendBirdSendBirdMessageResponse.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | -|**members** | [**List<SendBirdSendbirdMember>**](SendBirdSendbirdMember.md) | | [optional] | +|**members** | [**List<SendBirdSendBirdMember>**](SendBirdSendBirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**name** | **String** | | [optional] | -|**operators** | [**List<SendBirdSendbirdUser>**](SendBirdSendbirdUser.md) | | [optional] | +|**operators** | [**List<SendBirdSendBirdUser>**](SendBirdSendBirdUser.md) | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendBirdSendbirdSmsFallback**](SendBirdSendbirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendBirdSendBirdSmsFallback**](SendBirdSendBirdSmsFallback.md) | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | diff --git a/docs/SendBirdSendbirdGroupChannelDetailChannel.md b/docs/SendBirdSendbirdGroupChannelDetailChannel.md index 3bf3ab33..3942a1b3 100644 --- a/docs/SendBirdSendbirdGroupChannelDetailChannel.md +++ b/docs/SendBirdSendbirdGroupChannelDetailChannel.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdGroupChannelDetailChannel +# SendBirdSendBirdGroupChannelDetailChannel ## Properties diff --git a/docs/SendBirdSendbirdGroupChannelLastMessage.md b/docs/SendBirdSendbirdGroupChannelLastMessage.md index aa0e6c63..e825ef41 100644 --- a/docs/SendBirdSendbirdGroupChannelLastMessage.md +++ b/docs/SendBirdSendbirdGroupChannelLastMessage.md @@ -1,26 +1,26 @@ -# SendBirdSendbirdGroupChannelLastMessage +# SendBirdSendBirdGroupChannelLastMessage ## oneOf schemas -* [SendBirdSendbirdMessageResponse](SendBirdSendbirdMessageResponse.md) +* [SendBirdSendBirdMessageResponse](SendBirdSendBirdMessageResponse.md) ## Example ```java // Import classes: -import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdSendbirdMessageResponse; +import org.openapitools.client.model.SendBirdSendBirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdSendBirdMessageResponse; public class Example { public static void main(String[] args) { - SendBirdSendbirdGroupChannelLastMessage exampleSendBirdSendbirdGroupChannelLastMessage = new SendBirdSendbirdGroupChannelLastMessage(); - - // create a new SendBirdSendbirdMessageResponse - SendBirdSendbirdMessageResponse exampleSendBirdSendbirdMessageResponse = new SendBirdSendbirdMessageResponse(); - // set SendBirdSendbirdGroupChannelLastMessage to SendBirdSendbirdMessageResponse - exampleSendBirdSendbirdGroupChannelLastMessage.setActualInstance(exampleSendBirdSendbirdMessageResponse); - // to get back the SendBirdSendbirdMessageResponse set earlier - SendBirdSendbirdMessageResponse testSendBirdSendbirdMessageResponse = (SendBirdSendbirdMessageResponse) exampleSendBirdSendbirdGroupChannelLastMessage.getActualInstance(); + SendBirdSendBirdGroupChannelLastMessage exampleSendBirdSendBirdGroupChannelLastMessage = new SendBirdSendBirdGroupChannelLastMessage(); + + // create a new SendBirdSendBirdMessageResponse + SendBirdSendBirdMessageResponse exampleSendBirdSendBirdMessageResponse = new SendBirdSendBirdMessageResponse(); + // set SendBirdSendBirdGroupChannelLastMessage to SendBirdSendBirdMessageResponse + exampleSendBirdSendBirdGroupChannelLastMessage.setActualInstance(exampleSendBirdSendBirdMessageResponse); + // to get back the SendBirdSendBirdMessageResponse set earlier + SendBirdSendBirdMessageResponse testSendBirdSendBirdMessageResponse = (SendBirdSendBirdMessageResponse) exampleSendBirdSendBirdGroupChannelLastMessage.getActualInstance(); } } ``` diff --git a/docs/SendBirdSendbirdMember.md b/docs/SendBirdSendbirdMember.md index 1cf92130..8508ccd7 100644 --- a/docs/SendBirdSendbirdMember.md +++ b/docs/SendBirdSendbirdMember.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdMember +# SendBirdSendBirdMember ## Properties @@ -22,7 +22,7 @@ |**mutedEndAt** | **Long** | | [optional] | |**nickname** | **String** | | [optional] | |**pushEnabled** | **Boolean** | | [optional] | -|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdSendBirdPushTriggerOption** | | [optional] | |**profileUrl** | **String** | | [optional] | |**requireAuthForProfileImage** | **Boolean** | | [optional] | |**readTs** | **Long** | | [optional] | diff --git a/docs/SendBirdSendbirdMessageResponse.md b/docs/SendBirdSendbirdMessageResponse.md index c5b58730..49a39a56 100644 --- a/docs/SendBirdSendbirdMessageResponse.md +++ b/docs/SendBirdSendbirdMessageResponse.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdMessageResponse +# SendBirdSendBirdMessageResponse ## Properties @@ -10,15 +10,15 @@ |**requireAuth** | **Boolean** | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**customType** | **String** | | [optional] | -|**mentionedUsers** | [**List<SendBirdSendbirdBasicUserInfo>**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**mentionedUsers** | [**List<SendBirdSendBirdBasicUserInfo>**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | |**translations** | **Object** | | [optional] | |**updatedAt** | **Long** | | [optional] | |**isOpMsg** | **Boolean** | | [optional] | -|**reactions** | [**List<SendBirdSendbirdReaction>**](SendBirdSendbirdReaction.md) | | [optional] | +|**reactions** | [**List<SendBirdSendBirdReaction>**](SendBirdSendBirdReaction.md) | | [optional] | |**isRemoved** | **Boolean** | | [optional] | -|**user** | [**SendBirdSendbirdBasicUserInfo**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendBirdSendBirdBasicUserInfo**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | |**_file** | **Object** | | [optional] | -|**files** | [**List<SendBirdSendbirdFile>**](SendBirdSendbirdFile.md) | | [optional] | +|**files** | [**List<SendBirdSendBirdFile>**](SendBirdSendBirdFile.md) | | [optional] | |**message** | **String** | | [optional] | |**data** | **String** | | [optional] | |**messageRetentionHour** | **Integer** | | [optional] | @@ -30,13 +30,13 @@ |**mentionType** | **String** | | [optional] | |**channelUrl** | **String** | | [optional] | |**messageId** | **Long** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendBirdSortedMetaarrayInner>**](SendBirdSendBirdSortedMetaarrayInner.md) | | [optional] | |**threadInfo** | **Object** | | [optional] | |**parentMessageId** | **Integer** | | [optional] | -|**parentMessageInfo** | [**SendBirdSendbirdParentMessageInfo**](SendBirdSendbirdParentMessageInfo.md) | | [optional] | +|**parentMessageInfo** | [**SendBirdSendBirdParentMessageInfo**](SendBirdSendBirdParentMessageInfo.md) | | [optional] | |**isReplyToChannel** | **Boolean** | | [optional] | -|**messageEvents** | [**SendBirdSendbirdMessageResponseMessageEvents**](SendBirdSendbirdMessageResponseMessageEvents.md) | | [optional] | -|**extendedMessagePayload** | [**SendBirdSendbirdMessageResponseExtendedMessagePayload**](SendBirdSendbirdMessageResponseExtendedMessagePayload.md) | | [optional] | +|**messageEvents** | [**SendBirdSendBirdMessageResponseMessageEvents**](SendBirdSendBirdMessageResponseMessageEvents.md) | | [optional] | +|**extendedMessagePayload** | [**SendBirdSendBirdMessageResponseExtendedMessagePayload**](SendBirdSendBirdMessageResponseExtendedMessagePayload.md) | | [optional] | diff --git a/docs/SendBirdSendbirdMessageResponseExtendedMessagePayload.md b/docs/SendBirdSendbirdMessageResponseExtendedMessagePayload.md index e41c0ef8..dce7375c 100644 --- a/docs/SendBirdSendbirdMessageResponseExtendedMessagePayload.md +++ b/docs/SendBirdSendbirdMessageResponseExtendedMessagePayload.md @@ -1,26 +1,26 @@ -# SendBirdSendbirdMessageResponseExtendedMessagePayload +# SendBirdSendBirdMessageResponseExtendedMessagePayload ## oneOf schemas -* [SendBirdSendbirdExtendedMessagePayload](SendBirdSendbirdExtendedMessagePayload.md) +* [SendBirdSendBirdExtendedMessagePayload](SendBirdSendBirdExtendedMessagePayload.md) ## Example ```java // Import classes: -import org.openapitools.client.model.SendBirdSendbirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendBirdSendbirdExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendBirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendBirdExtendedMessagePayload; public class Example { public static void main(String[] args) { - SendBirdSendbirdMessageResponseExtendedMessagePayload exampleSendBirdSendbirdMessageResponseExtendedMessagePayload = new SendBirdSendbirdMessageResponseExtendedMessagePayload(); - - // create a new SendBirdSendbirdExtendedMessagePayload - SendBirdSendbirdExtendedMessagePayload exampleSendBirdSendbirdExtendedMessagePayload = new SendBirdSendbirdExtendedMessagePayload(); - // set SendBirdSendbirdMessageResponseExtendedMessagePayload to SendBirdSendbirdExtendedMessagePayload - exampleSendBirdSendbirdMessageResponseExtendedMessagePayload.setActualInstance(exampleSendBirdSendbirdExtendedMessagePayload); - // to get back the SendBirdSendbirdExtendedMessagePayload set earlier - SendBirdSendbirdExtendedMessagePayload testSendBirdSendbirdExtendedMessagePayload = (SendBirdSendbirdExtendedMessagePayload) exampleSendBirdSendbirdMessageResponseExtendedMessagePayload.getActualInstance(); + SendBirdSendBirdMessageResponseExtendedMessagePayload exampleSendBirdSendBirdMessageResponseExtendedMessagePayload = new SendBirdSendBirdMessageResponseExtendedMessagePayload(); + + // create a new SendBirdSendBirdExtendedMessagePayload + SendBirdSendBirdExtendedMessagePayload exampleSendBirdSendBirdExtendedMessagePayload = new SendBirdSendBirdExtendedMessagePayload(); + // set SendBirdSendBirdMessageResponseExtendedMessagePayload to SendBirdSendBirdExtendedMessagePayload + exampleSendBirdSendBirdMessageResponseExtendedMessagePayload.setActualInstance(exampleSendBirdSendBirdExtendedMessagePayload); + // to get back the SendBirdSendBirdExtendedMessagePayload set earlier + SendBirdSendBirdExtendedMessagePayload testSendBirdSendBirdExtendedMessagePayload = (SendBirdSendBirdExtendedMessagePayload) exampleSendBirdSendBirdMessageResponseExtendedMessagePayload.getActualInstance(); } } ``` diff --git a/docs/SendBirdSendbirdMessageResponseMessageEvents.md b/docs/SendBirdSendbirdMessageResponseMessageEvents.md index 6c36911c..b9a9f5fe 100644 --- a/docs/SendBirdSendbirdMessageResponseMessageEvents.md +++ b/docs/SendBirdSendbirdMessageResponseMessageEvents.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdMessageResponseMessageEvents +# SendBirdSendBirdMessageResponseMessageEvents ## Properties diff --git a/docs/SendBirdSendbirdOpenChannel.md b/docs/SendBirdSendbirdOpenChannel.md index 477a4c0c..b5714b1e 100644 --- a/docs/SendBirdSendbirdOpenChannel.md +++ b/docs/SendBirdSendbirdOpenChannel.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdOpenChannel +# SendBirdSendBirdOpenChannel ## Properties @@ -17,7 +17,7 @@ |**isEphemeral** | **Boolean** | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**name** | **String** | | [optional] | -|**operators** | [**List<SendBirdSendbirdBasicUserInfo>**](SendBirdSendbirdBasicUserInfo.md) | | [optional] | +|**operators** | [**List<SendBirdSendBirdBasicUserInfo>**](SendBirdSendBirdBasicUserInfo.md) | | [optional] | |**participantCount** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | diff --git a/docs/SendBirdSendbirdParentMessageInfo.md b/docs/SendBirdSendbirdParentMessageInfo.md index 362861dd..ce346a71 100644 --- a/docs/SendBirdSendbirdParentMessageInfo.md +++ b/docs/SendBirdSendbirdParentMessageInfo.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdParentMessageInfo +# SendBirdSendBirdParentMessageInfo ## Properties @@ -11,9 +11,9 @@ |**message** | **String** | | [optional] | |**type** | **String** | | [optional] | |**ts** | **Long** | | [optional] | -|**user** | [**SendBirdSendbirdUser**](SendBirdSendbirdUser.md) | | [optional] | -|**_file** | [**SendBirdSendbirdFile**](SendBirdSendbirdFile.md) | | [optional] | -|**files** | [**List<SendBirdSendbirdFile>**](SendBirdSendbirdFile.md) | | [optional] | +|**user** | [**SendBirdSendBirdUser**](SendBirdSendBirdUser.md) | | [optional] | +|**_file** | [**SendBirdSendBirdFile**](SendBirdSendBirdFile.md) | | [optional] | +|**files** | [**List<SendBirdSendBirdFile>**](SendBirdSendBirdFile.md) | | [optional] | diff --git a/docs/SendBirdSendbirdPushTriggerOption.md b/docs/SendBirdSendbirdPushTriggerOption.md index 4c7766ef..b70ae973 100644 --- a/docs/SendBirdSendbirdPushTriggerOption.md +++ b/docs/SendBirdSendbirdPushTriggerOption.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdPushTriggerOption +# SendBirdSendBirdPushTriggerOption ## Enum diff --git a/docs/SendBirdSendbirdReaction.md b/docs/SendBirdSendbirdReaction.md index af8439cd..29204193 100644 --- a/docs/SendBirdSendbirdReaction.md +++ b/docs/SendBirdSendbirdReaction.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdReaction +# SendBirdSendBirdReaction ## Properties diff --git a/docs/SendBirdSendbirdSmsFallback.md b/docs/SendBirdSendbirdSmsFallback.md index 1a5afee2..2382a37d 100644 --- a/docs/SendBirdSendbirdSmsFallback.md +++ b/docs/SendBirdSendbirdSmsFallback.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdSmsFallback +# SendBirdSendBirdSmsFallback ## Properties diff --git a/docs/SendBirdSendbirdSortedMetaarrayInner.md b/docs/SendBirdSendbirdSortedMetaarrayInner.md index 931cc1f9..a750c23f 100644 --- a/docs/SendBirdSendbirdSortedMetaarrayInner.md +++ b/docs/SendBirdSendbirdSortedMetaarrayInner.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdSortedMetaarrayInner +# SendBirdSendBirdSortedMetaarrayInner ## Properties diff --git a/docs/SendBirdSendbirdThumbnail.md b/docs/SendBirdSendbirdThumbnail.md index a091853a..166e4138 100644 --- a/docs/SendBirdSendbirdThumbnail.md +++ b/docs/SendBirdSendbirdThumbnail.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdThumbnail +# SendBirdSendBirdThumbnail ## Properties diff --git a/docs/SendBirdSendbirdUser.md b/docs/SendBirdSendbirdUser.md index 5f9d7a58..8bbb7973 100644 --- a/docs/SendBirdSendbirdUser.md +++ b/docs/SendBirdSendbirdUser.md @@ -1,6 +1,6 @@ -# SendBirdSendbirdUser +# SendBirdSendBirdUser User diff --git a/docs/SendBirdUpdateExtraDataInAMessageRequest.md b/docs/SendBirdUpdateExtraDataInAMessageRequest.md index 05a744a3..3925ece4 100644 --- a/docs/SendBirdUpdateExtraDataInAMessageRequest.md +++ b/docs/SendBirdUpdateExtraDataInAMessageRequest.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**mode** | **String** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendBirdSortedMetaarrayInner>**](SendBirdSendBirdSortedMetaarrayInner.md) | | [optional] | |**upsert** | **Boolean** | | [optional] | diff --git a/docs/SendBirdUpdateExtraDataInAMessageResponse.md b/docs/SendBirdUpdateExtraDataInAMessageResponse.md index c747af05..b2cc8512 100644 --- a/docs/SendBirdUpdateExtraDataInAMessageResponse.md +++ b/docs/SendBirdUpdateExtraDataInAMessageResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**sortedMetaarray** | [**List<SendBirdSendbirdSortedMetaarrayInner>**](SendBirdSendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSendBirdSortedMetaarrayInner>**](SendBirdSendBirdSortedMetaarrayInner.md) | | [optional] | diff --git a/docs/SendBirdUpdatePushPreferencesForAChannelResponse.md b/docs/SendBirdUpdatePushPreferencesForAChannelResponse.md index 5a5df7e7..e5c64361 100644 --- a/docs/SendBirdUpdatePushPreferencesForAChannelResponse.md +++ b/docs/SendBirdUpdatePushPreferencesForAChannelResponse.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**enable** | **Boolean** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdSendBirdPushTriggerOption** | | [optional] | diff --git a/docs/SendBirdUpdatePushPreferencesRequest.md b/docs/SendBirdUpdatePushPreferencesRequest.md index fa3f6084..d535c0ac 100644 --- a/docs/SendBirdUpdatePushPreferencesRequest.md +++ b/docs/SendBirdUpdatePushPreferencesRequest.md @@ -14,7 +14,7 @@ |**endMin** | **Integer** | | [optional] | |**pushBlockedBotIds** | **List<String>** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdSendBirdPushTriggerOption** | | [optional] | |**snoozeEnabled** | **Boolean** | | [optional] | |**snoozeEndTs** | **Long** | | [optional] | |**snoozeStartTs** | **Long** | | [optional] | diff --git a/docs/SendBirdUpdatePushPreferencesResponse.md b/docs/SendBirdUpdatePushPreferencesResponse.md index 433a8571..ec4a2def 100644 --- a/docs/SendBirdUpdatePushPreferencesResponse.md +++ b/docs/SendBirdUpdatePushPreferencesResponse.md @@ -14,7 +14,7 @@ |**endMin** | **Integer** | | [optional] | |**pushBlockedBotIds** | **List<String>** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdSendBirdPushTriggerOption** | | [optional] | |**snoozeEnabled** | **Boolean** | | [optional] | |**snoozeEndTs** | **Long** | | [optional] | |**snoozeStartTs** | **Long** | | [optional] | diff --git a/docs/SendBirdViewPushPreferencesForAChannelResponse.md b/docs/SendBirdViewPushPreferencesForAChannelResponse.md index 63590266..ecd537e1 100644 --- a/docs/SendBirdViewPushPreferencesForAChannelResponse.md +++ b/docs/SendBirdViewPushPreferencesForAChannelResponse.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**enable** | **Boolean** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdSendBirdPushTriggerOption** | | [optional] | diff --git a/docs/SendBirdViewPushPreferencesResponse.md b/docs/SendBirdViewPushPreferencesResponse.md index df705d0b..9cf03d8a 100644 --- a/docs/SendBirdViewPushPreferencesResponse.md +++ b/docs/SendBirdViewPushPreferencesResponse.md @@ -14,7 +14,7 @@ |**endMin** | **Integer** | | [optional] | |**pushBlockedBotIds** | **List<String>** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdSendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdSendBirdPushTriggerOption** | | [optional] | |**snoozeEnabled** | **Boolean** | | [optional] | |**snoozeEndTs** | **Long** | | [optional] | |**snoozeStartTs** | **Long** | | [optional] | diff --git a/docs/UserApi.md b/docs/UserApi.md index d429e63c..77df2f9f 100644 --- a/docs/UserApi.md +++ b/docs/UserApi.md @@ -202,7 +202,7 @@ No authorization required ## createAUser -> SendBirdSendbirdUser createAUser().apiToken(apiToken).sendBirdCreateAUserRequest(sendBirdCreateAUserRequest).execute(); +> SendBirdSendBirdUser createAUser().apiToken(apiToken).sendBirdCreateAUserRequest(sendBirdCreateAUserRequest).execute(); Create a user @@ -231,7 +231,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdCreateAUserRequest sendBirdCreateAUserRequest = new SendBirdCreateAUserRequest(); // SendBirdCreateAUserRequest | try { - SendBirdSendbirdUser result = api.createAUser() + SendBirdSendBirdUser result = api.createAUser() .apiToken(apiToken) .sendBirdCreateAUserRequest(sendBirdCreateAUserRequest) .execute(); @@ -257,7 +257,7 @@ public class Example { ### Return type -[**SendBirdSendbirdUser**](SendBirdSendbirdUser.md) +[**SendBirdSendBirdUser**](SendBirdSendBirdUser.md) ### Authorization @@ -1350,7 +1350,7 @@ No authorization required ## updateAUser -> SendBirdSendbirdUser updateAUser(userId).apiToken(apiToken).sendBirdUpdateAUserRequest(sendBirdUpdateAUserRequest).execute(); +> SendBirdSendBirdUser updateAUser(userId).apiToken(apiToken).sendBirdUpdateAUserRequest(sendBirdUpdateAUserRequest).execute(); Update a user @@ -1385,7 +1385,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendBirdUpdateAUserRequest sendBirdUpdateAUserRequest = new SendBirdUpdateAUserRequest(); // SendBirdUpdateAUserRequest | try { - SendBirdSendbirdUser result = api.updateAUser(userId) + SendBirdSendBirdUser result = api.updateAUser(userId) .apiToken(apiToken) .sendBirdUpdateAUserRequest(sendBirdUpdateAUserRequest) .execute(); @@ -1412,7 +1412,7 @@ public class Example { ### Return type -[**SendBirdSendbirdUser**](SendBirdSendbirdUser.md) +[**SendBirdSendBirdUser**](SendBirdSendBirdUser.md) ### Authorization @@ -1747,7 +1747,7 @@ No authorization required ## viewAUser -> SendBirdSendbirdUser viewAUser(userId).includeUnreadCount(includeUnreadCount).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); +> SendBirdSendBirdUser viewAUser(userId).includeUnreadCount(includeUnreadCount).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); View a user @@ -1783,7 +1783,7 @@ public class Example { String superMode = "all"; // String | Restricts the search scope to retrieve only Supergroup or non-Supergroup channels. Acceptable values are `all`, `super`, and `nonsuper`. This parameter should be specified in conjunction with `include_unread_count` above. (Default: `all`) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdSendbirdUser result = api.viewAUser(userId) + SendBirdSendBirdUser result = api.viewAUser(userId) .includeUnreadCount(includeUnreadCount) .customTypes(customTypes) .superMode(superMode) @@ -1814,7 +1814,7 @@ public class Example { ### Return type -[**SendBirdSendbirdUser**](SendBirdSendbirdUser.md) +[**SendBirdSendBirdUser**](SendBirdSendBirdUser.md) ### Authorization diff --git a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 5b0ad2d4..42d652de 100644 --- a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -24,7 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java b/src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java index 2aea8816..1293459c 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java @@ -40,7 +40,7 @@ SendBirdAcceptAnInvitationRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("acceptAnInvitation_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdAcceptAnInvitationRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java b/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java index 3e04388d..70a4b001 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java @@ -37,7 +37,7 @@ SendBirdAddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_HUAWEI_DEVICE_TOKEN }) @JsonTypeName("addARegistrationOrDeviceToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdAddARegistrationOrDeviceTokenRequest { public static final String JSON_PROPERTY_APNS_DEVICE_TOKEN = "apns_device_token"; private String apnsDeviceToken; diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java index 904826b3..e92a793b 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,7 +38,7 @@ SendBirdAddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("addARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdAddARegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private String token; @@ -47,7 +47,7 @@ public class SendBirdAddARegistrationOrDeviceTokenResponse { private String type; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendbirdBasicUserInfo user; + private SendBirdSendBirdBasicUserInfo user; public SendBirdAddARegistrationOrDeviceTokenResponse() { } @@ -104,7 +104,7 @@ public void setType(String type) { } - public SendBirdAddARegistrationOrDeviceTokenResponse user(SendBirdSendbirdBasicUserInfo user) { + public SendBirdAddARegistrationOrDeviceTokenResponse user(SendBirdSendBirdBasicUserInfo user) { this.user = user; return this; } @@ -118,14 +118,14 @@ public SendBirdAddARegistrationOrDeviceTokenResponse user(SendBirdSendbirdBasicU @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getUser() { + public SendBirdSendBirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendbirdBasicUserInfo user) { + public void setUser(SendBirdSendBirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java index abe466be..b4ec1e7e 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ SendBirdAddExtraDataToAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("addExtraDataToAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdAddExtraDataToAMessageRequest { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = new ArrayList<>(); + private List sortedMetaarray = new ArrayList<>(); public SendBirdAddExtraDataToAMessageRequest() { } - public SendBirdAddExtraDataToAMessageRequest sortedMetaarray(List sortedMetaarray) { + public SendBirdAddExtraDataToAMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendBirdAddExtraDataToAMessageRequest addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendBirdAddExtraDataToAMessageRequest addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { this.sortedMetaarray.add(sortedMetaarrayItem); return this; } @@ -65,14 +65,14 @@ public SendBirdAddExtraDataToAMessageRequest addSortedMetaarrayItem(SendBirdSend @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java index 46ebe753..f14baaef 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ SendBirdAddExtraDataToAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("addExtraDataToAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdAddExtraDataToAMessageResponse { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public SendBirdAddExtraDataToAMessageResponse() { } - public SendBirdAddExtraDataToAMessageResponse sortedMetaarray(List sortedMetaarray) { + public SendBirdAddExtraDataToAMessageResponse sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendBirdAddExtraDataToAMessageResponse addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendBirdAddExtraDataToAMessageResponse addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -68,14 +68,14 @@ public SendBirdAddExtraDataToAMessageResponse addSortedMetaarrayItem(SendBirdSen @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java b/src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java index ccbdf167..a707dd9a 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java @@ -38,7 +38,7 @@ SendBirdBlockAUserRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("blockAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdBlockAUserRequest { public static final String JSON_PROPERTY_TARGET_ID = "target_id"; private String targetId; diff --git a/src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java b/src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java index 8c9086cd..7a098cc5 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.client.model.SendBirdSendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,10 +39,10 @@ SendBirdBlockAUserResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("blockAUserResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdBlockAUserResponse { public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; + private List users = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -50,12 +50,12 @@ public class SendBirdBlockAUserResponse { public SendBirdBlockAUserResponse() { } - public SendBirdBlockAUserResponse users(List users) { + public SendBirdBlockAUserResponse users(List users) { this.users = users; return this; } - public SendBirdBlockAUserResponse addUsersItem(SendBirdSendbirdUser usersItem) { + public SendBirdBlockAUserResponse addUsersItem(SendBirdSendBirdUser usersItem) { if (this.users == null) { this.users = new ArrayList<>(); } @@ -72,14 +72,14 @@ public SendBirdBlockAUserResponse addUsersItem(SendBirdSendbirdUser usersItem) { @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java index 6673140f..8e4cb972 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java @@ -36,7 +36,7 @@ SendBirdCheckIfMemberResponse.JSON_PROPERTY_STATE }) @JsonTypeName("checkIfMemberResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdCheckIfMemberResponse { public static final String JSON_PROPERTY_IS_MEMBER = "is_member"; private Boolean isMember; diff --git a/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java b/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java index dbd79328..8417e665 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java @@ -35,7 +35,7 @@ SendBirdChooseAPushNotificationContentTemplateRequest.JSON_PROPERTY_NAME }) @JsonTypeName("chooseAPushNotificationContentTemplate_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdChooseAPushNotificationContentTemplateRequest { /** * Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default) diff --git a/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java b/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java index 2b55e888..b9564dba 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java @@ -35,7 +35,7 @@ SendBirdChooseAPushNotificationContentTemplateResponse.JSON_PROPERTY_NAME }) @JsonTypeName("chooseAPushNotificationContentTemplateResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdChooseAPushNotificationContentTemplateResponse { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java index 39487963..f7515625 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java @@ -43,7 +43,7 @@ SendBirdCreateABotRequest.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("createABot_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdCreateABotRequest { public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; private String botCallbackUrl; diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java index 952bf823..31ba2d77 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java @@ -44,7 +44,7 @@ SendBirdCreateABotResponse.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("createABotResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdCreateABotResponse { public static final String JSON_PROPERTY_BOT = "bot"; private SendBirdCreateABotResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java b/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java index 697523b1..c575111f 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java @@ -43,7 +43,7 @@ SendBirdCreateABotResponseBot.JSON_PROPERTY_FEEDBACK }) @JsonTypeName("createABotResponse_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdCreateABotResponseBot { public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; private String aiAgentType; diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java index 6db2e349..ad206f9a 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java @@ -36,7 +36,7 @@ SendBirdCreateAChannelMetadataRequest.JSON_PROPERTY_METADATA }) @JsonTypeName("createAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdCreateAChannelMetadataRequest { public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; private Boolean includeTs; diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java index c8b49070..16faf676 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java @@ -36,7 +36,7 @@ SendBirdCreateAChannelMetadataResponse.JSON_PROPERTY_METADATA }) @JsonTypeName("createAChannelMetadataResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdCreateAChannelMetadataResponse { public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; private Long includeTs; diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java index 3ac5bc9c..0015cdd2 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java @@ -27,7 +27,7 @@ import java.io.File; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.client.model.SendBirdSendBirdUser; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -61,7 +61,7 @@ SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_USERS }) @JsonTypeName("createAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdCreateAGroupChannelRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); @@ -118,7 +118,7 @@ public class SendBirdCreateAGroupChannelRequest { private List userIds = null; public static final String JSON_PROPERTY_USERS = "users"; - private List users = new ArrayList<>(); + private List users = new ArrayList<>(); public SendBirdCreateAGroupChannelRequest() { } @@ -623,12 +623,12 @@ public void setUserIds(List userIds) { } - public SendBirdCreateAGroupChannelRequest users(List users) { + public SendBirdCreateAGroupChannelRequest users(List users) { this.users = users; return this; } - public SendBirdCreateAGroupChannelRequest addUsersItem(SendBirdSendbirdUser usersItem) { + public SendBirdCreateAGroupChannelRequest addUsersItem(SendBirdSendBirdUser usersItem) { this.users.add(usersItem); return this; } @@ -642,14 +642,14 @@ public SendBirdCreateAGroupChannelRequest addUsersItem(SendBirdSendbirdUser user @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java index c8cc0f91..700ea632 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java @@ -48,7 +48,7 @@ SendBirdCreateAUserRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("createAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdCreateAUserRequest { public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; private JsonNullable> discoveryKeys = JsonNullable.>undefined(); diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java index f16e146b..019f3863 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java @@ -46,7 +46,7 @@ SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("createAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdCreateAnOpenChannelRequest { public static final String JSON_PROPERTY_IS_DYNAMIC_PARTITIONED = "is_dynamic_partitioned"; private Boolean isDynamicPartitioned; diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java index 1a833999..908fc25d 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java @@ -35,7 +35,7 @@ SendBirdCreateUserTokenRequest.JSON_PROPERTY_EXPIRES_AT }) @JsonTypeName("createUserToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdCreateUserTokenRequest { public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; private Long expiresAt; diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java index 7b9fcba0..231f579a 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java @@ -36,7 +36,7 @@ SendBirdCreateUserTokenResponse.JSON_PROPERTY_TOKEN }) @JsonTypeName("createUserTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdCreateUserTokenResponse { public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; private Long expiresAt; diff --git a/src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java index 47723dfe..7c67e7f6 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java @@ -35,7 +35,7 @@ SendBirdFreezeAGroupChannelRequest.JSON_PROPERTY_FREEZE }) @JsonTypeName("freezeAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdFreezeAGroupChannelRequest { public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; diff --git a/src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java index 2e35478f..f858753c 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java @@ -35,7 +35,7 @@ SendBirdFreezeAnOpenChannelRequest.JSON_PROPERTY_FREEZE }) @JsonTypeName("freezeAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdFreezeAnOpenChannelRequest { public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java index 551bae6a..fc1f1542 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java @@ -29,14 +29,14 @@ import java.util.List; import java.util.Map; import org.openapitools.client.model.SendBirdGetAGroupChannelResponseAllOf; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendbirdGroupChannel; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdSendbirdMember; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSendbirdSmsFallback; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendBirdGroupChannel; +import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendBirdSendBirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdSendBirdMember; +import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendBirdSmsFallback; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -97,10 +97,10 @@ SendBirdGetAGroupChannelResponse.JSON_PROPERTY_USER_LAST_READ }) @JsonTypeName("getAGroupChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdGetAGroupChannelResponse { public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendBirdSendbirdGroupChannelDetailChannel channel; + private SendBirdSendBirdGroupChannelDetailChannel channel; public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -154,7 +154,7 @@ public static CountPreferenceEnum fromValue(String value) { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdSendbirdBasicUserInfo createdBy; + private SendBirdSendBirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -166,7 +166,7 @@ public static CountPreferenceEnum fromValue(String value) { private Object deliveryReceipt; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdSendbirdDisappearingMessage disappearingMessage; + private SendBirdSendBirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -224,7 +224,7 @@ public static HiddenStateEnum fromValue(String value) { private Long invitedAt; public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendBirdSendbirdBasicUserInfo inviter; + private SendBirdSendBirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); @@ -266,7 +266,7 @@ public static HiddenStateEnum fromValue(String value) { private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdSendbirdGroupChannelLastMessage lastMessage; + private SendBirdSendBirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -315,7 +315,7 @@ public static MemberStateEnum fromValue(String value) { private MemberStateEnum memberState; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -367,13 +367,13 @@ public static MyRoleEnum fromValue(String value) { private String name; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendbirdPushTriggerOption pushTriggerOption; + private SendBirdSendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSendbirdSmsFallback smsFallback; + private SendBirdSendBirdSmsFallback smsFallback; public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; @@ -390,7 +390,7 @@ public static MyRoleEnum fromValue(String value) { public SendBirdGetAGroupChannelResponse() { } - public SendBirdGetAGroupChannelResponse channel(SendBirdSendbirdGroupChannelDetailChannel channel) { + public SendBirdGetAGroupChannelResponse channel(SendBirdSendBirdGroupChannelDetailChannel channel) { this.channel = channel; return this; } @@ -404,14 +404,14 @@ public SendBirdGetAGroupChannelResponse channel(SendBirdSendbirdGroupChannelDeta @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdGroupChannelDetailChannel getChannel() { + public SendBirdSendBirdGroupChannelDetailChannel getChannel() { return channel; } @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendBirdSendbirdGroupChannelDetailChannel channel) { + public void setChannel(SendBirdSendBirdGroupChannelDetailChannel channel) { this.channel = channel; } @@ -520,7 +520,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdGetAGroupChannelResponse createdBy(SendBirdSendbirdBasicUserInfo createdBy) { + public SendBirdGetAGroupChannelResponse createdBy(SendBirdSendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -534,14 +534,14 @@ public SendBirdGetAGroupChannelResponse createdBy(SendBirdSendbirdBasicUserInfo @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getCreatedBy() { + public SendBirdSendBirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdSendbirdBasicUserInfo createdBy) { + public void setCreatedBy(SendBirdSendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; } @@ -624,7 +624,7 @@ public void setDeliveryReceipt(Object deliveryReceipt) { } - public SendBirdGetAGroupChannelResponse disappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + public SendBirdGetAGroupChannelResponse disappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -638,14 +638,14 @@ public SendBirdGetAGroupChannelResponse disappearingMessage(SendBirdSendbirdDisa @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdDisappearingMessage getDisappearingMessage() { + public SendBirdSendBirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } @@ -806,7 +806,7 @@ public void setInvitedAt(Long invitedAt) { } - public SendBirdGetAGroupChannelResponse inviter(SendBirdSendbirdBasicUserInfo inviter) { + public SendBirdGetAGroupChannelResponse inviter(SendBirdSendBirdBasicUserInfo inviter) { this.inviter = inviter; return this; } @@ -820,14 +820,14 @@ public SendBirdGetAGroupChannelResponse inviter(SendBirdSendbirdBasicUserInfo in @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getInviter() { + public SendBirdSendBirdBasicUserInfo getInviter() { return inviter; } @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendBirdSendbirdBasicUserInfo inviter) { + public void setInviter(SendBirdSendBirdBasicUserInfo inviter) { this.inviter = inviter; } @@ -1186,7 +1186,7 @@ public void setJoinedTs(Long joinedTs) { } - public SendBirdGetAGroupChannelResponse lastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + public SendBirdGetAGroupChannelResponse lastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; return this; } @@ -1200,14 +1200,14 @@ public SendBirdGetAGroupChannelResponse lastMessage(SendBirdSendbirdGroupChannel @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdGroupChannelLastMessage getLastMessage() { + public SendBirdSendBirdGroupChannelLastMessage getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + public void setLastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } @@ -1290,12 +1290,12 @@ public void setMemberState(MemberStateEnum memberState) { } - public SendBirdGetAGroupChannelResponse members(List members) { + public SendBirdGetAGroupChannelResponse members(List members) { this.members = members; return this; } - public SendBirdGetAGroupChannelResponse addMembersItem(SendBirdSendbirdMember membersItem) { + public SendBirdGetAGroupChannelResponse addMembersItem(SendBirdSendBirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -1312,14 +1312,14 @@ public SendBirdGetAGroupChannelResponse addMembersItem(SendBirdSendbirdMember me @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } @@ -1436,7 +1436,7 @@ public void setName(String name) { } - public SendBirdGetAGroupChannelResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public SendBirdGetAGroupChannelResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -1450,14 +1450,14 @@ public SendBirdGetAGroupChannelResponse pushTriggerOption(SendBirdSendbirdPushTr @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } @@ -1496,7 +1496,7 @@ public void setReadReceipt(Map readReceipt) { } - public SendBirdGetAGroupChannelResponse smsFallback(SendBirdSendbirdSmsFallback smsFallback) { + public SendBirdGetAGroupChannelResponse smsFallback(SendBirdSendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1510,14 +1510,14 @@ public SendBirdGetAGroupChannelResponse smsFallback(SendBirdSendbirdSmsFallback @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdSmsFallback getSmsFallback() { + public SendBirdSendBirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSendbirdSmsFallback smsFallback) { + public void setSmsFallback(SendBirdSendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java b/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java index 8b9dc41c..148d5ff7 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java +++ b/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetailChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -36,15 +36,15 @@ SendBirdGetAGroupChannelResponseAllOf.JSON_PROPERTY_CHANNEL }) @JsonTypeName("getAGroupChannelResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdGetAGroupChannelResponseAllOf { public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendBirdSendbirdGroupChannelDetailChannel channel; + private SendBirdSendBirdGroupChannelDetailChannel channel; public SendBirdGetAGroupChannelResponseAllOf() { } - public SendBirdGetAGroupChannelResponseAllOf channel(SendBirdSendbirdGroupChannelDetailChannel channel) { + public SendBirdGetAGroupChannelResponseAllOf channel(SendBirdSendBirdGroupChannelDetailChannel channel) { this.channel = channel; return this; } @@ -58,14 +58,14 @@ public SendBirdGetAGroupChannelResponseAllOf channel(SendBirdSendbirdGroupChanne @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdGroupChannelDetailChannel getChannel() { + public SendBirdSendBirdGroupChannelDetailChannel getChannel() { return channel; } @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendBirdSendbirdGroupChannelDetailChannel channel) { + public void setChannel(SendBirdSendBirdGroupChannelDetailChannel channel) { this.channel = channel; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java index 2b3998c0..53953ed5 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java @@ -35,7 +35,7 @@ SendBirdGetChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("getChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdGetChannelInvitationPreferenceResponse { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java index 74a9a924..fc27ccac 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java @@ -35,7 +35,7 @@ SendBirdGetTotalNumberOfMessagesInAChannelResponse.JSON_PROPERTY_TOTAL }) @JsonTypeName("getTotalNumberOfMessagesInAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdGetTotalNumberOfMessagesInAChannelResponse { public static final String JSON_PROPERTY_TOTAL = "total"; private Integer total; diff --git a/src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java index d446d532..9bb7324f 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdMember; +import org.openapitools.client.model.SendBirdSendBirdMember; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,10 +39,10 @@ SendBirdGroupChannelListMembersResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("groupChannelListMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdGroupChannelListMembersResponse { public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = new ArrayList<>(); + private List members = new ArrayList<>(); public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -50,12 +50,12 @@ public class SendBirdGroupChannelListMembersResponse { public SendBirdGroupChannelListMembersResponse() { } - public SendBirdGroupChannelListMembersResponse members(List members) { + public SendBirdGroupChannelListMembersResponse members(List members) { this.members = members; return this; } - public SendBirdGroupChannelListMembersResponse addMembersItem(SendBirdSendbirdMember membersItem) { + public SendBirdGroupChannelListMembersResponse addMembersItem(SendBirdSendBirdMember membersItem) { this.members.add(membersItem); return this; } @@ -69,14 +69,14 @@ public SendBirdGroupChannelListMembersResponse addMembersItem(SendBirdSendbirdMe @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java index cdb5f2ab..ea91ad70 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdGroupChannel; +import org.openapitools.client.model.SendBirdSendBirdGroupChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,10 +40,10 @@ SendBirdGroupChatListChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("groupChatListChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdGroupChatListChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; + private List channels = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -54,12 +54,12 @@ public class SendBirdGroupChatListChannelsResponse { public SendBirdGroupChatListChannelsResponse() { } - public SendBirdGroupChatListChannelsResponse channels(List channels) { + public SendBirdGroupChatListChannelsResponse channels(List channels) { this.channels = channels; return this; } - public SendBirdGroupChatListChannelsResponse addChannelsItem(SendBirdSendbirdGroupChannel channelsItem) { + public SendBirdGroupChatListChannelsResponse addChannelsItem(SendBirdSendBirdGroupChannel channelsItem) { if (this.channels == null) { this.channels = new ArrayList<>(); } @@ -76,14 +76,14 @@ public SendBirdGroupChatListChannelsResponse addChannelsItem(SendBirdSendbirdGro @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getChannels() { + public List getChannels() { return channels; } @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { + public void setChannels(List channels) { this.channels = channels; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java index 7a4a2761..2a66d387 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java @@ -38,7 +38,7 @@ SendBirdHideAChannelRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("hideAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdHideAChannelRequest { public static final String JSON_PROPERTY_ALLOW_AUTO_UNHIDE = "allow_auto_unhide"; private Boolean allowAutoUnhide; diff --git a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java index 6eb33c8c..3fdabbec 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java @@ -40,7 +40,7 @@ SendBirdInviteAsMembersRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("inviteAsMembers_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdInviteAsMembersRequest { public static final String JSON_PROPERTY_HIDDEN_STATUS = "hidden_status"; private Object hiddenStatus; diff --git a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java index c06ca9bc..10126d65 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java @@ -29,14 +29,14 @@ import java.util.List; import java.util.Map; import org.openapitools.client.model.SendBirdInviteAsMembersResponseAllOf; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendbirdGroupChannel; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdSendbirdMember; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSendbirdSmsFallback; -import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendBirdGroupChannel; +import org.openapitools.client.model.SendBirdSendBirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdSendBirdMember; +import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendBirdSmsFallback; +import org.openapitools.client.model.SendBirdSendBirdUser; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -97,7 +97,7 @@ SendBirdInviteAsMembersResponse.JSON_PROPERTY_OPERATORS }) @JsonTypeName("inviteAsMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdInviteAsMembersResponse { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -151,7 +151,7 @@ public static CountPreferenceEnum fromValue(String value) { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdSendbirdBasicUserInfo createdBy; + private SendBirdSendBirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -163,7 +163,7 @@ public static CountPreferenceEnum fromValue(String value) { private Object deliveryReceipt; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdSendbirdDisappearingMessage disappearingMessage; + private SendBirdSendBirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -221,7 +221,7 @@ public static HiddenStateEnum fromValue(String value) { private Long invitedAt; public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendBirdSendbirdBasicUserInfo inviter; + private SendBirdSendBirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); @@ -263,7 +263,7 @@ public static HiddenStateEnum fromValue(String value) { private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdSendbirdGroupChannelLastMessage lastMessage; + private SendBirdSendBirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -312,7 +312,7 @@ public static MemberStateEnum fromValue(String value) { private MemberStateEnum memberState; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -364,13 +364,13 @@ public static MyRoleEnum fromValue(String value) { private String name; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendbirdPushTriggerOption pushTriggerOption; + private SendBirdSendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSendbirdSmsFallback smsFallback; + private SendBirdSendBirdSmsFallback smsFallback; public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; @@ -385,7 +385,7 @@ public static MyRoleEnum fromValue(String value) { private Long userLastRead; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public SendBirdInviteAsMembersResponse() { } @@ -494,7 +494,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdInviteAsMembersResponse createdBy(SendBirdSendbirdBasicUserInfo createdBy) { + public SendBirdInviteAsMembersResponse createdBy(SendBirdSendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -508,14 +508,14 @@ public SendBirdInviteAsMembersResponse createdBy(SendBirdSendbirdBasicUserInfo c @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getCreatedBy() { + public SendBirdSendBirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdSendbirdBasicUserInfo createdBy) { + public void setCreatedBy(SendBirdSendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; } @@ -598,7 +598,7 @@ public void setDeliveryReceipt(Object deliveryReceipt) { } - public SendBirdInviteAsMembersResponse disappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + public SendBirdInviteAsMembersResponse disappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -612,14 +612,14 @@ public SendBirdInviteAsMembersResponse disappearingMessage(SendBirdSendbirdDisap @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdDisappearingMessage getDisappearingMessage() { + public SendBirdSendBirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } @@ -780,7 +780,7 @@ public void setInvitedAt(Long invitedAt) { } - public SendBirdInviteAsMembersResponse inviter(SendBirdSendbirdBasicUserInfo inviter) { + public SendBirdInviteAsMembersResponse inviter(SendBirdSendBirdBasicUserInfo inviter) { this.inviter = inviter; return this; } @@ -794,14 +794,14 @@ public SendBirdInviteAsMembersResponse inviter(SendBirdSendbirdBasicUserInfo inv @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getInviter() { + public SendBirdSendBirdBasicUserInfo getInviter() { return inviter; } @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendBirdSendbirdBasicUserInfo inviter) { + public void setInviter(SendBirdSendBirdBasicUserInfo inviter) { this.inviter = inviter; } @@ -1160,7 +1160,7 @@ public void setJoinedTs(Long joinedTs) { } - public SendBirdInviteAsMembersResponse lastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + public SendBirdInviteAsMembersResponse lastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; return this; } @@ -1174,14 +1174,14 @@ public SendBirdInviteAsMembersResponse lastMessage(SendBirdSendbirdGroupChannelL @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdGroupChannelLastMessage getLastMessage() { + public SendBirdSendBirdGroupChannelLastMessage getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + public void setLastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } @@ -1264,12 +1264,12 @@ public void setMemberState(MemberStateEnum memberState) { } - public SendBirdInviteAsMembersResponse members(List members) { + public SendBirdInviteAsMembersResponse members(List members) { this.members = members; return this; } - public SendBirdInviteAsMembersResponse addMembersItem(SendBirdSendbirdMember membersItem) { + public SendBirdInviteAsMembersResponse addMembersItem(SendBirdSendBirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -1286,14 +1286,14 @@ public SendBirdInviteAsMembersResponse addMembersItem(SendBirdSendbirdMember mem @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } @@ -1410,7 +1410,7 @@ public void setName(String name) { } - public SendBirdInviteAsMembersResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public SendBirdInviteAsMembersResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -1424,14 +1424,14 @@ public SendBirdInviteAsMembersResponse pushTriggerOption(SendBirdSendbirdPushTri @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } @@ -1470,7 +1470,7 @@ public void setReadReceipt(Map readReceipt) { } - public SendBirdInviteAsMembersResponse smsFallback(SendBirdSendbirdSmsFallback smsFallback) { + public SendBirdInviteAsMembersResponse smsFallback(SendBirdSendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1484,14 +1484,14 @@ public SendBirdInviteAsMembersResponse smsFallback(SendBirdSendbirdSmsFallback s @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdSmsFallback getSmsFallback() { + public SendBirdSendBirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSendbirdSmsFallback smsFallback) { + public void setSmsFallback(SendBirdSendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } @@ -1600,12 +1600,12 @@ public void setUserLastRead(Long userLastRead) { } - public SendBirdInviteAsMembersResponse operators(List operators) { + public SendBirdInviteAsMembersResponse operators(List operators) { this.operators = operators; return this; } - public SendBirdInviteAsMembersResponse addOperatorsItem(SendBirdSendbirdUser operatorsItem) { + public SendBirdInviteAsMembersResponse addOperatorsItem(SendBirdSendBirdUser operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -1622,14 +1622,14 @@ public SendBirdInviteAsMembersResponse addOperatorsItem(SendBirdSendbirdUser ope @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java index 9ca840c0..99a0cef4 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java +++ b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.client.model.SendBirdSendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ SendBirdInviteAsMembersResponseAllOf.JSON_PROPERTY_OPERATORS }) @JsonTypeName("inviteAsMembersResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdInviteAsMembersResponseAllOf { public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public SendBirdInviteAsMembersResponseAllOf() { } - public SendBirdInviteAsMembersResponseAllOf operators(List operators) { + public SendBirdInviteAsMembersResponseAllOf operators(List operators) { this.operators = operators; return this; } - public SendBirdInviteAsMembersResponseAllOf addOperatorsItem(SendBirdSendbirdUser operatorsItem) { + public SendBirdInviteAsMembersResponseAllOf addOperatorsItem(SendBirdSendBirdUser operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -68,14 +68,14 @@ public SendBirdInviteAsMembersResponseAllOf addOperatorsItem(SendBirdSendbirdUse @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java index 0d3b92e6..1f511745 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java @@ -40,7 +40,7 @@ SendBirdJoinAChannelRequest.JSON_PROPERTY_ACCESS_CODE }) @JsonTypeName("joinAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdJoinAChannelRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java b/src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java index 0ff6c7aa..dbcbcbbe 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java @@ -37,7 +37,7 @@ SendBirdJoinChannelsRequest.JSON_PROPERTY_CHANNEL_URLS }) @JsonTypeName("joinChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdJoinChannelsRequest { public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; private List channelUrls = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java index f626714f..9365d971 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java @@ -40,7 +40,7 @@ SendBirdLeaveAChannelRequest.JSON_PROPERTY_REASON }) @JsonTypeName("leaveAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdLeaveAChannelRequest { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java b/src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java index c66c8eee..28c791a9 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java @@ -35,7 +35,7 @@ SendBirdLeaveMyGroupChannelsRequest.JSON_PROPERTY_CUSTOM_TYPE }) @JsonTypeName("leaveMyGroupChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdLeaveMyGroupChannelsRequest { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java index 36182380..670f2023 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.client.model.SendBirdSendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,10 +39,10 @@ SendBirdListBlockedUsersResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("listBlockedUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListBlockedUsersResponse { public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; + private List users = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -50,12 +50,12 @@ public class SendBirdListBlockedUsersResponse { public SendBirdListBlockedUsersResponse() { } - public SendBirdListBlockedUsersResponse users(List users) { + public SendBirdListBlockedUsersResponse users(List users) { this.users = users; return this; } - public SendBirdListBlockedUsersResponse addUsersItem(SendBirdSendbirdUser usersItem) { + public SendBirdListBlockedUsersResponse addUsersItem(SendBirdSendBirdUser usersItem) { if (this.users == null) { this.users = new ArrayList<>(); } @@ -72,14 +72,14 @@ public SendBirdListBlockedUsersResponse addUsersItem(SendBirdSendbirdUser usersI @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java index 9b001000..9a8daab1 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java @@ -39,7 +39,7 @@ SendBirdListBotsResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("listBotsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListBotsResponse { public static final String JSON_PROPERTY_BOTS = "bots"; private List bots = null; diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java index 7e457361..04affcfd 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java @@ -50,7 +50,7 @@ SendBirdListBotsResponseBotsInner.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("listBotsResponse_bots_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListBotsResponseBotsInner { public static final String JSON_PROPERTY_BOT = "bot"; private SendBirdListBotsResponseBotsInnerBot bot; diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java index f734f2e8..e64c4661 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java @@ -42,7 +42,7 @@ SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_USERID }) @JsonTypeName("listBotsResponse_bots_inner_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListBotsResponseBotsInnerBot { public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; private String aiAgentType; diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java index 2ad8cca7..0322cd90 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java @@ -43,7 +43,7 @@ SendBirdListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_URL }) @JsonTypeName("listBotsResponse_bots_inner_bot_style") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListBotsResponseBotsInnerBotStyle { public static final String JSON_PROPERTY_AUTO_OPEN = "auto_open"; private Boolean autoOpen; diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java index e5773674..e628e125 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java @@ -37,7 +37,7 @@ SendBirdListBotsResponseBotsInnerBotStyleColor.JSON_PROPERTY_THEME }) @JsonTypeName("listBotsResponse_bots_inner_bot_style_color") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListBotsResponseBotsInnerBotStyleColor { public static final String JSON_PROPERTY_ACCENT_COLOR = "accent_color"; private String accentColor; diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java index bc0a93c5..d2803139 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java @@ -37,7 +37,7 @@ SendBirdListBotsResponseBotsInnerFirstMessagesInner.JSON_PROPERTY_MESSAGE }) @JsonTypeName("listBotsResponse_bots_inner_first_messages_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListBotsResponseBotsInnerFirstMessagesInner { public static final String JSON_PROPERTY_DATA = "data"; private SendBirdListBotsResponseBotsInnerFirstMessagesInnerData data; diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java index 755073bf..b3a0662a 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java @@ -37,7 +37,7 @@ SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.JSON_PROPERTY_SUGGESTED_REPLIES }) @JsonTypeName("listBotsResponse_bots_inner_first_messages_inner_data") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListBotsResponseBotsInnerFirstMessagesInnerData { public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; private List suggestedReplies = null; diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java index 4ac8c7ec..5e769d9a 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java @@ -40,7 +40,7 @@ SendBirdListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_PII_MASKING }) @JsonTypeName("listBotsResponse_bots_inner_safeguard") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListBotsResponseBotsInnerSafeguard { public static final String JSON_PROPERTY_BANNED_PHRASES = "banned_phrases"; private List bannedPhrases = null; diff --git a/src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java index a89e1f51..acb3fdd6 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdMessageResponse; +import org.openapitools.client.model.SendBirdSendBirdMessageResponse; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ SendBirdListMessagesResponse.JSON_PROPERTY_MESSAGES }) @JsonTypeName("listMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListMessagesResponse { public static final String JSON_PROPERTY_MESSAGES = "messages"; - private List messages = null; + private List messages = null; public SendBirdListMessagesResponse() { } - public SendBirdListMessagesResponse messages(List messages) { + public SendBirdListMessagesResponse messages(List messages) { this.messages = messages; return this; } - public SendBirdListMessagesResponse addMessagesItem(SendBirdSendbirdMessageResponse messagesItem) { + public SendBirdListMessagesResponse addMessagesItem(SendBirdSendBirdMessageResponse messagesItem) { if (this.messages == null) { this.messages = new ArrayList<>(); } @@ -68,14 +68,14 @@ public SendBirdListMessagesResponse addMessagesItem(SendBirdSendbirdMessageRespo @JsonProperty(JSON_PROPERTY_MESSAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMessages() { + public List getMessages() { return messages; } @JsonProperty(JSON_PROPERTY_MESSAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessages(List messages) { + public void setMessages(List messages) { this.messages = messages; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java index 367e34da..762187dc 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdGroupChannel; +import org.openapitools.client.model.SendBirdSendBirdGroupChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,10 +40,10 @@ SendBirdListMyGroupChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("listMyGroupChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListMyGroupChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; + private List channels = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -54,12 +54,12 @@ public class SendBirdListMyGroupChannelsResponse { public SendBirdListMyGroupChannelsResponse() { } - public SendBirdListMyGroupChannelsResponse channels(List channels) { + public SendBirdListMyGroupChannelsResponse channels(List channels) { this.channels = channels; return this; } - public SendBirdListMyGroupChannelsResponse addChannelsItem(SendBirdSendbirdGroupChannel channelsItem) { + public SendBirdListMyGroupChannelsResponse addChannelsItem(SendBirdSendBirdGroupChannel channelsItem) { if (this.channels == null) { this.channels = new ArrayList<>(); } @@ -76,14 +76,14 @@ public SendBirdListMyGroupChannelsResponse addChannelsItem(SendBirdSendbirdGroup @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getChannels() { + public List getChannels() { return channels; } @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { + public void setChannels(List channels) { this.channels = channels; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java index c40a9ad2..9e3f0797 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdOpenChannel; +import org.openapitools.client.model.SendBirdSendBirdOpenChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,10 +40,10 @@ SendBirdListOpenChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("listOpenChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListOpenChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; + private List channels = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -54,12 +54,12 @@ public class SendBirdListOpenChannelsResponse { public SendBirdListOpenChannelsResponse() { } - public SendBirdListOpenChannelsResponse channels(List channels) { + public SendBirdListOpenChannelsResponse channels(List channels) { this.channels = channels; return this; } - public SendBirdListOpenChannelsResponse addChannelsItem(SendBirdSendbirdOpenChannel channelsItem) { + public SendBirdListOpenChannelsResponse addChannelsItem(SendBirdSendBirdOpenChannel channelsItem) { if (this.channels == null) { this.channels = new ArrayList<>(); } @@ -76,14 +76,14 @@ public SendBirdListOpenChannelsResponse addChannelsItem(SendBirdSendbirdOpenChan @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getChannels() { + public List getChannels() { return channels; } @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { + public void setChannels(List channels) { this.channels = channels; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java index 634f1dc9..58027755 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,13 +39,13 @@ SendBirdListOperatorsResponse.JSON_PROPERTY_OPERATORS }) @JsonTypeName("listOperatorsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListOperatorsResponse { public static final String JSON_PROPERTY_NEXT = "next"; private String next; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public SendBirdListOperatorsResponse() { } @@ -76,12 +76,12 @@ public void setNext(String next) { } - public SendBirdListOperatorsResponse operators(List operators) { + public SendBirdListOperatorsResponse operators(List operators) { this.operators = operators; return this; } - public SendBirdListOperatorsResponse addOperatorsItem(SendBirdSendbirdBasicUserInfo operatorsItem) { + public SendBirdListOperatorsResponse addOperatorsItem(SendBirdSendBirdBasicUserInfo operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -98,14 +98,14 @@ public SendBirdListOperatorsResponse addOperatorsItem(SendBirdSendbirdBasicUserI @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java index 1d338d97..3b6f0c3d 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -41,7 +41,7 @@ SendBirdListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_USER }) @JsonTypeName("listRegistrationOrDeviceTokensResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListRegistrationOrDeviceTokensResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private List token = null; @@ -53,7 +53,7 @@ public class SendBirdListRegistrationOrDeviceTokensResponse { private String type; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendbirdBasicUserInfo user; + private SendBirdSendBirdBasicUserInfo user; public SendBirdListRegistrationOrDeviceTokensResponse() { } @@ -152,7 +152,7 @@ public void setType(String type) { } - public SendBirdListRegistrationOrDeviceTokensResponse user(SendBirdSendbirdBasicUserInfo user) { + public SendBirdListRegistrationOrDeviceTokensResponse user(SendBirdSendBirdBasicUserInfo user) { this.user = user; return this; } @@ -166,14 +166,14 @@ public SendBirdListRegistrationOrDeviceTokensResponse user(SendBirdSendbirdBasic @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getUser() { + public SendBirdSendBirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendbirdBasicUserInfo user) { + public void setUser(SendBirdSendBirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java index 74f56fcb..d530e382 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.client.model.SendBirdSendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,13 +39,13 @@ SendBirdListUsersResponse.JSON_PROPERTY_USERS }) @JsonTypeName("listUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdListUsersResponse { public static final String JSON_PROPERTY_NEXT = "next"; private String next; public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; + private List users = null; public SendBirdListUsersResponse() { } @@ -76,12 +76,12 @@ public void setNext(String next) { } - public SendBirdListUsersResponse users(List users) { + public SendBirdListUsersResponse users(List users) { this.users = users; return this; } - public SendBirdListUsersResponse addUsersItem(SendBirdSendbirdUser usersItem) { + public SendBirdListUsersResponse addUsersItem(SendBirdSendBirdUser usersItem) { if (this.users == null) { this.users = new ArrayList<>(); } @@ -98,14 +98,14 @@ public SendBirdListUsersResponse addUsersItem(SendBirdSendbirdUser usersItem) { @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java index a731f80f..4b4c49cf 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java @@ -37,7 +37,7 @@ SendBirdMarkAllMessagesAsReadRequest.JSON_PROPERTY_CHANNEL_URLS }) @JsonTypeName("markAllMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdMarkAllMessagesAsReadRequest { public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; private List channelUrls = null; diff --git a/src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java index 72c0e3ed..c4892d76 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java @@ -35,7 +35,7 @@ SendBirdMarkChannelMessagesAsReadRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("markChannelMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdMarkChannelMessagesAsReadRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java index 45830090..413e2f65 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java @@ -45,7 +45,7 @@ SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("MigrateMessagesAdminMessageRequest") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdMigrateMessagesAdminMessageRequest { /** * Gets or Sets messageType diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java index 6e9b3627..89e12394 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java @@ -51,7 +51,7 @@ SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("MigrateMessagesFileMessageRequest") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdMigrateMessagesFileMessageRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java index a35eef3d..79933ca5 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java @@ -47,7 +47,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") @JsonDeserialize(using = SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerDeserializer.class) @JsonSerialize(using = SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerSerializer.class) public class SendBirdMigrateMessagesFileMessageRequestThumbnailsInner extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java index 1b7b3a60..fd8868bc 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java @@ -40,7 +40,7 @@ SendBirdMigrateMessagesRequest.JSON_PROPERTY_REWIND_READ_TS }) @JsonTypeName("MigrateMessagesRequest") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdMigrateMessagesRequest { public static final String JSON_PROPERTY_MESSAGES = "messages"; private List messages = null; diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java index de0370c2..b2af89f9 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java @@ -60,7 +60,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") @JsonDeserialize(using = SendBirdMigrateMessagesRequestMessagesInner.SendBirdMigrateMessagesRequestMessagesInnerDeserializer.class) @JsonSerialize(using = SendBirdMigrateMessagesRequestMessagesInner.SendBirdMigrateMessagesRequestMessagesInnerSerializer.class) public class SendBirdMigrateMessagesRequestMessagesInner extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java index e3c3f185..b8fc33df 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java @@ -45,7 +45,7 @@ SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("MigrateMessagesTextMessageRequest") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdMigrateMessagesTextMessageRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java index bdeec230..8880477e 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java @@ -37,7 +37,7 @@ SendBirdRegisterOperatorsToAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("registerOperatorsToAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdRegisterOperatorsToAGroupChannelRequest { public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; private List operatorIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java index c27bb4a4..2e26b6e3 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -37,13 +37,13 @@ SendBirdRemoveARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("removeARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdRemoveARegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private String token; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendbirdBasicUserInfo user; + private SendBirdSendBirdBasicUserInfo user; public SendBirdRemoveARegistrationOrDeviceTokenResponse() { } @@ -74,7 +74,7 @@ public void setToken(String token) { } - public SendBirdRemoveARegistrationOrDeviceTokenResponse user(SendBirdSendbirdBasicUserInfo user) { + public SendBirdRemoveARegistrationOrDeviceTokenResponse user(SendBirdSendBirdBasicUserInfo user) { this.user = user; return this; } @@ -88,14 +88,14 @@ public SendBirdRemoveARegistrationOrDeviceTokenResponse user(SendBirdSendbirdBas @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getUser() { + public SendBirdSendBirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendbirdBasicUserInfo user) { + public void setUser(SendBirdSendBirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java index ce715319..0a11e674 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,13 +39,13 @@ SendBirdRemoveAllRegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("removeAllRegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdRemoveAllRegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private List token = null; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendbirdBasicUserInfo user; + private SendBirdSendBirdBasicUserInfo user; public SendBirdRemoveAllRegistrationOrDeviceTokenResponse() { } @@ -84,7 +84,7 @@ public void setToken(List token) { } - public SendBirdRemoveAllRegistrationOrDeviceTokenResponse user(SendBirdSendbirdBasicUserInfo user) { + public SendBirdRemoveAllRegistrationOrDeviceTokenResponse user(SendBirdSendBirdBasicUserInfo user) { this.user = user; return this; } @@ -98,14 +98,14 @@ public SendBirdRemoveAllRegistrationOrDeviceTokenResponse user(SendBirdSendbirdB @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getUser() { + public SendBirdSendBirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendbirdBasicUserInfo user) { + public void setUser(SendBirdSendBirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java b/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java index 0253b659..f2ad5087 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java @@ -36,7 +36,7 @@ SendBirdResetChatHistoryRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("resetChatHistory_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdResetChatHistoryRequest { public static final String JSON_PROPERTY_RESET_ALL = "reset_all"; private Boolean resetAll; diff --git a/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java b/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java index 9a553612..91974294 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java @@ -35,7 +35,7 @@ SendBirdResetChatHistoryResponse.JSON_PROPERTY_TS_MESSAGE_OFFSET }) @JsonTypeName("resetChatHistoryResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdResetChatHistoryResponse { public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java index 2852ef16..1ab22c28 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java @@ -56,7 +56,7 @@ SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_UNIQUE_ID }) @JsonTypeName("scheduleAnAnnouncement_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdScheduleAnAnnouncementRequest { public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; private String announcementGroup; diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java index f452a1d3..f1426d6e 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java +++ b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java @@ -39,7 +39,7 @@ SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_NAME }) @JsonTypeName("scheduleAnAnnouncement_request_create_channel_options") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdScheduleAnAnnouncementRequestCreateChannelOptions { public static final String JSON_PROPERTY_COVER_URL = "cover_url"; private String coverUrl; diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java index 7fc4896d..6d63d26b 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java +++ b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java @@ -39,7 +39,7 @@ SendBirdScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_USER_ID }) @JsonTypeName("scheduleAnAnnouncement_request_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdScheduleAnAnnouncementRequestMessage { public static final String JSON_PROPERTY_CONTENT = "content"; private String content; diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java index 8a711125..c38baa15 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java @@ -61,7 +61,7 @@ SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_UNIQUE_ID }) @JsonTypeName("scheduleAnAnnouncementResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdScheduleAnAnnouncementResponse { public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; private String announcementGroup; diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java index c5e5045d..9ccbfbc3 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java +++ b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java @@ -40,7 +40,7 @@ SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_USER_ID }) @JsonTypeName("scheduleAnAnnouncementResponse_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdScheduleAnAnnouncementResponseMessage { public static final String JSON_PROPERTY_CONTENT = "content"; private String content; diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java index f1627ab1..32b5adc3 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdMessageResponse; +import org.openapitools.client.model.SendBirdSendBirdMessageResponse; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -36,15 +36,15 @@ SendBirdSendABotMessageResponse.JSON_PROPERTY_MESSAGE }) @JsonTypeName("sendABotMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdSendABotMessageResponse { public static final String JSON_PROPERTY_MESSAGE = "message"; - private SendBirdSendbirdMessageResponse message; + private SendBirdSendBirdMessageResponse message; public SendBirdSendABotMessageResponse() { } - public SendBirdSendABotMessageResponse message(SendBirdSendbirdMessageResponse message) { + public SendBirdSendABotMessageResponse message(SendBirdSendBirdMessageResponse message) { this.message = message; return this; } @@ -58,14 +58,14 @@ public SendBirdSendABotMessageResponse message(SendBirdSendbirdMessageResponse m @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdMessageResponse getMessage() { + public SendBirdSendBirdMessageResponse getMessage() { return message; } @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(SendBirdSendbirdMessageResponse message) { + public void setMessage(SendBirdSendBirdMessageResponse message) { this.message = message; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java index f4665c4d..d8ded59b 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java @@ -28,8 +28,8 @@ import java.util.ArrayList; import java.util.List; import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplate; -import org.openapitools.client.model.SendBirdSendbirdFile; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSendBirdFile; +import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -66,7 +66,7 @@ SendBirdSendAMessageRequest.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdSendAMessageRequest { /** * Gets or Sets messageType @@ -121,7 +121,7 @@ public static MessageTypeEnum fromValue(String value) { private Integer pollId; public static final String JSON_PROPERTY_FILES = "files"; - private SendBirdSendbirdFile files; + private SendBirdSendBirdFile files; public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; private Boolean requireAuth; @@ -210,7 +210,7 @@ public static MentionTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_SOUND = "sound"; private String sound; @@ -351,7 +351,7 @@ public void setPollId(Integer pollId) { } - public SendBirdSendAMessageRequest files(SendBirdSendbirdFile files) { + public SendBirdSendAMessageRequest files(SendBirdSendBirdFile files) { this.files = files; return this; } @@ -365,14 +365,14 @@ public SendBirdSendAMessageRequest files(SendBirdSendbirdFile files) { @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdFile getFiles() { + public SendBirdSendBirdFile getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(SendBirdSendbirdFile files) { + public void setFiles(SendBirdSendBirdFile files) { this.files = files; } @@ -835,12 +835,12 @@ public void setSendPush(Boolean sendPush) { } - public SendBirdSendAMessageRequest sortedMetaarray(List sortedMetaarray) { + public SendBirdSendAMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendBirdSendAMessageRequest addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendBirdSendAMessageRequest addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -857,14 +857,14 @@ public SendBirdSendAMessageRequest addSortedMetaarrayItem(SendBirdSendbirdSorted @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java index 9a240055..03a8af22 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java @@ -55,7 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") @JsonDeserialize(using = SendBirdSendAMessageRequestPushMessageTemplate.SendBirdSendAMessageRequestPushMessageTemplateDeserializer.class) @JsonSerialize(using = SendBirdSendAMessageRequestPushMessageTemplate.SendBirdSendAMessageRequestPushMessageTemplateSerializer.class) public class SendBirdSendAMessageRequestPushMessageTemplate extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java index 3f205424..b4632ea5 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java @@ -36,7 +36,7 @@ SendBirdSendAMessageRequestPushMessageTemplateOneOf.JSON_PROPERTY_BODY }) @JsonTypeName("sendAMessage_request_push_message_template_oneOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdSendAMessageRequestPushMessageTemplateOneOf { public static final String JSON_PROPERTY_TITLE = "title"; private String title; diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java index 4096a1cc..91fa87f4 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java @@ -26,8 +26,8 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; +import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; import org.openapitools.client.model.SendBirdSendTextMessageRequestBodyPushMessageTemplate; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -50,7 +50,7 @@ SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("sendAdminMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdSendAdminMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; @@ -154,7 +154,7 @@ public static MessageTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public SendBirdSendAdminMessageRequestBody() { } @@ -453,12 +453,12 @@ public void setSendPush(Boolean sendPush) { } - public SendBirdSendAdminMessageRequestBody sortedMetaarray(List sortedMetaarray) { + public SendBirdSendAdminMessageRequestBody sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendBirdSendAdminMessageRequestBody addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendBirdSendAdminMessageRequestBody addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -475,14 +475,14 @@ public SendBirdSendAdminMessageRequestBody addSortedMetaarrayItem(SendBirdSendbi @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java index 8d12c755..0239939a 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java @@ -27,8 +27,8 @@ import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdFile; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSendBirdFile; +import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -60,7 +60,7 @@ SendBirdSendFileMessageRequestBody.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendFileMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdSendFileMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; @@ -81,7 +81,7 @@ public class SendBirdSendFileMessageRequestBody { private String dedupId; public static final String JSON_PROPERTY_FILES = "files"; - private SendBirdSendbirdFile files; + private SendBirdSendBirdFile files; public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; private Boolean isSilent; @@ -173,7 +173,7 @@ public static MessageTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_SOUND = "sound"; private String sound; @@ -352,7 +352,7 @@ public void setDedupId(String dedupId) { } - public SendBirdSendFileMessageRequestBody files(SendBirdSendbirdFile files) { + public SendBirdSendFileMessageRequestBody files(SendBirdSendBirdFile files) { this.files = files; return this; } @@ -366,14 +366,14 @@ public SendBirdSendFileMessageRequestBody files(SendBirdSendbirdFile files) { @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SendBirdSendbirdFile getFiles() { + public SendBirdSendBirdFile getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setFiles(SendBirdSendbirdFile files) { + public void setFiles(SendBirdSendBirdFile files) { this.files = files; } @@ -568,12 +568,12 @@ public void setSendPush(Boolean sendPush) { } - public SendBirdSendFileMessageRequestBody sortedMetaarray(List sortedMetaarray) { + public SendBirdSendFileMessageRequestBody sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendBirdSendFileMessageRequestBody addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendBirdSendFileMessageRequestBody addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -590,14 +590,14 @@ public SendBirdSendFileMessageRequestBody addSortedMetaarrayItem(SendBirdSendbir @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java index 5cd7a090..6719660b 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java @@ -27,8 +27,8 @@ import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; +import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; import org.openapitools.client.model.SendBirdSendTextMessageRequestBodyPushMessageTemplate; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -58,7 +58,7 @@ SendBirdSendTextMessageRequestBody.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendTextMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdSendTextMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; @@ -177,7 +177,7 @@ public static MessageTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_SOUND = "sound"; private String sound; @@ -612,12 +612,12 @@ public void setSendPush(Boolean sendPush) { } - public SendBirdSendTextMessageRequestBody sortedMetaarray(List sortedMetaarray) { + public SendBirdSendTextMessageRequestBody sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendBirdSendTextMessageRequestBody addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendBirdSendTextMessageRequestBody addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -634,14 +634,14 @@ public SendBirdSendTextMessageRequestBody addSortedMetaarrayItem(SendBirdSendbir @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java index b2e5f37b..d18e53f2 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java @@ -55,7 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") @JsonDeserialize(using = SendBirdSendTextMessageRequestBodyPushMessageTemplate.SendBirdSendTextMessageRequestBodyPushMessageTemplateDeserializer.class) @JsonSerialize(using = SendBirdSendTextMessageRequestBodyPushMessageTemplate.SendBirdSendTextMessageRequestBodyPushMessageTemplateSerializer.class) public class SendBirdSendTextMessageRequestBodyPushMessageTemplate extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java index 9e0fa3dd..067d9319 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java @@ -33,21 +33,21 @@ /** - * SendBirdSendbirdBasicUserInfo + * SendBirdSendBirdBasicUserInfo */ @JsonPropertyOrder({ - SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_IS_ACTIVE, - SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_IS_BLOCKED_BY_ME, - SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_ROLE, - SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_NICKNAME, - SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_USER_ID, - SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_PROFILE_URL, - SendBirdSendbirdBasicUserInfo.JSON_PROPERTY_METADATA + SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_IS_ACTIVE, + SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_IS_BLOCKED_BY_ME, + SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_ROLE, + SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_NICKNAME, + SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_USER_ID, + SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_PROFILE_URL, + SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_METADATA }) -@JsonTypeName("Sendbird.BasicUserInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdBasicUserInfo { +@JsonTypeName("SendBird.BasicUserInfo") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdBasicUserInfo { public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; private Boolean requireAuthForProfileImage; @@ -109,10 +109,10 @@ public static RoleEnum fromValue(String value) { public static final String JSON_PROPERTY_METADATA = "metadata"; private JsonNullable metadata = JsonNullable.undefined(); - public SendBirdSendbirdBasicUserInfo() { + public SendBirdSendBirdBasicUserInfo() { } - public SendBirdSendbirdBasicUserInfo requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + public SendBirdSendBirdBasicUserInfo requireAuthForProfileImage(Boolean requireAuthForProfileImage) { this.requireAuthForProfileImage = requireAuthForProfileImage; return this; } @@ -138,7 +138,7 @@ public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { } - public SendBirdSendbirdBasicUserInfo isActive(Boolean isActive) { + public SendBirdSendBirdBasicUserInfo isActive(Boolean isActive) { this.isActive = isActive; return this; } @@ -164,7 +164,7 @@ public void setIsActive(Boolean isActive) { } - public SendBirdSendbirdBasicUserInfo isBlockedByMe(Boolean isBlockedByMe) { + public SendBirdSendBirdBasicUserInfo isBlockedByMe(Boolean isBlockedByMe) { this.isBlockedByMe = isBlockedByMe; return this; } @@ -190,7 +190,7 @@ public void setIsBlockedByMe(Boolean isBlockedByMe) { } - public SendBirdSendbirdBasicUserInfo role(RoleEnum role) { + public SendBirdSendBirdBasicUserInfo role(RoleEnum role) { this.role = role; return this; } @@ -216,7 +216,7 @@ public void setRole(RoleEnum role) { } - public SendBirdSendbirdBasicUserInfo nickname(String nickname) { + public SendBirdSendBirdBasicUserInfo nickname(String nickname) { this.nickname = JsonNullable.of(nickname); return this; } @@ -250,7 +250,7 @@ public void setNickname(String nickname) { } - public SendBirdSendbirdBasicUserInfo userId(String userId) { + public SendBirdSendBirdBasicUserInfo userId(String userId) { this.userId = userId; return this; } @@ -276,7 +276,7 @@ public void setUserId(String userId) { } - public SendBirdSendbirdBasicUserInfo profileUrl(String profileUrl) { + public SendBirdSendBirdBasicUserInfo profileUrl(String profileUrl) { this.profileUrl = profileUrl; return this; } @@ -302,7 +302,7 @@ public void setProfileUrl(String profileUrl) { } - public SendBirdSendbirdBasicUserInfo metadata(Object metadata) { + public SendBirdSendBirdBasicUserInfo metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -337,7 +337,7 @@ public void setMetadata(Object metadata) { /** - * Return true if this Sendbird.BasicUserInfo object is equal to o. + * Return true if this SendBird.BasicUserInfo object is equal to o. */ @Override public boolean equals(Object o) { @@ -347,15 +347,15 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdBasicUserInfo sendbirdBasicUserInfo = (SendBirdSendbirdBasicUserInfo) o; - return Objects.equals(this.requireAuthForProfileImage, sendbirdBasicUserInfo.requireAuthForProfileImage) && - Objects.equals(this.isActive, sendbirdBasicUserInfo.isActive) && - Objects.equals(this.isBlockedByMe, sendbirdBasicUserInfo.isBlockedByMe) && - Objects.equals(this.role, sendbirdBasicUserInfo.role) && - equalsNullable(this.nickname, sendbirdBasicUserInfo.nickname) && - Objects.equals(this.userId, sendbirdBasicUserInfo.userId) && - Objects.equals(this.profileUrl, sendbirdBasicUserInfo.profileUrl) && - equalsNullable(this.metadata, sendbirdBasicUserInfo.metadata); + SendBirdSendBirdBasicUserInfo sendBirdBasicUserInfo = (SendBirdSendBirdBasicUserInfo) o; + return Objects.equals(this.requireAuthForProfileImage, sendBirdBasicUserInfo.requireAuthForProfileImage) && + Objects.equals(this.isActive, sendBirdBasicUserInfo.isActive) && + Objects.equals(this.isBlockedByMe, sendBirdBasicUserInfo.isBlockedByMe) && + Objects.equals(this.role, sendBirdBasicUserInfo.role) && + equalsNullable(this.nickname, sendBirdBasicUserInfo.nickname) && + Objects.equals(this.userId, sendBirdBasicUserInfo.userId) && + Objects.equals(this.profileUrl, sendBirdBasicUserInfo.profileUrl) && + equalsNullable(this.metadata, sendBirdBasicUserInfo.metadata); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -377,7 +377,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdBasicUserInfo {\n"); + sb.append("class SendBirdSendBirdBasicUserInfo {\n"); sb.append(" requireAuthForProfileImage: ").append(toIndentedString(requireAuthForProfileImage)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); sb.append(" isBlockedByMe: ").append(toIndentedString(isBlockedByMe)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java index 1f1bc287..e346eba8 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java @@ -29,25 +29,25 @@ /** - * SendBirdSendbirdDisappearingMessage + * SendBirdSendBirdDisappearingMessage */ @JsonPropertyOrder({ - SendBirdSendbirdDisappearingMessage.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdSendbirdDisappearingMessage.JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ + SendBirdSendBirdDisappearingMessage.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdSendBirdDisappearingMessage.JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ }) -@JsonTypeName("Sendbird.DisappearingMessage") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdDisappearingMessage { +@JsonTypeName("SendBird.DisappearingMessage") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdDisappearingMessage { public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; public static final String JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ = "is_triggered_by_message_read"; private Boolean isTriggeredByMessageRead; - public SendBirdSendbirdDisappearingMessage() { + public SendBirdSendBirdDisappearingMessage() { } - public SendBirdSendbirdDisappearingMessage messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendBirdSendBirdDisappearingMessage messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -73,7 +73,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendBirdSendbirdDisappearingMessage isTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { + public SendBirdSendBirdDisappearingMessage isTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { this.isTriggeredByMessageRead = isTriggeredByMessageRead; return this; } @@ -100,7 +100,7 @@ public void setIsTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { /** - * Return true if this Sendbird.DisappearingMessage object is equal to o. + * Return true if this SendBird.DisappearingMessage object is equal to o. */ @Override public boolean equals(Object o) { @@ -110,9 +110,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdDisappearingMessage sendbirdDisappearingMessage = (SendBirdSendbirdDisappearingMessage) o; - return Objects.equals(this.messageSurvivalSeconds, sendbirdDisappearingMessage.messageSurvivalSeconds) && - Objects.equals(this.isTriggeredByMessageRead, sendbirdDisappearingMessage.isTriggeredByMessageRead); + SendBirdSendBirdDisappearingMessage sendBirdDisappearingMessage = (SendBirdSendBirdDisappearingMessage) o; + return Objects.equals(this.messageSurvivalSeconds, sendBirdDisappearingMessage.messageSurvivalSeconds) && + Objects.equals(this.isTriggeredByMessageRead, sendBirdDisappearingMessage.isTriggeredByMessageRead); } @Override @@ -123,7 +123,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdDisappearingMessage {\n"); + sb.append("class SendBirdSendBirdDisappearingMessage {\n"); sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); sb.append(" isTriggeredByMessageRead: ").append(toIndentedString(isTriggeredByMessageRead)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java index 446be5b0..d0860ad0 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java @@ -35,22 +35,22 @@ */ @ApiModel(description = "Specifies the extended message payload which is used to send a message with a custom message type.") @JsonPropertyOrder({ - SendBirdSendbirdExtendedMessagePayload.JSON_PROPERTY_CUSTOM_VIEW, - SendBirdSendbirdExtendedMessagePayload.JSON_PROPERTY_SUGGESTED_REPLIES + SendBirdSendBirdExtendedMessagePayload.JSON_PROPERTY_CUSTOM_VIEW, + SendBirdSendBirdExtendedMessagePayload.JSON_PROPERTY_SUGGESTED_REPLIES }) -@JsonTypeName("Sendbird.ExtendedMessagePayload") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdExtendedMessagePayload { +@JsonTypeName("SendBird.ExtendedMessagePayload") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdExtendedMessagePayload { public static final String JSON_PROPERTY_CUSTOM_VIEW = "custom_view"; private Object customView; public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; private List suggestedReplies = null; - public SendBirdSendbirdExtendedMessagePayload() { + public SendBirdSendBirdExtendedMessagePayload() { } - public SendBirdSendbirdExtendedMessagePayload customView(Object customView) { + public SendBirdSendBirdExtendedMessagePayload customView(Object customView) { this.customView = customView; return this; } @@ -76,12 +76,12 @@ public void setCustomView(Object customView) { } - public SendBirdSendbirdExtendedMessagePayload suggestedReplies(List suggestedReplies) { + public SendBirdSendBirdExtendedMessagePayload suggestedReplies(List suggestedReplies) { this.suggestedReplies = suggestedReplies; return this; } - public SendBirdSendbirdExtendedMessagePayload addSuggestedRepliesItem(String suggestedRepliesItem) { + public SendBirdSendBirdExtendedMessagePayload addSuggestedRepliesItem(String suggestedRepliesItem) { if (this.suggestedReplies == null) { this.suggestedReplies = new ArrayList<>(); } @@ -111,7 +111,7 @@ public void setSuggestedReplies(List suggestedReplies) { /** - * Return true if this Sendbird.ExtendedMessagePayload object is equal to o. + * Return true if this SendBird.ExtendedMessagePayload object is equal to o. */ @Override public boolean equals(Object o) { @@ -121,9 +121,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdExtendedMessagePayload sendbirdExtendedMessagePayload = (SendBirdSendbirdExtendedMessagePayload) o; - return Objects.equals(this.customView, sendbirdExtendedMessagePayload.customView) && - Objects.equals(this.suggestedReplies, sendbirdExtendedMessagePayload.suggestedReplies); + SendBirdSendBirdExtendedMessagePayload sendBirdExtendedMessagePayload = (SendBirdSendBirdExtendedMessagePayload) o; + return Objects.equals(this.customView, sendBirdExtendedMessagePayload.customView) && + Objects.equals(this.suggestedReplies, sendBirdExtendedMessagePayload.suggestedReplies); } @Override @@ -134,7 +134,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdExtendedMessagePayload {\n"); + sb.append("class SendBirdSendBirdExtendedMessagePayload {\n"); sb.append(" customView: ").append(toIndentedString(customView)).append("\n"); sb.append(" suggestedReplies: ").append(toIndentedString(suggestedReplies)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java index a18af03d..a938c071 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java @@ -26,25 +26,25 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdThumbnail; +import org.openapitools.client.model.SendBirdSendBirdThumbnail; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; /** - * SendBirdSendbirdFile + * SendBirdSendBirdFile */ @JsonPropertyOrder({ - SendBirdSendbirdFile.JSON_PROPERTY_URL, - SendBirdSendbirdFile.JSON_PROPERTY_FILE_NAME, - SendBirdSendbirdFile.JSON_PROPERTY_FILE_SIZE, - SendBirdSendbirdFile.JSON_PROPERTY_FILE_TYPE, - SendBirdSendbirdFile.JSON_PROPERTY_THUMBNAILS, - SendBirdSendbirdFile.JSON_PROPERTY_REQUIRE_AUTH + SendBirdSendBirdFile.JSON_PROPERTY_URL, + SendBirdSendBirdFile.JSON_PROPERTY_FILE_NAME, + SendBirdSendBirdFile.JSON_PROPERTY_FILE_SIZE, + SendBirdSendBirdFile.JSON_PROPERTY_FILE_TYPE, + SendBirdSendBirdFile.JSON_PROPERTY_THUMBNAILS, + SendBirdSendBirdFile.JSON_PROPERTY_REQUIRE_AUTH }) -@JsonTypeName("Sendbird.File") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdFile { +@JsonTypeName("SendBird.File") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdFile { public static final String JSON_PROPERTY_URL = "url"; private String url; @@ -58,15 +58,15 @@ public class SendBirdSendbirdFile { private String fileType; public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; - private List thumbnails = null; + private List thumbnails = null; public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; private Boolean requireAuth; - public SendBirdSendbirdFile() { + public SendBirdSendBirdFile() { } - public SendBirdSendbirdFile url(String url) { + public SendBirdSendBirdFile url(String url) { this.url = url; return this; } @@ -92,7 +92,7 @@ public void setUrl(String url) { } - public SendBirdSendbirdFile fileName(String fileName) { + public SendBirdSendBirdFile fileName(String fileName) { this.fileName = fileName; return this; } @@ -118,7 +118,7 @@ public void setFileName(String fileName) { } - public SendBirdSendbirdFile fileSize(Integer fileSize) { + public SendBirdSendBirdFile fileSize(Integer fileSize) { this.fileSize = fileSize; return this; } @@ -144,7 +144,7 @@ public void setFileSize(Integer fileSize) { } - public SendBirdSendbirdFile fileType(String fileType) { + public SendBirdSendBirdFile fileType(String fileType) { this.fileType = fileType; return this; } @@ -170,12 +170,12 @@ public void setFileType(String fileType) { } - public SendBirdSendbirdFile thumbnails(List thumbnails) { + public SendBirdSendBirdFile thumbnails(List thumbnails) { this.thumbnails = thumbnails; return this; } - public SendBirdSendbirdFile addThumbnailsItem(SendBirdSendbirdThumbnail thumbnailsItem) { + public SendBirdSendBirdFile addThumbnailsItem(SendBirdSendBirdThumbnail thumbnailsItem) { if (this.thumbnails == null) { this.thumbnails = new ArrayList<>(); } @@ -192,19 +192,19 @@ public SendBirdSendbirdFile addThumbnailsItem(SendBirdSendbirdThumbnail thumbnai @JsonProperty(JSON_PROPERTY_THUMBNAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getThumbnails() { + public List getThumbnails() { return thumbnails; } @JsonProperty(JSON_PROPERTY_THUMBNAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnails(List thumbnails) { + public void setThumbnails(List thumbnails) { this.thumbnails = thumbnails; } - public SendBirdSendbirdFile requireAuth(Boolean requireAuth) { + public SendBirdSendBirdFile requireAuth(Boolean requireAuth) { this.requireAuth = requireAuth; return this; } @@ -231,7 +231,7 @@ public void setRequireAuth(Boolean requireAuth) { /** - * Return true if this Sendbird.File object is equal to o. + * Return true if this SendBird.File object is equal to o. */ @Override public boolean equals(Object o) { @@ -241,13 +241,13 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdFile sendbirdFile = (SendBirdSendbirdFile) o; - return Objects.equals(this.url, sendbirdFile.url) && - Objects.equals(this.fileName, sendbirdFile.fileName) && - Objects.equals(this.fileSize, sendbirdFile.fileSize) && - Objects.equals(this.fileType, sendbirdFile.fileType) && - Objects.equals(this.thumbnails, sendbirdFile.thumbnails) && - Objects.equals(this.requireAuth, sendbirdFile.requireAuth); + SendBirdSendBirdFile sendBirdFile = (SendBirdSendBirdFile) o; + return Objects.equals(this.url, sendBirdFile.url) && + Objects.equals(this.fileName, sendBirdFile.fileName) && + Objects.equals(this.fileSize, sendBirdFile.fileSize) && + Objects.equals(this.fileType, sendBirdFile.fileType) && + Objects.equals(this.thumbnails, sendBirdFile.thumbnails) && + Objects.equals(this.requireAuth, sendBirdFile.requireAuth); } @Override @@ -258,7 +258,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdFile {\n"); + sb.append("class SendBirdSendBirdFile {\n"); sb.append(" url: ").append(toIndentedString(url)).append("\n"); sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n"); sb.append(" fileSize: ").append(toIndentedString(fileSize)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java index dc81bcb3..f8e552f2 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java @@ -28,12 +28,12 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdSendbirdMember; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSendbirdSmsFallback; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendBirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdSendBirdMember; +import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendBirdSmsFallback; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -43,58 +43,58 @@ /** - * SendBirdSendbirdGroupChannel + * SendBirdSendBirdGroupChannel */ @JsonPropertyOrder({ - SendBirdSendbirdGroupChannel.JSON_PROPERTY_CHANNEL_URL, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_COUNT_PREFERENCE, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_COVER_URL, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_CREATED_AT, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_CREATED_BY, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_DATA, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_DELIVERY_RECEIPT, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_DISAPPEARING_MESSAGE, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_FREEZE, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_HAS_AI_BOT, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_HAS_BOT, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_HIDDEN_STATE, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_INVITED_AT, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_INVITER, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_BROADCAST, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_DISCOVERABLE, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_DISTINCT, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_EXCLUSIVE, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_HIDDEN, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_MUTED, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_PUBLIC, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_PUSH_ENABLED, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_IS_SUPER, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_JOINED_MEMBER_COUNT, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_JOINED_TS, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_LAST_MESSAGE, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_MEMBER_COUNT, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_MEMBER_STATE, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_MEMBERS, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_METADATA, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_MY_ROLE, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_NAME, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_READ_RECEIPT, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_SMS_FALLBACK, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_TS_MESSAGE_OFFSET, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_UNREAD_MENTION_COUNT, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, - SendBirdSendbirdGroupChannel.JSON_PROPERTY_USER_LAST_READ + SendBirdSendBirdGroupChannel.JSON_PROPERTY_CHANNEL_URL, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_COUNT_PREFERENCE, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_COVER_URL, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_CREATED_AT, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_CREATED_BY, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_DATA, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_DELIVERY_RECEIPT, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_DISAPPEARING_MESSAGE, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_FREEZE, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_HAS_AI_BOT, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_HAS_BOT, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_HIDDEN_STATE, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_INVITED_AT, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_INVITER, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_BROADCAST, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_DISCOVERABLE, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_DISTINCT, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_EXCLUSIVE, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_HIDDEN, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_MUTED, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_PUBLIC, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_PUSH_ENABLED, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_SUPER, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_JOINED_MEMBER_COUNT, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_JOINED_TS, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_LAST_MESSAGE, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_MEMBER_COUNT, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_MEMBER_STATE, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_MEMBERS, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_METADATA, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_MY_ROLE, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_NAME, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_READ_RECEIPT, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_SMS_FALLBACK, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_TS_MESSAGE_OFFSET, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_UNREAD_MENTION_COUNT, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, + SendBirdSendBirdGroupChannel.JSON_PROPERTY_USER_LAST_READ }) -@JsonTypeName("Sendbird.GroupChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdGroupChannel { +@JsonTypeName("SendBird.GroupChannel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdGroupChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -147,7 +147,7 @@ public static CountPreferenceEnum fromValue(String value) { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdSendbirdBasicUserInfo createdBy; + private SendBirdSendBirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -159,7 +159,7 @@ public static CountPreferenceEnum fromValue(String value) { private Object deliveryReceipt; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdSendbirdDisappearingMessage disappearingMessage; + private SendBirdSendBirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -217,7 +217,7 @@ public static HiddenStateEnum fromValue(String value) { private Long invitedAt; public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendBirdSendbirdBasicUserInfo inviter; + private SendBirdSendBirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); @@ -259,7 +259,7 @@ public static HiddenStateEnum fromValue(String value) { private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdSendbirdGroupChannelLastMessage lastMessage; + private SendBirdSendBirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -308,7 +308,7 @@ public static MemberStateEnum fromValue(String value) { private MemberStateEnum memberState; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -360,13 +360,13 @@ public static MyRoleEnum fromValue(String value) { private String name; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendbirdPushTriggerOption pushTriggerOption; + private SendBirdSendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSendbirdSmsFallback smsFallback; + private SendBirdSendBirdSmsFallback smsFallback; public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; @@ -380,10 +380,10 @@ public static MyRoleEnum fromValue(String value) { public static final String JSON_PROPERTY_USER_LAST_READ = "user_last_read"; private Long userLastRead; - public SendBirdSendbirdGroupChannel() { + public SendBirdSendBirdGroupChannel() { } - public SendBirdSendbirdGroupChannel channelUrl(String channelUrl) { + public SendBirdSendBirdGroupChannel channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -409,7 +409,7 @@ public void setChannelUrl(String channelUrl) { } - public SendBirdSendbirdGroupChannel countPreference(CountPreferenceEnum countPreference) { + public SendBirdSendBirdGroupChannel countPreference(CountPreferenceEnum countPreference) { this.countPreference = countPreference; return this; } @@ -435,7 +435,7 @@ public void setCountPreference(CountPreferenceEnum countPreference) { } - public SendBirdSendbirdGroupChannel coverUrl(String coverUrl) { + public SendBirdSendBirdGroupChannel coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -461,7 +461,7 @@ public void setCoverUrl(String coverUrl) { } - public SendBirdSendbirdGroupChannel createdAt(Long createdAt) { + public SendBirdSendBirdGroupChannel createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -487,7 +487,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdSendbirdGroupChannel createdBy(SendBirdSendbirdBasicUserInfo createdBy) { + public SendBirdSendBirdGroupChannel createdBy(SendBirdSendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -501,19 +501,19 @@ public SendBirdSendbirdGroupChannel createdBy(SendBirdSendbirdBasicUserInfo crea @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getCreatedBy() { + public SendBirdSendBirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdSendbirdBasicUserInfo createdBy) { + public void setCreatedBy(SendBirdSendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; } - public SendBirdSendbirdGroupChannel customType(String customType) { + public SendBirdSendBirdGroupChannel customType(String customType) { this.customType = customType; return this; } @@ -539,7 +539,7 @@ public void setCustomType(String customType) { } - public SendBirdSendbirdGroupChannel data(String data) { + public SendBirdSendBirdGroupChannel data(String data) { this.data = data; return this; } @@ -565,7 +565,7 @@ public void setData(String data) { } - public SendBirdSendbirdGroupChannel deliveryReceipt(Object deliveryReceipt) { + public SendBirdSendBirdGroupChannel deliveryReceipt(Object deliveryReceipt) { this.deliveryReceipt = deliveryReceipt; return this; } @@ -591,7 +591,7 @@ public void setDeliveryReceipt(Object deliveryReceipt) { } - public SendBirdSendbirdGroupChannel disappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + public SendBirdSendBirdGroupChannel disappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -605,19 +605,19 @@ public SendBirdSendbirdGroupChannel disappearingMessage(SendBirdSendbirdDisappea @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdDisappearingMessage getDisappearingMessage() { + public SendBirdSendBirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } - public SendBirdSendbirdGroupChannel freeze(Boolean freeze) { + public SendBirdSendBirdGroupChannel freeze(Boolean freeze) { this.freeze = freeze; return this; } @@ -643,7 +643,7 @@ public void setFreeze(Boolean freeze) { } - public SendBirdSendbirdGroupChannel hasAiBot(Boolean hasAiBot) { + public SendBirdSendBirdGroupChannel hasAiBot(Boolean hasAiBot) { this.hasAiBot = hasAiBot; return this; } @@ -669,7 +669,7 @@ public void setHasAiBot(Boolean hasAiBot) { } - public SendBirdSendbirdGroupChannel hasBot(Boolean hasBot) { + public SendBirdSendBirdGroupChannel hasBot(Boolean hasBot) { this.hasBot = hasBot; return this; } @@ -695,7 +695,7 @@ public void setHasBot(Boolean hasBot) { } - public SendBirdSendbirdGroupChannel hiddenState(HiddenStateEnum hiddenState) { + public SendBirdSendBirdGroupChannel hiddenState(HiddenStateEnum hiddenState) { this.hiddenState = hiddenState; return this; } @@ -721,7 +721,7 @@ public void setHiddenState(HiddenStateEnum hiddenState) { } - public SendBirdSendbirdGroupChannel ignoreProfanityFilter(Boolean ignoreProfanityFilter) { + public SendBirdSendBirdGroupChannel ignoreProfanityFilter(Boolean ignoreProfanityFilter) { this.ignoreProfanityFilter = ignoreProfanityFilter; return this; } @@ -747,7 +747,7 @@ public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { } - public SendBirdSendbirdGroupChannel invitedAt(Long invitedAt) { + public SendBirdSendBirdGroupChannel invitedAt(Long invitedAt) { this.invitedAt = invitedAt; return this; } @@ -773,7 +773,7 @@ public void setInvitedAt(Long invitedAt) { } - public SendBirdSendbirdGroupChannel inviter(SendBirdSendbirdBasicUserInfo inviter) { + public SendBirdSendBirdGroupChannel inviter(SendBirdSendBirdBasicUserInfo inviter) { this.inviter = inviter; return this; } @@ -787,19 +787,19 @@ public SendBirdSendbirdGroupChannel inviter(SendBirdSendbirdBasicUserInfo invite @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getInviter() { + public SendBirdSendBirdBasicUserInfo getInviter() { return inviter; } @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendBirdSendbirdBasicUserInfo inviter) { + public void setInviter(SendBirdSendBirdBasicUserInfo inviter) { this.inviter = inviter; } - public SendBirdSendbirdGroupChannel isAccessCodeRequired(Boolean isAccessCodeRequired) { + public SendBirdSendBirdGroupChannel isAccessCodeRequired(Boolean isAccessCodeRequired) { this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); return this; } @@ -833,7 +833,7 @@ public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { } - public SendBirdSendbirdGroupChannel isBroadcast(Boolean isBroadcast) { + public SendBirdSendBirdGroupChannel isBroadcast(Boolean isBroadcast) { this.isBroadcast = isBroadcast; return this; } @@ -859,7 +859,7 @@ public void setIsBroadcast(Boolean isBroadcast) { } - public SendBirdSendbirdGroupChannel isDiscoverable(Boolean isDiscoverable) { + public SendBirdSendBirdGroupChannel isDiscoverable(Boolean isDiscoverable) { this.isDiscoverable = isDiscoverable; return this; } @@ -885,7 +885,7 @@ public void setIsDiscoverable(Boolean isDiscoverable) { } - public SendBirdSendbirdGroupChannel isDistinct(Boolean isDistinct) { + public SendBirdSendBirdGroupChannel isDistinct(Boolean isDistinct) { this.isDistinct = isDistinct; return this; } @@ -911,7 +911,7 @@ public void setIsDistinct(Boolean isDistinct) { } - public SendBirdSendbirdGroupChannel isEphemeral(Boolean isEphemeral) { + public SendBirdSendBirdGroupChannel isEphemeral(Boolean isEphemeral) { this.isEphemeral = isEphemeral; return this; } @@ -937,7 +937,7 @@ public void setIsEphemeral(Boolean isEphemeral) { } - public SendBirdSendbirdGroupChannel isExclusive(Boolean isExclusive) { + public SendBirdSendBirdGroupChannel isExclusive(Boolean isExclusive) { this.isExclusive = isExclusive; return this; } @@ -963,7 +963,7 @@ public void setIsExclusive(Boolean isExclusive) { } - public SendBirdSendbirdGroupChannel isHidden(Boolean isHidden) { + public SendBirdSendBirdGroupChannel isHidden(Boolean isHidden) { this.isHidden = isHidden; return this; } @@ -989,7 +989,7 @@ public void setIsHidden(Boolean isHidden) { } - public SendBirdSendbirdGroupChannel isMuted(Boolean isMuted) { + public SendBirdSendBirdGroupChannel isMuted(Boolean isMuted) { this.isMuted = isMuted; return this; } @@ -1015,7 +1015,7 @@ public void setIsMuted(Boolean isMuted) { } - public SendBirdSendbirdGroupChannel isPublic(Boolean isPublic) { + public SendBirdSendBirdGroupChannel isPublic(Boolean isPublic) { this.isPublic = isPublic; return this; } @@ -1041,7 +1041,7 @@ public void setIsPublic(Boolean isPublic) { } - public SendBirdSendbirdGroupChannel isPushEnabled(Boolean isPushEnabled) { + public SendBirdSendBirdGroupChannel isPushEnabled(Boolean isPushEnabled) { this.isPushEnabled = isPushEnabled; return this; } @@ -1067,7 +1067,7 @@ public void setIsPushEnabled(Boolean isPushEnabled) { } - public SendBirdSendbirdGroupChannel isSuper(Boolean isSuper) { + public SendBirdSendBirdGroupChannel isSuper(Boolean isSuper) { this.isSuper = isSuper; return this; } @@ -1093,7 +1093,7 @@ public void setIsSuper(Boolean isSuper) { } - public SendBirdSendbirdGroupChannel joinedMemberCount(Integer joinedMemberCount) { + public SendBirdSendBirdGroupChannel joinedMemberCount(Integer joinedMemberCount) { this.joinedMemberCount = joinedMemberCount; return this; } @@ -1119,7 +1119,7 @@ public void setJoinedMemberCount(Integer joinedMemberCount) { } - public SendBirdSendbirdGroupChannel joinedTs(Long joinedTs) { + public SendBirdSendBirdGroupChannel joinedTs(Long joinedTs) { this.joinedTs = JsonNullable.of(joinedTs); return this; } @@ -1153,7 +1153,7 @@ public void setJoinedTs(Long joinedTs) { } - public SendBirdSendbirdGroupChannel lastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + public SendBirdSendBirdGroupChannel lastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; return this; } @@ -1167,19 +1167,19 @@ public SendBirdSendbirdGroupChannel lastMessage(SendBirdSendbirdGroupChannelLast @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdGroupChannelLastMessage getLastMessage() { + public SendBirdSendBirdGroupChannelLastMessage getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdSendbirdGroupChannelLastMessage lastMessage) { + public void setLastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } - public SendBirdSendbirdGroupChannel maxLengthMessage(Integer maxLengthMessage) { + public SendBirdSendBirdGroupChannel maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -1205,7 +1205,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendBirdSendbirdGroupChannel memberCount(Integer memberCount) { + public SendBirdSendBirdGroupChannel memberCount(Integer memberCount) { this.memberCount = memberCount; return this; } @@ -1231,7 +1231,7 @@ public void setMemberCount(Integer memberCount) { } - public SendBirdSendbirdGroupChannel memberState(MemberStateEnum memberState) { + public SendBirdSendBirdGroupChannel memberState(MemberStateEnum memberState) { this.memberState = memberState; return this; } @@ -1257,12 +1257,12 @@ public void setMemberState(MemberStateEnum memberState) { } - public SendBirdSendbirdGroupChannel members(List members) { + public SendBirdSendBirdGroupChannel members(List members) { this.members = members; return this; } - public SendBirdSendbirdGroupChannel addMembersItem(SendBirdSendbirdMember membersItem) { + public SendBirdSendBirdGroupChannel addMembersItem(SendBirdSendBirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -1279,19 +1279,19 @@ public SendBirdSendbirdGroupChannel addMembersItem(SendBirdSendbirdMember member @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } - public SendBirdSendbirdGroupChannel messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendBirdSendBirdGroupChannel messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -1317,7 +1317,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendBirdSendbirdGroupChannel metadata(Object metadata) { + public SendBirdSendBirdGroupChannel metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -1351,7 +1351,7 @@ public void setMetadata(Object metadata) { } - public SendBirdSendbirdGroupChannel myRole(MyRoleEnum myRole) { + public SendBirdSendBirdGroupChannel myRole(MyRoleEnum myRole) { this.myRole = myRole; return this; } @@ -1377,7 +1377,7 @@ public void setMyRole(MyRoleEnum myRole) { } - public SendBirdSendbirdGroupChannel name(String name) { + public SendBirdSendBirdGroupChannel name(String name) { this.name = name; return this; } @@ -1403,7 +1403,7 @@ public void setName(String name) { } - public SendBirdSendbirdGroupChannel pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public SendBirdSendBirdGroupChannel pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -1417,24 +1417,24 @@ public SendBirdSendbirdGroupChannel pushTriggerOption(SendBirdSendbirdPushTrigge @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } - public SendBirdSendbirdGroupChannel readReceipt(Map readReceipt) { + public SendBirdSendBirdGroupChannel readReceipt(Map readReceipt) { this.readReceipt = readReceipt; return this; } - public SendBirdSendbirdGroupChannel putReadReceiptItem(String key, Long readReceiptItem) { + public SendBirdSendBirdGroupChannel putReadReceiptItem(String key, Long readReceiptItem) { if (this.readReceipt == null) { this.readReceipt = new HashMap<>(); } @@ -1463,7 +1463,7 @@ public void setReadReceipt(Map readReceipt) { } - public SendBirdSendbirdGroupChannel smsFallback(SendBirdSendbirdSmsFallback smsFallback) { + public SendBirdSendBirdGroupChannel smsFallback(SendBirdSendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1477,19 +1477,19 @@ public SendBirdSendbirdGroupChannel smsFallback(SendBirdSendbirdSmsFallback smsF @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdSmsFallback getSmsFallback() { + public SendBirdSendBirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSendbirdSmsFallback smsFallback) { + public void setSmsFallback(SendBirdSendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } - public SendBirdSendbirdGroupChannel tsMessageOffset(Long tsMessageOffset) { + public SendBirdSendBirdGroupChannel tsMessageOffset(Long tsMessageOffset) { this.tsMessageOffset = tsMessageOffset; return this; } @@ -1515,7 +1515,7 @@ public void setTsMessageOffset(Long tsMessageOffset) { } - public SendBirdSendbirdGroupChannel unreadMentionCount(Integer unreadMentionCount) { + public SendBirdSendBirdGroupChannel unreadMentionCount(Integer unreadMentionCount) { this.unreadMentionCount = unreadMentionCount; return this; } @@ -1541,7 +1541,7 @@ public void setUnreadMentionCount(Integer unreadMentionCount) { } - public SendBirdSendbirdGroupChannel unreadMessageCount(Integer unreadMessageCount) { + public SendBirdSendBirdGroupChannel unreadMessageCount(Integer unreadMessageCount) { this.unreadMessageCount = unreadMessageCount; return this; } @@ -1567,7 +1567,7 @@ public void setUnreadMessageCount(Integer unreadMessageCount) { } - public SendBirdSendbirdGroupChannel userLastRead(Long userLastRead) { + public SendBirdSendBirdGroupChannel userLastRead(Long userLastRead) { this.userLastRead = userLastRead; return this; } @@ -1594,7 +1594,7 @@ public void setUserLastRead(Long userLastRead) { /** - * Return true if this Sendbird.GroupChannel object is equal to o. + * Return true if this SendBird.GroupChannel object is equal to o. */ @Override public boolean equals(Object o) { @@ -1604,52 +1604,52 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdGroupChannel sendbirdGroupChannel = (SendBirdSendbirdGroupChannel) o; - return Objects.equals(this.channelUrl, sendbirdGroupChannel.channelUrl) && - Objects.equals(this.countPreference, sendbirdGroupChannel.countPreference) && - Objects.equals(this.coverUrl, sendbirdGroupChannel.coverUrl) && - Objects.equals(this.createdAt, sendbirdGroupChannel.createdAt) && - Objects.equals(this.createdBy, sendbirdGroupChannel.createdBy) && - Objects.equals(this.customType, sendbirdGroupChannel.customType) && - Objects.equals(this.data, sendbirdGroupChannel.data) && - Objects.equals(this.deliveryReceipt, sendbirdGroupChannel.deliveryReceipt) && - Objects.equals(this.disappearingMessage, sendbirdGroupChannel.disappearingMessage) && - Objects.equals(this.freeze, sendbirdGroupChannel.freeze) && - Objects.equals(this.hasAiBot, sendbirdGroupChannel.hasAiBot) && - Objects.equals(this.hasBot, sendbirdGroupChannel.hasBot) && - Objects.equals(this.hiddenState, sendbirdGroupChannel.hiddenState) && - Objects.equals(this.ignoreProfanityFilter, sendbirdGroupChannel.ignoreProfanityFilter) && - Objects.equals(this.invitedAt, sendbirdGroupChannel.invitedAt) && - Objects.equals(this.inviter, sendbirdGroupChannel.inviter) && - equalsNullable(this.isAccessCodeRequired, sendbirdGroupChannel.isAccessCodeRequired) && - Objects.equals(this.isBroadcast, sendbirdGroupChannel.isBroadcast) && - Objects.equals(this.isDiscoverable, sendbirdGroupChannel.isDiscoverable) && - Objects.equals(this.isDistinct, sendbirdGroupChannel.isDistinct) && - Objects.equals(this.isEphemeral, sendbirdGroupChannel.isEphemeral) && - Objects.equals(this.isExclusive, sendbirdGroupChannel.isExclusive) && - Objects.equals(this.isHidden, sendbirdGroupChannel.isHidden) && - Objects.equals(this.isMuted, sendbirdGroupChannel.isMuted) && - Objects.equals(this.isPublic, sendbirdGroupChannel.isPublic) && - Objects.equals(this.isPushEnabled, sendbirdGroupChannel.isPushEnabled) && - Objects.equals(this.isSuper, sendbirdGroupChannel.isSuper) && - Objects.equals(this.joinedMemberCount, sendbirdGroupChannel.joinedMemberCount) && - equalsNullable(this.joinedTs, sendbirdGroupChannel.joinedTs) && - Objects.equals(this.lastMessage, sendbirdGroupChannel.lastMessage) && - Objects.equals(this.maxLengthMessage, sendbirdGroupChannel.maxLengthMessage) && - Objects.equals(this.memberCount, sendbirdGroupChannel.memberCount) && - Objects.equals(this.memberState, sendbirdGroupChannel.memberState) && - Objects.equals(this.members, sendbirdGroupChannel.members) && - Objects.equals(this.messageSurvivalSeconds, sendbirdGroupChannel.messageSurvivalSeconds) && - equalsNullable(this.metadata, sendbirdGroupChannel.metadata) && - Objects.equals(this.myRole, sendbirdGroupChannel.myRole) && - Objects.equals(this.name, sendbirdGroupChannel.name) && - Objects.equals(this.pushTriggerOption, sendbirdGroupChannel.pushTriggerOption) && - Objects.equals(this.readReceipt, sendbirdGroupChannel.readReceipt) && - Objects.equals(this.smsFallback, sendbirdGroupChannel.smsFallback) && - Objects.equals(this.tsMessageOffset, sendbirdGroupChannel.tsMessageOffset) && - Objects.equals(this.unreadMentionCount, sendbirdGroupChannel.unreadMentionCount) && - Objects.equals(this.unreadMessageCount, sendbirdGroupChannel.unreadMessageCount) && - Objects.equals(this.userLastRead, sendbirdGroupChannel.userLastRead); + SendBirdSendBirdGroupChannel sendBirdGroupChannel = (SendBirdSendBirdGroupChannel) o; + return Objects.equals(this.channelUrl, sendBirdGroupChannel.channelUrl) && + Objects.equals(this.countPreference, sendBirdGroupChannel.countPreference) && + Objects.equals(this.coverUrl, sendBirdGroupChannel.coverUrl) && + Objects.equals(this.createdAt, sendBirdGroupChannel.createdAt) && + Objects.equals(this.createdBy, sendBirdGroupChannel.createdBy) && + Objects.equals(this.customType, sendBirdGroupChannel.customType) && + Objects.equals(this.data, sendBirdGroupChannel.data) && + Objects.equals(this.deliveryReceipt, sendBirdGroupChannel.deliveryReceipt) && + Objects.equals(this.disappearingMessage, sendBirdGroupChannel.disappearingMessage) && + Objects.equals(this.freeze, sendBirdGroupChannel.freeze) && + Objects.equals(this.hasAiBot, sendBirdGroupChannel.hasAiBot) && + Objects.equals(this.hasBot, sendBirdGroupChannel.hasBot) && + Objects.equals(this.hiddenState, sendBirdGroupChannel.hiddenState) && + Objects.equals(this.ignoreProfanityFilter, sendBirdGroupChannel.ignoreProfanityFilter) && + Objects.equals(this.invitedAt, sendBirdGroupChannel.invitedAt) && + Objects.equals(this.inviter, sendBirdGroupChannel.inviter) && + equalsNullable(this.isAccessCodeRequired, sendBirdGroupChannel.isAccessCodeRequired) && + Objects.equals(this.isBroadcast, sendBirdGroupChannel.isBroadcast) && + Objects.equals(this.isDiscoverable, sendBirdGroupChannel.isDiscoverable) && + Objects.equals(this.isDistinct, sendBirdGroupChannel.isDistinct) && + Objects.equals(this.isEphemeral, sendBirdGroupChannel.isEphemeral) && + Objects.equals(this.isExclusive, sendBirdGroupChannel.isExclusive) && + Objects.equals(this.isHidden, sendBirdGroupChannel.isHidden) && + Objects.equals(this.isMuted, sendBirdGroupChannel.isMuted) && + Objects.equals(this.isPublic, sendBirdGroupChannel.isPublic) && + Objects.equals(this.isPushEnabled, sendBirdGroupChannel.isPushEnabled) && + Objects.equals(this.isSuper, sendBirdGroupChannel.isSuper) && + Objects.equals(this.joinedMemberCount, sendBirdGroupChannel.joinedMemberCount) && + equalsNullable(this.joinedTs, sendBirdGroupChannel.joinedTs) && + Objects.equals(this.lastMessage, sendBirdGroupChannel.lastMessage) && + Objects.equals(this.maxLengthMessage, sendBirdGroupChannel.maxLengthMessage) && + Objects.equals(this.memberCount, sendBirdGroupChannel.memberCount) && + Objects.equals(this.memberState, sendBirdGroupChannel.memberState) && + Objects.equals(this.members, sendBirdGroupChannel.members) && + Objects.equals(this.messageSurvivalSeconds, sendBirdGroupChannel.messageSurvivalSeconds) && + equalsNullable(this.metadata, sendBirdGroupChannel.metadata) && + Objects.equals(this.myRole, sendBirdGroupChannel.myRole) && + Objects.equals(this.name, sendBirdGroupChannel.name) && + Objects.equals(this.pushTriggerOption, sendBirdGroupChannel.pushTriggerOption) && + Objects.equals(this.readReceipt, sendBirdGroupChannel.readReceipt) && + Objects.equals(this.smsFallback, sendBirdGroupChannel.smsFallback) && + Objects.equals(this.tsMessageOffset, sendBirdGroupChannel.tsMessageOffset) && + Objects.equals(this.unreadMentionCount, sendBirdGroupChannel.unreadMentionCount) && + Objects.equals(this.unreadMessageCount, sendBirdGroupChannel.unreadMessageCount) && + Objects.equals(this.userLastRead, sendBirdGroupChannel.userLastRead); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -1671,7 +1671,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdGroupChannel {\n"); + sb.append("class SendBirdSendBirdGroupChannel {\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java index 8a324d93..f0ac3604 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java @@ -28,60 +28,60 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; -import org.openapitools.client.model.SendBirdSendbirdMember; -import org.openapitools.client.model.SendBirdSendbirdMessageResponse; -import org.openapitools.client.model.SendBirdSendbirdSmsFallback; -import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdDisappearingMessage; +import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendBirdSendBirdMember; +import org.openapitools.client.model.SendBirdSendBirdMessageResponse; +import org.openapitools.client.model.SendBirdSendBirdSmsFallback; +import org.openapitools.client.model.SendBirdSendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; /** - * SendBirdSendbirdGroupChannelDetail + * SendBirdSendBirdGroupChannelDetail */ @JsonPropertyOrder({ - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_CHANNEL, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_CHANNEL_URL, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_COVER_URL, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_CREATED_AT, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_CREATED_BY, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_DATA, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_DELIVERY_RECEIPT, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_DISAPPEARING_MESSAGE, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_FREEZE, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_HAS_AI_BOT, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_HAS_BOT, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_ID, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_BROADCAST, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_DISCOVERABLE, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_DISTINCT, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_PUBLIC, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_IS_SUPER, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_JOINED_MEMBER_COUNT, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_LAST_MESSAGE, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_MEMBER_COUNT, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_MEMBERS, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_NAME, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_OPERATORS, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_READ_RECEIPT, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_SMS_FALLBACK, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MENTION_COUNT, - SendBirdSendbirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MESSAGE_COUNT + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_CHANNEL, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_CHANNEL_URL, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_COVER_URL, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_CREATED_AT, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_CREATED_BY, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_DATA, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_DELIVERY_RECEIPT, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_DISAPPEARING_MESSAGE, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_FREEZE, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_HAS_AI_BOT, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_HAS_BOT, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_ID, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_BROADCAST, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_DISCOVERABLE, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_DISTINCT, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_PUBLIC, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_SUPER, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_JOINED_MEMBER_COUNT, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_LAST_MESSAGE, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_MEMBER_COUNT, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_MEMBERS, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_NAME, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_OPERATORS, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_READ_RECEIPT, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_SMS_FALLBACK, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MENTION_COUNT, + SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MESSAGE_COUNT }) -@JsonTypeName("Sendbird.GroupChannelDetail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdGroupChannelDetail { +@JsonTypeName("SendBird.GroupChannelDetail") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdGroupChannelDetail { public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendBirdSendbirdGroupChannelDetailChannel channel; + private SendBirdSendBirdGroupChannelDetailChannel channel; public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -93,7 +93,7 @@ public class SendBirdSendbirdGroupChannelDetail { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdSendbirdBasicUserInfo createdBy; + private SendBirdSendBirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -105,7 +105,7 @@ public class SendBirdSendbirdGroupChannelDetail { private Map deliveryReceipt = null; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdSendbirdDisappearingMessage disappearingMessage; + private SendBirdSendBirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -147,7 +147,7 @@ public class SendBirdSendbirdGroupChannelDetail { private Integer joinedMemberCount; public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdSendbirdMessageResponse lastMessage; + private SendBirdSendBirdMessageResponse lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -156,7 +156,7 @@ public class SendBirdSendbirdGroupChannelDetail { private Integer memberCount; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -165,13 +165,13 @@ public class SendBirdSendbirdGroupChannelDetail { private String name; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSendbirdSmsFallback smsFallback; + private SendBirdSendBirdSmsFallback smsFallback; public static final String JSON_PROPERTY_UNREAD_MENTION_COUNT = "unread_mention_count"; private Integer unreadMentionCount; @@ -179,10 +179,10 @@ public class SendBirdSendbirdGroupChannelDetail { public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; private Integer unreadMessageCount; - public SendBirdSendbirdGroupChannelDetail() { + public SendBirdSendBirdGroupChannelDetail() { } - public SendBirdSendbirdGroupChannelDetail channel(SendBirdSendbirdGroupChannelDetailChannel channel) { + public SendBirdSendBirdGroupChannelDetail channel(SendBirdSendBirdGroupChannelDetailChannel channel) { this.channel = channel; return this; } @@ -196,19 +196,19 @@ public SendBirdSendbirdGroupChannelDetail channel(SendBirdSendbirdGroupChannelDe @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdGroupChannelDetailChannel getChannel() { + public SendBirdSendBirdGroupChannelDetailChannel getChannel() { return channel; } @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendBirdSendbirdGroupChannelDetailChannel channel) { + public void setChannel(SendBirdSendBirdGroupChannelDetailChannel channel) { this.channel = channel; } - public SendBirdSendbirdGroupChannelDetail channelUrl(String channelUrl) { + public SendBirdSendBirdGroupChannelDetail channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -234,7 +234,7 @@ public void setChannelUrl(String channelUrl) { } - public SendBirdSendbirdGroupChannelDetail coverUrl(String coverUrl) { + public SendBirdSendBirdGroupChannelDetail coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -260,7 +260,7 @@ public void setCoverUrl(String coverUrl) { } - public SendBirdSendbirdGroupChannelDetail createdAt(Long createdAt) { + public SendBirdSendBirdGroupChannelDetail createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -286,7 +286,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdSendbirdGroupChannelDetail createdBy(SendBirdSendbirdBasicUserInfo createdBy) { + public SendBirdSendBirdGroupChannelDetail createdBy(SendBirdSendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -300,19 +300,19 @@ public SendBirdSendbirdGroupChannelDetail createdBy(SendBirdSendbirdBasicUserInf @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getCreatedBy() { + public SendBirdSendBirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdSendbirdBasicUserInfo createdBy) { + public void setCreatedBy(SendBirdSendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; } - public SendBirdSendbirdGroupChannelDetail customType(String customType) { + public SendBirdSendBirdGroupChannelDetail customType(String customType) { this.customType = customType; return this; } @@ -338,7 +338,7 @@ public void setCustomType(String customType) { } - public SendBirdSendbirdGroupChannelDetail data(String data) { + public SendBirdSendBirdGroupChannelDetail data(String data) { this.data = data; return this; } @@ -364,12 +364,12 @@ public void setData(String data) { } - public SendBirdSendbirdGroupChannelDetail deliveryReceipt(Map deliveryReceipt) { + public SendBirdSendBirdGroupChannelDetail deliveryReceipt(Map deliveryReceipt) { this.deliveryReceipt = deliveryReceipt; return this; } - public SendBirdSendbirdGroupChannelDetail putDeliveryReceiptItem(String key, Long deliveryReceiptItem) { + public SendBirdSendBirdGroupChannelDetail putDeliveryReceiptItem(String key, Long deliveryReceiptItem) { if (this.deliveryReceipt == null) { this.deliveryReceipt = new HashMap<>(); } @@ -398,7 +398,7 @@ public void setDeliveryReceipt(Map deliveryReceipt) { } - public SendBirdSendbirdGroupChannelDetail disappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + public SendBirdSendBirdGroupChannelDetail disappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -412,19 +412,19 @@ public SendBirdSendbirdGroupChannelDetail disappearingMessage(SendBirdSendbirdDi @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdDisappearingMessage getDisappearingMessage() { + public SendBirdSendBirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdSendbirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } - public SendBirdSendbirdGroupChannelDetail freeze(Boolean freeze) { + public SendBirdSendBirdGroupChannelDetail freeze(Boolean freeze) { this.freeze = freeze; return this; } @@ -450,7 +450,7 @@ public void setFreeze(Boolean freeze) { } - public SendBirdSendbirdGroupChannelDetail hasAiBot(Boolean hasAiBot) { + public SendBirdSendBirdGroupChannelDetail hasAiBot(Boolean hasAiBot) { this.hasAiBot = hasAiBot; return this; } @@ -476,7 +476,7 @@ public void setHasAiBot(Boolean hasAiBot) { } - public SendBirdSendbirdGroupChannelDetail hasBot(Boolean hasBot) { + public SendBirdSendBirdGroupChannelDetail hasBot(Boolean hasBot) { this.hasBot = hasBot; return this; } @@ -502,7 +502,7 @@ public void setHasBot(Boolean hasBot) { } - public SendBirdSendbirdGroupChannelDetail id(Integer id) { + public SendBirdSendBirdGroupChannelDetail id(Integer id) { this.id = id; return this; } @@ -528,7 +528,7 @@ public void setId(Integer id) { } - public SendBirdSendbirdGroupChannelDetail ignoreProfanityFilter(Boolean ignoreProfanityFilter) { + public SendBirdSendBirdGroupChannelDetail ignoreProfanityFilter(Boolean ignoreProfanityFilter) { this.ignoreProfanityFilter = ignoreProfanityFilter; return this; } @@ -554,7 +554,7 @@ public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { } - public SendBirdSendbirdGroupChannelDetail isAccessCodeRequired(Boolean isAccessCodeRequired) { + public SendBirdSendBirdGroupChannelDetail isAccessCodeRequired(Boolean isAccessCodeRequired) { this.isAccessCodeRequired = isAccessCodeRequired; return this; } @@ -580,7 +580,7 @@ public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { } - public SendBirdSendbirdGroupChannelDetail isBroadcast(Boolean isBroadcast) { + public SendBirdSendBirdGroupChannelDetail isBroadcast(Boolean isBroadcast) { this.isBroadcast = isBroadcast; return this; } @@ -606,7 +606,7 @@ public void setIsBroadcast(Boolean isBroadcast) { } - public SendBirdSendbirdGroupChannelDetail isDiscoverable(Boolean isDiscoverable) { + public SendBirdSendBirdGroupChannelDetail isDiscoverable(Boolean isDiscoverable) { this.isDiscoverable = isDiscoverable; return this; } @@ -632,7 +632,7 @@ public void setIsDiscoverable(Boolean isDiscoverable) { } - public SendBirdSendbirdGroupChannelDetail isDistinct(Boolean isDistinct) { + public SendBirdSendBirdGroupChannelDetail isDistinct(Boolean isDistinct) { this.isDistinct = isDistinct; return this; } @@ -658,7 +658,7 @@ public void setIsDistinct(Boolean isDistinct) { } - public SendBirdSendbirdGroupChannelDetail isEphemeral(Boolean isEphemeral) { + public SendBirdSendBirdGroupChannelDetail isEphemeral(Boolean isEphemeral) { this.isEphemeral = isEphemeral; return this; } @@ -684,7 +684,7 @@ public void setIsEphemeral(Boolean isEphemeral) { } - public SendBirdSendbirdGroupChannelDetail isPublic(Boolean isPublic) { + public SendBirdSendBirdGroupChannelDetail isPublic(Boolean isPublic) { this.isPublic = isPublic; return this; } @@ -710,7 +710,7 @@ public void setIsPublic(Boolean isPublic) { } - public SendBirdSendbirdGroupChannelDetail isSuper(Boolean isSuper) { + public SendBirdSendBirdGroupChannelDetail isSuper(Boolean isSuper) { this.isSuper = isSuper; return this; } @@ -736,7 +736,7 @@ public void setIsSuper(Boolean isSuper) { } - public SendBirdSendbirdGroupChannelDetail joinedMemberCount(Integer joinedMemberCount) { + public SendBirdSendBirdGroupChannelDetail joinedMemberCount(Integer joinedMemberCount) { this.joinedMemberCount = joinedMemberCount; return this; } @@ -762,7 +762,7 @@ public void setJoinedMemberCount(Integer joinedMemberCount) { } - public SendBirdSendbirdGroupChannelDetail lastMessage(SendBirdSendbirdMessageResponse lastMessage) { + public SendBirdSendBirdGroupChannelDetail lastMessage(SendBirdSendBirdMessageResponse lastMessage) { this.lastMessage = lastMessage; return this; } @@ -776,19 +776,19 @@ public SendBirdSendbirdGroupChannelDetail lastMessage(SendBirdSendbirdMessageRes @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdMessageResponse getLastMessage() { + public SendBirdSendBirdMessageResponse getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdSendbirdMessageResponse lastMessage) { + public void setLastMessage(SendBirdSendBirdMessageResponse lastMessage) { this.lastMessage = lastMessage; } - public SendBirdSendbirdGroupChannelDetail maxLengthMessage(Integer maxLengthMessage) { + public SendBirdSendBirdGroupChannelDetail maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -814,7 +814,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendBirdSendbirdGroupChannelDetail memberCount(Integer memberCount) { + public SendBirdSendBirdGroupChannelDetail memberCount(Integer memberCount) { this.memberCount = memberCount; return this; } @@ -840,12 +840,12 @@ public void setMemberCount(Integer memberCount) { } - public SendBirdSendbirdGroupChannelDetail members(List members) { + public SendBirdSendBirdGroupChannelDetail members(List members) { this.members = members; return this; } - public SendBirdSendbirdGroupChannelDetail addMembersItem(SendBirdSendbirdMember membersItem) { + public SendBirdSendBirdGroupChannelDetail addMembersItem(SendBirdSendBirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -862,19 +862,19 @@ public SendBirdSendbirdGroupChannelDetail addMembersItem(SendBirdSendbirdMember @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } - public SendBirdSendbirdGroupChannelDetail messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendBirdSendBirdGroupChannelDetail messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -900,7 +900,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendBirdSendbirdGroupChannelDetail name(String name) { + public SendBirdSendBirdGroupChannelDetail name(String name) { this.name = name; return this; } @@ -926,12 +926,12 @@ public void setName(String name) { } - public SendBirdSendbirdGroupChannelDetail operators(List operators) { + public SendBirdSendBirdGroupChannelDetail operators(List operators) { this.operators = operators; return this; } - public SendBirdSendbirdGroupChannelDetail addOperatorsItem(SendBirdSendbirdUser operatorsItem) { + public SendBirdSendBirdGroupChannelDetail addOperatorsItem(SendBirdSendBirdUser operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -948,24 +948,24 @@ public SendBirdSendbirdGroupChannelDetail addOperatorsItem(SendBirdSendbirdUser @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } - public SendBirdSendbirdGroupChannelDetail readReceipt(Map readReceipt) { + public SendBirdSendBirdGroupChannelDetail readReceipt(Map readReceipt) { this.readReceipt = readReceipt; return this; } - public SendBirdSendbirdGroupChannelDetail putReadReceiptItem(String key, Long readReceiptItem) { + public SendBirdSendBirdGroupChannelDetail putReadReceiptItem(String key, Long readReceiptItem) { if (this.readReceipt == null) { this.readReceipt = new HashMap<>(); } @@ -994,7 +994,7 @@ public void setReadReceipt(Map readReceipt) { } - public SendBirdSendbirdGroupChannelDetail smsFallback(SendBirdSendbirdSmsFallback smsFallback) { + public SendBirdSendBirdGroupChannelDetail smsFallback(SendBirdSendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1008,19 +1008,19 @@ public SendBirdSendbirdGroupChannelDetail smsFallback(SendBirdSendbirdSmsFallbac @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdSmsFallback getSmsFallback() { + public SendBirdSendBirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSendbirdSmsFallback smsFallback) { + public void setSmsFallback(SendBirdSendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } - public SendBirdSendbirdGroupChannelDetail unreadMentionCount(Integer unreadMentionCount) { + public SendBirdSendBirdGroupChannelDetail unreadMentionCount(Integer unreadMentionCount) { this.unreadMentionCount = unreadMentionCount; return this; } @@ -1046,7 +1046,7 @@ public void setUnreadMentionCount(Integer unreadMentionCount) { } - public SendBirdSendbirdGroupChannelDetail unreadMessageCount(Integer unreadMessageCount) { + public SendBirdSendBirdGroupChannelDetail unreadMessageCount(Integer unreadMessageCount) { this.unreadMessageCount = unreadMessageCount; return this; } @@ -1073,7 +1073,7 @@ public void setUnreadMessageCount(Integer unreadMessageCount) { /** - * Return true if this Sendbird.GroupChannelDetail object is equal to o. + * Return true if this SendBird.GroupChannelDetail object is equal to o. */ @Override public boolean equals(Object o) { @@ -1083,40 +1083,40 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdGroupChannelDetail sendbirdGroupChannelDetail = (SendBirdSendbirdGroupChannelDetail) o; - return Objects.equals(this.channel, sendbirdGroupChannelDetail.channel) && - Objects.equals(this.channelUrl, sendbirdGroupChannelDetail.channelUrl) && - Objects.equals(this.coverUrl, sendbirdGroupChannelDetail.coverUrl) && - Objects.equals(this.createdAt, sendbirdGroupChannelDetail.createdAt) && - Objects.equals(this.createdBy, sendbirdGroupChannelDetail.createdBy) && - Objects.equals(this.customType, sendbirdGroupChannelDetail.customType) && - Objects.equals(this.data, sendbirdGroupChannelDetail.data) && - Objects.equals(this.deliveryReceipt, sendbirdGroupChannelDetail.deliveryReceipt) && - Objects.equals(this.disappearingMessage, sendbirdGroupChannelDetail.disappearingMessage) && - Objects.equals(this.freeze, sendbirdGroupChannelDetail.freeze) && - Objects.equals(this.hasAiBot, sendbirdGroupChannelDetail.hasAiBot) && - Objects.equals(this.hasBot, sendbirdGroupChannelDetail.hasBot) && - Objects.equals(this.id, sendbirdGroupChannelDetail.id) && - Objects.equals(this.ignoreProfanityFilter, sendbirdGroupChannelDetail.ignoreProfanityFilter) && - Objects.equals(this.isAccessCodeRequired, sendbirdGroupChannelDetail.isAccessCodeRequired) && - Objects.equals(this.isBroadcast, sendbirdGroupChannelDetail.isBroadcast) && - Objects.equals(this.isDiscoverable, sendbirdGroupChannelDetail.isDiscoverable) && - Objects.equals(this.isDistinct, sendbirdGroupChannelDetail.isDistinct) && - Objects.equals(this.isEphemeral, sendbirdGroupChannelDetail.isEphemeral) && - Objects.equals(this.isPublic, sendbirdGroupChannelDetail.isPublic) && - Objects.equals(this.isSuper, sendbirdGroupChannelDetail.isSuper) && - Objects.equals(this.joinedMemberCount, sendbirdGroupChannelDetail.joinedMemberCount) && - Objects.equals(this.lastMessage, sendbirdGroupChannelDetail.lastMessage) && - Objects.equals(this.maxLengthMessage, sendbirdGroupChannelDetail.maxLengthMessage) && - Objects.equals(this.memberCount, sendbirdGroupChannelDetail.memberCount) && - Objects.equals(this.members, sendbirdGroupChannelDetail.members) && - Objects.equals(this.messageSurvivalSeconds, sendbirdGroupChannelDetail.messageSurvivalSeconds) && - Objects.equals(this.name, sendbirdGroupChannelDetail.name) && - Objects.equals(this.operators, sendbirdGroupChannelDetail.operators) && - Objects.equals(this.readReceipt, sendbirdGroupChannelDetail.readReceipt) && - Objects.equals(this.smsFallback, sendbirdGroupChannelDetail.smsFallback) && - Objects.equals(this.unreadMentionCount, sendbirdGroupChannelDetail.unreadMentionCount) && - Objects.equals(this.unreadMessageCount, sendbirdGroupChannelDetail.unreadMessageCount); + SendBirdSendBirdGroupChannelDetail sendBirdGroupChannelDetail = (SendBirdSendBirdGroupChannelDetail) o; + return Objects.equals(this.channel, sendBirdGroupChannelDetail.channel) && + Objects.equals(this.channelUrl, sendBirdGroupChannelDetail.channelUrl) && + Objects.equals(this.coverUrl, sendBirdGroupChannelDetail.coverUrl) && + Objects.equals(this.createdAt, sendBirdGroupChannelDetail.createdAt) && + Objects.equals(this.createdBy, sendBirdGroupChannelDetail.createdBy) && + Objects.equals(this.customType, sendBirdGroupChannelDetail.customType) && + Objects.equals(this.data, sendBirdGroupChannelDetail.data) && + Objects.equals(this.deliveryReceipt, sendBirdGroupChannelDetail.deliveryReceipt) && + Objects.equals(this.disappearingMessage, sendBirdGroupChannelDetail.disappearingMessage) && + Objects.equals(this.freeze, sendBirdGroupChannelDetail.freeze) && + Objects.equals(this.hasAiBot, sendBirdGroupChannelDetail.hasAiBot) && + Objects.equals(this.hasBot, sendBirdGroupChannelDetail.hasBot) && + Objects.equals(this.id, sendBirdGroupChannelDetail.id) && + Objects.equals(this.ignoreProfanityFilter, sendBirdGroupChannelDetail.ignoreProfanityFilter) && + Objects.equals(this.isAccessCodeRequired, sendBirdGroupChannelDetail.isAccessCodeRequired) && + Objects.equals(this.isBroadcast, sendBirdGroupChannelDetail.isBroadcast) && + Objects.equals(this.isDiscoverable, sendBirdGroupChannelDetail.isDiscoverable) && + Objects.equals(this.isDistinct, sendBirdGroupChannelDetail.isDistinct) && + Objects.equals(this.isEphemeral, sendBirdGroupChannelDetail.isEphemeral) && + Objects.equals(this.isPublic, sendBirdGroupChannelDetail.isPublic) && + Objects.equals(this.isSuper, sendBirdGroupChannelDetail.isSuper) && + Objects.equals(this.joinedMemberCount, sendBirdGroupChannelDetail.joinedMemberCount) && + Objects.equals(this.lastMessage, sendBirdGroupChannelDetail.lastMessage) && + Objects.equals(this.maxLengthMessage, sendBirdGroupChannelDetail.maxLengthMessage) && + Objects.equals(this.memberCount, sendBirdGroupChannelDetail.memberCount) && + Objects.equals(this.members, sendBirdGroupChannelDetail.members) && + Objects.equals(this.messageSurvivalSeconds, sendBirdGroupChannelDetail.messageSurvivalSeconds) && + Objects.equals(this.name, sendBirdGroupChannelDetail.name) && + Objects.equals(this.operators, sendBirdGroupChannelDetail.operators) && + Objects.equals(this.readReceipt, sendBirdGroupChannelDetail.readReceipt) && + Objects.equals(this.smsFallback, sendBirdGroupChannelDetail.smsFallback) && + Objects.equals(this.unreadMentionCount, sendBirdGroupChannelDetail.unreadMentionCount) && + Objects.equals(this.unreadMessageCount, sendBirdGroupChannelDetail.unreadMessageCount); } @Override @@ -1127,7 +1127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdGroupChannelDetail {\n"); + sb.append("class SendBirdSendBirdGroupChannelDetail {\n"); sb.append(" channel: ").append(toIndentedString(channel)).append("\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java index af708590..95a419ba 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java @@ -29,21 +29,21 @@ /** - * SendBirdSendbirdGroupChannelDetailChannel + * SendBirdSendBirdGroupChannelDetailChannel */ @JsonPropertyOrder({ - SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_CHANNEL_URL, - SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_COVER_URL, - SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_CREATED_AT, - SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_DATA, - SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_MEMBER_COUNT, - SendBirdSendbirdGroupChannelDetailChannel.JSON_PROPERTY_NAME + SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_CHANNEL_URL, + SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_COVER_URL, + SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_CREATED_AT, + SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_DATA, + SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_MEMBER_COUNT, + SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_NAME }) -@JsonTypeName("Sendbird_GroupChannelDetail_channel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdGroupChannelDetailChannel { +@JsonTypeName("SendBird_GroupChannelDetail_channel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdGroupChannelDetailChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -68,10 +68,10 @@ public class SendBirdSendbirdGroupChannelDetailChannel { public static final String JSON_PROPERTY_NAME = "name"; private String name; - public SendBirdSendbirdGroupChannelDetailChannel() { + public SendBirdSendBirdGroupChannelDetailChannel() { } - public SendBirdSendbirdGroupChannelDetailChannel channelUrl(String channelUrl) { + public SendBirdSendBirdGroupChannelDetailChannel channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -97,7 +97,7 @@ public void setChannelUrl(String channelUrl) { } - public SendBirdSendbirdGroupChannelDetailChannel coverUrl(String coverUrl) { + public SendBirdSendBirdGroupChannelDetailChannel coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -123,7 +123,7 @@ public void setCoverUrl(String coverUrl) { } - public SendBirdSendbirdGroupChannelDetailChannel createdAt(Long createdAt) { + public SendBirdSendBirdGroupChannelDetailChannel createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -149,7 +149,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdSendbirdGroupChannelDetailChannel customType(String customType) { + public SendBirdSendBirdGroupChannelDetailChannel customType(String customType) { this.customType = customType; return this; } @@ -175,7 +175,7 @@ public void setCustomType(String customType) { } - public SendBirdSendbirdGroupChannelDetailChannel data(String data) { + public SendBirdSendBirdGroupChannelDetailChannel data(String data) { this.data = data; return this; } @@ -201,7 +201,7 @@ public void setData(String data) { } - public SendBirdSendbirdGroupChannelDetailChannel maxLengthMessage(Integer maxLengthMessage) { + public SendBirdSendBirdGroupChannelDetailChannel maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -227,7 +227,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendBirdSendbirdGroupChannelDetailChannel memberCount(Integer memberCount) { + public SendBirdSendBirdGroupChannelDetailChannel memberCount(Integer memberCount) { this.memberCount = memberCount; return this; } @@ -253,7 +253,7 @@ public void setMemberCount(Integer memberCount) { } - public SendBirdSendbirdGroupChannelDetailChannel name(String name) { + public SendBirdSendBirdGroupChannelDetailChannel name(String name) { this.name = name; return this; } @@ -280,7 +280,7 @@ public void setName(String name) { /** - * Return true if this Sendbird_GroupChannelDetail_channel object is equal to o. + * Return true if this SendBird_GroupChannelDetail_channel object is equal to o. */ @Override public boolean equals(Object o) { @@ -290,15 +290,15 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdGroupChannelDetailChannel sendbirdGroupChannelDetailChannel = (SendBirdSendbirdGroupChannelDetailChannel) o; - return Objects.equals(this.channelUrl, sendbirdGroupChannelDetailChannel.channelUrl) && - Objects.equals(this.coverUrl, sendbirdGroupChannelDetailChannel.coverUrl) && - Objects.equals(this.createdAt, sendbirdGroupChannelDetailChannel.createdAt) && - Objects.equals(this.customType, sendbirdGroupChannelDetailChannel.customType) && - Objects.equals(this.data, sendbirdGroupChannelDetailChannel.data) && - Objects.equals(this.maxLengthMessage, sendbirdGroupChannelDetailChannel.maxLengthMessage) && - Objects.equals(this.memberCount, sendbirdGroupChannelDetailChannel.memberCount) && - Objects.equals(this.name, sendbirdGroupChannelDetailChannel.name); + SendBirdSendBirdGroupChannelDetailChannel sendBirdGroupChannelDetailChannel = (SendBirdSendBirdGroupChannelDetailChannel) o; + return Objects.equals(this.channelUrl, sendBirdGroupChannelDetailChannel.channelUrl) && + Objects.equals(this.coverUrl, sendBirdGroupChannelDetailChannel.coverUrl) && + Objects.equals(this.createdAt, sendBirdGroupChannelDetailChannel.createdAt) && + Objects.equals(this.customType, sendBirdGroupChannelDetailChannel.customType) && + Objects.equals(this.data, sendBirdGroupChannelDetailChannel.data) && + Objects.equals(this.maxLengthMessage, sendBirdGroupChannelDetailChannel.maxLengthMessage) && + Objects.equals(this.memberCount, sendBirdGroupChannelDetailChannel.memberCount) && + Objects.equals(this.name, sendBirdGroupChannelDetailChannel.name); } @Override @@ -309,7 +309,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdGroupChannelDetailChannel {\n"); + sb.append("class SendBirdSendBirdGroupChannelDetailChannel {\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java index 2c350211..9439f8e8 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java @@ -26,14 +26,14 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdFile; -import org.openapitools.client.model.SendBirdSendbirdMessageResponse; -import org.openapitools.client.model.SendBirdSendbirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendBirdSendbirdMessageResponseMessageEvents; -import org.openapitools.client.model.SendBirdSendbirdParentMessageInfo; -import org.openapitools.client.model.SendBirdSendbirdReaction; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdFile; +import org.openapitools.client.model.SendBirdSendBirdMessageResponse; +import org.openapitools.client.model.SendBirdSendBirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendBirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendBirdSendBirdParentMessageInfo; +import org.openapitools.client.model.SendBirdSendBirdReaction; +import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -68,132 +68,132 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendBirdSendbirdGroupChannelLastMessage.SendBirdSendbirdGroupChannelLastMessageDeserializer.class) -@JsonSerialize(using = SendBirdSendbirdGroupChannelLastMessage.SendBirdSendbirdGroupChannelLastMessageSerializer.class) -public class SendBirdSendbirdGroupChannelLastMessage extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendBirdSendbirdGroupChannelLastMessage.class.getName()); +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendBirdSendBirdGroupChannelLastMessage.SendBirdSendBirdGroupChannelLastMessageDeserializer.class) +@JsonSerialize(using = SendBirdSendBirdGroupChannelLastMessage.SendBirdSendBirdGroupChannelLastMessageSerializer.class) +public class SendBirdSendBirdGroupChannelLastMessage extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendBirdSendBirdGroupChannelLastMessage.class.getName()); - public static class SendBirdSendbirdGroupChannelLastMessageSerializer extends StdSerializer { - public SendBirdSendbirdGroupChannelLastMessageSerializer(Class t) { + public static class SendBirdSendBirdGroupChannelLastMessageSerializer extends StdSerializer { + public SendBirdSendBirdGroupChannelLastMessageSerializer(Class t) { super(t); } - public SendBirdSendbirdGroupChannelLastMessageSerializer() { + public SendBirdSendBirdGroupChannelLastMessageSerializer() { this(null); } @Override - public void serialize(SendBirdSendbirdGroupChannelLastMessage value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + public void serialize(SendBirdSendBirdGroupChannelLastMessage value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.getActualInstance()); } } - public static class SendBirdSendbirdGroupChannelLastMessageDeserializer extends StdDeserializer { - public SendBirdSendbirdGroupChannelLastMessageDeserializer() { - this(SendBirdSendbirdGroupChannelLastMessage.class); + public static class SendBirdSendBirdGroupChannelLastMessageDeserializer extends StdDeserializer { + public SendBirdSendBirdGroupChannelLastMessageDeserializer() { + this(SendBirdSendBirdGroupChannelLastMessage.class); } - public SendBirdSendbirdGroupChannelLastMessageDeserializer(Class vc) { + public SendBirdSendBirdGroupChannelLastMessageDeserializer(Class vc) { super(vc); } @Override - public SendBirdSendbirdGroupChannelLastMessage deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + public SendBirdSendBirdGroupChannelLastMessage deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { JsonNode tree = jp.readValueAsTree(); Object deserialized = null; boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); int match = 0; JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendBirdSendbirdMessageResponse + // deserialize SendBirdSendBirdMessageResponse try { boolean attemptParsing = true; // ensure that we respect type coercion as set on the client ObjectMapper - if (SendBirdSendbirdMessageResponse.class.equals(Integer.class) || SendBirdSendbirdMessageResponse.class.equals(Long.class) || SendBirdSendbirdMessageResponse.class.equals(Float.class) || SendBirdSendbirdMessageResponse.class.equals(Double.class) || SendBirdSendbirdMessageResponse.class.equals(Boolean.class) || SendBirdSendbirdMessageResponse.class.equals(String.class)) { + if (SendBirdSendBirdMessageResponse.class.equals(Integer.class) || SendBirdSendBirdMessageResponse.class.equals(Long.class) || SendBirdSendBirdMessageResponse.class.equals(Float.class) || SendBirdSendBirdMessageResponse.class.equals(Double.class) || SendBirdSendBirdMessageResponse.class.equals(Boolean.class) || SendBirdSendBirdMessageResponse.class.equals(String.class)) { attemptParsing = typeCoercion; if (!attemptParsing) { - attemptParsing |= ((SendBirdSendbirdMessageResponse.class.equals(Integer.class) || SendBirdSendbirdMessageResponse.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendBirdSendbirdMessageResponse.class.equals(Float.class) || SendBirdSendbirdMessageResponse.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendBirdSendbirdMessageResponse.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendBirdSendbirdMessageResponse.class.equals(String.class) && token == JsonToken.VALUE_STRING); + attemptParsing |= ((SendBirdSendBirdMessageResponse.class.equals(Integer.class) || SendBirdSendBirdMessageResponse.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendBirdSendBirdMessageResponse.class.equals(Float.class) || SendBirdSendBirdMessageResponse.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendBirdSendBirdMessageResponse.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendBirdSendBirdMessageResponse.class.equals(String.class) && token == JsonToken.VALUE_STRING); } } if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendbirdMessageResponse.class); + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendBirdMessageResponse.class); // TODO: there is no validation against JSON schema constraints // (min, max, enum, pattern...), this does not perform a strict JSON // validation, which means the 'match' count may be higher than it should be. match++; - log.log(Level.FINER, "Input data matches schema 'SendBirdSendbirdMessageResponse'"); + log.log(Level.FINER, "Input data matches schema 'SendBirdSendBirdMessageResponse'"); } } catch (Exception e) { // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendBirdSendbirdMessageResponse'", e); + log.log(Level.FINER, "Input data does not match schema 'SendBirdSendBirdMessageResponse'", e); } if (match == 1) { - SendBirdSendbirdGroupChannelLastMessage ret = new SendBirdSendbirdGroupChannelLastMessage(); + SendBirdSendBirdGroupChannelLastMessage ret = new SendBirdSendBirdGroupChannelLastMessage(); ret.setActualInstance(deserialized); return ret; } - throw new IOException(String.format("Failed deserialization for SendBirdSendbirdGroupChannelLastMessage: %d classes match result, expected 1", match)); + throw new IOException(String.format("Failed deserialization for SendBirdSendBirdGroupChannelLastMessage: %d classes match result, expected 1", match)); } /** * Handle deserialization of the 'null' value. */ @Override - public SendBirdSendbirdGroupChannelLastMessage getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendBirdSendbirdGroupChannelLastMessage cannot be null"); + public SendBirdSendBirdGroupChannelLastMessage getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendBirdSendBirdGroupChannelLastMessage cannot be null"); } } // store a list of schema names defined in oneOf public static final Map schemas = new HashMap(); - public SendBirdSendbirdGroupChannelLastMessage() { + public SendBirdSendBirdGroupChannelLastMessage() { super("oneOf", Boolean.FALSE); } - public SendBirdSendbirdGroupChannelLastMessage(SendBirdSendbirdMessageResponse o) { + public SendBirdSendBirdGroupChannelLastMessage(SendBirdSendBirdMessageResponse o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } static { - schemas.put("SendBirdSendbirdMessageResponse", new GenericType() { + schemas.put("SendBirdSendBirdMessageResponse", new GenericType() { }); - JSON.registerDescendants(SendBirdSendbirdGroupChannelLastMessage.class, Collections.unmodifiableMap(schemas)); + JSON.registerDescendants(SendBirdSendBirdGroupChannelLastMessage.class, Collections.unmodifiableMap(schemas)); } @Override public Map getSchemas() { - return SendBirdSendbirdGroupChannelLastMessage.schemas; + return SendBirdSendBirdGroupChannelLastMessage.schemas; } /** * Set the instance that matches the oneOf child schema, check * the instance parameter is valid against the oneOf child schemas: - * SendBirdSendbirdMessageResponse + * SendBirdSendBirdMessageResponse * * It could be an instance of the 'oneOf' schemas. * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). */ @Override public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendBirdSendbirdMessageResponse.class, instance, new HashSet>())) { + if (JSON.isInstanceOf(SendBirdSendBirdMessageResponse.class, instance, new HashSet>())) { super.setActualInstance(instance); return; } - throw new RuntimeException("Invalid instance type. Must be SendBirdSendbirdMessageResponse"); + throw new RuntimeException("Invalid instance type. Must be SendBirdSendBirdMessageResponse"); } /** * Get the actual instance, which can be the following: - * SendBirdSendbirdMessageResponse + * SendBirdSendBirdMessageResponse * - * @return The actual instance (SendBirdSendbirdMessageResponse) + * @return The actual instance (SendBirdSendBirdMessageResponse) */ @Override public Object getActualInstance() { @@ -201,14 +201,14 @@ public Object getActualInstance() { } /** - * Get the actual instance of `SendBirdSendbirdMessageResponse`. If the actual instance is not `SendBirdSendbirdMessageResponse`, + * Get the actual instance of `SendBirdSendBirdMessageResponse`. If the actual instance is not `SendBirdSendBirdMessageResponse`, * the ClassCastException will be thrown. * - * @return The actual instance of `SendBirdSendbirdMessageResponse` - * @throws ClassCastException if the instance is not `SendBirdSendbirdMessageResponse` + * @return The actual instance of `SendBirdSendBirdMessageResponse` + * @throws ClassCastException if the instance is not `SendBirdSendBirdMessageResponse` */ - public SendBirdSendbirdMessageResponse getSendBirdSendbirdMessageResponse() throws ClassCastException { - return (SendBirdSendbirdMessageResponse)super.getActualInstance(); + public SendBirdSendBirdMessageResponse getSendBirdSendBirdMessageResponse() throws ClassCastException { + return (SendBirdSendBirdMessageResponse)super.getActualInstance(); } } diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java index 710b1e6a..1f171e26 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -36,35 +36,35 @@ /** - * SendBirdSendbirdMember + * SendBirdSendBirdMember */ @JsonPropertyOrder({ - SendBirdSendbirdMember.JSON_PROPERTY_DELIVERED_TS, - SendBirdSendbirdMember.JSON_PROPERTY_DO_NOT_DISTURB, - SendBirdSendbirdMember.JSON_PROPERTY_FRIEND_DISCOVERY_KEY, - SendBirdSendbirdMember.JSON_PROPERTY_FRIEND_NAME, - SendBirdSendbirdMember.JSON_PROPERTY_IS_ACTIVE, - SendBirdSendbirdMember.JSON_PROPERTY_IS_BLOCKED_BY_ME, - SendBirdSendbirdMember.JSON_PROPERTY_IS_BLOCKING_ME, - SendBirdSendbirdMember.JSON_PROPERTY_IS_MUTED, - SendBirdSendbirdMember.JSON_PROPERTY_IS_ONLINE, - SendBirdSendbirdMember.JSON_PROPERTY_LAST_SEEN_AT, - SendBirdSendbirdMember.JSON_PROPERTY_METADATA, - SendBirdSendbirdMember.JSON_PROPERTY_MUTED_DESCRIPTION, - SendBirdSendbirdMember.JSON_PROPERTY_MUTED_END_AT, - SendBirdSendbirdMember.JSON_PROPERTY_NICKNAME, - SendBirdSendbirdMember.JSON_PROPERTY_PUSH_ENABLED, - SendBirdSendbirdMember.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdSendbirdMember.JSON_PROPERTY_PROFILE_URL, - SendBirdSendbirdMember.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendBirdSendbirdMember.JSON_PROPERTY_READ_TS, - SendBirdSendbirdMember.JSON_PROPERTY_ROLE, - SendBirdSendbirdMember.JSON_PROPERTY_STATE, - SendBirdSendbirdMember.JSON_PROPERTY_USER_ID + SendBirdSendBirdMember.JSON_PROPERTY_DELIVERED_TS, + SendBirdSendBirdMember.JSON_PROPERTY_DO_NOT_DISTURB, + SendBirdSendBirdMember.JSON_PROPERTY_FRIEND_DISCOVERY_KEY, + SendBirdSendBirdMember.JSON_PROPERTY_FRIEND_NAME, + SendBirdSendBirdMember.JSON_PROPERTY_IS_ACTIVE, + SendBirdSendBirdMember.JSON_PROPERTY_IS_BLOCKED_BY_ME, + SendBirdSendBirdMember.JSON_PROPERTY_IS_BLOCKING_ME, + SendBirdSendBirdMember.JSON_PROPERTY_IS_MUTED, + SendBirdSendBirdMember.JSON_PROPERTY_IS_ONLINE, + SendBirdSendBirdMember.JSON_PROPERTY_LAST_SEEN_AT, + SendBirdSendBirdMember.JSON_PROPERTY_METADATA, + SendBirdSendBirdMember.JSON_PROPERTY_MUTED_DESCRIPTION, + SendBirdSendBirdMember.JSON_PROPERTY_MUTED_END_AT, + SendBirdSendBirdMember.JSON_PROPERTY_NICKNAME, + SendBirdSendBirdMember.JSON_PROPERTY_PUSH_ENABLED, + SendBirdSendBirdMember.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdSendBirdMember.JSON_PROPERTY_PROFILE_URL, + SendBirdSendBirdMember.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendBirdSendBirdMember.JSON_PROPERTY_READ_TS, + SendBirdSendBirdMember.JSON_PROPERTY_ROLE, + SendBirdSendBirdMember.JSON_PROPERTY_STATE, + SendBirdSendBirdMember.JSON_PROPERTY_USER_ID }) -@JsonTypeName("Sendbird.Member") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdMember { +@JsonTypeName("SendBird.Member") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdMember { public static final String JSON_PROPERTY_DELIVERED_TS = "delivered_ts"; private Long deliveredTs; @@ -111,7 +111,7 @@ public class SendBirdSendbirdMember { private Boolean pushEnabled; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendbirdPushTriggerOption pushTriggerOption; + private SendBirdSendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; private String profileUrl = ""; @@ -205,10 +205,10 @@ public static StateEnum fromValue(String value) { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; - public SendBirdSendbirdMember() { + public SendBirdSendBirdMember() { } - public SendBirdSendbirdMember deliveredTs(Long deliveredTs) { + public SendBirdSendBirdMember deliveredTs(Long deliveredTs) { this.deliveredTs = deliveredTs; return this; } @@ -234,7 +234,7 @@ public void setDeliveredTs(Long deliveredTs) { } - public SendBirdSendbirdMember doNotDisturb(Boolean doNotDisturb) { + public SendBirdSendBirdMember doNotDisturb(Boolean doNotDisturb) { this.doNotDisturb = doNotDisturb; return this; } @@ -260,12 +260,12 @@ public void setDoNotDisturb(Boolean doNotDisturb) { } - public SendBirdSendbirdMember friendDiscoveryKey(List friendDiscoveryKey) { + public SendBirdSendBirdMember friendDiscoveryKey(List friendDiscoveryKey) { this.friendDiscoveryKey = JsonNullable.>of(friendDiscoveryKey); return this; } - public SendBirdSendbirdMember addFriendDiscoveryKeyItem(String friendDiscoveryKeyItem) { + public SendBirdSendBirdMember addFriendDiscoveryKeyItem(String friendDiscoveryKeyItem) { if (this.friendDiscoveryKey == null || !this.friendDiscoveryKey.isPresent()) { this.friendDiscoveryKey = JsonNullable.>of(new ArrayList<>()); } @@ -306,7 +306,7 @@ public void setFriendDiscoveryKey(List friendDiscoveryKey) { } - public SendBirdSendbirdMember friendName(String friendName) { + public SendBirdSendBirdMember friendName(String friendName) { this.friendName = JsonNullable.of(friendName); return this; } @@ -340,7 +340,7 @@ public void setFriendName(String friendName) { } - public SendBirdSendbirdMember isActive(Boolean isActive) { + public SendBirdSendBirdMember isActive(Boolean isActive) { this.isActive = isActive; return this; } @@ -366,7 +366,7 @@ public void setIsActive(Boolean isActive) { } - public SendBirdSendbirdMember isBlockedByMe(Boolean isBlockedByMe) { + public SendBirdSendBirdMember isBlockedByMe(Boolean isBlockedByMe) { this.isBlockedByMe = isBlockedByMe; return this; } @@ -392,7 +392,7 @@ public void setIsBlockedByMe(Boolean isBlockedByMe) { } - public SendBirdSendbirdMember isBlockingMe(Boolean isBlockingMe) { + public SendBirdSendBirdMember isBlockingMe(Boolean isBlockingMe) { this.isBlockingMe = isBlockingMe; return this; } @@ -418,7 +418,7 @@ public void setIsBlockingMe(Boolean isBlockingMe) { } - public SendBirdSendbirdMember isMuted(Boolean isMuted) { + public SendBirdSendBirdMember isMuted(Boolean isMuted) { this.isMuted = isMuted; return this; } @@ -444,7 +444,7 @@ public void setIsMuted(Boolean isMuted) { } - public SendBirdSendbirdMember isOnline(Boolean isOnline) { + public SendBirdSendBirdMember isOnline(Boolean isOnline) { this.isOnline = isOnline; return this; } @@ -470,7 +470,7 @@ public void setIsOnline(Boolean isOnline) { } - public SendBirdSendbirdMember lastSeenAt(Long lastSeenAt) { + public SendBirdSendBirdMember lastSeenAt(Long lastSeenAt) { this.lastSeenAt = lastSeenAt; return this; } @@ -496,7 +496,7 @@ public void setLastSeenAt(Long lastSeenAt) { } - public SendBirdSendbirdMember metadata(Object metadata) { + public SendBirdSendBirdMember metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -530,7 +530,7 @@ public void setMetadata(Object metadata) { } - public SendBirdSendbirdMember mutedDescription(String mutedDescription) { + public SendBirdSendBirdMember mutedDescription(String mutedDescription) { this.mutedDescription = mutedDescription; return this; } @@ -556,7 +556,7 @@ public void setMutedDescription(String mutedDescription) { } - public SendBirdSendbirdMember mutedEndAt(Long mutedEndAt) { + public SendBirdSendBirdMember mutedEndAt(Long mutedEndAt) { this.mutedEndAt = mutedEndAt; return this; } @@ -582,7 +582,7 @@ public void setMutedEndAt(Long mutedEndAt) { } - public SendBirdSendbirdMember nickname(String nickname) { + public SendBirdSendBirdMember nickname(String nickname) { this.nickname = JsonNullable.of(nickname); return this; } @@ -616,7 +616,7 @@ public void setNickname(String nickname) { } - public SendBirdSendbirdMember pushEnabled(Boolean pushEnabled) { + public SendBirdSendBirdMember pushEnabled(Boolean pushEnabled) { this.pushEnabled = pushEnabled; return this; } @@ -642,7 +642,7 @@ public void setPushEnabled(Boolean pushEnabled) { } - public SendBirdSendbirdMember pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public SendBirdSendBirdMember pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -656,19 +656,19 @@ public SendBirdSendbirdMember pushTriggerOption(SendBirdSendbirdPushTriggerOptio @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } - public SendBirdSendbirdMember profileUrl(String profileUrl) { + public SendBirdSendBirdMember profileUrl(String profileUrl) { this.profileUrl = profileUrl; return this; } @@ -694,7 +694,7 @@ public void setProfileUrl(String profileUrl) { } - public SendBirdSendbirdMember requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + public SendBirdSendBirdMember requireAuthForProfileImage(Boolean requireAuthForProfileImage) { this.requireAuthForProfileImage = requireAuthForProfileImage; return this; } @@ -720,7 +720,7 @@ public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { } - public SendBirdSendbirdMember readTs(Long readTs) { + public SendBirdSendBirdMember readTs(Long readTs) { this.readTs = readTs; return this; } @@ -746,7 +746,7 @@ public void setReadTs(Long readTs) { } - public SendBirdSendbirdMember role(RoleEnum role) { + public SendBirdSendBirdMember role(RoleEnum role) { this.role = JsonNullable.of(role); return this; } @@ -780,7 +780,7 @@ public void setRole(RoleEnum role) { } - public SendBirdSendbirdMember state(StateEnum state) { + public SendBirdSendBirdMember state(StateEnum state) { this.state = JsonNullable.of(state); return this; } @@ -814,7 +814,7 @@ public void setState(StateEnum state) { } - public SendBirdSendbirdMember userId(String userId) { + public SendBirdSendBirdMember userId(String userId) { this.userId = userId; return this; } @@ -841,7 +841,7 @@ public void setUserId(String userId) { /** - * Return true if this Sendbird.Member object is equal to o. + * Return true if this SendBird.Member object is equal to o. */ @Override public boolean equals(Object o) { @@ -851,29 +851,29 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdMember sendbirdMember = (SendBirdSendbirdMember) o; - return Objects.equals(this.deliveredTs, sendbirdMember.deliveredTs) && - Objects.equals(this.doNotDisturb, sendbirdMember.doNotDisturb) && - equalsNullable(this.friendDiscoveryKey, sendbirdMember.friendDiscoveryKey) && - equalsNullable(this.friendName, sendbirdMember.friendName) && - Objects.equals(this.isActive, sendbirdMember.isActive) && - Objects.equals(this.isBlockedByMe, sendbirdMember.isBlockedByMe) && - Objects.equals(this.isBlockingMe, sendbirdMember.isBlockingMe) && - Objects.equals(this.isMuted, sendbirdMember.isMuted) && - Objects.equals(this.isOnline, sendbirdMember.isOnline) && - Objects.equals(this.lastSeenAt, sendbirdMember.lastSeenAt) && - equalsNullable(this.metadata, sendbirdMember.metadata) && - Objects.equals(this.mutedDescription, sendbirdMember.mutedDescription) && - Objects.equals(this.mutedEndAt, sendbirdMember.mutedEndAt) && - equalsNullable(this.nickname, sendbirdMember.nickname) && - Objects.equals(this.pushEnabled, sendbirdMember.pushEnabled) && - Objects.equals(this.pushTriggerOption, sendbirdMember.pushTriggerOption) && - Objects.equals(this.profileUrl, sendbirdMember.profileUrl) && - Objects.equals(this.requireAuthForProfileImage, sendbirdMember.requireAuthForProfileImage) && - Objects.equals(this.readTs, sendbirdMember.readTs) && - equalsNullable(this.role, sendbirdMember.role) && - equalsNullable(this.state, sendbirdMember.state) && - Objects.equals(this.userId, sendbirdMember.userId); + SendBirdSendBirdMember sendBirdMember = (SendBirdSendBirdMember) o; + return Objects.equals(this.deliveredTs, sendBirdMember.deliveredTs) && + Objects.equals(this.doNotDisturb, sendBirdMember.doNotDisturb) && + equalsNullable(this.friendDiscoveryKey, sendBirdMember.friendDiscoveryKey) && + equalsNullable(this.friendName, sendBirdMember.friendName) && + Objects.equals(this.isActive, sendBirdMember.isActive) && + Objects.equals(this.isBlockedByMe, sendBirdMember.isBlockedByMe) && + Objects.equals(this.isBlockingMe, sendBirdMember.isBlockingMe) && + Objects.equals(this.isMuted, sendBirdMember.isMuted) && + Objects.equals(this.isOnline, sendBirdMember.isOnline) && + Objects.equals(this.lastSeenAt, sendBirdMember.lastSeenAt) && + equalsNullable(this.metadata, sendBirdMember.metadata) && + Objects.equals(this.mutedDescription, sendBirdMember.mutedDescription) && + Objects.equals(this.mutedEndAt, sendBirdMember.mutedEndAt) && + equalsNullable(this.nickname, sendBirdMember.nickname) && + Objects.equals(this.pushEnabled, sendBirdMember.pushEnabled) && + Objects.equals(this.pushTriggerOption, sendBirdMember.pushTriggerOption) && + Objects.equals(this.profileUrl, sendBirdMember.profileUrl) && + Objects.equals(this.requireAuthForProfileImage, sendBirdMember.requireAuthForProfileImage) && + Objects.equals(this.readTs, sendBirdMember.readTs) && + equalsNullable(this.role, sendBirdMember.role) && + equalsNullable(this.state, sendBirdMember.state) && + Objects.equals(this.userId, sendBirdMember.userId); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -895,7 +895,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdMember {\n"); + sb.append("class SendBirdSendBirdMember {\n"); sb.append(" deliveredTs: ").append(toIndentedString(deliveredTs)).append("\n"); sb.append(" doNotDisturb: ").append(toIndentedString(doNotDisturb)).append("\n"); sb.append(" friendDiscoveryKey: ").append(toIndentedString(friendDiscoveryKey)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java index f312a6dc..86250a48 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java @@ -26,13 +26,13 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdFile; -import org.openapitools.client.model.SendBirdSendbirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendBirdSendbirdMessageResponseMessageEvents; -import org.openapitools.client.model.SendBirdSendbirdParentMessageInfo; -import org.openapitools.client.model.SendBirdSendbirdReaction; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdFile; +import org.openapitools.client.model.SendBirdSendBirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendBirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendBirdSendBirdParentMessageInfo; +import org.openapitools.client.model.SendBirdSendBirdReaction; +import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -42,43 +42,43 @@ /** - * SendBirdSendbirdMessageResponse + * SendBirdSendBirdMessageResponse */ @JsonPropertyOrder({ - SendBirdSendbirdMessageResponse.JSON_PROPERTY_REQUIRE_AUTH, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_MENTIONED_USERS, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_TRANSLATIONS, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_UPDATED_AT, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_IS_OP_MSG, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_REACTIONS, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_IS_REMOVED, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_USER, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_FILE, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_FILES, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_MESSAGE, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_DATA, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_MESSAGE_RETENTION_HOUR, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_SILENT, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_TYPE, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_CREATED_AT, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_CHANNEL_TYPE, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_REQ_ID, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_MENTION_TYPE, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_CHANNEL_URL, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_MESSAGE_ID, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_SORTED_METAARRAY, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_THREAD_INFO, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_ID, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_INFO, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_IS_REPLY_TO_CHANNEL, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_MESSAGE_EVENTS, - SendBirdSendbirdMessageResponse.JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD + SendBirdSendBirdMessageResponse.JSON_PROPERTY_REQUIRE_AUTH, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_MENTIONED_USERS, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_TRANSLATIONS, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_UPDATED_AT, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_IS_OP_MSG, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_REACTIONS, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_IS_REMOVED, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_USER, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_FILE, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_FILES, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_MESSAGE, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_DATA, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_MESSAGE_RETENTION_HOUR, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_SILENT, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_TYPE, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_CREATED_AT, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_CHANNEL_TYPE, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_REQ_ID, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_MENTION_TYPE, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_CHANNEL_URL, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_MESSAGE_ID, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_SORTED_METAARRAY, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_THREAD_INFO, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_ID, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_INFO, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_IS_REPLY_TO_CHANNEL, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_MESSAGE_EVENTS, + SendBirdSendBirdMessageResponse.JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD }) -@JsonTypeName("Sendbird.MessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdMessageResponse { +@JsonTypeName("SendBird.MessageResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdMessageResponse { public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; private Boolean requireAuth; @@ -89,7 +89,7 @@ public class SendBirdSendbirdMessageResponse { private String customType; public static final String JSON_PROPERTY_MENTIONED_USERS = "mentioned_users"; - private List mentionedUsers = null; + private List mentionedUsers = null; public static final String JSON_PROPERTY_TRANSLATIONS = "translations"; private Object translations; @@ -101,19 +101,19 @@ public class SendBirdSendbirdMessageResponse { private Boolean isOpMsg; public static final String JSON_PROPERTY_REACTIONS = "reactions"; - private List reactions = null; + private List reactions = null; public static final String JSON_PROPERTY_IS_REMOVED = "is_removed"; private Boolean isRemoved; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendbirdBasicUserInfo user; + private SendBirdSendBirdBasicUserInfo user; public static final String JSON_PROPERTY_FILE = "file"; private Object _file; public static final String JSON_PROPERTY_FILES = "files"; - private List files = null; + private List files = null; public static final String JSON_PROPERTY_MESSAGE = "message"; private String message; @@ -149,7 +149,7 @@ public class SendBirdSendbirdMessageResponse { private Long messageId; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_THREAD_INFO = "thread_info"; private Object threadInfo; @@ -158,21 +158,21 @@ public class SendBirdSendbirdMessageResponse { private Integer parentMessageId; public static final String JSON_PROPERTY_PARENT_MESSAGE_INFO = "parent_message_info"; - private SendBirdSendbirdParentMessageInfo parentMessageInfo; + private SendBirdSendBirdParentMessageInfo parentMessageInfo; public static final String JSON_PROPERTY_IS_REPLY_TO_CHANNEL = "is_reply_to_channel"; private Boolean isReplyToChannel; public static final String JSON_PROPERTY_MESSAGE_EVENTS = "message_events"; - private JsonNullable messageEvents = JsonNullable.undefined(); + private JsonNullable messageEvents = JsonNullable.undefined(); public static final String JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD = "extended_message_payload"; - private SendBirdSendbirdMessageResponseExtendedMessagePayload extendedMessagePayload; + private SendBirdSendBirdMessageResponseExtendedMessagePayload extendedMessagePayload; - public SendBirdSendbirdMessageResponse() { + public SendBirdSendBirdMessageResponse() { } - public SendBirdSendbirdMessageResponse requireAuth(Boolean requireAuth) { + public SendBirdSendBirdMessageResponse requireAuth(Boolean requireAuth) { this.requireAuth = requireAuth; return this; } @@ -198,7 +198,7 @@ public void setRequireAuth(Boolean requireAuth) { } - public SendBirdSendbirdMessageResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendBirdSendBirdMessageResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -224,7 +224,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendBirdSendbirdMessageResponse customType(String customType) { + public SendBirdSendBirdMessageResponse customType(String customType) { this.customType = customType; return this; } @@ -250,12 +250,12 @@ public void setCustomType(String customType) { } - public SendBirdSendbirdMessageResponse mentionedUsers(List mentionedUsers) { + public SendBirdSendBirdMessageResponse mentionedUsers(List mentionedUsers) { this.mentionedUsers = mentionedUsers; return this; } - public SendBirdSendbirdMessageResponse addMentionedUsersItem(SendBirdSendbirdBasicUserInfo mentionedUsersItem) { + public SendBirdSendBirdMessageResponse addMentionedUsersItem(SendBirdSendBirdBasicUserInfo mentionedUsersItem) { if (this.mentionedUsers == null) { this.mentionedUsers = new ArrayList<>(); } @@ -272,19 +272,19 @@ public SendBirdSendbirdMessageResponse addMentionedUsersItem(SendBirdSendbirdBas @JsonProperty(JSON_PROPERTY_MENTIONED_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMentionedUsers() { + public List getMentionedUsers() { return mentionedUsers; } @JsonProperty(JSON_PROPERTY_MENTIONED_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUsers(List mentionedUsers) { + public void setMentionedUsers(List mentionedUsers) { this.mentionedUsers = mentionedUsers; } - public SendBirdSendbirdMessageResponse translations(Object translations) { + public SendBirdSendBirdMessageResponse translations(Object translations) { this.translations = translations; return this; } @@ -310,7 +310,7 @@ public void setTranslations(Object translations) { } - public SendBirdSendbirdMessageResponse updatedAt(Long updatedAt) { + public SendBirdSendBirdMessageResponse updatedAt(Long updatedAt) { this.updatedAt = updatedAt; return this; } @@ -336,7 +336,7 @@ public void setUpdatedAt(Long updatedAt) { } - public SendBirdSendbirdMessageResponse isOpMsg(Boolean isOpMsg) { + public SendBirdSendBirdMessageResponse isOpMsg(Boolean isOpMsg) { this.isOpMsg = isOpMsg; return this; } @@ -362,12 +362,12 @@ public void setIsOpMsg(Boolean isOpMsg) { } - public SendBirdSendbirdMessageResponse reactions(List reactions) { + public SendBirdSendBirdMessageResponse reactions(List reactions) { this.reactions = reactions; return this; } - public SendBirdSendbirdMessageResponse addReactionsItem(SendBirdSendbirdReaction reactionsItem) { + public SendBirdSendBirdMessageResponse addReactionsItem(SendBirdSendBirdReaction reactionsItem) { if (this.reactions == null) { this.reactions = new ArrayList<>(); } @@ -384,19 +384,19 @@ public SendBirdSendbirdMessageResponse addReactionsItem(SendBirdSendbirdReaction @JsonProperty(JSON_PROPERTY_REACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getReactions() { + public List getReactions() { return reactions; } @JsonProperty(JSON_PROPERTY_REACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReactions(List reactions) { + public void setReactions(List reactions) { this.reactions = reactions; } - public SendBirdSendbirdMessageResponse isRemoved(Boolean isRemoved) { + public SendBirdSendBirdMessageResponse isRemoved(Boolean isRemoved) { this.isRemoved = isRemoved; return this; } @@ -422,7 +422,7 @@ public void setIsRemoved(Boolean isRemoved) { } - public SendBirdSendbirdMessageResponse user(SendBirdSendbirdBasicUserInfo user) { + public SendBirdSendBirdMessageResponse user(SendBirdSendBirdBasicUserInfo user) { this.user = user; return this; } @@ -436,19 +436,19 @@ public SendBirdSendbirdMessageResponse user(SendBirdSendbirdBasicUserInfo user) @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdBasicUserInfo getUser() { + public SendBirdSendBirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendbirdBasicUserInfo user) { + public void setUser(SendBirdSendBirdBasicUserInfo user) { this.user = user; } - public SendBirdSendbirdMessageResponse _file(Object _file) { + public SendBirdSendBirdMessageResponse _file(Object _file) { this._file = _file; return this; } @@ -474,12 +474,12 @@ public void setFile(Object _file) { } - public SendBirdSendbirdMessageResponse files(List files) { + public SendBirdSendBirdMessageResponse files(List files) { this.files = files; return this; } - public SendBirdSendbirdMessageResponse addFilesItem(SendBirdSendbirdFile filesItem) { + public SendBirdSendBirdMessageResponse addFilesItem(SendBirdSendBirdFile filesItem) { if (this.files == null) { this.files = new ArrayList<>(); } @@ -496,19 +496,19 @@ public SendBirdSendbirdMessageResponse addFilesItem(SendBirdSendbirdFile filesIt @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFiles() { + public List getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(List files) { + public void setFiles(List files) { this.files = files; } - public SendBirdSendbirdMessageResponse message(String message) { + public SendBirdSendBirdMessageResponse message(String message) { this.message = message; return this; } @@ -534,7 +534,7 @@ public void setMessage(String message) { } - public SendBirdSendbirdMessageResponse data(String data) { + public SendBirdSendBirdMessageResponse data(String data) { this.data = data; return this; } @@ -560,7 +560,7 @@ public void setData(String data) { } - public SendBirdSendbirdMessageResponse messageRetentionHour(Integer messageRetentionHour) { + public SendBirdSendBirdMessageResponse messageRetentionHour(Integer messageRetentionHour) { this.messageRetentionHour = messageRetentionHour; return this; } @@ -586,7 +586,7 @@ public void setMessageRetentionHour(Integer messageRetentionHour) { } - public SendBirdSendbirdMessageResponse silent(Boolean silent) { + public SendBirdSendBirdMessageResponse silent(Boolean silent) { this.silent = silent; return this; } @@ -612,7 +612,7 @@ public void setSilent(Boolean silent) { } - public SendBirdSendbirdMessageResponse type(String type) { + public SendBirdSendBirdMessageResponse type(String type) { this.type = type; return this; } @@ -638,7 +638,7 @@ public void setType(String type) { } - public SendBirdSendbirdMessageResponse createdAt(Long createdAt) { + public SendBirdSendBirdMessageResponse createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -664,7 +664,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdSendbirdMessageResponse channelType(String channelType) { + public SendBirdSendBirdMessageResponse channelType(String channelType) { this.channelType = channelType; return this; } @@ -690,7 +690,7 @@ public void setChannelType(String channelType) { } - public SendBirdSendbirdMessageResponse reqId(String reqId) { + public SendBirdSendBirdMessageResponse reqId(String reqId) { this.reqId = reqId; return this; } @@ -716,7 +716,7 @@ public void setReqId(String reqId) { } - public SendBirdSendbirdMessageResponse mentionType(String mentionType) { + public SendBirdSendBirdMessageResponse mentionType(String mentionType) { this.mentionType = mentionType; return this; } @@ -742,7 +742,7 @@ public void setMentionType(String mentionType) { } - public SendBirdSendbirdMessageResponse channelUrl(String channelUrl) { + public SendBirdSendBirdMessageResponse channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -768,7 +768,7 @@ public void setChannelUrl(String channelUrl) { } - public SendBirdSendbirdMessageResponse messageId(Long messageId) { + public SendBirdSendBirdMessageResponse messageId(Long messageId) { this.messageId = messageId; return this; } @@ -794,12 +794,12 @@ public void setMessageId(Long messageId) { } - public SendBirdSendbirdMessageResponse sortedMetaarray(List sortedMetaarray) { + public SendBirdSendBirdMessageResponse sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendBirdSendbirdMessageResponse addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendBirdSendBirdMessageResponse addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -816,19 +816,19 @@ public SendBirdSendbirdMessageResponse addSortedMetaarrayItem(SendBirdSendbirdSo @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } - public SendBirdSendbirdMessageResponse threadInfo(Object threadInfo) { + public SendBirdSendBirdMessageResponse threadInfo(Object threadInfo) { this.threadInfo = threadInfo; return this; } @@ -854,7 +854,7 @@ public void setThreadInfo(Object threadInfo) { } - public SendBirdSendbirdMessageResponse parentMessageId(Integer parentMessageId) { + public SendBirdSendBirdMessageResponse parentMessageId(Integer parentMessageId) { this.parentMessageId = parentMessageId; return this; } @@ -880,7 +880,7 @@ public void setParentMessageId(Integer parentMessageId) { } - public SendBirdSendbirdMessageResponse parentMessageInfo(SendBirdSendbirdParentMessageInfo parentMessageInfo) { + public SendBirdSendBirdMessageResponse parentMessageInfo(SendBirdSendBirdParentMessageInfo parentMessageInfo) { this.parentMessageInfo = parentMessageInfo; return this; } @@ -894,19 +894,19 @@ public SendBirdSendbirdMessageResponse parentMessageInfo(SendBirdSendbirdParentM @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdParentMessageInfo getParentMessageInfo() { + public SendBirdSendBirdParentMessageInfo getParentMessageInfo() { return parentMessageInfo; } @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setParentMessageInfo(SendBirdSendbirdParentMessageInfo parentMessageInfo) { + public void setParentMessageInfo(SendBirdSendBirdParentMessageInfo parentMessageInfo) { this.parentMessageInfo = parentMessageInfo; } - public SendBirdSendbirdMessageResponse isReplyToChannel(Boolean isReplyToChannel) { + public SendBirdSendBirdMessageResponse isReplyToChannel(Boolean isReplyToChannel) { this.isReplyToChannel = isReplyToChannel; return this; } @@ -932,8 +932,8 @@ public void setIsReplyToChannel(Boolean isReplyToChannel) { } - public SendBirdSendbirdMessageResponse messageEvents(SendBirdSendbirdMessageResponseMessageEvents messageEvents) { - this.messageEvents = JsonNullable.of(messageEvents); + public SendBirdSendBirdMessageResponse messageEvents(SendBirdSendBirdMessageResponseMessageEvents messageEvents) { + this.messageEvents = JsonNullable.of(messageEvents); return this; } @@ -945,28 +945,28 @@ public SendBirdSendbirdMessageResponse messageEvents(SendBirdSendbirdMessageResp @ApiModelProperty(value = "") @JsonIgnore - public SendBirdSendbirdMessageResponseMessageEvents getMessageEvents() { + public SendBirdSendBirdMessageResponseMessageEvents getMessageEvents() { return messageEvents.orElse(null); } @JsonProperty(JSON_PROPERTY_MESSAGE_EVENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getMessageEvents_JsonNullable() { + public JsonNullable getMessageEvents_JsonNullable() { return messageEvents; } @JsonProperty(JSON_PROPERTY_MESSAGE_EVENTS) - public void setMessageEvents_JsonNullable(JsonNullable messageEvents) { + public void setMessageEvents_JsonNullable(JsonNullable messageEvents) { this.messageEvents = messageEvents; } - public void setMessageEvents(SendBirdSendbirdMessageResponseMessageEvents messageEvents) { - this.messageEvents = JsonNullable.of(messageEvents); + public void setMessageEvents(SendBirdSendBirdMessageResponseMessageEvents messageEvents) { + this.messageEvents = JsonNullable.of(messageEvents); } - public SendBirdSendbirdMessageResponse extendedMessagePayload(SendBirdSendbirdMessageResponseExtendedMessagePayload extendedMessagePayload) { + public SendBirdSendBirdMessageResponse extendedMessagePayload(SendBirdSendBirdMessageResponseExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; return this; } @@ -980,20 +980,20 @@ public SendBirdSendbirdMessageResponse extendedMessagePayload(SendBirdSendbirdMe @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdMessageResponseExtendedMessagePayload getExtendedMessagePayload() { + public SendBirdSendBirdMessageResponseExtendedMessagePayload getExtendedMessagePayload() { return extendedMessagePayload; } @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExtendedMessagePayload(SendBirdSendbirdMessageResponseExtendedMessagePayload extendedMessagePayload) { + public void setExtendedMessagePayload(SendBirdSendBirdMessageResponseExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; } /** - * Return true if this Sendbird.MessageResponse object is equal to o. + * Return true if this SendBird.MessageResponse object is equal to o. */ @Override public boolean equals(Object o) { @@ -1003,37 +1003,37 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdMessageResponse sendbirdMessageResponse = (SendBirdSendbirdMessageResponse) o; - return Objects.equals(this.requireAuth, sendbirdMessageResponse.requireAuth) && - Objects.equals(this.messageSurvivalSeconds, sendbirdMessageResponse.messageSurvivalSeconds) && - Objects.equals(this.customType, sendbirdMessageResponse.customType) && - Objects.equals(this.mentionedUsers, sendbirdMessageResponse.mentionedUsers) && - Objects.equals(this.translations, sendbirdMessageResponse.translations) && - Objects.equals(this.updatedAt, sendbirdMessageResponse.updatedAt) && - Objects.equals(this.isOpMsg, sendbirdMessageResponse.isOpMsg) && - Objects.equals(this.reactions, sendbirdMessageResponse.reactions) && - Objects.equals(this.isRemoved, sendbirdMessageResponse.isRemoved) && - Objects.equals(this.user, sendbirdMessageResponse.user) && - Objects.equals(this._file, sendbirdMessageResponse._file) && - Objects.equals(this.files, sendbirdMessageResponse.files) && - Objects.equals(this.message, sendbirdMessageResponse.message) && - Objects.equals(this.data, sendbirdMessageResponse.data) && - Objects.equals(this.messageRetentionHour, sendbirdMessageResponse.messageRetentionHour) && - Objects.equals(this.silent, sendbirdMessageResponse.silent) && - Objects.equals(this.type, sendbirdMessageResponse.type) && - Objects.equals(this.createdAt, sendbirdMessageResponse.createdAt) && - Objects.equals(this.channelType, sendbirdMessageResponse.channelType) && - Objects.equals(this.reqId, sendbirdMessageResponse.reqId) && - Objects.equals(this.mentionType, sendbirdMessageResponse.mentionType) && - Objects.equals(this.channelUrl, sendbirdMessageResponse.channelUrl) && - Objects.equals(this.messageId, sendbirdMessageResponse.messageId) && - Objects.equals(this.sortedMetaarray, sendbirdMessageResponse.sortedMetaarray) && - Objects.equals(this.threadInfo, sendbirdMessageResponse.threadInfo) && - Objects.equals(this.parentMessageId, sendbirdMessageResponse.parentMessageId) && - Objects.equals(this.parentMessageInfo, sendbirdMessageResponse.parentMessageInfo) && - Objects.equals(this.isReplyToChannel, sendbirdMessageResponse.isReplyToChannel) && - equalsNullable(this.messageEvents, sendbirdMessageResponse.messageEvents) && - Objects.equals(this.extendedMessagePayload, sendbirdMessageResponse.extendedMessagePayload); + SendBirdSendBirdMessageResponse sendBirdMessageResponse = (SendBirdSendBirdMessageResponse) o; + return Objects.equals(this.requireAuth, sendBirdMessageResponse.requireAuth) && + Objects.equals(this.messageSurvivalSeconds, sendBirdMessageResponse.messageSurvivalSeconds) && + Objects.equals(this.customType, sendBirdMessageResponse.customType) && + Objects.equals(this.mentionedUsers, sendBirdMessageResponse.mentionedUsers) && + Objects.equals(this.translations, sendBirdMessageResponse.translations) && + Objects.equals(this.updatedAt, sendBirdMessageResponse.updatedAt) && + Objects.equals(this.isOpMsg, sendBirdMessageResponse.isOpMsg) && + Objects.equals(this.reactions, sendBirdMessageResponse.reactions) && + Objects.equals(this.isRemoved, sendBirdMessageResponse.isRemoved) && + Objects.equals(this.user, sendBirdMessageResponse.user) && + Objects.equals(this._file, sendBirdMessageResponse._file) && + Objects.equals(this.files, sendBirdMessageResponse.files) && + Objects.equals(this.message, sendBirdMessageResponse.message) && + Objects.equals(this.data, sendBirdMessageResponse.data) && + Objects.equals(this.messageRetentionHour, sendBirdMessageResponse.messageRetentionHour) && + Objects.equals(this.silent, sendBirdMessageResponse.silent) && + Objects.equals(this.type, sendBirdMessageResponse.type) && + Objects.equals(this.createdAt, sendBirdMessageResponse.createdAt) && + Objects.equals(this.channelType, sendBirdMessageResponse.channelType) && + Objects.equals(this.reqId, sendBirdMessageResponse.reqId) && + Objects.equals(this.mentionType, sendBirdMessageResponse.mentionType) && + Objects.equals(this.channelUrl, sendBirdMessageResponse.channelUrl) && + Objects.equals(this.messageId, sendBirdMessageResponse.messageId) && + Objects.equals(this.sortedMetaarray, sendBirdMessageResponse.sortedMetaarray) && + Objects.equals(this.threadInfo, sendBirdMessageResponse.threadInfo) && + Objects.equals(this.parentMessageId, sendBirdMessageResponse.parentMessageId) && + Objects.equals(this.parentMessageInfo, sendBirdMessageResponse.parentMessageInfo) && + Objects.equals(this.isReplyToChannel, sendBirdMessageResponse.isReplyToChannel) && + equalsNullable(this.messageEvents, sendBirdMessageResponse.messageEvents) && + Objects.equals(this.extendedMessagePayload, sendBirdMessageResponse.extendedMessagePayload); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -1055,7 +1055,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdMessageResponse {\n"); + sb.append("class SendBirdSendBirdMessageResponse {\n"); sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java index 6ad2221b..e97cac23 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendBirdExtendedMessagePayload; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -57,132 +57,132 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendBirdSendbirdMessageResponseExtendedMessagePayload.SendBirdSendbirdMessageResponseExtendedMessagePayloadDeserializer.class) -@JsonSerialize(using = SendBirdSendbirdMessageResponseExtendedMessagePayload.SendBirdSendbirdMessageResponseExtendedMessagePayloadSerializer.class) -public class SendBirdSendbirdMessageResponseExtendedMessagePayload extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendBirdSendbirdMessageResponseExtendedMessagePayload.class.getName()); +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendBirdSendBirdMessageResponseExtendedMessagePayload.SendBirdSendBirdMessageResponseExtendedMessagePayloadDeserializer.class) +@JsonSerialize(using = SendBirdSendBirdMessageResponseExtendedMessagePayload.SendBirdSendBirdMessageResponseExtendedMessagePayloadSerializer.class) +public class SendBirdSendBirdMessageResponseExtendedMessagePayload extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendBirdSendBirdMessageResponseExtendedMessagePayload.class.getName()); - public static class SendBirdSendbirdMessageResponseExtendedMessagePayloadSerializer extends StdSerializer { - public SendBirdSendbirdMessageResponseExtendedMessagePayloadSerializer(Class t) { + public static class SendBirdSendBirdMessageResponseExtendedMessagePayloadSerializer extends StdSerializer { + public SendBirdSendBirdMessageResponseExtendedMessagePayloadSerializer(Class t) { super(t); } - public SendBirdSendbirdMessageResponseExtendedMessagePayloadSerializer() { + public SendBirdSendBirdMessageResponseExtendedMessagePayloadSerializer() { this(null); } @Override - public void serialize(SendBirdSendbirdMessageResponseExtendedMessagePayload value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + public void serialize(SendBirdSendBirdMessageResponseExtendedMessagePayload value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.getActualInstance()); } } - public static class SendBirdSendbirdMessageResponseExtendedMessagePayloadDeserializer extends StdDeserializer { - public SendBirdSendbirdMessageResponseExtendedMessagePayloadDeserializer() { - this(SendBirdSendbirdMessageResponseExtendedMessagePayload.class); + public static class SendBirdSendBirdMessageResponseExtendedMessagePayloadDeserializer extends StdDeserializer { + public SendBirdSendBirdMessageResponseExtendedMessagePayloadDeserializer() { + this(SendBirdSendBirdMessageResponseExtendedMessagePayload.class); } - public SendBirdSendbirdMessageResponseExtendedMessagePayloadDeserializer(Class vc) { + public SendBirdSendBirdMessageResponseExtendedMessagePayloadDeserializer(Class vc) { super(vc); } @Override - public SendBirdSendbirdMessageResponseExtendedMessagePayload deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + public SendBirdSendBirdMessageResponseExtendedMessagePayload deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { JsonNode tree = jp.readValueAsTree(); Object deserialized = null; boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); int match = 0; JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendBirdSendbirdExtendedMessagePayload + // deserialize SendBirdSendBirdExtendedMessagePayload try { boolean attemptParsing = true; // ensure that we respect type coercion as set on the client ObjectMapper - if (SendBirdSendbirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Long.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Float.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Double.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Boolean.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(String.class)) { + if (SendBirdSendBirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Long.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Float.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Double.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Boolean.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(String.class)) { attemptParsing = typeCoercion; if (!attemptParsing) { - attemptParsing |= ((SendBirdSendbirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendBirdSendbirdExtendedMessagePayload.class.equals(Float.class) || SendBirdSendbirdExtendedMessagePayload.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendBirdSendbirdExtendedMessagePayload.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendBirdSendbirdExtendedMessagePayload.class.equals(String.class) && token == JsonToken.VALUE_STRING); + attemptParsing |= ((SendBirdSendBirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendBirdSendBirdExtendedMessagePayload.class.equals(Float.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendBirdSendBirdExtendedMessagePayload.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendBirdSendBirdExtendedMessagePayload.class.equals(String.class) && token == JsonToken.VALUE_STRING); } } if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendbirdExtendedMessagePayload.class); + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendBirdExtendedMessagePayload.class); // TODO: there is no validation against JSON schema constraints // (min, max, enum, pattern...), this does not perform a strict JSON // validation, which means the 'match' count may be higher than it should be. match++; - log.log(Level.FINER, "Input data matches schema 'SendBirdSendbirdExtendedMessagePayload'"); + log.log(Level.FINER, "Input data matches schema 'SendBirdSendBirdExtendedMessagePayload'"); } } catch (Exception e) { // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendBirdSendbirdExtendedMessagePayload'", e); + log.log(Level.FINER, "Input data does not match schema 'SendBirdSendBirdExtendedMessagePayload'", e); } if (match == 1) { - SendBirdSendbirdMessageResponseExtendedMessagePayload ret = new SendBirdSendbirdMessageResponseExtendedMessagePayload(); + SendBirdSendBirdMessageResponseExtendedMessagePayload ret = new SendBirdSendBirdMessageResponseExtendedMessagePayload(); ret.setActualInstance(deserialized); return ret; } - throw new IOException(String.format("Failed deserialization for SendBirdSendbirdMessageResponseExtendedMessagePayload: %d classes match result, expected 1", match)); + throw new IOException(String.format("Failed deserialization for SendBirdSendBirdMessageResponseExtendedMessagePayload: %d classes match result, expected 1", match)); } /** * Handle deserialization of the 'null' value. */ @Override - public SendBirdSendbirdMessageResponseExtendedMessagePayload getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendBirdSendbirdMessageResponseExtendedMessagePayload cannot be null"); + public SendBirdSendBirdMessageResponseExtendedMessagePayload getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendBirdSendBirdMessageResponseExtendedMessagePayload cannot be null"); } } // store a list of schema names defined in oneOf public static final Map schemas = new HashMap(); - public SendBirdSendbirdMessageResponseExtendedMessagePayload() { + public SendBirdSendBirdMessageResponseExtendedMessagePayload() { super("oneOf", Boolean.FALSE); } - public SendBirdSendbirdMessageResponseExtendedMessagePayload(SendBirdSendbirdExtendedMessagePayload o) { + public SendBirdSendBirdMessageResponseExtendedMessagePayload(SendBirdSendBirdExtendedMessagePayload o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } static { - schemas.put("SendBirdSendbirdExtendedMessagePayload", new GenericType() { + schemas.put("SendBirdSendBirdExtendedMessagePayload", new GenericType() { }); - JSON.registerDescendants(SendBirdSendbirdMessageResponseExtendedMessagePayload.class, Collections.unmodifiableMap(schemas)); + JSON.registerDescendants(SendBirdSendBirdMessageResponseExtendedMessagePayload.class, Collections.unmodifiableMap(schemas)); } @Override public Map getSchemas() { - return SendBirdSendbirdMessageResponseExtendedMessagePayload.schemas; + return SendBirdSendBirdMessageResponseExtendedMessagePayload.schemas; } /** * Set the instance that matches the oneOf child schema, check * the instance parameter is valid against the oneOf child schemas: - * SendBirdSendbirdExtendedMessagePayload + * SendBirdSendBirdExtendedMessagePayload * * It could be an instance of the 'oneOf' schemas. * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). */ @Override public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendBirdSendbirdExtendedMessagePayload.class, instance, new HashSet>())) { + if (JSON.isInstanceOf(SendBirdSendBirdExtendedMessagePayload.class, instance, new HashSet>())) { super.setActualInstance(instance); return; } - throw new RuntimeException("Invalid instance type. Must be SendBirdSendbirdExtendedMessagePayload"); + throw new RuntimeException("Invalid instance type. Must be SendBirdSendBirdExtendedMessagePayload"); } /** * Get the actual instance, which can be the following: - * SendBirdSendbirdExtendedMessagePayload + * SendBirdSendBirdExtendedMessagePayload * - * @return The actual instance (SendBirdSendbirdExtendedMessagePayload) + * @return The actual instance (SendBirdSendBirdExtendedMessagePayload) */ @Override public Object getActualInstance() { @@ -190,14 +190,14 @@ public Object getActualInstance() { } /** - * Get the actual instance of `SendBirdSendbirdExtendedMessagePayload`. If the actual instance is not `SendBirdSendbirdExtendedMessagePayload`, + * Get the actual instance of `SendBirdSendBirdExtendedMessagePayload`. If the actual instance is not `SendBirdSendBirdExtendedMessagePayload`, * the ClassCastException will be thrown. * - * @return The actual instance of `SendBirdSendbirdExtendedMessagePayload` - * @throws ClassCastException if the instance is not `SendBirdSendbirdExtendedMessagePayload` + * @return The actual instance of `SendBirdSendBirdExtendedMessagePayload` + * @throws ClassCastException if the instance is not `SendBirdSendBirdExtendedMessagePayload` */ - public SendBirdSendbirdExtendedMessagePayload getSendBirdSendbirdExtendedMessagePayload() throws ClassCastException { - return (SendBirdSendbirdExtendedMessagePayload)super.getActualInstance(); + public SendBirdSendBirdExtendedMessagePayload getSendBirdSendBirdExtendedMessagePayload() throws ClassCastException { + return (SendBirdSendBirdExtendedMessagePayload)super.getActualInstance(); } } diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java index 9d072ae1..8ef2e580 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java @@ -29,17 +29,17 @@ /** - * SendBirdSendbirdMessageResponseMessageEvents + * SendBirdSendBirdMessageResponseMessageEvents */ @JsonPropertyOrder({ - SendBirdSendbirdMessageResponseMessageEvents.JSON_PROPERTY_SEND_PUSH_NOTIFICATION, - SendBirdSendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_UNREAD_COUNT, - SendBirdSendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_MENTION_COUNT, - SendBirdSendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_LAST_MESSAGE + SendBirdSendBirdMessageResponseMessageEvents.JSON_PROPERTY_SEND_PUSH_NOTIFICATION, + SendBirdSendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_UNREAD_COUNT, + SendBirdSendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_MENTION_COUNT, + SendBirdSendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_LAST_MESSAGE }) -@JsonTypeName("Sendbird_MessageResponse_message_events") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdMessageResponseMessageEvents { +@JsonTypeName("SendBird_MessageResponse_message_events") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdMessageResponseMessageEvents { public static final String JSON_PROPERTY_SEND_PUSH_NOTIFICATION = "send_push_notification"; private String sendPushNotification; @@ -52,10 +52,10 @@ public class SendBirdSendbirdMessageResponseMessageEvents { public static final String JSON_PROPERTY_UPDATE_LAST_MESSAGE = "update_last_message"; private Boolean updateLastMessage; - public SendBirdSendbirdMessageResponseMessageEvents() { + public SendBirdSendBirdMessageResponseMessageEvents() { } - public SendBirdSendbirdMessageResponseMessageEvents sendPushNotification(String sendPushNotification) { + public SendBirdSendBirdMessageResponseMessageEvents sendPushNotification(String sendPushNotification) { this.sendPushNotification = sendPushNotification; return this; } @@ -81,7 +81,7 @@ public void setSendPushNotification(String sendPushNotification) { } - public SendBirdSendbirdMessageResponseMessageEvents updateUnreadCount(Boolean updateUnreadCount) { + public SendBirdSendBirdMessageResponseMessageEvents updateUnreadCount(Boolean updateUnreadCount) { this.updateUnreadCount = updateUnreadCount; return this; } @@ -107,7 +107,7 @@ public void setUpdateUnreadCount(Boolean updateUnreadCount) { } - public SendBirdSendbirdMessageResponseMessageEvents updateMentionCount(Boolean updateMentionCount) { + public SendBirdSendBirdMessageResponseMessageEvents updateMentionCount(Boolean updateMentionCount) { this.updateMentionCount = updateMentionCount; return this; } @@ -133,7 +133,7 @@ public void setUpdateMentionCount(Boolean updateMentionCount) { } - public SendBirdSendbirdMessageResponseMessageEvents updateLastMessage(Boolean updateLastMessage) { + public SendBirdSendBirdMessageResponseMessageEvents updateLastMessage(Boolean updateLastMessage) { this.updateLastMessage = updateLastMessage; return this; } @@ -160,7 +160,7 @@ public void setUpdateLastMessage(Boolean updateLastMessage) { /** - * Return true if this Sendbird_MessageResponse_message_events object is equal to o. + * Return true if this SendBird_MessageResponse_message_events object is equal to o. */ @Override public boolean equals(Object o) { @@ -170,11 +170,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdMessageResponseMessageEvents sendbirdMessageResponseMessageEvents = (SendBirdSendbirdMessageResponseMessageEvents) o; - return Objects.equals(this.sendPushNotification, sendbirdMessageResponseMessageEvents.sendPushNotification) && - Objects.equals(this.updateUnreadCount, sendbirdMessageResponseMessageEvents.updateUnreadCount) && - Objects.equals(this.updateMentionCount, sendbirdMessageResponseMessageEvents.updateMentionCount) && - Objects.equals(this.updateLastMessage, sendbirdMessageResponseMessageEvents.updateLastMessage); + SendBirdSendBirdMessageResponseMessageEvents sendBirdMessageResponseMessageEvents = (SendBirdSendBirdMessageResponseMessageEvents) o; + return Objects.equals(this.sendPushNotification, sendBirdMessageResponseMessageEvents.sendPushNotification) && + Objects.equals(this.updateUnreadCount, sendBirdMessageResponseMessageEvents.updateUnreadCount) && + Objects.equals(this.updateMentionCount, sendBirdMessageResponseMessageEvents.updateMentionCount) && + Objects.equals(this.updateLastMessage, sendBirdMessageResponseMessageEvents.updateLastMessage); } @Override @@ -185,7 +185,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdMessageResponseMessageEvents {\n"); + sb.append("class SendBirdSendBirdMessageResponseMessageEvents {\n"); sb.append(" sendPushNotification: ").append(toIndentedString(sendPushNotification)).append("\n"); sb.append(" updateUnreadCount: ").append(toIndentedString(updateUnreadCount)).append("\n"); sb.append(" updateMentionCount: ").append(toIndentedString(updateMentionCount)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java index 9b0dcf3c..b5c0f466 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -36,26 +36,26 @@ /** - * SendBirdSendbirdOpenChannel + * SendBirdSendBirdOpenChannel */ @JsonPropertyOrder({ - SendBirdSendbirdOpenChannel.JSON_PROPERTY_CHANNEL_URL, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_COVER_URL, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_CREATED_AT, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_DATA, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_FREEZE, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_IS_DYNAMIC_PARTITIONED, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_NAME, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_OPERATORS, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_PARTICIPANT_COUNT, - SendBirdSendbirdOpenChannel.JSON_PROPERTY_METADATA + SendBirdSendBirdOpenChannel.JSON_PROPERTY_CHANNEL_URL, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_COVER_URL, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_CREATED_AT, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_DATA, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_FREEZE, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_IS_DYNAMIC_PARTITIONED, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_NAME, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_OPERATORS, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_PARTICIPANT_COUNT, + SendBirdSendBirdOpenChannel.JSON_PROPERTY_METADATA }) -@JsonTypeName("Sendbird.OpenChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdOpenChannel { +@JsonTypeName("SendBird.OpenChannel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdOpenChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -87,7 +87,7 @@ public class SendBirdSendbirdOpenChannel { private String name; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public static final String JSON_PROPERTY_PARTICIPANT_COUNT = "participant_count"; private Integer participantCount; @@ -95,10 +95,10 @@ public class SendBirdSendbirdOpenChannel { public static final String JSON_PROPERTY_METADATA = "metadata"; private JsonNullable metadata = JsonNullable.undefined(); - public SendBirdSendbirdOpenChannel() { + public SendBirdSendBirdOpenChannel() { } - public SendBirdSendbirdOpenChannel channelUrl(String channelUrl) { + public SendBirdSendBirdOpenChannel channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -124,7 +124,7 @@ public void setChannelUrl(String channelUrl) { } - public SendBirdSendbirdOpenChannel coverUrl(String coverUrl) { + public SendBirdSendBirdOpenChannel coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -150,7 +150,7 @@ public void setCoverUrl(String coverUrl) { } - public SendBirdSendbirdOpenChannel createdAt(Long createdAt) { + public SendBirdSendBirdOpenChannel createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -176,7 +176,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdSendbirdOpenChannel customType(String customType) { + public SendBirdSendBirdOpenChannel customType(String customType) { this.customType = customType; return this; } @@ -202,7 +202,7 @@ public void setCustomType(String customType) { } - public SendBirdSendbirdOpenChannel data(String data) { + public SendBirdSendBirdOpenChannel data(String data) { this.data = data; return this; } @@ -228,7 +228,7 @@ public void setData(String data) { } - public SendBirdSendbirdOpenChannel freeze(Boolean freeze) { + public SendBirdSendBirdOpenChannel freeze(Boolean freeze) { this.freeze = freeze; return this; } @@ -254,7 +254,7 @@ public void setFreeze(Boolean freeze) { } - public SendBirdSendbirdOpenChannel isDynamicPartitioned(Boolean isDynamicPartitioned) { + public SendBirdSendBirdOpenChannel isDynamicPartitioned(Boolean isDynamicPartitioned) { this.isDynamicPartitioned = isDynamicPartitioned; return this; } @@ -280,7 +280,7 @@ public void setIsDynamicPartitioned(Boolean isDynamicPartitioned) { } - public SendBirdSendbirdOpenChannel isEphemeral(Boolean isEphemeral) { + public SendBirdSendBirdOpenChannel isEphemeral(Boolean isEphemeral) { this.isEphemeral = isEphemeral; return this; } @@ -306,7 +306,7 @@ public void setIsEphemeral(Boolean isEphemeral) { } - public SendBirdSendbirdOpenChannel maxLengthMessage(Integer maxLengthMessage) { + public SendBirdSendBirdOpenChannel maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -332,7 +332,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendBirdSendbirdOpenChannel name(String name) { + public SendBirdSendBirdOpenChannel name(String name) { this.name = name; return this; } @@ -358,12 +358,12 @@ public void setName(String name) { } - public SendBirdSendbirdOpenChannel operators(List operators) { + public SendBirdSendBirdOpenChannel operators(List operators) { this.operators = operators; return this; } - public SendBirdSendbirdOpenChannel addOperatorsItem(SendBirdSendbirdBasicUserInfo operatorsItem) { + public SendBirdSendBirdOpenChannel addOperatorsItem(SendBirdSendBirdBasicUserInfo operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -380,19 +380,19 @@ public SendBirdSendbirdOpenChannel addOperatorsItem(SendBirdSendbirdBasicUserInf @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } - public SendBirdSendbirdOpenChannel participantCount(Integer participantCount) { + public SendBirdSendBirdOpenChannel participantCount(Integer participantCount) { this.participantCount = participantCount; return this; } @@ -418,7 +418,7 @@ public void setParticipantCount(Integer participantCount) { } - public SendBirdSendbirdOpenChannel metadata(Object metadata) { + public SendBirdSendBirdOpenChannel metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -453,7 +453,7 @@ public void setMetadata(Object metadata) { /** - * Return true if this Sendbird.OpenChannel object is equal to o. + * Return true if this SendBird.OpenChannel object is equal to o. */ @Override public boolean equals(Object o) { @@ -463,20 +463,20 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdOpenChannel sendbirdOpenChannel = (SendBirdSendbirdOpenChannel) o; - return Objects.equals(this.channelUrl, sendbirdOpenChannel.channelUrl) && - Objects.equals(this.coverUrl, sendbirdOpenChannel.coverUrl) && - Objects.equals(this.createdAt, sendbirdOpenChannel.createdAt) && - Objects.equals(this.customType, sendbirdOpenChannel.customType) && - Objects.equals(this.data, sendbirdOpenChannel.data) && - Objects.equals(this.freeze, sendbirdOpenChannel.freeze) && - Objects.equals(this.isDynamicPartitioned, sendbirdOpenChannel.isDynamicPartitioned) && - Objects.equals(this.isEphemeral, sendbirdOpenChannel.isEphemeral) && - Objects.equals(this.maxLengthMessage, sendbirdOpenChannel.maxLengthMessage) && - Objects.equals(this.name, sendbirdOpenChannel.name) && - Objects.equals(this.operators, sendbirdOpenChannel.operators) && - Objects.equals(this.participantCount, sendbirdOpenChannel.participantCount) && - equalsNullable(this.metadata, sendbirdOpenChannel.metadata); + SendBirdSendBirdOpenChannel sendBirdOpenChannel = (SendBirdSendBirdOpenChannel) o; + return Objects.equals(this.channelUrl, sendBirdOpenChannel.channelUrl) && + Objects.equals(this.coverUrl, sendBirdOpenChannel.coverUrl) && + Objects.equals(this.createdAt, sendBirdOpenChannel.createdAt) && + Objects.equals(this.customType, sendBirdOpenChannel.customType) && + Objects.equals(this.data, sendBirdOpenChannel.data) && + Objects.equals(this.freeze, sendBirdOpenChannel.freeze) && + Objects.equals(this.isDynamicPartitioned, sendBirdOpenChannel.isDynamicPartitioned) && + Objects.equals(this.isEphemeral, sendBirdOpenChannel.isEphemeral) && + Objects.equals(this.maxLengthMessage, sendBirdOpenChannel.maxLengthMessage) && + Objects.equals(this.name, sendBirdOpenChannel.name) && + Objects.equals(this.operators, sendBirdOpenChannel.operators) && + Objects.equals(this.participantCount, sendBirdOpenChannel.participantCount) && + equalsNullable(this.metadata, sendBirdOpenChannel.metadata); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -498,7 +498,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdOpenChannel {\n"); + sb.append("class SendBirdSendBirdOpenChannel {\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java index 59e99c5d..1383cf42 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java @@ -26,27 +26,27 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdFile; -import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.client.model.SendBirdSendBirdFile; +import org.openapitools.client.model.SendBirdSendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; /** - * SendBirdSendbirdParentMessageInfo + * SendBirdSendBirdParentMessageInfo */ @JsonPropertyOrder({ - SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_MESSAGE, - SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_TYPE, - SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_TS, - SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_USER, - SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_FILE, - SendBirdSendbirdParentMessageInfo.JSON_PROPERTY_FILES + SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_MESSAGE, + SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_TYPE, + SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_TS, + SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_USER, + SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_FILE, + SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_FILES }) -@JsonTypeName("Sendbird.ParentMessageInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdParentMessageInfo { +@JsonTypeName("SendBird.ParentMessageInfo") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdParentMessageInfo { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -60,18 +60,18 @@ public class SendBirdSendbirdParentMessageInfo { private Long ts; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendbirdUser user; + private SendBirdSendBirdUser user; public static final String JSON_PROPERTY_FILE = "file"; - private SendBirdSendbirdFile _file; + private SendBirdSendBirdFile _file; public static final String JSON_PROPERTY_FILES = "files"; - private List files = null; + private List files = null; - public SendBirdSendbirdParentMessageInfo() { + public SendBirdSendBirdParentMessageInfo() { } - public SendBirdSendbirdParentMessageInfo customType(String customType) { + public SendBirdSendBirdParentMessageInfo customType(String customType) { this.customType = customType; return this; } @@ -97,7 +97,7 @@ public void setCustomType(String customType) { } - public SendBirdSendbirdParentMessageInfo message(String message) { + public SendBirdSendBirdParentMessageInfo message(String message) { this.message = message; return this; } @@ -123,7 +123,7 @@ public void setMessage(String message) { } - public SendBirdSendbirdParentMessageInfo type(String type) { + public SendBirdSendBirdParentMessageInfo type(String type) { this.type = type; return this; } @@ -149,7 +149,7 @@ public void setType(String type) { } - public SendBirdSendbirdParentMessageInfo ts(Long ts) { + public SendBirdSendBirdParentMessageInfo ts(Long ts) { this.ts = ts; return this; } @@ -175,7 +175,7 @@ public void setTs(Long ts) { } - public SendBirdSendbirdParentMessageInfo user(SendBirdSendbirdUser user) { + public SendBirdSendBirdParentMessageInfo user(SendBirdSendBirdUser user) { this.user = user; return this; } @@ -189,19 +189,19 @@ public SendBirdSendbirdParentMessageInfo user(SendBirdSendbirdUser user) { @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdUser getUser() { + public SendBirdSendBirdUser getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendbirdUser user) { + public void setUser(SendBirdSendBirdUser user) { this.user = user; } - public SendBirdSendbirdParentMessageInfo _file(SendBirdSendbirdFile _file) { + public SendBirdSendBirdParentMessageInfo _file(SendBirdSendBirdFile _file) { this._file = _file; return this; } @@ -215,24 +215,24 @@ public SendBirdSendbirdParentMessageInfo _file(SendBirdSendbirdFile _file) { @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdFile getFile() { + public SendBirdSendBirdFile getFile() { return _file; } @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFile(SendBirdSendbirdFile _file) { + public void setFile(SendBirdSendBirdFile _file) { this._file = _file; } - public SendBirdSendbirdParentMessageInfo files(List files) { + public SendBirdSendBirdParentMessageInfo files(List files) { this.files = files; return this; } - public SendBirdSendbirdParentMessageInfo addFilesItem(SendBirdSendbirdFile filesItem) { + public SendBirdSendBirdParentMessageInfo addFilesItem(SendBirdSendBirdFile filesItem) { if (this.files == null) { this.files = new ArrayList<>(); } @@ -249,20 +249,20 @@ public SendBirdSendbirdParentMessageInfo addFilesItem(SendBirdSendbirdFile files @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFiles() { + public List getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(List files) { + public void setFiles(List files) { this.files = files; } /** - * Return true if this Sendbird.ParentMessageInfo object is equal to o. + * Return true if this SendBird.ParentMessageInfo object is equal to o. */ @Override public boolean equals(Object o) { @@ -272,14 +272,14 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdParentMessageInfo sendbirdParentMessageInfo = (SendBirdSendbirdParentMessageInfo) o; - return Objects.equals(this.customType, sendbirdParentMessageInfo.customType) && - Objects.equals(this.message, sendbirdParentMessageInfo.message) && - Objects.equals(this.type, sendbirdParentMessageInfo.type) && - Objects.equals(this.ts, sendbirdParentMessageInfo.ts) && - Objects.equals(this.user, sendbirdParentMessageInfo.user) && - Objects.equals(this._file, sendbirdParentMessageInfo._file) && - Objects.equals(this.files, sendbirdParentMessageInfo.files); + SendBirdSendBirdParentMessageInfo sendBirdParentMessageInfo = (SendBirdSendBirdParentMessageInfo) o; + return Objects.equals(this.customType, sendBirdParentMessageInfo.customType) && + Objects.equals(this.message, sendBirdParentMessageInfo.message) && + Objects.equals(this.type, sendBirdParentMessageInfo.type) && + Objects.equals(this.ts, sendBirdParentMessageInfo.ts) && + Objects.equals(this.user, sendBirdParentMessageInfo.user) && + Objects.equals(this._file, sendBirdParentMessageInfo._file) && + Objects.equals(this.files, sendBirdParentMessageInfo.files); } @Override @@ -290,7 +290,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdParentMessageInfo {\n"); + sb.append("class SendBirdSendBirdParentMessageInfo {\n"); sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java index 58008c78..af3ee2e8 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java @@ -25,9 +25,9 @@ import com.fasterxml.jackson.annotation.JsonValue; /** - * Gets or Sets Sendbird.PushTriggerOption + * Gets or Sets SendBird.PushTriggerOption */ -public enum SendBirdSendbirdPushTriggerOption { +public enum SendBirdSendBirdPushTriggerOption { ALL("all"), @@ -37,7 +37,7 @@ public enum SendBirdSendbirdPushTriggerOption { private String value; - SendBirdSendbirdPushTriggerOption(String value) { + SendBirdSendBirdPushTriggerOption(String value) { this.value = value; } @@ -52,8 +52,8 @@ public String toString() { } @JsonCreator - public static SendBirdSendbirdPushTriggerOption fromValue(String value) { - for (SendBirdSendbirdPushTriggerOption b : SendBirdSendbirdPushTriggerOption.values()) { + public static SendBirdSendBirdPushTriggerOption fromValue(String value) { + for (SendBirdSendBirdPushTriggerOption b : SendBirdSendBirdPushTriggerOption.values()) { if (b.value.equals(value)) { return b; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java index 7e6e13e6..cc010411 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java @@ -31,16 +31,16 @@ /** - * SendBirdSendbirdReaction + * SendBirdSendBirdReaction */ @JsonPropertyOrder({ - SendBirdSendbirdReaction.JSON_PROPERTY_KEY, - SendBirdSendbirdReaction.JSON_PROPERTY_UPDATED_AT, - SendBirdSendbirdReaction.JSON_PROPERTY_USER_IDS + SendBirdSendBirdReaction.JSON_PROPERTY_KEY, + SendBirdSendBirdReaction.JSON_PROPERTY_UPDATED_AT, + SendBirdSendBirdReaction.JSON_PROPERTY_USER_IDS }) -@JsonTypeName("Sendbird.Reaction") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdReaction { +@JsonTypeName("SendBird.Reaction") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdReaction { public static final String JSON_PROPERTY_KEY = "key"; private String key; @@ -50,10 +50,10 @@ public class SendBirdSendbirdReaction { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = null; - public SendBirdSendbirdReaction() { + public SendBirdSendBirdReaction() { } - public SendBirdSendbirdReaction key(String key) { + public SendBirdSendBirdReaction key(String key) { this.key = key; return this; } @@ -79,7 +79,7 @@ public void setKey(String key) { } - public SendBirdSendbirdReaction updatedAt(Long updatedAt) { + public SendBirdSendBirdReaction updatedAt(Long updatedAt) { this.updatedAt = updatedAt; return this; } @@ -105,12 +105,12 @@ public void setUpdatedAt(Long updatedAt) { } - public SendBirdSendbirdReaction userIds(List userIds) { + public SendBirdSendBirdReaction userIds(List userIds) { this.userIds = userIds; return this; } - public SendBirdSendbirdReaction addUserIdsItem(String userIdsItem) { + public SendBirdSendBirdReaction addUserIdsItem(String userIdsItem) { if (this.userIds == null) { this.userIds = new ArrayList<>(); } @@ -140,7 +140,7 @@ public void setUserIds(List userIds) { /** - * Return true if this Sendbird.Reaction object is equal to o. + * Return true if this SendBird.Reaction object is equal to o. */ @Override public boolean equals(Object o) { @@ -150,10 +150,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdReaction sendbirdReaction = (SendBirdSendbirdReaction) o; - return Objects.equals(this.key, sendbirdReaction.key) && - Objects.equals(this.updatedAt, sendbirdReaction.updatedAt) && - Objects.equals(this.userIds, sendbirdReaction.userIds); + SendBirdSendBirdReaction sendBirdReaction = (SendBirdSendBirdReaction) o; + return Objects.equals(this.key, sendBirdReaction.key) && + Objects.equals(this.updatedAt, sendBirdReaction.updatedAt) && + Objects.equals(this.userIds, sendBirdReaction.userIds); } @Override @@ -164,7 +164,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdReaction {\n"); + sb.append("class SendBirdSendBirdReaction {\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java index d31d1d62..c12dfb97 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java @@ -31,25 +31,25 @@ /** - * SendBirdSendbirdSmsFallback + * SendBirdSendBirdSmsFallback */ @JsonPropertyOrder({ - SendBirdSendbirdSmsFallback.JSON_PROPERTY_WAIT_SECONDS, - SendBirdSendbirdSmsFallback.JSON_PROPERTY_EXCLUDE_USER_IDS + SendBirdSendBirdSmsFallback.JSON_PROPERTY_WAIT_SECONDS, + SendBirdSendBirdSmsFallback.JSON_PROPERTY_EXCLUDE_USER_IDS }) -@JsonTypeName("Sendbird.SmsFallback") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdSmsFallback { +@JsonTypeName("SendBird.SmsFallback") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdSmsFallback { public static final String JSON_PROPERTY_WAIT_SECONDS = "wait_seconds"; private Integer waitSeconds; public static final String JSON_PROPERTY_EXCLUDE_USER_IDS = "exclude_user_ids"; private List excludeUserIds = null; - public SendBirdSendbirdSmsFallback() { + public SendBirdSendBirdSmsFallback() { } - public SendBirdSendbirdSmsFallback waitSeconds(Integer waitSeconds) { + public SendBirdSendBirdSmsFallback waitSeconds(Integer waitSeconds) { this.waitSeconds = waitSeconds; return this; } @@ -75,12 +75,12 @@ public void setWaitSeconds(Integer waitSeconds) { } - public SendBirdSendbirdSmsFallback excludeUserIds(List excludeUserIds) { + public SendBirdSendBirdSmsFallback excludeUserIds(List excludeUserIds) { this.excludeUserIds = excludeUserIds; return this; } - public SendBirdSendbirdSmsFallback addExcludeUserIdsItem(String excludeUserIdsItem) { + public SendBirdSendBirdSmsFallback addExcludeUserIdsItem(String excludeUserIdsItem) { if (this.excludeUserIds == null) { this.excludeUserIds = new ArrayList<>(); } @@ -110,7 +110,7 @@ public void setExcludeUserIds(List excludeUserIds) { /** - * Return true if this Sendbird.SmsFallback object is equal to o. + * Return true if this SendBird.SmsFallback object is equal to o. */ @Override public boolean equals(Object o) { @@ -120,9 +120,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdSmsFallback sendbirdSmsFallback = (SendBirdSendbirdSmsFallback) o; - return Objects.equals(this.waitSeconds, sendbirdSmsFallback.waitSeconds) && - Objects.equals(this.excludeUserIds, sendbirdSmsFallback.excludeUserIds); + SendBirdSendBirdSmsFallback sendBirdSmsFallback = (SendBirdSendBirdSmsFallback) o; + return Objects.equals(this.waitSeconds, sendBirdSmsFallback.waitSeconds) && + Objects.equals(this.excludeUserIds, sendBirdSmsFallback.excludeUserIds); } @Override @@ -133,7 +133,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdSmsFallback {\n"); + sb.append("class SendBirdSendBirdSmsFallback {\n"); sb.append(" waitSeconds: ").append(toIndentedString(waitSeconds)).append("\n"); sb.append(" excludeUserIds: ").append(toIndentedString(excludeUserIds)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java index 94bc7c5c..033ccf52 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java @@ -31,25 +31,25 @@ /** - * SendBirdSendbirdSortedMetaarrayInner + * SendBirdSendBirdSortedMetaarrayInner */ @JsonPropertyOrder({ - SendBirdSendbirdSortedMetaarrayInner.JSON_PROPERTY_KEY, - SendBirdSendbirdSortedMetaarrayInner.JSON_PROPERTY_VALUE + SendBirdSendBirdSortedMetaarrayInner.JSON_PROPERTY_KEY, + SendBirdSendBirdSortedMetaarrayInner.JSON_PROPERTY_VALUE }) -@JsonTypeName("Sendbird_SortedMetaarray_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdSortedMetaarrayInner { +@JsonTypeName("SendBird_SortedMetaarray_inner") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdSortedMetaarrayInner { public static final String JSON_PROPERTY_KEY = "key"; private String key; public static final String JSON_PROPERTY_VALUE = "value"; private List value = null; - public SendBirdSendbirdSortedMetaarrayInner() { + public SendBirdSendBirdSortedMetaarrayInner() { } - public SendBirdSendbirdSortedMetaarrayInner key(String key) { + public SendBirdSendBirdSortedMetaarrayInner key(String key) { this.key = key; return this; } @@ -75,12 +75,12 @@ public void setKey(String key) { } - public SendBirdSendbirdSortedMetaarrayInner value(List value) { + public SendBirdSendBirdSortedMetaarrayInner value(List value) { this.value = value; return this; } - public SendBirdSendbirdSortedMetaarrayInner addValueItem(String valueItem) { + public SendBirdSendBirdSortedMetaarrayInner addValueItem(String valueItem) { if (this.value == null) { this.value = new ArrayList<>(); } @@ -110,7 +110,7 @@ public void setValue(List value) { /** - * Return true if this Sendbird_SortedMetaarray_inner object is equal to o. + * Return true if this SendBird_SortedMetaarray_inner object is equal to o. */ @Override public boolean equals(Object o) { @@ -120,9 +120,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdSortedMetaarrayInner sendbirdSortedMetaarrayInner = (SendBirdSendbirdSortedMetaarrayInner) o; - return Objects.equals(this.key, sendbirdSortedMetaarrayInner.key) && - Objects.equals(this.value, sendbirdSortedMetaarrayInner.value); + SendBirdSendBirdSortedMetaarrayInner sendBirdSortedMetaarrayInner = (SendBirdSendBirdSortedMetaarrayInner) o; + return Objects.equals(this.key, sendBirdSortedMetaarrayInner.key) && + Objects.equals(this.value, sendBirdSortedMetaarrayInner.value); } @Override @@ -133,7 +133,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdSortedMetaarrayInner {\n"); + sb.append("class SendBirdSendBirdSortedMetaarrayInner {\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java index a1a9c180..63c0cc84 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java @@ -29,19 +29,19 @@ /** - * SendBirdSendbirdThumbnail + * SendBirdSendBirdThumbnail */ @JsonPropertyOrder({ - SendBirdSendbirdThumbnail.JSON_PROPERTY_HEIGHT, - SendBirdSendbirdThumbnail.JSON_PROPERTY_PLAIN_URL, - SendBirdSendbirdThumbnail.JSON_PROPERTY_REAL_HEIGHT, - SendBirdSendbirdThumbnail.JSON_PROPERTY_REAL_WIDTH, - SendBirdSendbirdThumbnail.JSON_PROPERTY_URL, - SendBirdSendbirdThumbnail.JSON_PROPERTY_WIDTH + SendBirdSendBirdThumbnail.JSON_PROPERTY_HEIGHT, + SendBirdSendBirdThumbnail.JSON_PROPERTY_PLAIN_URL, + SendBirdSendBirdThumbnail.JSON_PROPERTY_REAL_HEIGHT, + SendBirdSendBirdThumbnail.JSON_PROPERTY_REAL_WIDTH, + SendBirdSendBirdThumbnail.JSON_PROPERTY_URL, + SendBirdSendBirdThumbnail.JSON_PROPERTY_WIDTH }) -@JsonTypeName("Sendbird.Thumbnail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdThumbnail { +@JsonTypeName("SendBird.Thumbnail") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdThumbnail { public static final String JSON_PROPERTY_HEIGHT = "height"; private Integer height; @@ -60,10 +60,10 @@ public class SendBirdSendbirdThumbnail { public static final String JSON_PROPERTY_WIDTH = "width"; private Integer width; - public SendBirdSendbirdThumbnail() { + public SendBirdSendBirdThumbnail() { } - public SendBirdSendbirdThumbnail height(Integer height) { + public SendBirdSendBirdThumbnail height(Integer height) { this.height = height; return this; } @@ -89,7 +89,7 @@ public void setHeight(Integer height) { } - public SendBirdSendbirdThumbnail plainUrl(String plainUrl) { + public SendBirdSendBirdThumbnail plainUrl(String plainUrl) { this.plainUrl = plainUrl; return this; } @@ -115,7 +115,7 @@ public void setPlainUrl(String plainUrl) { } - public SendBirdSendbirdThumbnail realHeight(Integer realHeight) { + public SendBirdSendBirdThumbnail realHeight(Integer realHeight) { this.realHeight = realHeight; return this; } @@ -141,7 +141,7 @@ public void setRealHeight(Integer realHeight) { } - public SendBirdSendbirdThumbnail realWidth(Integer realWidth) { + public SendBirdSendBirdThumbnail realWidth(Integer realWidth) { this.realWidth = realWidth; return this; } @@ -167,7 +167,7 @@ public void setRealWidth(Integer realWidth) { } - public SendBirdSendbirdThumbnail url(String url) { + public SendBirdSendBirdThumbnail url(String url) { this.url = url; return this; } @@ -193,7 +193,7 @@ public void setUrl(String url) { } - public SendBirdSendbirdThumbnail width(Integer width) { + public SendBirdSendBirdThumbnail width(Integer width) { this.width = width; return this; } @@ -220,7 +220,7 @@ public void setWidth(Integer width) { /** - * Return true if this Sendbird.Thumbnail object is equal to o. + * Return true if this SendBird.Thumbnail object is equal to o. */ @Override public boolean equals(Object o) { @@ -230,13 +230,13 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdThumbnail sendbirdThumbnail = (SendBirdSendbirdThumbnail) o; - return Objects.equals(this.height, sendbirdThumbnail.height) && - Objects.equals(this.plainUrl, sendbirdThumbnail.plainUrl) && - Objects.equals(this.realHeight, sendbirdThumbnail.realHeight) && - Objects.equals(this.realWidth, sendbirdThumbnail.realWidth) && - Objects.equals(this.url, sendbirdThumbnail.url) && - Objects.equals(this.width, sendbirdThumbnail.width); + SendBirdSendBirdThumbnail sendBirdThumbnail = (SendBirdSendBirdThumbnail) o; + return Objects.equals(this.height, sendBirdThumbnail.height) && + Objects.equals(this.plainUrl, sendBirdThumbnail.plainUrl) && + Objects.equals(this.realHeight, sendBirdThumbnail.realHeight) && + Objects.equals(this.realWidth, sendBirdThumbnail.realWidth) && + Objects.equals(this.url, sendBirdThumbnail.url) && + Objects.equals(this.width, sendBirdThumbnail.width); } @Override @@ -247,7 +247,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdThumbnail {\n"); + sb.append("class SendBirdSendBirdThumbnail {\n"); sb.append(" height: ").append(toIndentedString(height)).append("\n"); sb.append(" plainUrl: ").append(toIndentedString(plainUrl)).append("\n"); sb.append(" realHeight: ").append(toIndentedString(realHeight)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java index 5e66a224..39b7b282 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java +++ b/src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java @@ -39,31 +39,31 @@ */ @ApiModel(description = "User") @JsonPropertyOrder({ - SendBirdSendbirdUser.JSON_PROPERTY_ACCESS_TOKEN, - SendBirdSendbirdUser.JSON_PROPERTY_CREATED_AT, - SendBirdSendbirdUser.JSON_PROPERTY_DISCOVERY_KEYS, - SendBirdSendbirdUser.JSON_PROPERTY_HAS_EVER_LOGGED_IN, - SendBirdSendbirdUser.JSON_PROPERTY_IS_ACTIVE, - SendBirdSendbirdUser.JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS, - SendBirdSendbirdUser.JSON_PROPERTY_IS_ONLINE, - SendBirdSendbirdUser.JSON_PROPERTY_IS_SHADOW_BLOCKED, - SendBirdSendbirdUser.JSON_PROPERTY_LAST_SEEN_AT, - SendBirdSendbirdUser.JSON_PROPERTY_LOCALE, - SendBirdSendbirdUser.JSON_PROPERTY_METADATA, - SendBirdSendbirdUser.JSON_PROPERTY_NICKNAME, - SendBirdSendbirdUser.JSON_PROPERTY_PREFERRED_LANGUAGES, - SendBirdSendbirdUser.JSON_PROPERTY_PROFILE_URL, - SendBirdSendbirdUser.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendBirdSendbirdUser.JSON_PROPERTY_USER_ID, - SendBirdSendbirdUser.JSON_PROPERTY_STATE, - SendBirdSendbirdUser.JSON_PROPERTY_UNREAD_CHANNEL_COUNT, - SendBirdSendbirdUser.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, - SendBirdSendbirdUser.JSON_PROPERTY_PHONE_NUMBER, - SendBirdSendbirdUser.JSON_PROPERTY_IS_CREATED + SendBirdSendBirdUser.JSON_PROPERTY_ACCESS_TOKEN, + SendBirdSendBirdUser.JSON_PROPERTY_CREATED_AT, + SendBirdSendBirdUser.JSON_PROPERTY_DISCOVERY_KEYS, + SendBirdSendBirdUser.JSON_PROPERTY_HAS_EVER_LOGGED_IN, + SendBirdSendBirdUser.JSON_PROPERTY_IS_ACTIVE, + SendBirdSendBirdUser.JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS, + SendBirdSendBirdUser.JSON_PROPERTY_IS_ONLINE, + SendBirdSendBirdUser.JSON_PROPERTY_IS_SHADOW_BLOCKED, + SendBirdSendBirdUser.JSON_PROPERTY_LAST_SEEN_AT, + SendBirdSendBirdUser.JSON_PROPERTY_LOCALE, + SendBirdSendBirdUser.JSON_PROPERTY_METADATA, + SendBirdSendBirdUser.JSON_PROPERTY_NICKNAME, + SendBirdSendBirdUser.JSON_PROPERTY_PREFERRED_LANGUAGES, + SendBirdSendBirdUser.JSON_PROPERTY_PROFILE_URL, + SendBirdSendBirdUser.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendBirdSendBirdUser.JSON_PROPERTY_USER_ID, + SendBirdSendBirdUser.JSON_PROPERTY_STATE, + SendBirdSendBirdUser.JSON_PROPERTY_UNREAD_CHANNEL_COUNT, + SendBirdSendBirdUser.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, + SendBirdSendBirdUser.JSON_PROPERTY_PHONE_NUMBER, + SendBirdSendBirdUser.JSON_PROPERTY_IS_CREATED }) -@JsonTypeName("Sendbird.User") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") -public class SendBirdSendbirdUser { +@JsonTypeName("SendBird.User") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +public class SendBirdSendBirdUser { public static final String JSON_PROPERTY_ACCESS_TOKEN = "access_token"; private String accessToken; @@ -164,10 +164,10 @@ public static StateEnum fromValue(String value) { public static final String JSON_PROPERTY_IS_CREATED = "is_created"; private Boolean isCreated; - public SendBirdSendbirdUser() { + public SendBirdSendBirdUser() { } - public SendBirdSendbirdUser accessToken(String accessToken) { + public SendBirdSendBirdUser accessToken(String accessToken) { this.accessToken = accessToken; return this; } @@ -193,7 +193,7 @@ public void setAccessToken(String accessToken) { } - public SendBirdSendbirdUser createdAt(Long createdAt) { + public SendBirdSendBirdUser createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -219,12 +219,12 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdSendbirdUser discoveryKeys(List discoveryKeys) { + public SendBirdSendBirdUser discoveryKeys(List discoveryKeys) { this.discoveryKeys = JsonNullable.>of(discoveryKeys); return this; } - public SendBirdSendbirdUser addDiscoveryKeysItem(String discoveryKeysItem) { + public SendBirdSendBirdUser addDiscoveryKeysItem(String discoveryKeysItem) { if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); } @@ -265,7 +265,7 @@ public void setDiscoveryKeys(List discoveryKeys) { } - public SendBirdSendbirdUser hasEverLoggedIn(Boolean hasEverLoggedIn) { + public SendBirdSendBirdUser hasEverLoggedIn(Boolean hasEverLoggedIn) { this.hasEverLoggedIn = hasEverLoggedIn; return this; } @@ -291,7 +291,7 @@ public void setHasEverLoggedIn(Boolean hasEverLoggedIn) { } - public SendBirdSendbirdUser isActive(Boolean isActive) { + public SendBirdSendBirdUser isActive(Boolean isActive) { this.isActive = isActive; return this; } @@ -317,7 +317,7 @@ public void setIsActive(Boolean isActive) { } - public SendBirdSendbirdUser isHideMeFromFriends(Boolean isHideMeFromFriends) { + public SendBirdSendBirdUser isHideMeFromFriends(Boolean isHideMeFromFriends) { this.isHideMeFromFriends = isHideMeFromFriends; return this; } @@ -343,7 +343,7 @@ public void setIsHideMeFromFriends(Boolean isHideMeFromFriends) { } - public SendBirdSendbirdUser isOnline(Boolean isOnline) { + public SendBirdSendBirdUser isOnline(Boolean isOnline) { this.isOnline = isOnline; return this; } @@ -369,7 +369,7 @@ public void setIsOnline(Boolean isOnline) { } - public SendBirdSendbirdUser isShadowBlocked(Boolean isShadowBlocked) { + public SendBirdSendBirdUser isShadowBlocked(Boolean isShadowBlocked) { this.isShadowBlocked = isShadowBlocked; return this; } @@ -395,7 +395,7 @@ public void setIsShadowBlocked(Boolean isShadowBlocked) { } - public SendBirdSendbirdUser lastSeenAt(Long lastSeenAt) { + public SendBirdSendBirdUser lastSeenAt(Long lastSeenAt) { this.lastSeenAt = lastSeenAt; return this; } @@ -421,7 +421,7 @@ public void setLastSeenAt(Long lastSeenAt) { } - public SendBirdSendbirdUser locale(String locale) { + public SendBirdSendBirdUser locale(String locale) { this.locale = locale; return this; } @@ -447,7 +447,7 @@ public void setLocale(String locale) { } - public SendBirdSendbirdUser metadata(Object metadata) { + public SendBirdSendBirdUser metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -481,7 +481,7 @@ public void setMetadata(Object metadata) { } - public SendBirdSendbirdUser nickname(String nickname) { + public SendBirdSendBirdUser nickname(String nickname) { this.nickname = JsonNullable.of(nickname); return this; } @@ -515,12 +515,12 @@ public void setNickname(String nickname) { } - public SendBirdSendbirdUser preferredLanguages(List preferredLanguages) { + public SendBirdSendBirdUser preferredLanguages(List preferredLanguages) { this.preferredLanguages = JsonNullable.>of(preferredLanguages); return this; } - public SendBirdSendbirdUser addPreferredLanguagesItem(String preferredLanguagesItem) { + public SendBirdSendBirdUser addPreferredLanguagesItem(String preferredLanguagesItem) { if (this.preferredLanguages == null || !this.preferredLanguages.isPresent()) { this.preferredLanguages = JsonNullable.>of(new ArrayList<>()); } @@ -561,7 +561,7 @@ public void setPreferredLanguages(List preferredLanguages) { } - public SendBirdSendbirdUser profileUrl(String profileUrl) { + public SendBirdSendBirdUser profileUrl(String profileUrl) { this.profileUrl = profileUrl; return this; } @@ -587,7 +587,7 @@ public void setProfileUrl(String profileUrl) { } - public SendBirdSendbirdUser requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + public SendBirdSendBirdUser requireAuthForProfileImage(Boolean requireAuthForProfileImage) { this.requireAuthForProfileImage = requireAuthForProfileImage; return this; } @@ -613,7 +613,7 @@ public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { } - public SendBirdSendbirdUser userId(String userId) { + public SendBirdSendBirdUser userId(String userId) { this.userId = userId; return this; } @@ -639,7 +639,7 @@ public void setUserId(String userId) { } - public SendBirdSendbirdUser state(StateEnum state) { + public SendBirdSendBirdUser state(StateEnum state) { this.state = JsonNullable.of(state); return this; } @@ -673,7 +673,7 @@ public void setState(StateEnum state) { } - public SendBirdSendbirdUser unreadChannelCount(Integer unreadChannelCount) { + public SendBirdSendBirdUser unreadChannelCount(Integer unreadChannelCount) { this.unreadChannelCount = unreadChannelCount; return this; } @@ -699,7 +699,7 @@ public void setUnreadChannelCount(Integer unreadChannelCount) { } - public SendBirdSendbirdUser unreadMessageCount(Integer unreadMessageCount) { + public SendBirdSendBirdUser unreadMessageCount(Integer unreadMessageCount) { this.unreadMessageCount = unreadMessageCount; return this; } @@ -725,7 +725,7 @@ public void setUnreadMessageCount(Integer unreadMessageCount) { } - public SendBirdSendbirdUser phoneNumber(String phoneNumber) { + public SendBirdSendBirdUser phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } @@ -751,7 +751,7 @@ public void setPhoneNumber(String phoneNumber) { } - public SendBirdSendbirdUser isCreated(Boolean isCreated) { + public SendBirdSendBirdUser isCreated(Boolean isCreated) { this.isCreated = isCreated; return this; } @@ -778,7 +778,7 @@ public void setIsCreated(Boolean isCreated) { /** - * Return true if this Sendbird.User object is equal to o. + * Return true if this SendBird.User object is equal to o. */ @Override public boolean equals(Object o) { @@ -788,28 +788,28 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSendbirdUser sendbirdUser = (SendBirdSendbirdUser) o; - return Objects.equals(this.accessToken, sendbirdUser.accessToken) && - Objects.equals(this.createdAt, sendbirdUser.createdAt) && - equalsNullable(this.discoveryKeys, sendbirdUser.discoveryKeys) && - Objects.equals(this.hasEverLoggedIn, sendbirdUser.hasEverLoggedIn) && - Objects.equals(this.isActive, sendbirdUser.isActive) && - Objects.equals(this.isHideMeFromFriends, sendbirdUser.isHideMeFromFriends) && - Objects.equals(this.isOnline, sendbirdUser.isOnline) && - Objects.equals(this.isShadowBlocked, sendbirdUser.isShadowBlocked) && - Objects.equals(this.lastSeenAt, sendbirdUser.lastSeenAt) && - Objects.equals(this.locale, sendbirdUser.locale) && - equalsNullable(this.metadata, sendbirdUser.metadata) && - equalsNullable(this.nickname, sendbirdUser.nickname) && - equalsNullable(this.preferredLanguages, sendbirdUser.preferredLanguages) && - Objects.equals(this.profileUrl, sendbirdUser.profileUrl) && - Objects.equals(this.requireAuthForProfileImage, sendbirdUser.requireAuthForProfileImage) && - Objects.equals(this.userId, sendbirdUser.userId) && - equalsNullable(this.state, sendbirdUser.state) && - Objects.equals(this.unreadChannelCount, sendbirdUser.unreadChannelCount) && - Objects.equals(this.unreadMessageCount, sendbirdUser.unreadMessageCount) && - Objects.equals(this.phoneNumber, sendbirdUser.phoneNumber) && - Objects.equals(this.isCreated, sendbirdUser.isCreated); + SendBirdSendBirdUser sendBirdUser = (SendBirdSendBirdUser) o; + return Objects.equals(this.accessToken, sendBirdUser.accessToken) && + Objects.equals(this.createdAt, sendBirdUser.createdAt) && + equalsNullable(this.discoveryKeys, sendBirdUser.discoveryKeys) && + Objects.equals(this.hasEverLoggedIn, sendBirdUser.hasEverLoggedIn) && + Objects.equals(this.isActive, sendBirdUser.isActive) && + Objects.equals(this.isHideMeFromFriends, sendBirdUser.isHideMeFromFriends) && + Objects.equals(this.isOnline, sendBirdUser.isOnline) && + Objects.equals(this.isShadowBlocked, sendBirdUser.isShadowBlocked) && + Objects.equals(this.lastSeenAt, sendBirdUser.lastSeenAt) && + Objects.equals(this.locale, sendBirdUser.locale) && + equalsNullable(this.metadata, sendBirdUser.metadata) && + equalsNullable(this.nickname, sendBirdUser.nickname) && + equalsNullable(this.preferredLanguages, sendBirdUser.preferredLanguages) && + Objects.equals(this.profileUrl, sendBirdUser.profileUrl) && + Objects.equals(this.requireAuthForProfileImage, sendBirdUser.requireAuthForProfileImage) && + Objects.equals(this.userId, sendBirdUser.userId) && + equalsNullable(this.state, sendBirdUser.state) && + Objects.equals(this.unreadChannelCount, sendBirdUser.unreadChannelCount) && + Objects.equals(this.unreadMessageCount, sendBirdUser.unreadMessageCount) && + Objects.equals(this.phoneNumber, sendBirdUser.phoneNumber) && + Objects.equals(this.isCreated, sendBirdUser.isCreated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -831,7 +831,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendbirdUser {\n"); + sb.append("class SendBirdSendBirdUser {\n"); sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" discoveryKeys: ").append(toIndentedString(discoveryKeys)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java b/src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java index d4dcb2b4..c4e3de2c 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java @@ -37,7 +37,7 @@ SendBirdStartTypingIndicatorsRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("startTypingIndicators_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdStartTypingIndicatorsRequest { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java index a08509e6..03b38db6 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java @@ -36,7 +36,7 @@ SendBirdUpdateAChannelMetadataRequest.JSON_PROPERTY_UPSERT }) @JsonTypeName("updateAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateAChannelMetadataRequest { public static final String JSON_PROPERTY_METADATA = "metadata"; private Object metadata; diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java index 553ae2b0..7576c6d9 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java @@ -51,7 +51,7 @@ SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("updateAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateAGroupChannelRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java index 5330b36a..4e41e842 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java @@ -43,7 +43,7 @@ SendBirdUpdateAMessageRequest.JSON_PROPERTY_MESSAGE_TYPE }) @JsonTypeName("updateAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateAMessageRequest { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java index 355d5283..d2b028d3 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java @@ -50,7 +50,7 @@ SendBirdUpdateAUserRequest.JSON_PROPERTY_PROFILE_URL }) @JsonTypeName("updateAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateAUserRequest { public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; private JsonNullable> discoveryKeys = JsonNullable.>undefined(); diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java index 06be0b35..1b928cb5 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java @@ -43,7 +43,7 @@ SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("updateAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateAnOpenChannelRequest { public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; private File coverFile; diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java index 1bc6f59e..1cbc5263 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java @@ -42,7 +42,7 @@ SendBirdUpdateBotByIdData.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("updateBotByIdData") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateBotByIdData { public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; private String botUserid; diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java index 7d0af20a..13e2e92b 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java @@ -41,7 +41,7 @@ SendBirdUpdateBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("updateBotByIdResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateBotByIdResponse { public static final String JSON_PROPERTY_BOT = "bot"; private SendBirdViewBotByIdResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java index 73b42b6d..fd40401a 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java @@ -35,7 +35,7 @@ SendBirdUpdateChannelInvitationPreferenceRequest.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("updateChannelInvitationPreference_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateChannelInvitationPreferenceRequest { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java index fc85ab4b..8c6f2327 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java @@ -35,7 +35,7 @@ SendBirdUpdateChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("updateChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateChannelInvitationPreferenceResponse { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java index 21db3d71..9472ef56 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java @@ -35,7 +35,7 @@ SendBirdUpdateCountPreferenceOfAChannelRequest.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("updateCountPreferenceOfAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateCountPreferenceOfAChannelRequest { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java index 1244bf52..a8125c0f 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java @@ -35,7 +35,7 @@ SendBirdUpdateCountPreferenceOfChannelByUrlResponse.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("updateCountPreferenceOfChannelByUrlResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateCountPreferenceOfChannelByUrlResponse { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java index 07b5af26..ab60adb7 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,13 +40,13 @@ SendBirdUpdateExtraDataInAMessageRequest.JSON_PROPERTY_UPSERT }) @JsonTypeName("updateExtraDataInAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateExtraDataInAMessageRequest { public static final String JSON_PROPERTY_MODE = "mode"; private String mode; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_UPSERT = "upsert"; private Boolean upsert; @@ -80,12 +80,12 @@ public void setMode(String mode) { } - public SendBirdUpdateExtraDataInAMessageRequest sortedMetaarray(List sortedMetaarray) { + public SendBirdUpdateExtraDataInAMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendBirdUpdateExtraDataInAMessageRequest addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendBirdUpdateExtraDataInAMessageRequest addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -102,14 +102,14 @@ public SendBirdUpdateExtraDataInAMessageRequest addSortedMetaarrayItem(SendBirdS @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java index 0c892be0..de95af32 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ SendBirdUpdateExtraDataInAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("updateExtraDataInAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdateExtraDataInAMessageResponse { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public SendBirdUpdateExtraDataInAMessageResponse() { } - public SendBirdUpdateExtraDataInAMessageResponse sortedMetaarray(List sortedMetaarray) { + public SendBirdUpdateExtraDataInAMessageResponse sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendBirdUpdateExtraDataInAMessageResponse addSortedMetaarrayItem(SendBirdSendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendBirdUpdateExtraDataInAMessageResponse addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -68,14 +68,14 @@ public SendBirdUpdateExtraDataInAMessageResponse addSortedMetaarrayItem(SendBird @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java index 2c0e9a5e..764fe71a 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java @@ -36,7 +36,7 @@ SendBirdUpdatePushPreferencesForAChannelRequest.JSON_PROPERTY_PUSH_SOUND }) @JsonTypeName("updatePushPreferencesForAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdatePushPreferencesForAChannelRequest { /** * The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications. diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java index ca6b74d0..c23c3368 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,7 +38,7 @@ SendBirdUpdatePushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION }) @JsonTypeName("updatePushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdatePushPreferencesForAChannelResponse { public static final String JSON_PROPERTY_ENABLE = "enable"; private Boolean enable; @@ -47,7 +47,7 @@ public class SendBirdUpdatePushPreferencesForAChannelResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendbirdPushTriggerOption pushTriggerOption; + private SendBirdSendBirdPushTriggerOption pushTriggerOption; public SendBirdUpdatePushPreferencesForAChannelResponse() { } @@ -104,7 +104,7 @@ public void setPushSound(String pushSound) { } - public SendBirdUpdatePushPreferencesForAChannelResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public SendBirdUpdatePushPreferencesForAChannelResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -118,14 +118,14 @@ public SendBirdUpdatePushPreferencesForAChannelResponse pushTriggerOption(SendBi @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java index 71039e2b..6ed2bef0 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -51,7 +51,7 @@ SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("updatePushPreferences_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdatePushPreferencesRequest { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; @@ -75,7 +75,7 @@ public class SendBirdUpdatePushPreferencesRequest { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendbirdPushTriggerOption pushTriggerOption; + private SendBirdSendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; private Boolean snoozeEnabled; @@ -288,7 +288,7 @@ public void setPushSound(String pushSound) { } - public SendBirdUpdatePushPreferencesRequest pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public SendBirdUpdatePushPreferencesRequest pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -302,14 +302,14 @@ public SendBirdUpdatePushPreferencesRequest pushTriggerOption(SendBirdSendbirdPu @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java index 7cb86e6c..fb8a0d98 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -51,7 +51,7 @@ SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("updatePushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdUpdatePushPreferencesResponse { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; @@ -75,7 +75,7 @@ public class SendBirdUpdatePushPreferencesResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendbirdPushTriggerOption pushTriggerOption; + private SendBirdSendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; private Boolean snoozeEnabled; @@ -288,7 +288,7 @@ public void setPushSound(String pushSound) { } - public SendBirdUpdatePushPreferencesResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public SendBirdUpdatePushPreferencesResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -302,14 +302,14 @@ public SendBirdUpdatePushPreferencesResponse pushTriggerOption(SendBirdSendbirdP @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java index d6eb6ce6..2352f97f 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java @@ -41,7 +41,7 @@ SendBirdViewBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("viewBotByIdResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdViewBotByIdResponse { public static final String JSON_PROPERTY_BOT = "bot"; private SendBirdViewBotByIdResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java b/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java index 43f9dcf9..6d3d6d6b 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java +++ b/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java @@ -40,7 +40,7 @@ SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_METADATA }) @JsonTypeName("viewBotByIdResponse_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdViewBotByIdResponseBot { public static final String JSON_PROPERTY_BOT_TOKEN = "bot_token"; private String botToken; diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java index ef715e0d..91d4b86b 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java @@ -35,7 +35,7 @@ SendBirdViewCountPreferenceOfAChannelResponse.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("viewCountPreferenceOfAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdViewCountPreferenceOfAChannelResponse { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java index 7c1f02e9..b7d34cec 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java @@ -35,7 +35,7 @@ SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT }) @JsonTypeName("viewNumberOfChannelsWithUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdViewNumberOfChannelsWithUnreadMessagesResponse { public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; private Integer unreadCount; diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java index 060be182..4793ebb6 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java @@ -35,7 +35,7 @@ SendBirdViewNumberOfDailyActiveUsersResponse.JSON_PROPERTY_DAU }) @JsonTypeName("viewNumberOfDailyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdViewNumberOfDailyActiveUsersResponse { public static final String JSON_PROPERTY_DAU = "dau"; private Integer dau; diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java index ab1a022c..94cf3fd3 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java @@ -35,7 +35,7 @@ SendBirdViewNumberOfMonthlyActiveUsersResponse.JSON_PROPERTY_MAU }) @JsonTypeName("viewNumberOfMonthlyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdViewNumberOfMonthlyActiveUsersResponse { public static final String JSON_PROPERTY_MAU = "mau"; private Integer mau; diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java index edf960a7..6f98426a 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java @@ -35,7 +35,7 @@ SendBirdViewNumberOfUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT }) @JsonTypeName("viewNumberOfUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdViewNumberOfUnreadMessagesResponse { public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; private Integer unreadCount; diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java index 978a3cf6..4b32cb72 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,7 +38,7 @@ SendBirdViewPushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION }) @JsonTypeName("viewPushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdViewPushPreferencesForAChannelResponse { public static final String JSON_PROPERTY_ENABLE = "enable"; private Boolean enable; @@ -47,7 +47,7 @@ public class SendBirdViewPushPreferencesForAChannelResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendbirdPushTriggerOption pushTriggerOption; + private SendBirdSendBirdPushTriggerOption pushTriggerOption; public SendBirdViewPushPreferencesForAChannelResponse() { } @@ -104,7 +104,7 @@ public void setPushSound(String pushSound) { } - public SendBirdViewPushPreferencesForAChannelResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public SendBirdViewPushPreferencesForAChannelResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -118,14 +118,14 @@ public SendBirdViewPushPreferencesForAChannelResponse pushTriggerOption(SendBird @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java index e8276fd7..cfe5d5dc 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -51,7 +51,7 @@ SendBirdViewPushPreferencesResponse.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("viewPushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class SendBirdViewPushPreferencesResponse { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; @@ -75,7 +75,7 @@ public class SendBirdViewPushPreferencesResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendbirdPushTriggerOption pushTriggerOption; + private SendBirdSendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; private Boolean snoozeEnabled; @@ -288,7 +288,7 @@ public void setPushSound(String pushSound) { } - public SendBirdViewPushPreferencesResponse pushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public SendBirdViewPushPreferencesResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -302,14 +302,14 @@ public SendBirdViewPushPreferencesResponse pushTriggerOption(SendBirdSendbirdPus @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/sendbird/client/ApiClient.java b/src/main/java/org/sendbird/client/ApiClient.java index 136e1fe4..39511d71 100644 --- a/src/main/java/org/sendbird/client/ApiClient.java +++ b/src/main/java/org/sendbird/client/ApiClient.java @@ -66,7 +66,7 @@ /** *

ApiClient class.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class ApiClient extends JavaTimeFormatter { protected Map defaultHeaderMap = new HashMap(); protected Map defaultCookieMap = new HashMap(); diff --git a/src/main/java/org/sendbird/client/ApiException.java b/src/main/java/org/sendbird/client/ApiException.java index 07a96802..4dd59d8d 100644 --- a/src/main/java/org/sendbird/client/ApiException.java +++ b/src/main/java/org/sendbird/client/ApiException.java @@ -19,7 +19,7 @@ /** * API Exception */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/src/main/java/org/sendbird/client/Configuration.java b/src/main/java/org/sendbird/client/Configuration.java index 5117e1da..649a1eca 100644 --- a/src/main/java/org/sendbird/client/Configuration.java +++ b/src/main/java/org/sendbird/client/Configuration.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/org/sendbird/client/JSON.java b/src/main/java/org/sendbird/client/JSON.java index d3fa17b1..b8da6a96 100644 --- a/src/main/java/org/sendbird/client/JSON.java +++ b/src/main/java/org/sendbird/client/JSON.java @@ -15,7 +15,7 @@ import javax.ws.rs.core.GenericType; import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class JSON implements ContextResolver { private ObjectMapper mapper; diff --git a/src/main/java/org/sendbird/client/JavaTimeFormatter.java b/src/main/java/org/sendbird/client/JavaTimeFormatter.java index b01e522b..61f933aa 100644 --- a/src/main/java/org/sendbird/client/JavaTimeFormatter.java +++ b/src/main/java/org/sendbird/client/JavaTimeFormatter.java @@ -20,7 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/src/main/java/org/sendbird/client/Pair.java b/src/main/java/org/sendbird/client/Pair.java index 3cf2c4e9..e1cd6c66 100644 --- a/src/main/java/org/sendbird/client/Pair.java +++ b/src/main/java/org/sendbird/client/Pair.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/org/sendbird/client/StringUtil.java b/src/main/java/org/sendbird/client/StringUtil.java index 776a97d2..af08e7cd 100644 --- a/src/main/java/org/sendbird/client/StringUtil.java +++ b/src/main/java/org/sendbird/client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/org/sendbird/client/api/AnnouncementApi.java b/src/main/java/org/sendbird/client/api/AnnouncementApi.java index c62176c4..9df84c5f 100644 --- a/src/main/java/org/sendbird/client/api/AnnouncementApi.java +++ b/src/main/java/org/sendbird/client/api/AnnouncementApi.java @@ -16,7 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class AnnouncementApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/BotApi.java b/src/main/java/org/sendbird/client/api/BotApi.java index d97df73a..8a1ac220 100644 --- a/src/main/java/org/sendbird/client/api/BotApi.java +++ b/src/main/java/org/sendbird/client/api/BotApi.java @@ -15,9 +15,9 @@ import org.openapitools.client.model.SendBirdJoinChannelsRequest; import org.openapitools.client.model.SendBirdListBotsResponse; import org.openapitools.client.model.SendBirdSendABotMessageResponse; -import org.openapitools.client.model.SendBirdSendbirdExtendedMessagePayload; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetail; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSendBirdExtendedMessagePayload; +import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetail; +import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; import org.openapitools.client.model.SendBirdUpdateBotByIdData; import org.openapitools.client.model.SendBirdUpdateBotByIdResponse; import org.openapitools.client.model.SendBirdViewBotByIdResponse; @@ -27,7 +27,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class BotApi { private ApiClient apiClient; @@ -272,7 +272,7 @@ public APIdeleteBotByIdRequest deleteBotById(String botUserid) throws ApiExcepti return new APIdeleteBotByIdRequest(botUserid); } -private ApiResponse joinChannelsWithHttpInfo(String botUserid, String apiToken, SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest) throws ApiException { +private ApiResponse joinChannelsWithHttpInfo(String botUserid, String apiToken, SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest) throws ApiException { Object localVarPostBody = sendBirdJoinChannelsRequest; // verify the required parameter 'botUserid' is set @@ -308,7 +308,7 @@ private ApiResponse joinChannelsWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.joinChannels", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -346,7 +346,7 @@ public APIjoinChannelsRequest sendBirdJoinChannelsRequest(SendBirdJoinChannelsRe /** * Execute joinChannels request - * @return SendBirdSendbirdGroupChannelDetail + * @return SendBirdSendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -356,13 +356,13 @@ public APIjoinChannelsRequest sendBirdJoinChannelsRequest(SendBirdJoinChannelsRe */ - public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute joinChannels request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -371,7 +371,7 @@ public SendBirdSendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return joinChannelsWithHttpInfo(botUserid, apiToken, sendBirdJoinChannelsRequest); } } @@ -731,7 +731,7 @@ public APIlistBotsRequest listBots() throws ApiException { return new APIlistBotsRequest(); } -private ApiResponse sendABotMessageWithHttpInfo(String botUserid, String messageType, String channelUrl, String apiToken, String message, List mentioned, SendBirdSendbirdExtendedMessagePayload extendedMessagePayload, File _file, Boolean requireAuth, String mentionType, List mentionedUserIds, Boolean isSilent, List sortedMetaarray, String apnsBundleId, Object appleCriticalAlertOptions, String sound, BigDecimal volume, Long createdAt, String customType, String data, String dedupId, Boolean markAsRead, Boolean sendPush) throws ApiException { +private ApiResponse sendABotMessageWithHttpInfo(String botUserid, String messageType, String channelUrl, String apiToken, String message, List mentioned, SendBirdSendBirdExtendedMessagePayload extendedMessagePayload, File _file, Boolean requireAuth, String mentionType, List mentionedUserIds, Boolean isSilent, List sortedMetaarray, String apnsBundleId, Object appleCriticalAlertOptions, String sound, BigDecimal volume, Long createdAt, String customType, String data, String dedupId, Boolean markAsRead, Boolean sendPush) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'botUserid' is set @@ -833,13 +833,13 @@ public class APIsendABotMessageRequest { private String apiToken; private String message; private List mentioned; - private SendBirdSendbirdExtendedMessagePayload extendedMessagePayload; + private SendBirdSendBirdExtendedMessagePayload extendedMessagePayload; private File _file; private Boolean requireAuth; private String mentionType; private List mentionedUserIds; private Boolean isSilent; - private List sortedMetaarray; + private List sortedMetaarray; private String apnsBundleId; private Object appleCriticalAlertOptions; private String sound; @@ -910,7 +910,7 @@ public APIsendABotMessageRequest mentioned(List mentioned) { * @param extendedMessagePayload (optional) * @return APIsendABotMessageRequest */ - public APIsendABotMessageRequest extendedMessagePayload(SendBirdSendbirdExtendedMessagePayload extendedMessagePayload) { + public APIsendABotMessageRequest extendedMessagePayload(SendBirdSendBirdExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; return this; } @@ -970,7 +970,7 @@ public APIsendABotMessageRequest isSilent(Boolean isSilent) { * @param sortedMetaarray (optional) * @return APIsendABotMessageRequest */ - public APIsendABotMessageRequest sortedMetaarray(List sortedMetaarray) { + public APIsendABotMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } diff --git a/src/main/java/org/sendbird/client/api/GroupChannelApi.java b/src/main/java/org/sendbird/client/api/GroupChannelApi.java index a0ccdcb3..8da66853 100644 --- a/src/main/java/org/sendbird/client/api/GroupChannelApi.java +++ b/src/main/java/org/sendbird/client/api/GroupChannelApi.java @@ -23,7 +23,7 @@ import org.openapitools.client.model.SendBirdRegisterOperatorsToAGroupChannelRequest; import org.openapitools.client.model.SendBirdResetChatHistoryRequest; import org.openapitools.client.model.SendBirdResetChatHistoryResponse; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetail; +import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetail; import org.openapitools.client.model.SendBirdStartTypingIndicatorsRequest; import org.openapitools.client.model.SendBirdUpdateAGroupChannelRequest; @@ -32,7 +32,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class GroupChannelApi { private ApiClient apiClient; @@ -63,7 +63,7 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse acceptAnInvitationWithHttpInfo(String channelUrl, String apiToken, SendBirdAcceptAnInvitationRequest sendBirdAcceptAnInvitationRequest) throws ApiException { +private ApiResponse acceptAnInvitationWithHttpInfo(String channelUrl, String apiToken, SendBirdAcceptAnInvitationRequest sendBirdAcceptAnInvitationRequest) throws ApiException { Object localVarPostBody = sendBirdAcceptAnInvitationRequest; // verify the required parameter 'channelUrl' is set @@ -99,7 +99,7 @@ private ApiResponse acceptAnInvitationWithHt String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.acceptAnInvitation", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -137,7 +137,7 @@ public APIacceptAnInvitationRequest sendBirdAcceptAnInvitationRequest(SendBirdAc /** * Execute acceptAnInvitation request - * @return SendBirdSendbirdGroupChannelDetail + * @return SendBirdSendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -147,13 +147,13 @@ public APIacceptAnInvitationRequest sendBirdAcceptAnInvitationRequest(SendBirdAc */ - public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute acceptAnInvitation request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -162,7 +162,7 @@ public SendBirdSendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return acceptAnInvitationWithHttpInfo(channelUrl, apiToken, sendBirdAcceptAnInvitationRequest); } } @@ -430,7 +430,7 @@ public APIcheckIfMemberRequest checkIfMember(String channelUrl, String userId) t return new APIcheckIfMemberRequest(channelUrl, userId); } -private ApiResponse createAGroupChannelWithHttpInfo(String apiToken, SendBirdCreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest) throws ApiException { +private ApiResponse createAGroupChannelWithHttpInfo(String apiToken, SendBirdCreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest) throws ApiException { Object localVarPostBody = sendBirdCreateAGroupChannelRequest; // create path and map variables @@ -460,7 +460,7 @@ private ApiResponse createAGroupChannelWithH String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.createAGroupChannel", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -496,7 +496,7 @@ public APIcreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest(SendBird /** * Execute createAGroupChannel request - * @return SendBirdSendbirdGroupChannelDetail + * @return SendBirdSendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -506,13 +506,13 @@ public APIcreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest(SendBird */ - public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAGroupChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -521,7 +521,7 @@ public SendBirdSendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return createAGroupChannelWithHttpInfo(apiToken, sendBirdCreateAGroupChannelRequest); } } @@ -1044,7 +1044,7 @@ public APIinviteAsMembersRequest inviteAsMembers(String channelUrl) throws ApiEx return new APIinviteAsMembersRequest(channelUrl); } -private ApiResponse joinAChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdJoinAChannelRequest sendBirdJoinAChannelRequest) throws ApiException { +private ApiResponse joinAChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdJoinAChannelRequest sendBirdJoinAChannelRequest) throws ApiException { Object localVarPostBody = sendBirdJoinAChannelRequest; // verify the required parameter 'channelUrl' is set @@ -1080,7 +1080,7 @@ private ApiResponse joinAChannelWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.joinAChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1118,7 +1118,7 @@ public APIjoinAChannelRequest sendBirdJoinAChannelRequest(SendBirdJoinAChannelRe /** * Execute joinAChannel request - * @return SendBirdSendbirdGroupChannelDetail + * @return SendBirdSendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -1128,13 +1128,13 @@ public APIjoinAChannelRequest sendBirdJoinAChannelRequest(SendBirdJoinAChannelRe */ - public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute joinAChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -1143,7 +1143,7 @@ public SendBirdSendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return joinAChannelWithHttpInfo(channelUrl, apiToken, sendBirdJoinAChannelRequest); } } @@ -2807,7 +2807,7 @@ public APIunhideAChannelRequest unhideAChannel(String channelUrl) throws ApiExce return new APIunhideAChannelRequest(channelUrl); } -private ApiResponse updateAGroupChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdUpdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest) throws ApiException { +private ApiResponse updateAGroupChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdUpdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest) throws ApiException { Object localVarPostBody = sendBirdUpdateAGroupChannelRequest; // verify the required parameter 'channelUrl' is set @@ -2843,7 +2843,7 @@ private ApiResponse updateAGroupChannelWithH String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.updateAGroupChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2881,7 +2881,7 @@ public APIupdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest(SendBird /** * Execute updateAGroupChannel request - * @return SendBirdSendbirdGroupChannelDetail + * @return SendBirdSendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -2891,13 +2891,13 @@ public APIupdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest(SendBird */ - public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAGroupChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -2906,7 +2906,7 @@ public SendBirdSendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return updateAGroupChannelWithHttpInfo(channelUrl, apiToken, sendBirdUpdateAGroupChannelRequest); } } diff --git a/src/main/java/org/sendbird/client/api/MessageApi.java b/src/main/java/org/sendbird/client/api/MessageApi.java index 02c61a90..4c6b32c5 100644 --- a/src/main/java/org/sendbird/client/api/MessageApi.java +++ b/src/main/java/org/sendbird/client/api/MessageApi.java @@ -15,7 +15,7 @@ import org.openapitools.client.model.SendBirdMarkChannelMessagesAsReadRequest; import org.openapitools.client.model.SendBirdMigrateMessagesRequest; import org.openapitools.client.model.SendBirdSendAMessageRequest; -import org.openapitools.client.model.SendBirdSendbirdMessageResponse; +import org.openapitools.client.model.SendBirdSendBirdMessageResponse; import org.openapitools.client.model.SendBirdUpdateAMessageRequest; import org.openapitools.client.model.SendBirdUpdateExtraDataInAMessageRequest; import org.openapitools.client.model.SendBirdUpdateExtraDataInAMessageResponse; @@ -25,7 +25,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class MessageApi { private ApiClient apiClient; @@ -315,7 +315,7 @@ public APIdeleteAMessageRequest deleteAMessage(String channelType, String channe return new APIdeleteAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse getAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, Boolean includeReactions, Boolean includeThreadInfo, Boolean includeParentMessageInfo, Boolean includePollDetails, Boolean withSortedMetaArray, String apiToken) throws ApiException { +private ApiResponse getAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, Boolean includeReactions, Boolean includeThreadInfo, Boolean includeParentMessageInfo, Boolean includePollDetails, Boolean withSortedMetaArray, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelType' is set @@ -368,7 +368,7 @@ private ApiResponse getAMessageWithHttpInfo(Str String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.getAMessage", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -454,7 +454,7 @@ public APIgetAMessageRequest apiToken(String apiToken) { /** * Execute getAMessage request - * @return SendBirdSendbirdMessageResponse + * @return SendBirdSendBirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -464,13 +464,13 @@ public APIgetAMessageRequest apiToken(String apiToken) { */ - public SendBirdSendbirdMessageResponse execute() throws ApiException { + public SendBirdSendBirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getAMessage request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdMessageResponse> + * @return ApiResponse<SendBirdSendBirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -479,7 +479,7 @@ public SendBirdSendbirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getAMessageWithHttpInfo(channelType, channelUrl, messageId, includeReactions, includeThreadInfo, includeParentMessageInfo, includePollDetails, withSortedMetaArray, apiToken); } } @@ -1349,7 +1349,7 @@ public APIremoveExtraDataFromAMessageRequest removeExtraDataFromAMessage(String return new APIremoveExtraDataFromAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse sendAMessageWithHttpInfo(String channelType, String channelUrl, String apiToken, SendBirdSendAMessageRequest sendBirdSendAMessageRequest) throws ApiException { +private ApiResponse sendAMessageWithHttpInfo(String channelType, String channelUrl, String apiToken, SendBirdSendAMessageRequest sendBirdSendAMessageRequest) throws ApiException { Object localVarPostBody = sendBirdSendAMessageRequest; // verify the required parameter 'channelType' is set @@ -1391,7 +1391,7 @@ private ApiResponse sendAMessageWithHttpInfo(St String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.sendAMessage", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1431,7 +1431,7 @@ public APIsendAMessageRequest sendBirdSendAMessageRequest(SendBirdSendAMessageRe /** * Execute sendAMessage request - * @return SendBirdSendbirdMessageResponse + * @return SendBirdSendBirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1441,13 +1441,13 @@ public APIsendAMessageRequest sendBirdSendAMessageRequest(SendBirdSendAMessageRe */ - public SendBirdSendbirdMessageResponse execute() throws ApiException { + public SendBirdSendBirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute sendAMessage request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdMessageResponse> + * @return ApiResponse<SendBirdSendBirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1456,7 +1456,7 @@ public SendBirdSendbirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return sendAMessageWithHttpInfo(channelType, channelUrl, apiToken, sendBirdSendAMessageRequest); } } @@ -1475,7 +1475,7 @@ public APIsendAMessageRequest sendAMessage(String channelType, String channelUrl return new APIsendAMessageRequest(channelType, channelUrl); } -private ApiResponse updateAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, SendBirdUpdateAMessageRequest sendBirdUpdateAMessageRequest) throws ApiException { +private ApiResponse updateAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, SendBirdUpdateAMessageRequest sendBirdUpdateAMessageRequest) throws ApiException { Object localVarPostBody = sendBirdUpdateAMessageRequest; // verify the required parameter 'channelType' is set @@ -1523,7 +1523,7 @@ private ApiResponse updateAMessageWithHttpInfo( String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.updateAMessage", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1565,7 +1565,7 @@ public APIupdateAMessageRequest sendBirdUpdateAMessageRequest(SendBirdUpdateAMes /** * Execute updateAMessage request - * @return SendBirdSendbirdMessageResponse + * @return SendBirdSendBirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1575,13 +1575,13 @@ public APIupdateAMessageRequest sendBirdUpdateAMessageRequest(SendBirdUpdateAMes */ - public SendBirdSendbirdMessageResponse execute() throws ApiException { + public SendBirdSendBirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAMessage request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdMessageResponse> + * @return ApiResponse<SendBirdSendBirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1590,7 +1590,7 @@ public SendBirdSendbirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return updateAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, sendBirdUpdateAMessageRequest); } } diff --git a/src/main/java/org/sendbird/client/api/MetadataApi.java b/src/main/java/org/sendbird/client/api/MetadataApi.java index 2abcd81e..16163697 100644 --- a/src/main/java/org/sendbird/client/api/MetadataApi.java +++ b/src/main/java/org/sendbird/client/api/MetadataApi.java @@ -17,7 +17,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class MetadataApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/ModerationApi.java b/src/main/java/org/sendbird/client/api/ModerationApi.java index a9913ad5..da1cade5 100644 --- a/src/main/java/org/sendbird/client/api/ModerationApi.java +++ b/src/main/java/org/sendbird/client/api/ModerationApi.java @@ -13,15 +13,15 @@ import org.openapitools.client.model.SendBirdFreezeAGroupChannelRequest; import org.openapitools.client.model.SendBirdFreezeAnOpenChannelRequest; import org.openapitools.client.model.SendBirdListBlockedUsersResponse; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetail; -import org.openapitools.client.model.SendBirdSendbirdOpenChannel; +import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetail; +import org.openapitools.client.model.SendBirdSendBirdOpenChannel; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class ModerationApi { private ApiClient apiClient; @@ -169,7 +169,7 @@ public APIblockAUserRequest blockAUser(String userId) throws ApiException { return new APIblockAUserRequest(userId); } -private ApiResponse freezeAGroupChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdFreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest) throws ApiException { +private ApiResponse freezeAGroupChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdFreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest) throws ApiException { Object localVarPostBody = sendBirdFreezeAGroupChannelRequest; // verify the required parameter 'channelUrl' is set @@ -205,7 +205,7 @@ private ApiResponse freezeAGroupChannelWithH String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.freezeAGroupChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -243,7 +243,7 @@ public APIfreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest(SendBird /** * Execute freezeAGroupChannel request - * @return SendBirdSendbirdGroupChannelDetail + * @return SendBirdSendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -253,13 +253,13 @@ public APIfreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest(SendBird */ - public SendBirdSendbirdGroupChannelDetail execute() throws ApiException { + public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute freezeAGroupChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdGroupChannelDetail> + * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -268,7 +268,7 @@ public SendBirdSendbirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return freezeAGroupChannelWithHttpInfo(channelUrl, apiToken, sendBirdFreezeAGroupChannelRequest); } } @@ -286,7 +286,7 @@ public APIfreezeAGroupChannelRequest freezeAGroupChannel(String channelUrl) thro return new APIfreezeAGroupChannelRequest(channelUrl); } -private ApiResponse freezeAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdFreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest) throws ApiException { +private ApiResponse freezeAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdFreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest) throws ApiException { Object localVarPostBody = sendBirdFreezeAnOpenChannelRequest; // verify the required parameter 'channelUrl' is set @@ -322,7 +322,7 @@ private ApiResponse freezeAnOpenChannelWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.freezeAnOpenChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -360,7 +360,7 @@ public APIfreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest(SendBird /** * Execute freezeAnOpenChannel request - * @return SendBirdSendbirdOpenChannel + * @return SendBirdSendBirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -370,13 +370,13 @@ public APIfreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest(SendBird */ - public SendBirdSendbirdOpenChannel execute() throws ApiException { + public SendBirdSendBirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute freezeAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdOpenChannel> + * @return ApiResponse<SendBirdSendBirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -385,7 +385,7 @@ public SendBirdSendbirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return freezeAnOpenChannelWithHttpInfo(channelUrl, apiToken, sendBirdFreezeAnOpenChannelRequest); } } diff --git a/src/main/java/org/sendbird/client/api/OpenChannelApi.java b/src/main/java/org/sendbird/client/api/OpenChannelApi.java index 92032eb3..accef627 100644 --- a/src/main/java/org/sendbird/client/api/OpenChannelApi.java +++ b/src/main/java/org/sendbird/client/api/OpenChannelApi.java @@ -12,7 +12,7 @@ import org.openapitools.client.model.SendBirdListOpenChannelsResponse; import org.openapitools.client.model.SendBirdListOperatorsResponse; import org.openapitools.client.model.SendBirdRegisterOperatorsToAGroupChannelRequest; -import org.openapitools.client.model.SendBirdSendbirdOpenChannel; +import org.openapitools.client.model.SendBirdSendBirdOpenChannel; import org.openapitools.client.model.SendBirdUpdateAnOpenChannelRequest; import java.util.ArrayList; @@ -20,7 +20,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class OpenChannelApi { private ApiClient apiClient; @@ -51,7 +51,7 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse createAnOpenChannelWithHttpInfo(String apiToken, SendBirdCreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest) throws ApiException { +private ApiResponse createAnOpenChannelWithHttpInfo(String apiToken, SendBirdCreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest) throws ApiException { Object localVarPostBody = sendBirdCreateAnOpenChannelRequest; // create path and map variables @@ -81,7 +81,7 @@ private ApiResponse createAnOpenChannelWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.createAnOpenChannel", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -117,7 +117,7 @@ public APIcreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest(SendBird /** * Execute createAnOpenChannel request - * @return SendBirdSendbirdOpenChannel + * @return SendBirdSendBirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -127,13 +127,13 @@ public APIcreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest(SendBird */ - public SendBirdSendbirdOpenChannel execute() throws ApiException { + public SendBirdSendBirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdOpenChannel> + * @return ApiResponse<SendBirdSendBirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -142,7 +142,7 @@ public SendBirdSendbirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return createAnOpenChannelWithHttpInfo(apiToken, sendBirdCreateAnOpenChannelRequest); } } @@ -265,7 +265,7 @@ public APIdeleteAnOpenChannelRequest deleteAnOpenChannel(String channelUrl) thro return new APIdeleteAnOpenChannelRequest(channelUrl); } -private ApiResponse getAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, Boolean includeOperators) throws ApiException { +private ApiResponse getAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, Boolean includeOperators) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -302,7 +302,7 @@ private ApiResponse getAnOpenChannelWithHttpInfo(St String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.getAnOpenChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -340,7 +340,7 @@ public APIgetAnOpenChannelRequest includeOperators(Boolean includeOperators) { /** * Execute getAnOpenChannel request - * @return SendBirdSendbirdOpenChannel + * @return SendBirdSendBirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -350,13 +350,13 @@ public APIgetAnOpenChannelRequest includeOperators(Boolean includeOperators) { */ - public SendBirdSendbirdOpenChannel execute() throws ApiException { + public SendBirdSendBirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdOpenChannel> + * @return ApiResponse<SendBirdSendBirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -365,7 +365,7 @@ public SendBirdSendbirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getAnOpenChannelWithHttpInfo(channelUrl, apiToken, includeOperators); } } @@ -958,7 +958,7 @@ public APIunregisterOperatorsRequest unregisterOperators(String channelUrl) thro return new APIunregisterOperatorsRequest(channelUrl); } -private ApiResponse updateAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdUpdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest) throws ApiException { +private ApiResponse updateAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdUpdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest) throws ApiException { Object localVarPostBody = sendBirdUpdateAnOpenChannelRequest; // verify the required parameter 'channelUrl' is set @@ -994,7 +994,7 @@ private ApiResponse updateAnOpenChannelWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.updateAnOpenChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1032,7 +1032,7 @@ public APIupdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest(SendBird /** * Execute updateAnOpenChannel request - * @return SendBirdSendbirdOpenChannel + * @return SendBirdSendBirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -1042,13 +1042,13 @@ public APIupdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest(SendBird */ - public SendBirdSendbirdOpenChannel execute() throws ApiException { + public SendBirdSendBirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdOpenChannel> + * @return ApiResponse<SendBirdSendBirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -1057,7 +1057,7 @@ public SendBirdSendbirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return updateAnOpenChannelWithHttpInfo(channelUrl, apiToken, sendBirdUpdateAnOpenChannelRequest); } } diff --git a/src/main/java/org/sendbird/client/api/StatisticsApi.java b/src/main/java/org/sendbird/client/api/StatisticsApi.java index ca331aa8..7f17b815 100644 --- a/src/main/java/org/sendbird/client/api/StatisticsApi.java +++ b/src/main/java/org/sendbird/client/api/StatisticsApi.java @@ -16,7 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class StatisticsApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/UserApi.java b/src/main/java/org/sendbird/client/api/UserApi.java index 9f589f07..ba8d2655 100644 --- a/src/main/java/org/sendbird/client/api/UserApi.java +++ b/src/main/java/org/sendbird/client/api/UserApi.java @@ -24,7 +24,7 @@ import org.openapitools.client.model.SendBirdMarkChannelMessagesAsReadRequest; import org.openapitools.client.model.SendBirdRemoveARegistrationOrDeviceTokenResponse; import org.openapitools.client.model.SendBirdRemoveAllRegistrationOrDeviceTokenResponse; -import org.openapitools.client.model.SendBirdSendbirdUser; +import org.openapitools.client.model.SendBirdSendBirdUser; import org.openapitools.client.model.SendBirdUpdateAUserRequest; import org.openapitools.client.model.SendBirdUpdateChannelInvitationPreferenceRequest; import org.openapitools.client.model.SendBirdUpdateChannelInvitationPreferenceResponse; @@ -45,7 +45,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class UserApi { private ApiClient apiClient; @@ -319,7 +319,7 @@ public APIchooseAPushNotificationContentTemplateRequest chooseAPushNotificationC return new APIchooseAPushNotificationContentTemplateRequest(userId); } -private ApiResponse createAUserWithHttpInfo(String apiToken, SendBirdCreateAUserRequest sendBirdCreateAUserRequest) throws ApiException { +private ApiResponse createAUserWithHttpInfo(String apiToken, SendBirdCreateAUserRequest sendBirdCreateAUserRequest) throws ApiException { Object localVarPostBody = sendBirdCreateAUserRequest; // create path and map variables @@ -349,7 +349,7 @@ private ApiResponse createAUserWithHttpInfo(String apiToke String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.createAUser", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -385,7 +385,7 @@ public APIcreateAUserRequest sendBirdCreateAUserRequest(SendBirdCreateAUserReque /** * Execute createAUser request - * @return SendBirdSendbirdUser + * @return SendBirdSendBirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -395,13 +395,13 @@ public APIcreateAUserRequest sendBirdCreateAUserRequest(SendBirdCreateAUserReque */ - public SendBirdSendbirdUser execute() throws ApiException { + public SendBirdSendBirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAUser request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdUser> + * @return ApiResponse<SendBirdSendBirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -410,7 +410,7 @@ public SendBirdSendbirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return createAUserWithHttpInfo(apiToken, sendBirdCreateAUserRequest); } } @@ -2376,7 +2376,7 @@ public APIresetPushPreferencesRequest resetPushPreferences(String userId) throws return new APIresetPushPreferencesRequest(userId); } -private ApiResponse updateAUserWithHttpInfo(String userId, String apiToken, SendBirdUpdateAUserRequest sendBirdUpdateAUserRequest) throws ApiException { +private ApiResponse updateAUserWithHttpInfo(String userId, String apiToken, SendBirdUpdateAUserRequest sendBirdUpdateAUserRequest) throws ApiException { Object localVarPostBody = sendBirdUpdateAUserRequest; // verify the required parameter 'userId' is set @@ -2412,7 +2412,7 @@ private ApiResponse updateAUserWithHttpInfo(String userId, String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updateAUser", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2450,7 +2450,7 @@ public APIupdateAUserRequest sendBirdUpdateAUserRequest(SendBirdUpdateAUserReque /** * Execute updateAUser request - * @return SendBirdSendbirdUser + * @return SendBirdSendBirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -2460,13 +2460,13 @@ public APIupdateAUserRequest sendBirdUpdateAUserRequest(SendBirdUpdateAUserReque */ - public SendBirdSendbirdUser execute() throws ApiException { + public SendBirdSendBirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAUser request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdUser> + * @return ApiResponse<SendBirdSendBirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -2475,7 +2475,7 @@ public SendBirdSendbirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return updateAUserWithHttpInfo(userId, apiToken, sendBirdUpdateAUserRequest); } } @@ -2979,7 +2979,7 @@ public APIupdatePushPreferencesForAChannelRequest updatePushPreferencesForAChann return new APIupdatePushPreferencesForAChannelRequest(userId, channelUrl); } -private ApiResponse viewAUserWithHttpInfo(String userId, Boolean includeUnreadCount, String customTypes, String superMode, String apiToken) throws ApiException { +private ApiResponse viewAUserWithHttpInfo(String userId, Boolean includeUnreadCount, String customTypes, String superMode, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3018,7 +3018,7 @@ private ApiResponse viewAUserWithHttpInfo(String userId, B String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewAUser", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3078,7 +3078,7 @@ public APIviewAUserRequest apiToken(String apiToken) { /** * Execute viewAUser request - * @return SendBirdSendbirdUser + * @return SendBirdSendBirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -3088,13 +3088,13 @@ public APIviewAUserRequest apiToken(String apiToken) { */ - public SendBirdSendbirdUser execute() throws ApiException { + public SendBirdSendBirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewAUser request with HTTP info returned - * @return ApiResponse<SendBirdSendbirdUser> + * @return ApiResponse<SendBirdSendBirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -3103,7 +3103,7 @@ public SendBirdSendbirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewAUserWithHttpInfo(userId, includeUnreadCount, customTypes, superMode, apiToken); } } diff --git a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java index fadc9cea..51a6fcbc 100644 --- a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java +++ b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java index 8974ab26..dcb104c9 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java @@ -23,7 +23,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java index 591755f4..e513ad29 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T08:54:05.631950+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; From feb569e775841ed334a5163dbf773139a36c6381 Mon Sep 17 00:00:00 2001 From: danney-chun <63285271+danney-chun@users.noreply.github.com> Date: Fri, 17 Oct 2025 09:09:40 +0900 Subject: [PATCH 06/10] fixed build --- .openapi-generator/FILES | 496 ++++++++--------- api/openapi.yaml | 6 + docs/AddARegistrationOrDeviceTokenResponse.md | 2 +- docs/AddExtraDataToAMessageRequest.md | 2 +- docs/AddExtraDataToAMessageResponse.md | 2 +- docs/AnnouncementApi.md | 12 +- docs/BlockAUserResponse.md | 2 +- docs/BotApi.md | 62 +-- docs/CreateAGroupChannelRequest.md | 2 +- docs/GetAGroupChannelResponse.md | 16 +- docs/GetAGroupChannelResponseAllOf.md | 2 +- docs/GroupChannelApi.md | 142 ++--- docs/GroupChannelListMembersResponse.md | 2 +- docs/GroupChatListChannelsResponse.md | 2 +- docs/InviteAsMembersResponse.md | 16 +- docs/InviteAsMembersResponseAllOf.md | 2 +- docs/ListBlockedUsersResponse.md | 2 +- docs/ListMessagesResponse.md | 2 +- docs/ListMyGroupChannelsResponse.md | 2 +- docs/ListOpenChannelsResponse.md | 2 +- docs/ListOperatorsResponse.md | 2 +- .../ListRegistrationOrDeviceTokensResponse.md | 2 +- docs/ListUsersResponse.md | 2 +- docs/MessageApi.md | 82 +-- docs/MetadataApi.md | 20 +- docs/ModerationApi.md | 42 +- docs/OpenChannelApi.md | 50 +- ...emoveARegistrationOrDeviceTokenResponse.md | 2 +- ...oveAllRegistrationOrDeviceTokenResponse.md | 2 +- docs/SendABotMessageResponse.md | 2 +- docs/SendAMessageRequest.md | 4 +- docs/SendAdminMessageRequestBody.md | 2 +- docs/SendBirdFile.md | 4 +- docs/SendBirdGroupChannel.md | 16 +- docs/SendBirdMember.md | 4 +- docs/SendBirdMessageResponse.md | 18 +- docs/SendBirdOpenChannel.md | 4 +- docs/SendBirdParentMessageInfo.md | 8 +- docs/SendBirdReaction.md | 2 +- docs/SendBirdUser.md | 2 +- docs/SendFileMessageRequestBody.md | 4 +- docs/SendTextMessageRequestBody.md | 2 +- docs/SendbirdBasicUserInfo.md | 2 +- docs/SendbirdDisappearingMessage.md | 2 +- docs/SendbirdExtendedMessagePayload.md | 2 +- docs/SendbirdGroupChannelDetail.md | 16 +- docs/SendbirdGroupChannelDetailChannel.md | 2 +- docs/SendbirdGroupChannelLastMessage.md | 24 +- ...rdMessageResponseExtendedMessagePayload.md | 24 +- docs/SendbirdMessageResponseMessageEvents.md | 2 +- docs/SendbirdPushTriggerOption.md | 2 +- docs/SendbirdSmsFallback.md | 2 +- docs/SendbirdSortedMetaarrayInner.md | 2 +- docs/SendbirdThumbnail.md | 2 +- docs/StatisticsApi.md | 12 +- docs/UpdateExtraDataInAMessageRequest.md | 2 +- docs/UpdateExtraDataInAMessageResponse.md | 2 +- ...pdatePushPreferencesForAChannelResponse.md | 2 +- docs/UpdatePushPreferencesRequest.md | 2 +- docs/UpdatePushPreferencesResponse.md | 2 +- docs/UserApi.md | 208 ++++---- .../ViewPushPreferencesForAChannelResponse.md | 2 +- docs/ViewPushPreferencesResponse.md | 2 +- .../client/model/AbstractOpenApiSchema.java | 2 +- .../model/AcceptAnInvitationRequest.java | 2 +- .../AddARegistrationOrDeviceTokenRequest.java | 2 +- ...AddARegistrationOrDeviceTokenResponse.java | 12 +- .../model/AddExtraDataToAMessageRequest.java | 14 +- .../model/AddExtraDataToAMessageResponse.java | 14 +- .../client/model/BlockAUserRequest.java | 2 +- .../client/model/BlockAUserResponse.java | 14 +- .../client/model/CheckIfMemberResponse.java | 2 +- ...ushNotificationContentTemplateRequest.java | 2 +- ...shNotificationContentTemplateResponse.java | 2 +- .../client/model/CreateABotRequest.java | 2 +- .../client/model/CreateABotResponse.java | 2 +- .../client/model/CreateABotResponseBot.java | 2 +- .../model/CreateAChannelMetadataRequest.java | 2 +- .../model/CreateAChannelMetadataResponse.java | 2 +- .../model/CreateAGroupChannelRequest.java | 14 +- .../client/model/CreateAUserRequest.java | 2 +- .../model/CreateAnOpenChannelRequest.java | 2 +- .../client/model/CreateUserTokenRequest.java | 2 +- .../client/model/CreateUserTokenResponse.java | 2 +- .../model/FreezeAGroupChannelRequest.java | 2 +- .../model/FreezeAnOpenChannelRequest.java | 2 +- .../model/GetAGroupChannelResponse.java | 84 +-- .../model/GetAGroupChannelResponseAllOf.java | 12 +- ...etChannelInvitationPreferenceResponse.java | 2 +- ...talNumberOfMessagesInAChannelResponse.java | 2 +- .../GroupChannelListMembersResponse.java | 14 +- .../model/GroupChatListChannelsResponse.java | 14 +- .../client/model/HideAChannelRequest.java | 2 +- .../client/model/InviteAsMembersRequest.java | 2 +- .../client/model/InviteAsMembersResponse.java | 86 +-- .../model/InviteAsMembersResponseAllOf.java | 14 +- .../client/model/JoinAChannelRequest.java | 2 +- .../client/model/JoinChannelsRequest.java | 2 +- .../client/model/LeaveAChannelRequest.java | 2 +- .../model/LeaveMyGroupChannelsRequest.java | 2 +- .../model/ListBlockedUsersResponse.java | 14 +- .../client/model/ListBotsResponse.java | 2 +- .../model/ListBotsResponseBotsInner.java | 2 +- .../model/ListBotsResponseBotsInnerBot.java | 2 +- .../ListBotsResponseBotsInnerBotStyle.java | 2 +- ...istBotsResponseBotsInnerBotStyleColor.java | 2 +- ...tsResponseBotsInnerFirstMessagesInner.java | 2 +- ...sponseBotsInnerFirstMessagesInnerData.java | 2 +- .../ListBotsResponseBotsInnerSafeguard.java | 2 +- .../client/model/ListMessagesResponse.java | 14 +- .../model/ListMyGroupChannelsResponse.java | 14 +- .../model/ListOpenChannelsResponse.java | 14 +- .../client/model/ListOperatorsResponse.java | 14 +- ...istRegistrationOrDeviceTokensResponse.java | 12 +- .../client/model/ListUsersResponse.java | 14 +- .../model/MarkAllMessagesAsReadRequest.java | 2 +- .../MarkChannelMessagesAsReadRequest.java | 2 +- .../MigrateMessagesAdminMessageRequest.java | 2 +- .../MigrateMessagesFileMessageRequest.java | 2 +- ...agesFileMessageRequestThumbnailsInner.java | 2 +- .../client/model/MigrateMessagesRequest.java | 2 +- .../MigrateMessagesRequestMessagesInner.java | 2 +- .../MigrateMessagesTextMessageRequest.java | 2 +- ...gisterOperatorsToAGroupChannelRequest.java | 2 +- ...oveARegistrationOrDeviceTokenResponse.java | 12 +- ...eAllRegistrationOrDeviceTokenResponse.java | 12 +- .../client/model/ResetChatHistoryRequest.java | 2 +- .../model/ResetChatHistoryResponse.java | 2 +- .../model/ScheduleAnAnnouncementRequest.java | 2 +- ...nouncementRequestCreateChannelOptions.java | 2 +- .../ScheduleAnAnnouncementRequestMessage.java | 2 +- .../model/ScheduleAnAnnouncementResponse.java | 2 +- ...ScheduleAnAnnouncementResponseMessage.java | 2 +- .../client/model/SendABotMessageResponse.java | 12 +- .../client/model/SendAMessageRequest.java | 24 +- ...endAMessageRequestPushMessageTemplate.java | 2 +- ...essageRequestPushMessageTemplateOneOf.java | 2 +- .../model/SendAdminMessageRequestBody.java | 14 +- .../client/model/SendBirdFile.java | 62 +-- .../client/model/SendBirdGroupChannel.java | 344 ++++++------ .../client/model/SendBirdMember.java | 158 +++--- .../client/model/SendBirdMessageResponse.java | 274 +++++----- .../client/model/SendBirdOpenChannel.java | 104 ++-- .../model/SendBirdParentMessageInfo.java | 82 +-- .../client/model/SendBirdReaction.java | 36 +- .../client/model/SendBirdUser.java | 144 ++--- .../model/SendFileMessageRequestBody.java | 24 +- .../model/SendTextMessageRequestBody.java | 14 +- ...MessageRequestBodyPushMessageTemplate.java | 2 +- .../client/model/SendbirdBasicUserInfo.java | 64 +-- .../model/SendbirdDisappearingMessage.java | 28 +- .../model/SendbirdExtendedMessagePayload.java | 28 +- .../model/SendbirdGroupChannelDetail.java | 278 +++++----- .../SendbirdGroupChannelDetailChannel.java | 64 +-- .../SendbirdGroupChannelLastMessage.java | 100 ++-- ...MessageResponseExtendedMessagePayload.java | 86 +-- .../SendbirdMessageResponseMessageEvents.java | 40 +- .../model/SendbirdPushTriggerOption.java | 10 +- .../client/model/SendbirdSmsFallback.java | 30 +- .../model/SendbirdSortedMetaarrayInner.java | 30 +- .../client/model/SendbirdThumbnail.java | 52 +- .../model/StartTypingIndicatorsRequest.java | 2 +- .../model/UpdateAChannelMetadataRequest.java | 2 +- .../model/UpdateAGroupChannelRequest.java | 2 +- .../client/model/UpdateAMessageRequest.java | 2 +- .../client/model/UpdateAUserRequest.java | 2 +- .../model/UpdateAnOpenChannelRequest.java | 2 +- .../client/model/UpdateBotByIdData.java | 2 +- .../client/model/UpdateBotByIdResponse.java | 2 +- ...ateChannelInvitationPreferenceRequest.java | 2 +- ...teChannelInvitationPreferenceResponse.java | 2 +- ...pdateCountPreferenceOfAChannelRequest.java | 2 +- ...CountPreferenceOfChannelByUrlResponse.java | 2 +- .../UpdateExtraDataInAMessageRequest.java | 14 +- .../UpdateExtraDataInAMessageResponse.java | 14 +- ...datePushPreferencesForAChannelRequest.java | 2 +- ...atePushPreferencesForAChannelResponse.java | 12 +- .../model/UpdatePushPreferencesRequest.java | 12 +- .../model/UpdatePushPreferencesResponse.java | 12 +- .../client/model/ViewBotByIdResponse.java | 2 +- .../client/model/ViewBotByIdResponseBot.java | 2 +- ...ViewCountPreferenceOfAChannelResponse.java | 2 +- ...rOfChannelsWithUnreadMessagesResponse.java | 2 +- .../ViewNumberOfDailyActiveUsersResponse.java | 2 +- ...iewNumberOfMonthlyActiveUsersResponse.java | 2 +- .../ViewNumberOfUnreadMessagesResponse.java | 2 +- ...iewPushPreferencesForAChannelResponse.java | 12 +- .../model/ViewPushPreferencesResponse.java | 12 +- .../java/org/sendbird/client/ApiClient.java | 2 +- .../org/sendbird/client/ApiException.java | 2 +- .../org/sendbird/client/Configuration.java | 2 +- src/main/java/org/sendbird/client/JSON.java | 2 +- .../sendbird/client/JavaTimeFormatter.java | 2 +- src/main/java/org/sendbird/client/Pair.java | 2 +- .../java/org/sendbird/client/StringUtil.java | 2 +- .../sendbird/client/api/AnnouncementApi.java | 32 +- .../java/org/sendbird/client/api/BotApi.java | 146 ++--- .../sendbird/client/api/GroupChannelApi.java | 334 ++++++------ .../org/sendbird/client/api/MessageApi.java | 196 +++---- .../org/sendbird/client/api/MetadataApi.java | 50 +- .../sendbird/client/api/ModerationApi.java | 106 ++-- .../sendbird/client/api/OpenChannelApi.java | 118 ++--- .../sendbird/client/api/StatisticsApi.java | 30 +- .../java/org/sendbird/client/api/UserApi.java | 498 +++++++++--------- .../org/sendbird/client/auth/ApiKeyAuth.java | 2 +- .../sendbird/client/auth/HttpBasicAuth.java | 2 +- .../sendbird/client/auth/HttpBearerAuth.java | 2 +- 207 files changed, 2826 insertions(+), 2820 deletions(-) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 4ec61c19..f42f4e5a 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -4,139 +4,139 @@ api/openapi.yaml build.gradle build.sbt +docs/AcceptAnInvitationRequest.md +docs/AddARegistrationOrDeviceTokenRequest.md +docs/AddARegistrationOrDeviceTokenResponse.md +docs/AddExtraDataToAMessageRequest.md +docs/AddExtraDataToAMessageResponse.md docs/AnnouncementApi.md +docs/BlockAUserRequest.md +docs/BlockAUserResponse.md docs/BotApi.md +docs/CheckIfMemberResponse.md +docs/ChooseAPushNotificationContentTemplateRequest.md +docs/ChooseAPushNotificationContentTemplateResponse.md +docs/CreateABotRequest.md +docs/CreateABotResponse.md +docs/CreateABotResponseBot.md +docs/CreateAChannelMetadataRequest.md +docs/CreateAChannelMetadataResponse.md +docs/CreateAGroupChannelRequest.md +docs/CreateAUserRequest.md +docs/CreateAnOpenChannelRequest.md +docs/CreateUserTokenRequest.md +docs/CreateUserTokenResponse.md +docs/FreezeAGroupChannelRequest.md +docs/FreezeAnOpenChannelRequest.md +docs/GetAGroupChannelResponse.md +docs/GetAGroupChannelResponseAllOf.md +docs/GetChannelInvitationPreferenceResponse.md +docs/GetTotalNumberOfMessagesInAChannelResponse.md docs/GroupChannelApi.md +docs/GroupChannelListMembersResponse.md +docs/GroupChatListChannelsResponse.md +docs/HideAChannelRequest.md +docs/InviteAsMembersRequest.md +docs/InviteAsMembersResponse.md +docs/InviteAsMembersResponseAllOf.md +docs/JoinAChannelRequest.md +docs/JoinChannelsRequest.md +docs/LeaveAChannelRequest.md +docs/LeaveMyGroupChannelsRequest.md +docs/ListBlockedUsersResponse.md +docs/ListBotsResponse.md +docs/ListBotsResponseBotsInner.md +docs/ListBotsResponseBotsInnerBot.md +docs/ListBotsResponseBotsInnerBotStyle.md +docs/ListBotsResponseBotsInnerBotStyleColor.md +docs/ListBotsResponseBotsInnerFirstMessagesInner.md +docs/ListBotsResponseBotsInnerFirstMessagesInnerData.md +docs/ListBotsResponseBotsInnerSafeguard.md +docs/ListMessagesResponse.md +docs/ListMyGroupChannelsResponse.md +docs/ListOpenChannelsResponse.md +docs/ListOperatorsResponse.md +docs/ListRegistrationOrDeviceTokensResponse.md +docs/ListUsersResponse.md +docs/MarkAllMessagesAsReadRequest.md +docs/MarkChannelMessagesAsReadRequest.md docs/MessageApi.md docs/MetadataApi.md +docs/MigrateMessagesAdminMessageRequest.md +docs/MigrateMessagesFileMessageRequest.md +docs/MigrateMessagesFileMessageRequestThumbnailsInner.md +docs/MigrateMessagesRequest.md +docs/MigrateMessagesRequestMessagesInner.md +docs/MigrateMessagesTextMessageRequest.md docs/ModerationApi.md docs/OpenChannelApi.md -docs/SendBirdAcceptAnInvitationRequest.md -docs/SendBirdAddARegistrationOrDeviceTokenRequest.md -docs/SendBirdAddARegistrationOrDeviceTokenResponse.md -docs/SendBirdAddExtraDataToAMessageRequest.md -docs/SendBirdAddExtraDataToAMessageResponse.md -docs/SendBirdBlockAUserRequest.md -docs/SendBirdBlockAUserResponse.md -docs/SendBirdCheckIfMemberResponse.md -docs/SendBirdChooseAPushNotificationContentTemplateRequest.md -docs/SendBirdChooseAPushNotificationContentTemplateResponse.md -docs/SendBirdCreateABotRequest.md -docs/SendBirdCreateABotResponse.md -docs/SendBirdCreateABotResponseBot.md -docs/SendBirdCreateAChannelMetadataRequest.md -docs/SendBirdCreateAChannelMetadataResponse.md -docs/SendBirdCreateAGroupChannelRequest.md -docs/SendBirdCreateAUserRequest.md -docs/SendBirdCreateAnOpenChannelRequest.md -docs/SendBirdCreateUserTokenRequest.md -docs/SendBirdCreateUserTokenResponse.md -docs/SendBirdFreezeAGroupChannelRequest.md -docs/SendBirdFreezeAnOpenChannelRequest.md -docs/SendBirdGetAGroupChannelResponse.md -docs/SendBirdGetAGroupChannelResponseAllOf.md -docs/SendBirdGetChannelInvitationPreferenceResponse.md -docs/SendBirdGetTotalNumberOfMessagesInAChannelResponse.md -docs/SendBirdGroupChannelListMembersResponse.md -docs/SendBirdGroupChatListChannelsResponse.md -docs/SendBirdHideAChannelRequest.md -docs/SendBirdInviteAsMembersRequest.md -docs/SendBirdInviteAsMembersResponse.md -docs/SendBirdInviteAsMembersResponseAllOf.md -docs/SendBirdJoinAChannelRequest.md -docs/SendBirdJoinChannelsRequest.md -docs/SendBirdLeaveAChannelRequest.md -docs/SendBirdLeaveMyGroupChannelsRequest.md -docs/SendBirdListBlockedUsersResponse.md -docs/SendBirdListBotsResponse.md -docs/SendBirdListBotsResponseBotsInner.md -docs/SendBirdListBotsResponseBotsInnerBot.md -docs/SendBirdListBotsResponseBotsInnerBotStyle.md -docs/SendBirdListBotsResponseBotsInnerBotStyleColor.md -docs/SendBirdListBotsResponseBotsInnerFirstMessagesInner.md -docs/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.md -docs/SendBirdListBotsResponseBotsInnerSafeguard.md -docs/SendBirdListMessagesResponse.md -docs/SendBirdListMyGroupChannelsResponse.md -docs/SendBirdListOpenChannelsResponse.md -docs/SendBirdListOperatorsResponse.md -docs/SendBirdListRegistrationOrDeviceTokensResponse.md -docs/SendBirdListUsersResponse.md -docs/SendBirdMarkAllMessagesAsReadRequest.md -docs/SendBirdMarkChannelMessagesAsReadRequest.md -docs/SendBirdMigrateMessagesAdminMessageRequest.md -docs/SendBirdMigrateMessagesFileMessageRequest.md -docs/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.md -docs/SendBirdMigrateMessagesRequest.md -docs/SendBirdMigrateMessagesRequestMessagesInner.md -docs/SendBirdMigrateMessagesTextMessageRequest.md -docs/SendBirdRegisterOperatorsToAGroupChannelRequest.md -docs/SendBirdRemoveARegistrationOrDeviceTokenResponse.md -docs/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md -docs/SendBirdResetChatHistoryRequest.md -docs/SendBirdResetChatHistoryResponse.md -docs/SendBirdScheduleAnAnnouncementRequest.md -docs/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.md -docs/SendBirdScheduleAnAnnouncementRequestMessage.md -docs/SendBirdScheduleAnAnnouncementResponse.md -docs/SendBirdScheduleAnAnnouncementResponseMessage.md -docs/SendBirdSendABotMessageResponse.md -docs/SendBirdSendAMessageRequest.md -docs/SendBirdSendAMessageRequestPushMessageTemplate.md -docs/SendBirdSendAMessageRequestPushMessageTemplateOneOf.md -docs/SendBirdSendAdminMessageRequestBody.md -docs/SendBirdSendBirdBasicUserInfo.md -docs/SendBirdSendBirdDisappearingMessage.md -docs/SendBirdSendBirdExtendedMessagePayload.md -docs/SendBirdSendBirdFile.md -docs/SendBirdSendBirdGroupChannel.md -docs/SendBirdSendBirdGroupChannelDetail.md -docs/SendBirdSendBirdGroupChannelDetailChannel.md -docs/SendBirdSendBirdGroupChannelLastMessage.md -docs/SendBirdSendBirdMember.md -docs/SendBirdSendBirdMessageResponse.md -docs/SendBirdSendBirdMessageResponseExtendedMessagePayload.md -docs/SendBirdSendBirdMessageResponseMessageEvents.md -docs/SendBirdSendBirdOpenChannel.md -docs/SendBirdSendBirdParentMessageInfo.md -docs/SendBirdSendBirdPushTriggerOption.md -docs/SendBirdSendBirdReaction.md -docs/SendBirdSendBirdSmsFallback.md -docs/SendBirdSendBirdSortedMetaarrayInner.md -docs/SendBirdSendBirdThumbnail.md -docs/SendBirdSendBirdUser.md -docs/SendBirdSendFileMessageRequestBody.md -docs/SendBirdSendTextMessageRequestBody.md -docs/SendBirdSendTextMessageRequestBodyPushMessageTemplate.md -docs/SendBirdStartTypingIndicatorsRequest.md -docs/SendBirdUpdateAChannelMetadataRequest.md -docs/SendBirdUpdateAGroupChannelRequest.md -docs/SendBirdUpdateAMessageRequest.md -docs/SendBirdUpdateAUserRequest.md -docs/SendBirdUpdateAnOpenChannelRequest.md -docs/SendBirdUpdateBotByIdData.md -docs/SendBirdUpdateBotByIdResponse.md -docs/SendBirdUpdateChannelInvitationPreferenceRequest.md -docs/SendBirdUpdateChannelInvitationPreferenceResponse.md -docs/SendBirdUpdateCountPreferenceOfAChannelRequest.md -docs/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.md -docs/SendBirdUpdateExtraDataInAMessageRequest.md -docs/SendBirdUpdateExtraDataInAMessageResponse.md -docs/SendBirdUpdatePushPreferencesForAChannelRequest.md -docs/SendBirdUpdatePushPreferencesForAChannelResponse.md -docs/SendBirdUpdatePushPreferencesRequest.md -docs/SendBirdUpdatePushPreferencesResponse.md -docs/SendBirdViewBotByIdResponse.md -docs/SendBirdViewBotByIdResponseBot.md -docs/SendBirdViewCountPreferenceOfAChannelResponse.md -docs/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.md -docs/SendBirdViewNumberOfDailyActiveUsersResponse.md -docs/SendBirdViewNumberOfMonthlyActiveUsersResponse.md -docs/SendBirdViewNumberOfUnreadMessagesResponse.md -docs/SendBirdViewPushPreferencesForAChannelResponse.md -docs/SendBirdViewPushPreferencesResponse.md +docs/RegisterOperatorsToAGroupChannelRequest.md +docs/RemoveARegistrationOrDeviceTokenResponse.md +docs/RemoveAllRegistrationOrDeviceTokenResponse.md +docs/ResetChatHistoryRequest.md +docs/ResetChatHistoryResponse.md +docs/ScheduleAnAnnouncementRequest.md +docs/ScheduleAnAnnouncementRequestCreateChannelOptions.md +docs/ScheduleAnAnnouncementRequestMessage.md +docs/ScheduleAnAnnouncementResponse.md +docs/ScheduleAnAnnouncementResponseMessage.md +docs/SendABotMessageResponse.md +docs/SendAMessageRequest.md +docs/SendAMessageRequestPushMessageTemplate.md +docs/SendAMessageRequestPushMessageTemplateOneOf.md +docs/SendAdminMessageRequestBody.md +docs/SendBirdBasicUserInfo.md +docs/SendBirdDisappearingMessage.md +docs/SendBirdExtendedMessagePayload.md +docs/SendBirdFile.md +docs/SendBirdGroupChannel.md +docs/SendBirdGroupChannelDetail.md +docs/SendBirdGroupChannelDetailChannel.md +docs/SendBirdGroupChannelLastMessage.md +docs/SendBirdMember.md +docs/SendBirdMessageResponse.md +docs/SendBirdMessageResponseExtendedMessagePayload.md +docs/SendBirdMessageResponseMessageEvents.md +docs/SendBirdOpenChannel.md +docs/SendBirdParentMessageInfo.md +docs/SendBirdPushTriggerOption.md +docs/SendBirdReaction.md +docs/SendBirdSmsFallback.md +docs/SendBirdSortedMetaarrayInner.md +docs/SendBirdThumbnail.md +docs/SendBirdUser.md +docs/SendFileMessageRequestBody.md +docs/SendTextMessageRequestBody.md +docs/SendTextMessageRequestBodyPushMessageTemplate.md +docs/StartTypingIndicatorsRequest.md docs/StatisticsApi.md +docs/UpdateAChannelMetadataRequest.md +docs/UpdateAGroupChannelRequest.md +docs/UpdateAMessageRequest.md +docs/UpdateAUserRequest.md +docs/UpdateAnOpenChannelRequest.md +docs/UpdateBotByIdData.md +docs/UpdateBotByIdResponse.md +docs/UpdateChannelInvitationPreferenceRequest.md +docs/UpdateChannelInvitationPreferenceResponse.md +docs/UpdateCountPreferenceOfAChannelRequest.md +docs/UpdateCountPreferenceOfChannelByUrlResponse.md +docs/UpdateExtraDataInAMessageRequest.md +docs/UpdateExtraDataInAMessageResponse.md +docs/UpdatePushPreferencesForAChannelRequest.md +docs/UpdatePushPreferencesForAChannelResponse.md +docs/UpdatePushPreferencesRequest.md +docs/UpdatePushPreferencesResponse.md docs/UserApi.md +docs/ViewBotByIdResponse.md +docs/ViewBotByIdResponseBot.md +docs/ViewCountPreferenceOfAChannelResponse.md +docs/ViewNumberOfChannelsWithUnreadMessagesResponse.md +docs/ViewNumberOfDailyActiveUsersResponse.md +docs/ViewNumberOfMonthlyActiveUsersResponse.md +docs/ViewNumberOfUnreadMessagesResponse.md +docs/ViewPushPreferencesForAChannelResponse.md +docs/ViewPushPreferencesResponse.md git_push.sh gradle.properties gradle/wrapper/gradle-wrapper.jar @@ -147,130 +147,130 @@ pom.xml settings.gradle src/main/AndroidManifest.xml src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java -src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java -src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java -src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java -src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java -src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java -src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java -src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java -src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java -src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java -src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java -src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java -src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java -src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java -src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java -src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java -src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java -src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java -src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java -src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java -src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java -src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java -src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java -src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java -src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java -src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java -src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java -src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java -src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java -src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java -src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java -src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java -src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java -src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java -src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java -src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java -src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java -src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java -src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java -src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java -src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java -src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java -src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java -src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java -src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java -src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java -src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java -src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java -src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java -src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java -src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java -src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java -src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java -src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java -src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java -src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java -src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java -src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java -src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java -src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java -src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java -src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java -src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java -src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java -src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java -src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java -src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdBasicUserInfo.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdDisappearingMessage.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdExtendedMessagePayload.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdFile.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdGroupChannel.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdGroupChannelDetail.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdGroupChannelDetailChannel.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdGroupChannelLastMessage.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdMember.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdMessageResponse.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdMessageResponseExtendedMessagePayload.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdMessageResponseMessageEvents.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdOpenChannel.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdParentMessageInfo.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdPushTriggerOption.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdReaction.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdSmsFallback.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdSortedMetaarrayInner.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdThumbnail.java -src/main/java/org/openapitools/client/model/SendBirdSendBirdUser.java -src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java -src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java -src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java -src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java -src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java -src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java -src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java -src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java -src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java -src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java -src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java -src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java -src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java -src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java -src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java -src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java -src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java -src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java -src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java -src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java -src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java -src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java -src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java -src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java -src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java -src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java -src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java +src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java +src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java +src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java +src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java +src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java +src/main/java/org/openapitools/client/model/BlockAUserRequest.java +src/main/java/org/openapitools/client/model/BlockAUserResponse.java +src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java +src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java +src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java +src/main/java/org/openapitools/client/model/CreateABotRequest.java +src/main/java/org/openapitools/client/model/CreateABotResponse.java +src/main/java/org/openapitools/client/model/CreateABotResponseBot.java +src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java +src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java +src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java +src/main/java/org/openapitools/client/model/CreateAUserRequest.java +src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java +src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java +src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java +src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java +src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java +src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java +src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java +src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java +src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java +src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java +src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java +src/main/java/org/openapitools/client/model/HideAChannelRequest.java +src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java +src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java +src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java +src/main/java/org/openapitools/client/model/JoinAChannelRequest.java +src/main/java/org/openapitools/client/model/JoinChannelsRequest.java +src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java +src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java +src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java +src/main/java/org/openapitools/client/model/ListBotsResponse.java +src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java +src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java +src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java +src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java +src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java +src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java +src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java +src/main/java/org/openapitools/client/model/ListMessagesResponse.java +src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java +src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java +src/main/java/org/openapitools/client/model/ListOperatorsResponse.java +src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java +src/main/java/org/openapitools/client/model/ListUsersResponse.java +src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java +src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java +src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java +src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java +src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java +src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java +src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java +src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java +src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java +src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java +src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java +src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java +src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java +src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java +src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java +src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java +src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java +src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java +src/main/java/org/openapitools/client/model/SendABotMessageResponse.java +src/main/java/org/openapitools/client/model/SendAMessageRequest.java +src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java +src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java +src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java +src/main/java/org/openapitools/client/model/SendBirdBasicUserInfo.java +src/main/java/org/openapitools/client/model/SendBirdDisappearingMessage.java +src/main/java/org/openapitools/client/model/SendBirdExtendedMessagePayload.java +src/main/java/org/openapitools/client/model/SendBirdFile.java +src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java +src/main/java/org/openapitools/client/model/SendBirdGroupChannelDetail.java +src/main/java/org/openapitools/client/model/SendBirdGroupChannelDetailChannel.java +src/main/java/org/openapitools/client/model/SendBirdGroupChannelLastMessage.java +src/main/java/org/openapitools/client/model/SendBirdMember.java +src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java +src/main/java/org/openapitools/client/model/SendBirdMessageResponseExtendedMessagePayload.java +src/main/java/org/openapitools/client/model/SendBirdMessageResponseMessageEvents.java +src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java +src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java +src/main/java/org/openapitools/client/model/SendBirdPushTriggerOption.java +src/main/java/org/openapitools/client/model/SendBirdReaction.java +src/main/java/org/openapitools/client/model/SendBirdSmsFallback.java +src/main/java/org/openapitools/client/model/SendBirdSortedMetaarrayInner.java +src/main/java/org/openapitools/client/model/SendBirdThumbnail.java +src/main/java/org/openapitools/client/model/SendBirdUser.java +src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java +src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java +src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java +src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java +src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java +src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java +src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java +src/main/java/org/openapitools/client/model/UpdateAUserRequest.java +src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java +src/main/java/org/openapitools/client/model/UpdateBotByIdData.java +src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java +src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java +src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java +src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java +src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java +src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java +src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java +src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java +src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java +src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java +src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java +src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java +src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java +src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java +src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java +src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java +src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java +src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java +src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java +src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java src/main/java/org/sendbird/client/ApiClient.java src/main/java/org/sendbird/client/ApiException.java src/main/java/org/sendbird/client/ApiResponse.java diff --git a/api/openapi.yaml b/api/openapi.yaml index 34a6659f..13a7bfd1 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -9234,6 +9234,12 @@ components: properties: {} type: object MigrateMessagesRequest: + example: + rewind_read_ts: true + messages: + - null + - null + update_read_ts: true properties: messages: items: diff --git a/docs/AddARegistrationOrDeviceTokenResponse.md b/docs/AddARegistrationOrDeviceTokenResponse.md index 8834e8d9..ecb7203e 100644 --- a/docs/AddARegistrationOrDeviceTokenResponse.md +++ b/docs/AddARegistrationOrDeviceTokenResponse.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**token** | **String** | | [optional] | |**type** | **String** | | [optional] | -|**user** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | diff --git a/docs/AddExtraDataToAMessageRequest.md b/docs/AddExtraDataToAMessageRequest.md index e063c96c..33949e5e 100644 --- a/docs/AddExtraDataToAMessageRequest.md +++ b/docs/AddExtraDataToAMessageRequest.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | | +|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | | diff --git a/docs/AddExtraDataToAMessageResponse.md b/docs/AddExtraDataToAMessageResponse.md index db45bff6..02ba31bf 100644 --- a/docs/AddExtraDataToAMessageResponse.md +++ b/docs/AddExtraDataToAMessageResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | diff --git a/docs/AnnouncementApi.md b/docs/AnnouncementApi.md index 55f78d99..8342c51c 100644 --- a/docs/AnnouncementApi.md +++ b/docs/AnnouncementApi.md @@ -10,7 +10,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## scheduleAnAnnouncement -> SendBirdScheduleAnAnnouncementResponse scheduleAnAnnouncement().apiToken(apiToken).sendBirdScheduleAnAnnouncementRequest(sendBirdScheduleAnAnnouncementRequest).execute(); +> ScheduleAnAnnouncementResponse scheduleAnAnnouncement().apiToken(apiToken).scheduleAnAnnouncementRequest(scheduleAnAnnouncementRequest).execute(); Schedule an announcement @@ -37,11 +37,11 @@ public class Example { AnnouncementApi apiInstance = new AnnouncementApi(defaultClient); String apiToken = "{{API_TOKEN}}"; // String | - SendBirdScheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest = new SendBirdScheduleAnAnnouncementRequest(); // SendBirdScheduleAnAnnouncementRequest | + ScheduleAnAnnouncementRequest scheduleAnAnnouncementRequest = new ScheduleAnAnnouncementRequest(); // ScheduleAnAnnouncementRequest | try { - SendBirdScheduleAnAnnouncementResponse result = api.scheduleAnAnnouncement() + ScheduleAnAnnouncementResponse result = api.scheduleAnAnnouncement() .apiToken(apiToken) - .sendBirdScheduleAnAnnouncementRequest(sendBirdScheduleAnAnnouncementRequest) + .scheduleAnAnnouncementRequest(scheduleAnAnnouncementRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -61,11 +61,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **apiToken** | **String**| | [optional] | -| **sendBirdScheduleAnAnnouncementRequest** | [**SendBirdScheduleAnAnnouncementRequest**](SendBirdScheduleAnAnnouncementRequest.md)| | [optional] | +| **scheduleAnAnnouncementRequest** | [**ScheduleAnAnnouncementRequest**](ScheduleAnAnnouncementRequest.md)| | [optional] | ### Return type -[**SendBirdScheduleAnAnnouncementResponse**](SendBirdScheduleAnAnnouncementResponse.md) +[**ScheduleAnAnnouncementResponse**](ScheduleAnAnnouncementResponse.md) ### Authorization diff --git a/docs/BlockAUserResponse.md b/docs/BlockAUserResponse.md index 91f6110d..3e8ce6e1 100644 --- a/docs/BlockAUserResponse.md +++ b/docs/BlockAUserResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**users** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | +|**users** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | |**next** | **String** | | [optional] | diff --git a/docs/BotApi.md b/docs/BotApi.md index 2acc70e8..2e1aebf6 100644 --- a/docs/BotApi.md +++ b/docs/BotApi.md @@ -18,7 +18,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## createABot -> SendBirdCreateABotResponse createABot().apiToken(apiToken).sendBirdCreateABotRequest(sendBirdCreateABotRequest).execute(); +> CreateABotResponse createABot().apiToken(apiToken).createABotRequest(createABotRequest).execute(); Create a bot @@ -48,11 +48,11 @@ public class Example { BotApi apiInstance = new BotApi(defaultClient); String apiToken = "{{API_TOKEN}}"; // String | - SendBirdCreateABotRequest sendBirdCreateABotRequest = new SendBirdCreateABotRequest(); // SendBirdCreateABotRequest | + CreateABotRequest createABotRequest = new CreateABotRequest(); // CreateABotRequest | try { - SendBirdCreateABotResponse result = api.createABot() + CreateABotResponse result = api.createABot() .apiToken(apiToken) - .sendBirdCreateABotRequest(sendBirdCreateABotRequest) + .createABotRequest(createABotRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -72,11 +72,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **apiToken** | **String**| | [optional] | -| **sendBirdCreateABotRequest** | [**SendBirdCreateABotRequest**](SendBirdCreateABotRequest.md)| | [optional] | +| **createABotRequest** | [**CreateABotRequest**](CreateABotRequest.md)| | [optional] | ### Return type -[**SendBirdCreateABotResponse**](SendBirdCreateABotResponse.md) +[**CreateABotResponse**](CreateABotResponse.md) ### Authorization @@ -169,7 +169,7 @@ No authorization required ## joinChannels -> SendBirdSendBirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).sendBirdJoinChannelsRequest(sendBirdJoinChannelsRequest).execute(); +> SendBirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).joinChannelsRequest(joinChannelsRequest).execute(); Join channels @@ -197,11 +197,11 @@ public class Example { BotApi apiInstance = new BotApi(defaultClient); String botUserid = "botUserid_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest = new SendBirdJoinChannelsRequest(); // SendBirdJoinChannelsRequest | + JoinChannelsRequest joinChannelsRequest = new JoinChannelsRequest(); // JoinChannelsRequest | try { - SendBirdSendBirdGroupChannelDetail result = api.joinChannels(botUserid) + SendBirdGroupChannelDetail result = api.joinChannels(botUserid) .apiToken(apiToken) - .sendBirdJoinChannelsRequest(sendBirdJoinChannelsRequest) + .joinChannelsRequest(joinChannelsRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -222,11 +222,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **botUserid** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdJoinChannelsRequest** | [**SendBirdJoinChannelsRequest**](SendBirdJoinChannelsRequest.md)| | [optional] | +| **joinChannelsRequest** | [**JoinChannelsRequest**](JoinChannelsRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) +[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) ### Authorization @@ -393,7 +393,7 @@ No authorization required ## listBots -> SendBirdListBotsResponse listBots().token(token).limit(limit).apiToken(apiToken).execute(); +> ListBotsResponse listBots().token(token).limit(limit).apiToken(apiToken).execute(); List bots @@ -423,7 +423,7 @@ public class Example { Integer limit = 56; // Integer | String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdListBotsResponse result = api.listBots() + ListBotsResponse result = api.listBots() .token(token) .limit(limit) .apiToken(apiToken) @@ -451,7 +451,7 @@ public class Example { ### Return type -[**SendBirdListBotsResponse**](SendBirdListBotsResponse.md) +[**ListBotsResponse**](ListBotsResponse.md) ### Authorization @@ -470,7 +470,7 @@ No authorization required ## sendABotMessage -> SendBirdSendABotMessageResponse sendABotMessage(botUserid).messageType(messageType).channelUrl(channelUrl).apiToken(apiToken).message(message).mentioned(mentioned).extendedMessagePayload(extendedMessagePayload)._file(_file).requireAuth(requireAuth).mentionType(mentionType).mentionedUserIds(mentionedUserIds).isSilent(isSilent).sortedMetaarray(sortedMetaarray).apnsBundleId(apnsBundleId).appleCriticalAlertOptions(appleCriticalAlertOptions).sound(sound).volume(volume).createdAt(createdAt).customType(customType).data(data).dedupId(dedupId).markAsRead(markAsRead).sendPush(sendPush).execute(); +> SendABotMessageResponse sendABotMessage(botUserid).messageType(messageType).channelUrl(channelUrl).apiToken(apiToken).message(message).mentioned(mentioned).extendedMessagePayload(extendedMessagePayload)._file(_file).requireAuth(requireAuth).mentionType(mentionType).mentionedUserIds(mentionedUserIds).isSilent(isSilent).sortedMetaarray(sortedMetaarray).apnsBundleId(apnsBundleId).appleCriticalAlertOptions(appleCriticalAlertOptions).sound(sound).volume(volume).createdAt(createdAt).customType(customType).data(data).dedupId(dedupId).markAsRead(markAsRead).sendPush(sendPush).execute(); Send a bot's message @@ -508,13 +508,13 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | String message = "message_example"; // String | Specifies the content of the message. * This property is required when message_type is MESG. List mentioned = Arrays.asList(); // List | * This property is available when message_type is MESG. - SendBirdSendBirdExtendedMessagePayload extendedMessagePayload = new SendBirdSendBirdExtendedMessagePayload(); // SendBirdSendBirdExtendedMessagePayload | + SendBirdExtendedMessagePayload extendedMessagePayload = new SendBirdExtendedMessagePayload(); // SendBirdExtendedMessagePayload | File _file = new File("/path/to/file"); // File | When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. Boolean requireAuth = true; // Boolean | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. String mentionType = "users"; // String | * This property is available when message_type is FILE. List mentionedUserIds = Arrays.asList(); // List | * This property is available when message_type is FILE. Boolean isSilent = true; // Boolean | * This property is available when message_type is FILE. - List sortedMetaarray = Arrays.asList(); // List | + List sortedMetaarray = Arrays.asList(); // List | String apnsBundleId = "apnsBundleId_example"; // String | * This property is available when message_type is FILE. Object appleCriticalAlertOptions = null; // Object | * This property is available when message_type is FILE. String sound = "sound_example"; // String | * This property is available when message_type is FILE. @@ -526,7 +526,7 @@ public class Example { Boolean markAsRead = true; // Boolean | Boolean sendPush = true; // Boolean | try { - SendBirdSendABotMessageResponse result = api.sendABotMessage(botUserid) + SendABotMessageResponse result = api.sendABotMessage(botUserid) .messageType(messageType) .channelUrl(channelUrl) .apiToken(apiToken) @@ -573,13 +573,13 @@ public class Example { | **apiToken** | **String**| | [optional] | | **message** | **String**| Specifies the content of the message. * This property is required when message_type is MESG. | [optional] | | **mentioned** | **List<String>**| * This property is available when message_type is MESG. | [optional] | -| **extendedMessagePayload** | [**SendBirdSendBirdExtendedMessagePayload**](SendBirdSendBirdExtendedMessagePayload.md)| | [optional] | +| **extendedMessagePayload** | [**SendBirdExtendedMessagePayload**](SendBirdExtendedMessagePayload.md)| | [optional] | | **_file** | **File**| When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. | [optional] | | **requireAuth** | **Boolean**| Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. | [optional] | | **mentionType** | **String**| * This property is available when message_type is FILE. | [optional] [enum: users, channel] | | **mentionedUserIds** | **List<String>**| * This property is available when message_type is FILE. | [optional] | | **isSilent** | **Boolean**| * This property is available when message_type is FILE. | [optional] | -| **sortedMetaarray** | [**List<SendBirdSendBirdSortedMetaarrayInner>**](SendBirdSendBirdSortedMetaarrayInner.md)| | [optional] | +| **sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md)| | [optional] | | **apnsBundleId** | **String**| * This property is available when message_type is FILE. | [optional] | | **appleCriticalAlertOptions** | **Object**| * This property is available when message_type is FILE. | [optional] | | **sound** | **String**| * This property is available when message_type is FILE. | [optional] | @@ -593,7 +593,7 @@ public class Example { ### Return type -[**SendBirdSendABotMessageResponse**](SendBirdSendABotMessageResponse.md) +[**SendABotMessageResponse**](SendABotMessageResponse.md) ### Authorization @@ -612,7 +612,7 @@ No authorization required ## updateBotById -> SendBirdUpdateBotByIdResponse updateBotById(botUserid).apiToken(apiToken).sendBirdUpdateBotByIdData(sendBirdUpdateBotByIdData).execute(); +> UpdateBotByIdResponse updateBotById(botUserid).apiToken(apiToken).updateBotByIdData(updateBotByIdData).execute(); Update a bot @@ -641,11 +641,11 @@ public class Example { BotApi apiInstance = new BotApi(defaultClient); String botUserid = "botUserid_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | - SendBirdUpdateBotByIdData sendBirdUpdateBotByIdData = new SendBirdUpdateBotByIdData(); // SendBirdUpdateBotByIdData | + UpdateBotByIdData updateBotByIdData = new UpdateBotByIdData(); // UpdateBotByIdData | try { - SendBirdUpdateBotByIdResponse result = api.updateBotById(botUserid) + UpdateBotByIdResponse result = api.updateBotById(botUserid) .apiToken(apiToken) - .sendBirdUpdateBotByIdData(sendBirdUpdateBotByIdData) + .updateBotByIdData(updateBotByIdData) .execute(); System.out.println(result); } catch (ApiException e) { @@ -666,11 +666,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **botUserid** | **String**| | | | **apiToken** | **String**| | [optional] | -| **sendBirdUpdateBotByIdData** | [**SendBirdUpdateBotByIdData**](SendBirdUpdateBotByIdData.md)| | [optional] | +| **updateBotByIdData** | [**UpdateBotByIdData**](UpdateBotByIdData.md)| | [optional] | ### Return type -[**SendBirdUpdateBotByIdResponse**](SendBirdUpdateBotByIdResponse.md) +[**UpdateBotByIdResponse**](UpdateBotByIdResponse.md) ### Authorization @@ -689,7 +689,7 @@ No authorization required ## viewBotById -> SendBirdViewBotByIdResponse viewBotById(botUserid).apiToken(apiToken).execute(); +> ViewBotByIdResponse viewBotById(botUserid).apiToken(apiToken).execute(); View a bot @@ -719,7 +719,7 @@ public class Example { String botUserid = "botUserid_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdViewBotByIdResponse result = api.viewBotById(botUserid) + ViewBotByIdResponse result = api.viewBotById(botUserid) .apiToken(apiToken) .execute(); System.out.println(result); @@ -744,7 +744,7 @@ public class Example { ### Return type -[**SendBirdViewBotByIdResponse**](SendBirdViewBotByIdResponse.md) +[**ViewBotByIdResponse**](ViewBotByIdResponse.md) ### Authorization diff --git a/docs/CreateAGroupChannelRequest.md b/docs/CreateAGroupChannelRequest.md index 566ac103..69320bd4 100644 --- a/docs/CreateAGroupChannelRequest.md +++ b/docs/CreateAGroupChannelRequest.md @@ -25,7 +25,7 @@ |**operatorIds** | **List<String>** | | [optional] | |**strict** | **Boolean** | | [optional] | |**userIds** | **List<String>** | | [optional] | -|**users** | [**List<SendbirdUser>**](SendbirdUser.md) | | | +|**users** | [**List<SendBirdUser>**](SendBirdUser.md) | | | diff --git a/docs/GetAGroupChannelResponse.md b/docs/GetAGroupChannelResponse.md index 3fb5998f..c8bb059e 100644 --- a/docs/GetAGroupChannelResponse.md +++ b/docs/GetAGroupChannelResponse.md @@ -7,23 +7,23 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channel** | [**SendbirdGroupChannelDetailChannel**](SendbirdGroupChannelDetailChannel.md) | | [optional] | +|**channel** | [**SendBirdGroupChannelDetailChannel**](SendBirdGroupChannelDetailChannel.md) | | [optional] | |**channelUrl** | **String** | | | |**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Object** | | [optional] | -|**disappearingMessage** | [**SendbirdDisappearingMessage**](SendbirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendBirdDisappearingMessage**](SendBirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | |**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | |**ignoreProfanityFilter** | **Boolean** | | [optional] | |**invitedAt** | **Long** | | [optional] | -|**inviter** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**inviter** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | |**isAccessCodeRequired** | **Boolean** | | [optional] | |**isBroadcast** | **Boolean** | | [optional] | |**isDiscoverable** | **Boolean** | | [optional] | @@ -37,18 +37,18 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] | +|**lastMessage** | [**SendBirdGroupChannelLastMessage**](SendBirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | -|**members** | [**List<SendbirdMember>**](SendbirdMember.md) | | [optional] | +|**members** | [**List<SendBirdMember>**](SendBirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | |**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | |**name** | **String** | | [optional] | -|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendbirdSmsFallback**](SendbirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendBirdSmsFallback**](SendBirdSmsFallback.md) | | [optional] | |**tsMessageOffset** | **Long** | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | diff --git a/docs/GetAGroupChannelResponseAllOf.md b/docs/GetAGroupChannelResponseAllOf.md index e74f29d1..e460c93d 100644 --- a/docs/GetAGroupChannelResponseAllOf.md +++ b/docs/GetAGroupChannelResponseAllOf.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channel** | [**SendbirdGroupChannelDetailChannel**](SendbirdGroupChannelDetailChannel.md) | | [optional] | +|**channel** | [**SendBirdGroupChannelDetailChannel**](SendBirdGroupChannelDetailChannel.md) | | [optional] | diff --git a/docs/GroupChannelApi.md b/docs/GroupChannelApi.md index a4847645..9c43dad4 100644 --- a/docs/GroupChannelApi.md +++ b/docs/GroupChannelApi.md @@ -28,7 +28,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## acceptAnInvitation -> SendBirdSendBirdGroupChannelDetail acceptAnInvitation(channelUrl).apiToken(apiToken).sendBirdAcceptAnInvitationRequest(sendBirdAcceptAnInvitationRequest).execute(); +> SendBirdGroupChannelDetail acceptAnInvitation(channelUrl).apiToken(apiToken).acceptAnInvitationRequest(acceptAnInvitationRequest).execute(); Accept an invitation @@ -59,11 +59,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdAcceptAnInvitationRequest sendBirdAcceptAnInvitationRequest = new SendBirdAcceptAnInvitationRequest(); // SendBirdAcceptAnInvitationRequest | + AcceptAnInvitationRequest acceptAnInvitationRequest = new AcceptAnInvitationRequest(); // AcceptAnInvitationRequest | try { - SendBirdSendBirdGroupChannelDetail result = api.acceptAnInvitation(channelUrl) + SendBirdGroupChannelDetail result = api.acceptAnInvitation(channelUrl) .apiToken(apiToken) - .sendBirdAcceptAnInvitationRequest(sendBirdAcceptAnInvitationRequest) + .acceptAnInvitationRequest(acceptAnInvitationRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -84,11 +84,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdAcceptAnInvitationRequest** | [**SendBirdAcceptAnInvitationRequest**](SendBirdAcceptAnInvitationRequest.md)| | [optional] | +| **acceptAnInvitationRequest** | [**AcceptAnInvitationRequest**](AcceptAnInvitationRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) +[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) ### Authorization @@ -190,7 +190,7 @@ No authorization required ## checkIfMember -> SendBirdCheckIfMemberResponse checkIfMember(channelUrl, userId).apiToken(apiToken).execute(); +> CheckIfMemberResponse checkIfMember(channelUrl, userId).apiToken(apiToken).execute(); Check if member @@ -223,7 +223,7 @@ public class Example { String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdCheckIfMemberResponse result = api.checkIfMember(channelUrl, userId) + CheckIfMemberResponse result = api.checkIfMember(channelUrl, userId) .apiToken(apiToken) .execute(); System.out.println(result); @@ -249,7 +249,7 @@ public class Example { ### Return type -[**SendBirdCheckIfMemberResponse**](SendBirdCheckIfMemberResponse.md) +[**CheckIfMemberResponse**](CheckIfMemberResponse.md) ### Authorization @@ -268,7 +268,7 @@ No authorization required ## createAGroupChannel -> SendBirdSendBirdGroupChannelDetail createAGroupChannel().apiToken(apiToken).sendBirdCreateAGroupChannelRequest(sendBirdCreateAGroupChannelRequest).execute(); +> SendBirdGroupChannelDetail createAGroupChannel().apiToken(apiToken).createAGroupChannelRequest(createAGroupChannelRequest).execute(); Create a group channel @@ -297,11 +297,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String apiToken = "{{API_TOKEN}}"; // String | - SendBirdCreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest = new SendBirdCreateAGroupChannelRequest(); // SendBirdCreateAGroupChannelRequest | + CreateAGroupChannelRequest createAGroupChannelRequest = new CreateAGroupChannelRequest(); // CreateAGroupChannelRequest | try { - SendBirdSendBirdGroupChannelDetail result = api.createAGroupChannel() + SendBirdGroupChannelDetail result = api.createAGroupChannel() .apiToken(apiToken) - .sendBirdCreateAGroupChannelRequest(sendBirdCreateAGroupChannelRequest) + .createAGroupChannelRequest(createAGroupChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -321,11 +321,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **apiToken** | **String**| | [optional] | -| **sendBirdCreateAGroupChannelRequest** | [**SendBirdCreateAGroupChannelRequest**](SendBirdCreateAGroupChannelRequest.md)| | [optional] | +| **createAGroupChannelRequest** | [**CreateAGroupChannelRequest**](CreateAGroupChannelRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) +[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) ### Authorization @@ -417,7 +417,7 @@ No authorization required ## getAGroupChannel -> SendBirdGetAGroupChannelResponse getAGroupChannel(channelUrl).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMember(showMember).memberActiveMode(memberActiveMode).userId(userId).apiToken(apiToken).execute(); +> GetAGroupChannelResponse getAGroupChannel(channelUrl).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMember(showMember).memberActiveMode(memberActiveMode).userId(userId).apiToken(apiToken).execute(); Get a group channel @@ -455,7 +455,7 @@ public class Example { String userId = "userId_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdGetAGroupChannelResponse result = api.getAGroupChannel(channelUrl) + GetAGroupChannelResponse result = api.getAGroupChannel(channelUrl) .showDeliveryReceipt(showDeliveryReceipt) .showReadReceipt(showReadReceipt) .showMember(showMember) @@ -490,7 +490,7 @@ public class Example { ### Return type -[**SendBirdGetAGroupChannelResponse**](SendBirdGetAGroupChannelResponse.md) +[**GetAGroupChannelResponse**](GetAGroupChannelResponse.md) ### Authorization @@ -509,7 +509,7 @@ No authorization required ## hideAChannel -> Object hideAChannel(channelUrl).apiToken(apiToken).sendBirdHideAChannelRequest(sendBirdHideAChannelRequest).execute(); +> Object hideAChannel(channelUrl).apiToken(apiToken).hideAChannelRequest(hideAChannelRequest).execute(); Hide a channel @@ -539,11 +539,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdHideAChannelRequest sendBirdHideAChannelRequest = new SendBirdHideAChannelRequest(); // SendBirdHideAChannelRequest | + HideAChannelRequest hideAChannelRequest = new HideAChannelRequest(); // HideAChannelRequest | try { Object result = api.hideAChannel(channelUrl) .apiToken(apiToken) - .sendBirdHideAChannelRequest(sendBirdHideAChannelRequest) + .hideAChannelRequest(hideAChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -564,7 +564,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdHideAChannelRequest** | [**SendBirdHideAChannelRequest**](SendBirdHideAChannelRequest.md)| | [optional] | +| **hideAChannelRequest** | [**HideAChannelRequest**](HideAChannelRequest.md)| | [optional] | ### Return type @@ -587,7 +587,7 @@ No authorization required ## inviteAsMembers -> SendBirdInviteAsMembersResponse inviteAsMembers(channelUrl).apiToken(apiToken).sendBirdInviteAsMembersRequest(sendBirdInviteAsMembersRequest).execute(); +> InviteAsMembersResponse inviteAsMembers(channelUrl).apiToken(apiToken).inviteAsMembersRequest(inviteAsMembersRequest).execute(); Invite as members @@ -618,11 +618,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdInviteAsMembersRequest sendBirdInviteAsMembersRequest = new SendBirdInviteAsMembersRequest(); // SendBirdInviteAsMembersRequest | + InviteAsMembersRequest inviteAsMembersRequest = new InviteAsMembersRequest(); // InviteAsMembersRequest | try { - SendBirdInviteAsMembersResponse result = api.inviteAsMembers(channelUrl) + InviteAsMembersResponse result = api.inviteAsMembers(channelUrl) .apiToken(apiToken) - .sendBirdInviteAsMembersRequest(sendBirdInviteAsMembersRequest) + .inviteAsMembersRequest(inviteAsMembersRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -643,11 +643,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdInviteAsMembersRequest** | [**SendBirdInviteAsMembersRequest**](SendBirdInviteAsMembersRequest.md)| | [optional] | +| **inviteAsMembersRequest** | [**InviteAsMembersRequest**](InviteAsMembersRequest.md)| | [optional] | ### Return type -[**SendBirdInviteAsMembersResponse**](SendBirdInviteAsMembersResponse.md) +[**InviteAsMembersResponse**](InviteAsMembersResponse.md) ### Authorization @@ -666,7 +666,7 @@ No authorization required ## joinAChannel -> SendBirdSendBirdGroupChannelDetail joinAChannel(channelUrl).apiToken(apiToken).sendBirdJoinAChannelRequest(sendBirdJoinAChannelRequest).execute(); +> SendBirdGroupChannelDetail joinAChannel(channelUrl).apiToken(apiToken).joinAChannelRequest(joinAChannelRequest).execute(); Join a channel @@ -694,11 +694,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdJoinAChannelRequest sendBirdJoinAChannelRequest = new SendBirdJoinAChannelRequest(); // SendBirdJoinAChannelRequest | + JoinAChannelRequest joinAChannelRequest = new JoinAChannelRequest(); // JoinAChannelRequest | try { - SendBirdSendBirdGroupChannelDetail result = api.joinAChannel(channelUrl) + SendBirdGroupChannelDetail result = api.joinAChannel(channelUrl) .apiToken(apiToken) - .sendBirdJoinAChannelRequest(sendBirdJoinAChannelRequest) + .joinAChannelRequest(joinAChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -719,11 +719,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdJoinAChannelRequest** | [**SendBirdJoinAChannelRequest**](SendBirdJoinAChannelRequest.md)| | [optional] | +| **joinAChannelRequest** | [**JoinAChannelRequest**](JoinAChannelRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) +[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) ### Authorization @@ -742,7 +742,7 @@ No authorization required ## leaveAChannel -> Object leaveAChannel(channelUrl).apiToken(apiToken).sendBirdLeaveAChannelRequest(sendBirdLeaveAChannelRequest).execute(); +> Object leaveAChannel(channelUrl).apiToken(apiToken).leaveAChannelRequest(leaveAChannelRequest).execute(); Leave a channel @@ -771,11 +771,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | - SendBirdLeaveAChannelRequest sendBirdLeaveAChannelRequest = new SendBirdLeaveAChannelRequest(); // SendBirdLeaveAChannelRequest | + LeaveAChannelRequest leaveAChannelRequest = new LeaveAChannelRequest(); // LeaveAChannelRequest | try { Object result = api.leaveAChannel(channelUrl) .apiToken(apiToken) - .sendBirdLeaveAChannelRequest(sendBirdLeaveAChannelRequest) + .leaveAChannelRequest(leaveAChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -796,7 +796,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| | | | **apiToken** | **String**| | [optional] | -| **sendBirdLeaveAChannelRequest** | [**SendBirdLeaveAChannelRequest**](SendBirdLeaveAChannelRequest.md)| | [optional] | +| **leaveAChannelRequest** | [**LeaveAChannelRequest**](LeaveAChannelRequest.md)| | [optional] | ### Return type @@ -819,7 +819,7 @@ No authorization required ## listChannels -> SendBirdGroupChatListChannelsResponse listChannels().apiToken(apiToken).token(token).limit(limit).distinctMode(distinctMode).publicMode(publicMode).superMode(superMode).createdAfter(createdAfter).createdBefore(createdBefore).showEmpty(showEmpty).showMember(showMember).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMetadata(showMetadata).showFrozen(showFrozen).order(order).metadataOrderKey(metadataOrderKey).customTypes(customTypes).customTypeStartswith(customTypeStartswith).channelUrls(channelUrls).name(name).nameContains(nameContains).nameStartswith(nameStartswith).membersExactlyIn(membersExactlyIn).membersIncludeIn(membersIncludeIn).queryType(queryType).membersNickname(membersNickname).membersNicknameContains(membersNicknameContains).metadataKey(metadataKey).metadataValues(metadataValues).metadataValueStartswith(metadataValueStartswith).metacounterKey(metacounterKey).metacounterValues(metacounterValues).metacounterValueGt(metacounterValueGt).metacounterValueGte(metacounterValueGte).metacounterValueLt(metacounterValueLt).metacounterValueLte(metacounterValueLte).includeSortedMetaarrayInLastMessage(includeSortedMetaarrayInLastMessage).execute(); +> GroupChatListChannelsResponse listChannels().apiToken(apiToken).token(token).limit(limit).distinctMode(distinctMode).publicMode(publicMode).superMode(superMode).createdAfter(createdAfter).createdBefore(createdBefore).showEmpty(showEmpty).showMember(showMember).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMetadata(showMetadata).showFrozen(showFrozen).order(order).metadataOrderKey(metadataOrderKey).customTypes(customTypes).customTypeStartswith(customTypeStartswith).channelUrls(channelUrls).name(name).nameContains(nameContains).nameStartswith(nameStartswith).membersExactlyIn(membersExactlyIn).membersIncludeIn(membersIncludeIn).queryType(queryType).membersNickname(membersNickname).membersNicknameContains(membersNicknameContains).metadataKey(metadataKey).metadataValues(metadataValues).metadataValueStartswith(metadataValueStartswith).metacounterKey(metacounterKey).metacounterValues(metacounterValues).metacounterValueGt(metacounterValueGt).metacounterValueGte(metacounterValueGte).metacounterValueLt(metacounterValueLt).metacounterValueLte(metacounterValueLte).includeSortedMetaarrayInLastMessage(includeSortedMetaarrayInLastMessage).execute(); List channels @@ -885,7 +885,7 @@ public class Example { String metacounterValueLte = "metacounterValueLte_example"; // String | Searches for group channels with metacounter containing an item with the key specified by the metadata_key parameter, where the value of that item is lower than or equal to the value specified by this parameter. To use this parameter, the metacounter_key parameter should be specified. Boolean includeSortedMetaarrayInLastMessage = false; // Boolean | Determines whether to include the sorted_metaarray as one of the last_message’s properties in the response. try { - SendBirdGroupChatListChannelsResponse result = api.listChannels() + GroupChatListChannelsResponse result = api.listChannels() .apiToken(apiToken) .token(token) .limit(limit) @@ -981,7 +981,7 @@ public class Example { ### Return type -[**SendBirdGroupChatListChannelsResponse**](SendBirdGroupChatListChannelsResponse.md) +[**GroupChatListChannelsResponse**](GroupChatListChannelsResponse.md) ### Authorization @@ -1000,7 +1000,7 @@ No authorization required ## listMembers -> SendBirdGroupChannelListMembersResponse listMembers(channelUrl).token(token).limit(limit).userId(userId).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMemberIsMuted(showMemberIsMuted).order(order).operatorFilter(operatorFilter).memberStateFilter(memberStateFilter).mutedMemberFilter(mutedMemberFilter).memberActiveModeFilter(memberActiveModeFilter).nicknameStartswith(nicknameStartswith).includePushPreference(includePushPreference).apiToken(apiToken).execute(); +> GroupChannelListMembersResponse listMembers(channelUrl).token(token).limit(limit).userId(userId).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMemberIsMuted(showMemberIsMuted).order(order).operatorFilter(operatorFilter).memberStateFilter(memberStateFilter).mutedMemberFilter(mutedMemberFilter).memberActiveModeFilter(memberActiveModeFilter).nicknameStartswith(nicknameStartswith).includePushPreference(includePushPreference).apiToken(apiToken).execute(); List members @@ -1049,7 +1049,7 @@ public class Example { Boolean includePushPreference = true; // Boolean | Determines whether to include information about the push preference of each member, such as `push_enabled`, `push_trigger_option`, and `do_not_disturb`. (Default: `false`) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdGroupChannelListMembersResponse result = api.listMembers(channelUrl) + GroupChannelListMembersResponse result = api.listMembers(channelUrl) .token(token) .limit(limit) .userId(userId) @@ -1100,7 +1100,7 @@ public class Example { ### Return type -[**SendBirdGroupChannelListMembersResponse**](SendBirdGroupChannelListMembersResponse.md) +[**GroupChannelListMembersResponse**](GroupChannelListMembersResponse.md) ### Authorization @@ -1119,7 +1119,7 @@ No authorization required ## listOperators -> SendBirdListOperatorsResponse listOperators(channelUrl).token(token).limit(limit).apiToken(apiToken).execute(); +> ListOperatorsResponse listOperators(channelUrl).token(token).limit(limit).apiToken(apiToken).execute(); List operators @@ -1154,7 +1154,7 @@ public class Example { Integer limit = 56; // Integer | Specifies the number of results to return per page. Acceptable values are 1 to 100, inclusive. (Default: 10) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdListOperatorsResponse result = api.listOperators(channelUrl) + ListOperatorsResponse result = api.listOperators(channelUrl) .token(token) .limit(limit) .apiToken(apiToken) @@ -1183,7 +1183,7 @@ public class Example { ### Return type -[**SendBirdListOperatorsResponse**](SendBirdListOperatorsResponse.md) +[**ListOperatorsResponse**](ListOperatorsResponse.md) ### Authorization @@ -1202,7 +1202,7 @@ No authorization required ## registerOperatorsToAGroupChannel -> Object registerOperatorsToAGroupChannel(channelUrl).apiToken(apiToken).sendBirdRegisterOperatorsToAGroupChannelRequest(sendBirdRegisterOperatorsToAGroupChannelRequest).execute(); +> Object registerOperatorsToAGroupChannel(channelUrl).apiToken(apiToken).registerOperatorsToAGroupChannelRequest(registerOperatorsToAGroupChannelRequest).execute(); Register operators to a group channel @@ -1230,11 +1230,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest = new SendBirdRegisterOperatorsToAGroupChannelRequest(); // SendBirdRegisterOperatorsToAGroupChannelRequest | + RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest = new RegisterOperatorsToAGroupChannelRequest(); // RegisterOperatorsToAGroupChannelRequest | try { Object result = api.registerOperatorsToAGroupChannel(channelUrl) .apiToken(apiToken) - .sendBirdRegisterOperatorsToAGroupChannelRequest(sendBirdRegisterOperatorsToAGroupChannelRequest) + .registerOperatorsToAGroupChannelRequest(registerOperatorsToAGroupChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1255,7 +1255,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdRegisterOperatorsToAGroupChannelRequest** | [**SendBirdRegisterOperatorsToAGroupChannelRequest**](SendBirdRegisterOperatorsToAGroupChannelRequest.md)| | [optional] | +| **registerOperatorsToAGroupChannelRequest** | [**RegisterOperatorsToAGroupChannelRequest**](RegisterOperatorsToAGroupChannelRequest.md)| | [optional] | ### Return type @@ -1278,7 +1278,7 @@ No authorization required ## resetChatHistory -> SendBirdResetChatHistoryResponse resetChatHistory(channelUrl).apiToken(apiToken).sendBirdResetChatHistoryRequest(sendBirdResetChatHistoryRequest).execute(); +> ResetChatHistoryResponse resetChatHistory(channelUrl).apiToken(apiToken).resetChatHistoryRequest(resetChatHistoryRequest).execute(); Reset chat history @@ -1310,11 +1310,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdResetChatHistoryRequest sendBirdResetChatHistoryRequest = new SendBirdResetChatHistoryRequest(); // SendBirdResetChatHistoryRequest | + ResetChatHistoryRequest resetChatHistoryRequest = new ResetChatHistoryRequest(); // ResetChatHistoryRequest | try { - SendBirdResetChatHistoryResponse result = api.resetChatHistory(channelUrl) + ResetChatHistoryResponse result = api.resetChatHistory(channelUrl) .apiToken(apiToken) - .sendBirdResetChatHistoryRequest(sendBirdResetChatHistoryRequest) + .resetChatHistoryRequest(resetChatHistoryRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1335,11 +1335,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdResetChatHistoryRequest** | [**SendBirdResetChatHistoryRequest**](SendBirdResetChatHistoryRequest.md)| | [optional] | +| **resetChatHistoryRequest** | [**ResetChatHistoryRequest**](ResetChatHistoryRequest.md)| | [optional] | ### Return type -[**SendBirdResetChatHistoryResponse**](SendBirdResetChatHistoryResponse.md) +[**ResetChatHistoryResponse**](ResetChatHistoryResponse.md) ### Authorization @@ -1358,7 +1358,7 @@ No authorization required ## startTypingIndicators -> Object startTypingIndicators(channelUrl).apiToken(apiToken).sendBirdStartTypingIndicatorsRequest(sendBirdStartTypingIndicatorsRequest).execute(); +> Object startTypingIndicators(channelUrl).apiToken(apiToken).startTypingIndicatorsRequest(startTypingIndicatorsRequest).execute(); Start typing indicators @@ -1392,11 +1392,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest = new SendBirdStartTypingIndicatorsRequest(); // SendBirdStartTypingIndicatorsRequest | + StartTypingIndicatorsRequest startTypingIndicatorsRequest = new StartTypingIndicatorsRequest(); // StartTypingIndicatorsRequest | try { Object result = api.startTypingIndicators(channelUrl) .apiToken(apiToken) - .sendBirdStartTypingIndicatorsRequest(sendBirdStartTypingIndicatorsRequest) + .startTypingIndicatorsRequest(startTypingIndicatorsRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1417,7 +1417,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdStartTypingIndicatorsRequest** | [**SendBirdStartTypingIndicatorsRequest**](SendBirdStartTypingIndicatorsRequest.md)| | [optional] | +| **startTypingIndicatorsRequest** | [**StartTypingIndicatorsRequest**](StartTypingIndicatorsRequest.md)| | [optional] | ### Return type @@ -1440,7 +1440,7 @@ No authorization required ## stopTypingIndicators -> Object stopTypingIndicators(channelUrl).apiToken(apiToken).sendBirdStartTypingIndicatorsRequest(sendBirdStartTypingIndicatorsRequest).execute(); +> Object stopTypingIndicators(channelUrl).apiToken(apiToken).startTypingIndicatorsRequest(startTypingIndicatorsRequest).execute(); Stop typing indicators @@ -1472,11 +1472,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest = new SendBirdStartTypingIndicatorsRequest(); // SendBirdStartTypingIndicatorsRequest | + StartTypingIndicatorsRequest startTypingIndicatorsRequest = new StartTypingIndicatorsRequest(); // StartTypingIndicatorsRequest | try { Object result = api.stopTypingIndicators(channelUrl) .apiToken(apiToken) - .sendBirdStartTypingIndicatorsRequest(sendBirdStartTypingIndicatorsRequest) + .startTypingIndicatorsRequest(startTypingIndicatorsRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1497,7 +1497,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdStartTypingIndicatorsRequest** | [**SendBirdStartTypingIndicatorsRequest**](SendBirdStartTypingIndicatorsRequest.md)| | [optional] | +| **startTypingIndicatorsRequest** | [**StartTypingIndicatorsRequest**](StartTypingIndicatorsRequest.md)| | [optional] | ### Return type @@ -1603,7 +1603,7 @@ No authorization required ## updateAGroupChannel -> SendBirdSendBirdGroupChannelDetail updateAGroupChannel(channelUrl).apiToken(apiToken).sendBirdUpdateAGroupChannelRequest(sendBirdUpdateAGroupChannelRequest).execute(); +> SendBirdGroupChannelDetail updateAGroupChannel(channelUrl).apiToken(apiToken).updateAGroupChannelRequest(updateAGroupChannelRequest).execute(); Update a group channel @@ -1631,11 +1631,11 @@ public class Example { GroupChannelApi apiInstance = new GroupChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | - SendBirdUpdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest = new SendBirdUpdateAGroupChannelRequest(); // SendBirdUpdateAGroupChannelRequest | + UpdateAGroupChannelRequest updateAGroupChannelRequest = new UpdateAGroupChannelRequest(); // UpdateAGroupChannelRequest | try { - SendBirdSendBirdGroupChannelDetail result = api.updateAGroupChannel(channelUrl) + SendBirdGroupChannelDetail result = api.updateAGroupChannel(channelUrl) .apiToken(apiToken) - .sendBirdUpdateAGroupChannelRequest(sendBirdUpdateAGroupChannelRequest) + .updateAGroupChannelRequest(updateAGroupChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1656,11 +1656,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| | | | **apiToken** | **String**| | [optional] | -| **sendBirdUpdateAGroupChannelRequest** | [**SendBirdUpdateAGroupChannelRequest**](SendBirdUpdateAGroupChannelRequest.md)| | [optional] | +| **updateAGroupChannelRequest** | [**UpdateAGroupChannelRequest**](UpdateAGroupChannelRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) +[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) ### Authorization diff --git a/docs/GroupChannelListMembersResponse.md b/docs/GroupChannelListMembersResponse.md index 3c2ad2df..086b5508 100644 --- a/docs/GroupChannelListMembersResponse.md +++ b/docs/GroupChannelListMembersResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**members** | [**List<SendbirdMember>**](SendbirdMember.md) | | | +|**members** | [**List<SendBirdMember>**](SendBirdMember.md) | | | |**next** | **String** | | [optional] | diff --git a/docs/GroupChatListChannelsResponse.md b/docs/GroupChatListChannelsResponse.md index 417e868e..6156840d 100644 --- a/docs/GroupChatListChannelsResponse.md +++ b/docs/GroupChatListChannelsResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channels** | [**List<SendbirdGroupChannel>**](SendbirdGroupChannel.md) | | [optional] | +|**channels** | [**List<SendBirdGroupChannel>**](SendBirdGroupChannel.md) | | [optional] | |**next** | **String** | | [optional] | |**ts** | **Long** | | [optional] | diff --git a/docs/InviteAsMembersResponse.md b/docs/InviteAsMembersResponse.md index a27a9e1b..caf62d92 100644 --- a/docs/InviteAsMembersResponse.md +++ b/docs/InviteAsMembersResponse.md @@ -11,18 +11,18 @@ |**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Object** | | [optional] | -|**disappearingMessage** | [**SendbirdDisappearingMessage**](SendbirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendBirdDisappearingMessage**](SendBirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | |**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | |**ignoreProfanityFilter** | **Boolean** | | [optional] | |**invitedAt** | **Long** | | [optional] | -|**inviter** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**inviter** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | |**isAccessCodeRequired** | **Boolean** | | [optional] | |**isBroadcast** | **Boolean** | | [optional] | |**isDiscoverable** | **Boolean** | | [optional] | @@ -36,23 +36,23 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] | +|**lastMessage** | [**SendBirdGroupChannelLastMessage**](SendBirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | -|**members** | [**List<SendbirdMember>**](SendbirdMember.md) | | [optional] | +|**members** | [**List<SendBirdMember>**](SendBirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | |**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | |**name** | **String** | | [optional] | -|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendbirdSmsFallback**](SendbirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendBirdSmsFallback**](SendBirdSmsFallback.md) | | [optional] | |**tsMessageOffset** | **Long** | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | |**userLastRead** | **Long** | | [optional] | -|**operators** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | +|**operators** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | diff --git a/docs/InviteAsMembersResponseAllOf.md b/docs/InviteAsMembersResponseAllOf.md index 76549406..4d34fc8c 100644 --- a/docs/InviteAsMembersResponseAllOf.md +++ b/docs/InviteAsMembersResponseAllOf.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**operators** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | +|**operators** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | diff --git a/docs/ListBlockedUsersResponse.md b/docs/ListBlockedUsersResponse.md index cfffc844..60aae202 100644 --- a/docs/ListBlockedUsersResponse.md +++ b/docs/ListBlockedUsersResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**users** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | +|**users** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | |**next** | **String** | | [optional] | diff --git a/docs/ListMessagesResponse.md b/docs/ListMessagesResponse.md index 6a27629c..35ff3063 100644 --- a/docs/ListMessagesResponse.md +++ b/docs/ListMessagesResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**messages** | [**List<SendbirdMessageResponse>**](SendbirdMessageResponse.md) | | [optional] | +|**messages** | [**List<SendBirdMessageResponse>**](SendBirdMessageResponse.md) | | [optional] | diff --git a/docs/ListMyGroupChannelsResponse.md b/docs/ListMyGroupChannelsResponse.md index 9283431d..7c1bc63c 100644 --- a/docs/ListMyGroupChannelsResponse.md +++ b/docs/ListMyGroupChannelsResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channels** | [**List<SendbirdGroupChannel>**](SendbirdGroupChannel.md) | | [optional] | +|**channels** | [**List<SendBirdGroupChannel>**](SendBirdGroupChannel.md) | | [optional] | |**next** | **String** | | [optional] | |**ts** | **Long** | | [optional] | diff --git a/docs/ListOpenChannelsResponse.md b/docs/ListOpenChannelsResponse.md index 6d4dfd10..c20e8cfb 100644 --- a/docs/ListOpenChannelsResponse.md +++ b/docs/ListOpenChannelsResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channels** | [**List<SendbirdOpenChannel>**](SendbirdOpenChannel.md) | | [optional] | +|**channels** | [**List<SendBirdOpenChannel>**](SendBirdOpenChannel.md) | | [optional] | |**next** | **String** | | [optional] | |**ts** | **Long** | | [optional] | diff --git a/docs/ListOperatorsResponse.md b/docs/ListOperatorsResponse.md index 3e7c8585..49e4c7e3 100644 --- a/docs/ListOperatorsResponse.md +++ b/docs/ListOperatorsResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**next** | **String** | | [optional] | -|**operators** | [**List<SendbirdBasicUserInfo>**](SendbirdBasicUserInfo.md) | | [optional] | +|**operators** | [**List<SendBirdBasicUserInfo>**](SendBirdBasicUserInfo.md) | | [optional] | diff --git a/docs/ListRegistrationOrDeviceTokensResponse.md b/docs/ListRegistrationOrDeviceTokensResponse.md index 4a05ff17..7a41610d 100644 --- a/docs/ListRegistrationOrDeviceTokensResponse.md +++ b/docs/ListRegistrationOrDeviceTokensResponse.md @@ -10,7 +10,7 @@ |**token** | **List<String>** | | [optional] | |**tokens** | **List<String>** | | [optional] | |**type** | **String** | | [optional] | -|**user** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | diff --git a/docs/ListUsersResponse.md b/docs/ListUsersResponse.md index c3c0db08..7bd53d4d 100644 --- a/docs/ListUsersResponse.md +++ b/docs/ListUsersResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**next** | **String** | | [optional] | -|**users** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | +|**users** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | diff --git a/docs/MessageApi.md b/docs/MessageApi.md index 669ca9b8..80de5192 100644 --- a/docs/MessageApi.md +++ b/docs/MessageApi.md @@ -20,7 +20,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## addExtraDataToAMessage -> SendBirdAddExtraDataToAMessageResponse addExtraDataToAMessage(channelType, channelUrl, messageId).apiToken(apiToken).sendBirdAddExtraDataToAMessageRequest(sendBirdAddExtraDataToAMessageRequest).execute(); +> AddExtraDataToAMessageResponse addExtraDataToAMessage(channelType, channelUrl, messageId).apiToken(apiToken).addExtraDataToAMessageRequest(addExtraDataToAMessageRequest).execute(); Add extra data to a message @@ -51,11 +51,11 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) Long messageId = 56L; // Long | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdAddExtraDataToAMessageRequest sendBirdAddExtraDataToAMessageRequest = new SendBirdAddExtraDataToAMessageRequest(); // SendBirdAddExtraDataToAMessageRequest | + AddExtraDataToAMessageRequest addExtraDataToAMessageRequest = new AddExtraDataToAMessageRequest(); // AddExtraDataToAMessageRequest | try { - SendBirdAddExtraDataToAMessageResponse result = api.addExtraDataToAMessage(channelType, channelUrl, messageId) + AddExtraDataToAMessageResponse result = api.addExtraDataToAMessage(channelType, channelUrl, messageId) .apiToken(apiToken) - .sendBirdAddExtraDataToAMessageRequest(sendBirdAddExtraDataToAMessageRequest) + .addExtraDataToAMessageRequest(addExtraDataToAMessageRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -78,11 +78,11 @@ public class Example { | **channelUrl** | **String**| (Required) | | | **messageId** | **Long**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdAddExtraDataToAMessageRequest** | [**SendBirdAddExtraDataToAMessageRequest**](SendBirdAddExtraDataToAMessageRequest.md)| | [optional] | +| **addExtraDataToAMessageRequest** | [**AddExtraDataToAMessageRequest**](AddExtraDataToAMessageRequest.md)| | [optional] | ### Return type -[**SendBirdAddExtraDataToAMessageResponse**](SendBirdAddExtraDataToAMessageResponse.md) +[**AddExtraDataToAMessageResponse**](AddExtraDataToAMessageResponse.md) ### Authorization @@ -179,7 +179,7 @@ No authorization required ## getAMessage -> SendBirdSendBirdMessageResponse getAMessage(channelType, channelUrl, messageId).includeReactions(includeReactions).includeThreadInfo(includeThreadInfo).includeParentMessageInfo(includeParentMessageInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).apiToken(apiToken).execute(); +> SendBirdMessageResponse getAMessage(channelType, channelUrl, messageId).includeReactions(includeReactions).includeThreadInfo(includeThreadInfo).includeParentMessageInfo(includeParentMessageInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).apiToken(apiToken).execute(); Get a message @@ -226,7 +226,7 @@ public class Example { Boolean withSortedMetaArray = true; // Boolean | String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdSendBirdMessageResponse result = api.getAMessage(channelType, channelUrl, messageId) + SendBirdMessageResponse result = api.getAMessage(channelType, channelUrl, messageId) .includeReactions(includeReactions) .includeThreadInfo(includeThreadInfo) .includeParentMessageInfo(includeParentMessageInfo) @@ -263,7 +263,7 @@ public class Example { ### Return type -[**SendBirdSendBirdMessageResponse**](SendBirdSendBirdMessageResponse.md) +[**SendBirdMessageResponse**](SendBirdMessageResponse.md) ### Authorization @@ -282,7 +282,7 @@ No authorization required ## getTotalNumberOfMessagesInAChannel -> SendBirdGetTotalNumberOfMessagesInAChannelResponse getTotalNumberOfMessagesInAChannel(channelType, channelUrl).apiToken(apiToken).execute(); +> GetTotalNumberOfMessagesInAChannelResponse getTotalNumberOfMessagesInAChannel(channelType, channelUrl).apiToken(apiToken).execute(); Get total number of messages in a channel @@ -313,7 +313,7 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdGetTotalNumberOfMessagesInAChannelResponse result = api.getTotalNumberOfMessagesInAChannel(channelType, channelUrl) + GetTotalNumberOfMessagesInAChannelResponse result = api.getTotalNumberOfMessagesInAChannel(channelType, channelUrl) .apiToken(apiToken) .execute(); System.out.println(result); @@ -339,7 +339,7 @@ public class Example { ### Return type -[**SendBirdGetTotalNumberOfMessagesInAChannelResponse**](SendBirdGetTotalNumberOfMessagesInAChannelResponse.md) +[**GetTotalNumberOfMessagesInAChannelResponse**](GetTotalNumberOfMessagesInAChannelResponse.md) ### Authorization @@ -358,7 +358,7 @@ No authorization required ## listMessages -> SendBirdListMessagesResponse listMessages(channelType, channelUrl).messageTs(messageTs).messageId(messageId).prevLimit(prevLimit).nextLimit(nextLimit).include(include).reverse(reverse).senderId(senderId).senderIds(senderIds).operatorFilter(operatorFilter).customTypes(customTypes).messageType(messageType).includingRemoved(includingRemoved).includeReactions(includeReactions).includeReplyType(includeReplyType).includeParentMessageInfo(includeParentMessageInfo).includeThreadInfo(includeThreadInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).showSubchannelMessagesOnly(showSubchannelMessagesOnly).userId(userId).apiToken(apiToken).execute(); +> ListMessagesResponse listMessages(channelType, channelUrl).messageTs(messageTs).messageId(messageId).prevLimit(prevLimit).nextLimit(nextLimit).include(include).reverse(reverse).senderId(senderId).senderIds(senderIds).operatorFilter(operatorFilter).customTypes(customTypes).messageType(messageType).includingRemoved(includingRemoved).includeReactions(includeReactions).includeReplyType(includeReplyType).includeParentMessageInfo(includeParentMessageInfo).includeThreadInfo(includeThreadInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).showSubchannelMessagesOnly(showSubchannelMessagesOnly).userId(userId).apiToken(apiToken).execute(); List messages @@ -417,7 +417,7 @@ public class Example { String userId = "userId_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdListMessagesResponse result = api.listMessages(channelType, channelUrl) + ListMessagesResponse result = api.listMessages(channelType, channelUrl) .messageTs(messageTs) .messageId(messageId) .prevLimit(prevLimit) @@ -483,7 +483,7 @@ public class Example { ### Return type -[**SendBirdListMessagesResponse**](SendBirdListMessagesResponse.md) +[**ListMessagesResponse**](ListMessagesResponse.md) ### Authorization @@ -502,7 +502,7 @@ No authorization required ## markChannelMessagesAsRead -> Object markChannelMessagesAsRead(channelUrl).apiToken(apiToken).sendBirdMarkChannelMessagesAsReadRequest(sendBirdMarkChannelMessagesAsReadRequest).execute(); +> Object markChannelMessagesAsRead(channelUrl).apiToken(apiToken).markChannelMessagesAsReadRequest(markChannelMessagesAsReadRequest).execute(); Mark all messages as read @@ -530,11 +530,11 @@ public class Example { MessageApi apiInstance = new MessageApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdMarkChannelMessagesAsReadRequest sendBirdMarkChannelMessagesAsReadRequest = new SendBirdMarkChannelMessagesAsReadRequest(); // SendBirdMarkChannelMessagesAsReadRequest | + MarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest = new MarkChannelMessagesAsReadRequest(); // MarkChannelMessagesAsReadRequest | try { Object result = api.markChannelMessagesAsRead(channelUrl) .apiToken(apiToken) - .sendBirdMarkChannelMessagesAsReadRequest(sendBirdMarkChannelMessagesAsReadRequest) + .markChannelMessagesAsReadRequest(markChannelMessagesAsReadRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -555,7 +555,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdMarkChannelMessagesAsReadRequest** | [**SendBirdMarkChannelMessagesAsReadRequest**](SendBirdMarkChannelMessagesAsReadRequest.md)| | [optional] | +| **markChannelMessagesAsReadRequest** | [**MarkChannelMessagesAsReadRequest**](MarkChannelMessagesAsReadRequest.md)| | [optional] | ### Return type @@ -578,7 +578,7 @@ No authorization required ## migrateMessages -> Object migrateMessages(targetChannelUrl).apiToken(apiToken).sendBirdMigrateMessagesRequest(sendBirdMigrateMessagesRequest).execute(); +> Object migrateMessages(targetChannelUrl).apiToken(apiToken).migrateMessagesRequest(migrateMessagesRequest).execute(); Migrate messages @@ -618,11 +618,11 @@ public class Example { MessageApi apiInstance = new MessageApi(defaultClient); String targetChannelUrl = "targetChannelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdMigrateMessagesRequest sendBirdMigrateMessagesRequest = new SendBirdMigrateMessagesRequest(); // SendBirdMigrateMessagesRequest | + MigrateMessagesRequest migrateMessagesRequest = new MigrateMessagesRequest(); // MigrateMessagesRequest | try { Object result = api.migrateMessages(targetChannelUrl) .apiToken(apiToken) - .sendBirdMigrateMessagesRequest(sendBirdMigrateMessagesRequest) + .migrateMessagesRequest(migrateMessagesRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -643,7 +643,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **targetChannelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdMigrateMessagesRequest** | [**SendBirdMigrateMessagesRequest**](SendBirdMigrateMessagesRequest.md)| | [optional] | +| **migrateMessagesRequest** | [**MigrateMessagesRequest**](MigrateMessagesRequest.md)| | [optional] | ### Return type @@ -747,7 +747,7 @@ No authorization required ## sendAMessage -> SendBirdSendBirdMessageResponse sendAMessage(channelType, channelUrl).apiToken(apiToken).sendBirdSendAMessageRequest(sendBirdSendAMessageRequest).execute(); +> SendBirdMessageResponse sendAMessage(channelType, channelUrl).apiToken(apiToken).sendAMessageRequest(sendAMessageRequest).execute(); Send a message @@ -778,11 +778,11 @@ public class Example { String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdSendAMessageRequest sendBirdSendAMessageRequest = new SendBirdSendAMessageRequest(); // SendBirdSendAMessageRequest | + SendAMessageRequest sendAMessageRequest = new SendAMessageRequest(); // SendAMessageRequest | try { - SendBirdSendBirdMessageResponse result = api.sendAMessage(channelType, channelUrl) + SendBirdMessageResponse result = api.sendAMessage(channelType, channelUrl) .apiToken(apiToken) - .sendBirdSendAMessageRequest(sendBirdSendAMessageRequest) + .sendAMessageRequest(sendAMessageRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -804,11 +804,11 @@ public class Example { | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdSendAMessageRequest** | [**SendBirdSendAMessageRequest**](SendBirdSendAMessageRequest.md)| | [optional] | +| **sendAMessageRequest** | [**SendAMessageRequest**](SendAMessageRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdMessageResponse**](SendBirdSendBirdMessageResponse.md) +[**SendBirdMessageResponse**](SendBirdMessageResponse.md) ### Authorization @@ -827,7 +827,7 @@ No authorization required ## updateAMessage -> SendBirdSendBirdMessageResponse updateAMessage(channelType, channelUrl, messageId).apiToken(apiToken).sendBirdUpdateAMessageRequest(sendBirdUpdateAMessageRequest).execute(); +> SendBirdMessageResponse updateAMessage(channelType, channelUrl, messageId).apiToken(apiToken).updateAMessageRequest(updateAMessageRequest).execute(); Update a message @@ -858,11 +858,11 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) Long messageId = 56L; // Long | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdUpdateAMessageRequest sendBirdUpdateAMessageRequest = new SendBirdUpdateAMessageRequest(); // SendBirdUpdateAMessageRequest | + UpdateAMessageRequest updateAMessageRequest = new UpdateAMessageRequest(); // UpdateAMessageRequest | try { - SendBirdSendBirdMessageResponse result = api.updateAMessage(channelType, channelUrl, messageId) + SendBirdMessageResponse result = api.updateAMessage(channelType, channelUrl, messageId) .apiToken(apiToken) - .sendBirdUpdateAMessageRequest(sendBirdUpdateAMessageRequest) + .updateAMessageRequest(updateAMessageRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -885,11 +885,11 @@ public class Example { | **channelUrl** | **String**| (Required) | | | **messageId** | **Long**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdUpdateAMessageRequest** | [**SendBirdUpdateAMessageRequest**](SendBirdUpdateAMessageRequest.md)| | [optional] | +| **updateAMessageRequest** | [**UpdateAMessageRequest**](UpdateAMessageRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdMessageResponse**](SendBirdSendBirdMessageResponse.md) +[**SendBirdMessageResponse**](SendBirdMessageResponse.md) ### Authorization @@ -908,7 +908,7 @@ No authorization required ## updateExtraDataInAMessage -> SendBirdUpdateExtraDataInAMessageResponse updateExtraDataInAMessage(channelType, channelUrl, messageId).apiToken(apiToken).sendBirdUpdateExtraDataInAMessageRequest(sendBirdUpdateExtraDataInAMessageRequest).execute(); +> UpdateExtraDataInAMessageResponse updateExtraDataInAMessage(channelType, channelUrl, messageId).apiToken(apiToken).updateExtraDataInAMessageRequest(updateExtraDataInAMessageRequest).execute(); Update extra data in a message @@ -939,11 +939,11 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) Long messageId = 56L; // Long | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdUpdateExtraDataInAMessageRequest sendBirdUpdateExtraDataInAMessageRequest = new SendBirdUpdateExtraDataInAMessageRequest(); // SendBirdUpdateExtraDataInAMessageRequest | + UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest = new UpdateExtraDataInAMessageRequest(); // UpdateExtraDataInAMessageRequest | try { - SendBirdUpdateExtraDataInAMessageResponse result = api.updateExtraDataInAMessage(channelType, channelUrl, messageId) + UpdateExtraDataInAMessageResponse result = api.updateExtraDataInAMessage(channelType, channelUrl, messageId) .apiToken(apiToken) - .sendBirdUpdateExtraDataInAMessageRequest(sendBirdUpdateExtraDataInAMessageRequest) + .updateExtraDataInAMessageRequest(updateExtraDataInAMessageRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -966,11 +966,11 @@ public class Example { | **channelUrl** | **String**| (Required) | | | **messageId** | **Long**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdUpdateExtraDataInAMessageRequest** | [**SendBirdUpdateExtraDataInAMessageRequest**](SendBirdUpdateExtraDataInAMessageRequest.md)| | [optional] | +| **updateExtraDataInAMessageRequest** | [**UpdateExtraDataInAMessageRequest**](UpdateExtraDataInAMessageRequest.md)| | [optional] | ### Return type -[**SendBirdUpdateExtraDataInAMessageResponse**](SendBirdUpdateExtraDataInAMessageResponse.md) +[**UpdateExtraDataInAMessageResponse**](UpdateExtraDataInAMessageResponse.md) ### Authorization diff --git a/docs/MetadataApi.md b/docs/MetadataApi.md index 20427e71..10fad1d9 100644 --- a/docs/MetadataApi.md +++ b/docs/MetadataApi.md @@ -13,7 +13,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## createAChannelMetadata -> SendBirdCreateAChannelMetadataResponse createAChannelMetadata(channelType, channelUrl).apiToken(apiToken).sendBirdCreateAChannelMetadataRequest(sendBirdCreateAChannelMetadataRequest).execute(); +> CreateAChannelMetadataResponse createAChannelMetadata(channelType, channelUrl).apiToken(apiToken).createAChannelMetadataRequest(createAChannelMetadataRequest).execute(); Create a channel metadata @@ -43,11 +43,11 @@ public class Example { String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdCreateAChannelMetadataRequest sendBirdCreateAChannelMetadataRequest = new SendBirdCreateAChannelMetadataRequest(); // SendBirdCreateAChannelMetadataRequest | + CreateAChannelMetadataRequest createAChannelMetadataRequest = new CreateAChannelMetadataRequest(); // CreateAChannelMetadataRequest | try { - SendBirdCreateAChannelMetadataResponse result = api.createAChannelMetadata(channelType, channelUrl) + CreateAChannelMetadataResponse result = api.createAChannelMetadata(channelType, channelUrl) .apiToken(apiToken) - .sendBirdCreateAChannelMetadataRequest(sendBirdCreateAChannelMetadataRequest) + .createAChannelMetadataRequest(createAChannelMetadataRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -69,11 +69,11 @@ public class Example { | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdCreateAChannelMetadataRequest** | [**SendBirdCreateAChannelMetadataRequest**](SendBirdCreateAChannelMetadataRequest.md)| | [optional] | +| **createAChannelMetadataRequest** | [**CreateAChannelMetadataRequest**](CreateAChannelMetadataRequest.md)| | [optional] | ### Return type -[**SendBirdCreateAChannelMetadataResponse**](SendBirdCreateAChannelMetadataResponse.md) +[**CreateAChannelMetadataResponse**](CreateAChannelMetadataResponse.md) ### Authorization @@ -177,7 +177,7 @@ No authorization required ## updateAChannelMetadata -> Object updateAChannelMetadata(channelType, channelUrl).apiToken(apiToken).sendBirdUpdateAChannelMetadataRequest(sendBirdUpdateAChannelMetadataRequest).execute(); +> Object updateAChannelMetadata(channelType, channelUrl).apiToken(apiToken).updateAChannelMetadataRequest(updateAChannelMetadataRequest).execute(); Update a channel metadata - When updating existing items of a channel metadata by their keys or adding new items to the metadata @@ -214,11 +214,11 @@ public class Example { String channelType = "open_channels"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdUpdateAChannelMetadataRequest sendBirdUpdateAChannelMetadataRequest = new SendBirdUpdateAChannelMetadataRequest(); // SendBirdUpdateAChannelMetadataRequest | + UpdateAChannelMetadataRequest updateAChannelMetadataRequest = new UpdateAChannelMetadataRequest(); // UpdateAChannelMetadataRequest | try { Object result = api.updateAChannelMetadata(channelType, channelUrl) .apiToken(apiToken) - .sendBirdUpdateAChannelMetadataRequest(sendBirdUpdateAChannelMetadataRequest) + .updateAChannelMetadataRequest(updateAChannelMetadataRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -240,7 +240,7 @@ public class Example { | **channelType** | **String**| (Required) | [enum: open_channels, group_channels] | | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdUpdateAChannelMetadataRequest** | [**SendBirdUpdateAChannelMetadataRequest**](SendBirdUpdateAChannelMetadataRequest.md)| | [optional] | +| **updateAChannelMetadataRequest** | [**UpdateAChannelMetadataRequest**](UpdateAChannelMetadataRequest.md)| | [optional] | ### Return type diff --git a/docs/ModerationApi.md b/docs/ModerationApi.md index d565ec25..cc2222b4 100644 --- a/docs/ModerationApi.md +++ b/docs/ModerationApi.md @@ -14,7 +14,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## blockAUser -> SendBirdBlockAUserResponse blockAUser(userId).apiToken(apiToken).sendBirdBlockAUserRequest(sendBirdBlockAUserRequest).execute(); +> BlockAUserResponse blockAUser(userId).apiToken(apiToken).blockAUserRequest(blockAUserRequest).execute(); Block a user @@ -50,11 +50,11 @@ public class Example { ModerationApi apiInstance = new ModerationApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdBlockAUserRequest sendBirdBlockAUserRequest = new SendBirdBlockAUserRequest(); // SendBirdBlockAUserRequest | + BlockAUserRequest blockAUserRequest = new BlockAUserRequest(); // BlockAUserRequest | try { - SendBirdBlockAUserResponse result = api.blockAUser(userId) + BlockAUserResponse result = api.blockAUser(userId) .apiToken(apiToken) - .sendBirdBlockAUserRequest(sendBirdBlockAUserRequest) + .blockAUserRequest(blockAUserRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -75,11 +75,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdBlockAUserRequest** | [**SendBirdBlockAUserRequest**](SendBirdBlockAUserRequest.md)| | [optional] | +| **blockAUserRequest** | [**BlockAUserRequest**](BlockAUserRequest.md)| | [optional] | ### Return type -[**SendBirdBlockAUserResponse**](SendBirdBlockAUserResponse.md) +[**BlockAUserResponse**](BlockAUserResponse.md) ### Authorization @@ -98,7 +98,7 @@ No authorization required ## freezeAGroupChannel -> SendBirdSendBirdGroupChannelDetail freezeAGroupChannel(channelUrl).apiToken(apiToken).sendBirdFreezeAGroupChannelRequest(sendBirdFreezeAGroupChannelRequest).execute(); +> SendBirdGroupChannelDetail freezeAGroupChannel(channelUrl).apiToken(apiToken).freezeAGroupChannelRequest(freezeAGroupChannelRequest).execute(); Freeze a group channel @@ -129,11 +129,11 @@ public class Example { ModerationApi apiInstance = new ModerationApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdFreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest = new SendBirdFreezeAGroupChannelRequest(); // SendBirdFreezeAGroupChannelRequest | + FreezeAGroupChannelRequest freezeAGroupChannelRequest = new FreezeAGroupChannelRequest(); // FreezeAGroupChannelRequest | try { - SendBirdSendBirdGroupChannelDetail result = api.freezeAGroupChannel(channelUrl) + SendBirdGroupChannelDetail result = api.freezeAGroupChannel(channelUrl) .apiToken(apiToken) - .sendBirdFreezeAGroupChannelRequest(sendBirdFreezeAGroupChannelRequest) + .freezeAGroupChannelRequest(freezeAGroupChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -154,11 +154,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdFreezeAGroupChannelRequest** | [**SendBirdFreezeAGroupChannelRequest**](SendBirdFreezeAGroupChannelRequest.md)| | [optional] | +| **freezeAGroupChannelRequest** | [**FreezeAGroupChannelRequest**](FreezeAGroupChannelRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdGroupChannelDetail**](SendBirdSendBirdGroupChannelDetail.md) +[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) ### Authorization @@ -177,7 +177,7 @@ No authorization required ## freezeAnOpenChannel -> SendBirdSendBirdOpenChannel freezeAnOpenChannel(channelUrl).apiToken(apiToken).sendBirdFreezeAnOpenChannelRequest(sendBirdFreezeAnOpenChannelRequest).execute(); +> SendBirdOpenChannel freezeAnOpenChannel(channelUrl).apiToken(apiToken).freezeAnOpenChannelRequest(freezeAnOpenChannelRequest).execute(); Freeze an open channel @@ -208,11 +208,11 @@ public class Example { ModerationApi apiInstance = new ModerationApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdFreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest = new SendBirdFreezeAnOpenChannelRequest(); // SendBirdFreezeAnOpenChannelRequest | + FreezeAnOpenChannelRequest freezeAnOpenChannelRequest = new FreezeAnOpenChannelRequest(); // FreezeAnOpenChannelRequest | try { - SendBirdSendBirdOpenChannel result = api.freezeAnOpenChannel(channelUrl) + SendBirdOpenChannel result = api.freezeAnOpenChannel(channelUrl) .apiToken(apiToken) - .sendBirdFreezeAnOpenChannelRequest(sendBirdFreezeAnOpenChannelRequest) + .freezeAnOpenChannelRequest(freezeAnOpenChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -233,11 +233,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdFreezeAnOpenChannelRequest** | [**SendBirdFreezeAnOpenChannelRequest**](SendBirdFreezeAnOpenChannelRequest.md)| | [optional] | +| **freezeAnOpenChannelRequest** | [**FreezeAnOpenChannelRequest**](FreezeAnOpenChannelRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdOpenChannel**](SendBirdSendBirdOpenChannel.md) +[**SendBirdOpenChannel**](SendBirdOpenChannel.md) ### Authorization @@ -256,7 +256,7 @@ No authorization required ## listBlockedUsers -> SendBirdListBlockedUsersResponse listBlockedUsers(userId)._list(_list).token(token).limit(limit).userIds(userIds).metadatakey(metadatakey).metadatavaluesIn(metadatavaluesIn).apiToken(apiToken).execute(); +> ListBlockedUsersResponse listBlockedUsers(userId)._list(_list).token(token).limit(limit).userIds(userIds).metadatakey(metadatakey).metadatavaluesIn(metadatavaluesIn).apiToken(apiToken).execute(); List blocked users @@ -295,7 +295,7 @@ public class Example { String metadatavaluesIn = "metadatavaluesIn_example"; // String | String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdListBlockedUsersResponse result = api.listBlockedUsers(userId) + ListBlockedUsersResponse result = api.listBlockedUsers(userId) ._list(_list) .token(token) .limit(limit) @@ -332,7 +332,7 @@ public class Example { ### Return type -[**SendBirdListBlockedUsersResponse**](SendBirdListBlockedUsersResponse.md) +[**ListBlockedUsersResponse**](ListBlockedUsersResponse.md) ### Authorization diff --git a/docs/OpenChannelApi.md b/docs/OpenChannelApi.md index 14ad111c..a49bd270 100644 --- a/docs/OpenChannelApi.md +++ b/docs/OpenChannelApi.md @@ -17,7 +17,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## createAnOpenChannel -> SendBirdSendBirdOpenChannel createAnOpenChannel().apiToken(apiToken).sendBirdCreateAnOpenChannelRequest(sendBirdCreateAnOpenChannelRequest).execute(); +> SendBirdOpenChannel createAnOpenChannel().apiToken(apiToken).createAnOpenChannelRequest(createAnOpenChannelRequest).execute(); Create an open channel @@ -46,11 +46,11 @@ public class Example { OpenChannelApi apiInstance = new OpenChannelApi(defaultClient); String apiToken = "{{API_TOKEN}}"; // String | - SendBirdCreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest = new SendBirdCreateAnOpenChannelRequest(); // SendBirdCreateAnOpenChannelRequest | + CreateAnOpenChannelRequest createAnOpenChannelRequest = new CreateAnOpenChannelRequest(); // CreateAnOpenChannelRequest | try { - SendBirdSendBirdOpenChannel result = api.createAnOpenChannel() + SendBirdOpenChannel result = api.createAnOpenChannel() .apiToken(apiToken) - .sendBirdCreateAnOpenChannelRequest(sendBirdCreateAnOpenChannelRequest) + .createAnOpenChannelRequest(createAnOpenChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -70,11 +70,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **apiToken** | **String**| | [optional] | -| **sendBirdCreateAnOpenChannelRequest** | [**SendBirdCreateAnOpenChannelRequest**](SendBirdCreateAnOpenChannelRequest.md)| | [optional] | +| **createAnOpenChannelRequest** | [**CreateAnOpenChannelRequest**](CreateAnOpenChannelRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdOpenChannel**](SendBirdSendBirdOpenChannel.md) +[**SendBirdOpenChannel**](SendBirdOpenChannel.md) ### Authorization @@ -166,7 +166,7 @@ No authorization required ## getAnOpenChannel -> SendBirdSendBirdOpenChannel getAnOpenChannel(channelUrl).apiToken(apiToken).includeOperators(includeOperators).execute(); +> SendBirdOpenChannel getAnOpenChannel(channelUrl).apiToken(apiToken).includeOperators(includeOperators).execute(); Get an open channel @@ -196,7 +196,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | Boolean includeOperators = true; // Boolean | Determines whether to include a list of operators in the response. (Default: false) try { - SendBirdSendBirdOpenChannel result = api.getAnOpenChannel(channelUrl) + SendBirdOpenChannel result = api.getAnOpenChannel(channelUrl) .apiToken(apiToken) .includeOperators(includeOperators) .execute(); @@ -223,7 +223,7 @@ public class Example { ### Return type -[**SendBirdSendBirdOpenChannel**](SendBirdSendBirdOpenChannel.md) +[**SendBirdOpenChannel**](SendBirdOpenChannel.md) ### Authorization @@ -242,7 +242,7 @@ No authorization required ## listChannelOperators -> SendBirdListOperatorsResponse listChannelOperators(channelUrl).token(token).limit(limit).apiToken(apiToken).execute(); +> ListOperatorsResponse listChannelOperators(channelUrl).token(token).limit(limit).apiToken(apiToken).execute(); List operators of an open channel @@ -277,7 +277,7 @@ public class Example { Integer limit = 56; // Integer | String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdListOperatorsResponse result = api.listChannelOperators(channelUrl) + ListOperatorsResponse result = api.listChannelOperators(channelUrl) .token(token) .limit(limit) .apiToken(apiToken) @@ -306,7 +306,7 @@ public class Example { ### Return type -[**SendBirdListOperatorsResponse**](SendBirdListOperatorsResponse.md) +[**ListOperatorsResponse**](ListOperatorsResponse.md) ### Authorization @@ -325,7 +325,7 @@ No authorization required ## listOpenChannels -> SendBirdListOpenChannelsResponse listOpenChannels().token(token).channelUrls(channelUrls).limit(limit).customTypes(customTypes).nameContains(nameContains).urlContains(urlContains).showFrozen(showFrozen).showMetadata(showMetadata).apiToken(apiToken).execute(); +> ListOpenChannelsResponse listOpenChannels().token(token).channelUrls(channelUrls).limit(limit).customTypes(customTypes).nameContains(nameContains).urlContains(urlContains).showFrozen(showFrozen).showMetadata(showMetadata).apiToken(apiToken).execute(); List open channels @@ -361,7 +361,7 @@ public class Example { Boolean showMetadata = true; // Boolean | Determines whether to include channel metadata in the response. (Default: false) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdListOpenChannelsResponse result = api.listOpenChannels() + ListOpenChannelsResponse result = api.listOpenChannels() .token(token) .channelUrls(channelUrls) .limit(limit) @@ -401,7 +401,7 @@ public class Example { ### Return type -[**SendBirdListOpenChannelsResponse**](SendBirdListOpenChannelsResponse.md) +[**ListOpenChannelsResponse**](ListOpenChannelsResponse.md) ### Authorization @@ -420,7 +420,7 @@ No authorization required ## registerOperators -> Object registerOperators(channelUrl).apiToken(apiToken).sendBirdRegisterOperatorsToAGroupChannelRequest(sendBirdRegisterOperatorsToAGroupChannelRequest).execute(); +> Object registerOperators(channelUrl).apiToken(apiToken).registerOperatorsToAGroupChannelRequest(registerOperatorsToAGroupChannelRequest).execute(); Register operators to an open channel @@ -448,11 +448,11 @@ public class Example { OpenChannelApi apiInstance = new OpenChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest = new SendBirdRegisterOperatorsToAGroupChannelRequest(); // SendBirdRegisterOperatorsToAGroupChannelRequest | + RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest = new RegisterOperatorsToAGroupChannelRequest(); // RegisterOperatorsToAGroupChannelRequest | try { Object result = api.registerOperators(channelUrl) .apiToken(apiToken) - .sendBirdRegisterOperatorsToAGroupChannelRequest(sendBirdRegisterOperatorsToAGroupChannelRequest) + .registerOperatorsToAGroupChannelRequest(registerOperatorsToAGroupChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -473,7 +473,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdRegisterOperatorsToAGroupChannelRequest** | [**SendBirdRegisterOperatorsToAGroupChannelRequest**](SendBirdRegisterOperatorsToAGroupChannelRequest.md)| | [optional] | +| **registerOperatorsToAGroupChannelRequest** | [**RegisterOperatorsToAGroupChannelRequest**](RegisterOperatorsToAGroupChannelRequest.md)| | [optional] | ### Return type @@ -579,7 +579,7 @@ No authorization required ## updateAnOpenChannel -> SendBirdSendBirdOpenChannel updateAnOpenChannel(channelUrl).apiToken(apiToken).sendBirdUpdateAnOpenChannelRequest(sendBirdUpdateAnOpenChannelRequest).execute(); +> SendBirdOpenChannel updateAnOpenChannel(channelUrl).apiToken(apiToken).updateAnOpenChannelRequest(updateAnOpenChannelRequest).execute(); Update an open channel @@ -607,11 +607,11 @@ public class Example { OpenChannelApi apiInstance = new OpenChannelApi(defaultClient); String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdUpdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest = new SendBirdUpdateAnOpenChannelRequest(); // SendBirdUpdateAnOpenChannelRequest | + UpdateAnOpenChannelRequest updateAnOpenChannelRequest = new UpdateAnOpenChannelRequest(); // UpdateAnOpenChannelRequest | try { - SendBirdSendBirdOpenChannel result = api.updateAnOpenChannel(channelUrl) + SendBirdOpenChannel result = api.updateAnOpenChannel(channelUrl) .apiToken(apiToken) - .sendBirdUpdateAnOpenChannelRequest(sendBirdUpdateAnOpenChannelRequest) + .updateAnOpenChannelRequest(updateAnOpenChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -632,11 +632,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdUpdateAnOpenChannelRequest** | [**SendBirdUpdateAnOpenChannelRequest**](SendBirdUpdateAnOpenChannelRequest.md)| | [optional] | +| **updateAnOpenChannelRequest** | [**UpdateAnOpenChannelRequest**](UpdateAnOpenChannelRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdOpenChannel**](SendBirdSendBirdOpenChannel.md) +[**SendBirdOpenChannel**](SendBirdOpenChannel.md) ### Authorization diff --git a/docs/RemoveARegistrationOrDeviceTokenResponse.md b/docs/RemoveARegistrationOrDeviceTokenResponse.md index ad00e530..4e373058 100644 --- a/docs/RemoveARegistrationOrDeviceTokenResponse.md +++ b/docs/RemoveARegistrationOrDeviceTokenResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**token** | **String** | | [optional] | -|**user** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | diff --git a/docs/RemoveAllRegistrationOrDeviceTokenResponse.md b/docs/RemoveAllRegistrationOrDeviceTokenResponse.md index e3d99838..32b1d43e 100644 --- a/docs/RemoveAllRegistrationOrDeviceTokenResponse.md +++ b/docs/RemoveAllRegistrationOrDeviceTokenResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**token** | **List<String>** | | [optional] | -|**user** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | diff --git a/docs/SendABotMessageResponse.md b/docs/SendABotMessageResponse.md index 4b4decb2..5ad4d0b5 100644 --- a/docs/SendABotMessageResponse.md +++ b/docs/SendABotMessageResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**message** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] | +|**message** | [**SendBirdMessageResponse**](SendBirdMessageResponse.md) | | [optional] | diff --git a/docs/SendAMessageRequest.md b/docs/SendAMessageRequest.md index d11a9434..5099d8f8 100644 --- a/docs/SendAMessageRequest.md +++ b/docs/SendAMessageRequest.md @@ -12,7 +12,7 @@ |**message** | **String** | Specifies the content of the message. * This property is required when message_type is MESG or ADMM. | [optional] | |**pushMessageTemplate** | [**SendAMessageRequestPushMessageTemplate**](SendAMessageRequestPushMessageTemplate.md) | | [optional] | |**pollId** | **Integer** | Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG. | [optional] | -|**files** | [**SendbirdFile**](SendbirdFile.md) | | [optional] | +|**files** | [**SendBirdFile**](SendBirdFile.md) | | [optional] | |**requireAuth** | **Boolean** | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. | [optional] | |**thumbnail1** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | |**thumbnail2** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | @@ -30,7 +30,7 @@ |**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] | |**mentionedUserIds** | **List<String>** | | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | |**sound** | **String** | | [optional] | |**volume** | **BigDecimal** | | [optional] | diff --git a/docs/SendAdminMessageRequestBody.md b/docs/SendAdminMessageRequestBody.md index bfdaba34..66703d05 100644 --- a/docs/SendAdminMessageRequestBody.md +++ b/docs/SendAdminMessageRequestBody.md @@ -18,7 +18,7 @@ |**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | Specifies the type of the message. The value of ADMM represents an admin message. | | |**pushMessageTemplate** | [**SendTextMessageRequestBodyPushMessageTemplate**](SendTextMessageRequestBodyPushMessageTemplate.md) | | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | diff --git a/docs/SendBirdFile.md b/docs/SendBirdFile.md index b82bf2e7..fa47dde7 100644 --- a/docs/SendBirdFile.md +++ b/docs/SendBirdFile.md @@ -1,6 +1,6 @@ -# SendbirdFile +# SendBirdFile ## Properties @@ -11,7 +11,7 @@ |**fileName** | **String** | | [optional] | |**fileSize** | **Integer** | | [optional] | |**fileType** | **String** | | [optional] | -|**thumbnails** | [**List<SendbirdThumbnail>**](SendbirdThumbnail.md) | | [optional] | +|**thumbnails** | [**List<SendBirdThumbnail>**](SendBirdThumbnail.md) | | [optional] | |**requireAuth** | **Boolean** | | [optional] | diff --git a/docs/SendBirdGroupChannel.md b/docs/SendBirdGroupChannel.md index b650ee1c..49c1633e 100644 --- a/docs/SendBirdGroupChannel.md +++ b/docs/SendBirdGroupChannel.md @@ -1,6 +1,6 @@ -# SendbirdGroupChannel +# SendBirdGroupChannel ## Properties @@ -11,18 +11,18 @@ |**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Object** | | [optional] | -|**disappearingMessage** | [**SendbirdDisappearingMessage**](SendbirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendBirdDisappearingMessage**](SendBirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | |**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | |**ignoreProfanityFilter** | **Boolean** | | [optional] | |**invitedAt** | **Long** | | [optional] | -|**inviter** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**inviter** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | |**isAccessCodeRequired** | **Boolean** | | [optional] | |**isBroadcast** | **Boolean** | | [optional] | |**isDiscoverable** | **Boolean** | | [optional] | @@ -36,18 +36,18 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] | +|**lastMessage** | [**SendBirdGroupChannelLastMessage**](SendBirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | -|**members** | [**List<SendbirdMember>**](SendbirdMember.md) | | [optional] | +|**members** | [**List<SendBirdMember>**](SendBirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | |**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | |**name** | **String** | | [optional] | -|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendbirdSmsFallback**](SendbirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendBirdSmsFallback**](SendBirdSmsFallback.md) | | [optional] | |**tsMessageOffset** | **Long** | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | diff --git a/docs/SendBirdMember.md b/docs/SendBirdMember.md index 1b7d9c68..2d23893b 100644 --- a/docs/SendBirdMember.md +++ b/docs/SendBirdMember.md @@ -1,6 +1,6 @@ -# SendbirdMember +# SendBirdMember ## Properties @@ -22,7 +22,7 @@ |**mutedEndAt** | **Long** | | [optional] | |**nickname** | **String** | | [optional] | |**pushEnabled** | **Boolean** | | [optional] | -|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | |**profileUrl** | **String** | | [optional] | |**requireAuthForProfileImage** | **Boolean** | | [optional] | |**readTs** | **Long** | | [optional] | diff --git a/docs/SendBirdMessageResponse.md b/docs/SendBirdMessageResponse.md index 64496613..b0395153 100644 --- a/docs/SendBirdMessageResponse.md +++ b/docs/SendBirdMessageResponse.md @@ -1,6 +1,6 @@ -# SendbirdMessageResponse +# SendBirdMessageResponse ## Properties @@ -10,15 +10,15 @@ |**requireAuth** | **Boolean** | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**customType** | **String** | | [optional] | -|**mentionedUsers** | [**List<SendbirdBasicUserInfo>**](SendbirdBasicUserInfo.md) | | [optional] | +|**mentionedUsers** | [**List<SendBirdBasicUserInfo>**](SendBirdBasicUserInfo.md) | | [optional] | |**translations** | **Object** | | [optional] | |**updatedAt** | **Long** | | [optional] | |**isOpMsg** | **Boolean** | | [optional] | -|**reactions** | [**List<SendbirdReaction>**](SendbirdReaction.md) | | [optional] | +|**reactions** | [**List<SendBirdReaction>**](SendBirdReaction.md) | | [optional] | |**isRemoved** | **Boolean** | | [optional] | -|**user** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | |**_file** | **Object** | | [optional] | -|**files** | [**List<SendbirdFile>**](SendbirdFile.md) | | [optional] | +|**files** | [**List<SendBirdFile>**](SendBirdFile.md) | | [optional] | |**message** | **String** | | [optional] | |**data** | **String** | | [optional] | |**messageRetentionHour** | **Integer** | | [optional] | @@ -30,13 +30,13 @@ |**mentionType** | **String** | | [optional] | |**channelUrl** | **String** | | [optional] | |**messageId** | **Long** | | [optional] | -|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | |**threadInfo** | **Object** | | [optional] | |**parentMessageId** | **Integer** | | [optional] | -|**parentMessageInfo** | [**SendbirdParentMessageInfo**](SendbirdParentMessageInfo.md) | | [optional] | +|**parentMessageInfo** | [**SendBirdParentMessageInfo**](SendBirdParentMessageInfo.md) | | [optional] | |**isReplyToChannel** | **Boolean** | | [optional] | -|**messageEvents** | [**SendbirdMessageResponseMessageEvents**](SendbirdMessageResponseMessageEvents.md) | | [optional] | -|**extendedMessagePayload** | [**SendbirdMessageResponseExtendedMessagePayload**](SendbirdMessageResponseExtendedMessagePayload.md) | | [optional] | +|**messageEvents** | [**SendBirdMessageResponseMessageEvents**](SendBirdMessageResponseMessageEvents.md) | | [optional] | +|**extendedMessagePayload** | [**SendBirdMessageResponseExtendedMessagePayload**](SendBirdMessageResponseExtendedMessagePayload.md) | | [optional] | diff --git a/docs/SendBirdOpenChannel.md b/docs/SendBirdOpenChannel.md index fc183859..4f655105 100644 --- a/docs/SendBirdOpenChannel.md +++ b/docs/SendBirdOpenChannel.md @@ -1,6 +1,6 @@ -# SendbirdOpenChannel +# SendBirdOpenChannel ## Properties @@ -17,7 +17,7 @@ |**isEphemeral** | **Boolean** | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**name** | **String** | | [optional] | -|**operators** | [**List<SendbirdBasicUserInfo>**](SendbirdBasicUserInfo.md) | | [optional] | +|**operators** | [**List<SendBirdBasicUserInfo>**](SendBirdBasicUserInfo.md) | | [optional] | |**participantCount** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | diff --git a/docs/SendBirdParentMessageInfo.md b/docs/SendBirdParentMessageInfo.md index c13ea2c0..ef280d07 100644 --- a/docs/SendBirdParentMessageInfo.md +++ b/docs/SendBirdParentMessageInfo.md @@ -1,6 +1,6 @@ -# SendbirdParentMessageInfo +# SendBirdParentMessageInfo ## Properties @@ -11,9 +11,9 @@ |**message** | **String** | | [optional] | |**type** | **String** | | [optional] | |**ts** | **Long** | | [optional] | -|**user** | [**SendbirdUser**](SendbirdUser.md) | | [optional] | -|**_file** | [**SendbirdFile**](SendbirdFile.md) | | [optional] | -|**files** | [**List<SendbirdFile>**](SendbirdFile.md) | | [optional] | +|**user** | [**SendBirdUser**](SendBirdUser.md) | | [optional] | +|**_file** | [**SendBirdFile**](SendBirdFile.md) | | [optional] | +|**files** | [**List<SendBirdFile>**](SendBirdFile.md) | | [optional] | diff --git a/docs/SendBirdReaction.md b/docs/SendBirdReaction.md index 8187c13d..d16141f7 100644 --- a/docs/SendBirdReaction.md +++ b/docs/SendBirdReaction.md @@ -1,6 +1,6 @@ -# SendbirdReaction +# SendBirdReaction ## Properties diff --git a/docs/SendBirdUser.md b/docs/SendBirdUser.md index 8b589ea3..96918313 100644 --- a/docs/SendBirdUser.md +++ b/docs/SendBirdUser.md @@ -1,6 +1,6 @@ -# SendbirdUser +# SendBirdUser User diff --git a/docs/SendFileMessageRequestBody.md b/docs/SendFileMessageRequestBody.md index 0e6e3aac..2ef85b46 100644 --- a/docs/SendFileMessageRequestBody.md +++ b/docs/SendFileMessageRequestBody.md @@ -13,7 +13,7 @@ |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**dedupId** | **String** | | [optional] | -|**files** | [**SendbirdFile**](SendbirdFile.md) | | | +|**files** | [**SendBirdFile**](SendBirdFile.md) | | | |**isSilent** | **Boolean** | | [optional] | |**markAsRead** | **Boolean** | | [optional] | |**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] | @@ -21,7 +21,7 @@ |**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | Specifies the type of the message. The value of FILE represents a file message. | | |**requireAuth** | **Boolean** | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | |**sound** | **String** | | [optional] | |**thumbnail1** | **String** | | [optional] | |**thumbnail2** | **String** | | [optional] | diff --git a/docs/SendTextMessageRequestBody.md b/docs/SendTextMessageRequestBody.md index 42653d15..9047d89b 100644 --- a/docs/SendTextMessageRequestBody.md +++ b/docs/SendTextMessageRequestBody.md @@ -23,7 +23,7 @@ |**pollId** | **Integer** | | [optional] | |**pushMessageTemplate** | [**SendTextMessageRequestBodyPushMessageTemplate**](SendTextMessageRequestBodyPushMessageTemplate.md) | | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | |**sound** | **String** | | [optional] | |**volume** | **BigDecimal** | | [optional] | diff --git a/docs/SendbirdBasicUserInfo.md b/docs/SendbirdBasicUserInfo.md index c673bef6..af2eed53 100644 --- a/docs/SendbirdBasicUserInfo.md +++ b/docs/SendbirdBasicUserInfo.md @@ -1,6 +1,6 @@ -# SendbirdBasicUserInfo +# SendBirdBasicUserInfo ## Properties diff --git a/docs/SendbirdDisappearingMessage.md b/docs/SendbirdDisappearingMessage.md index 79b1a41b..847a3abf 100644 --- a/docs/SendbirdDisappearingMessage.md +++ b/docs/SendbirdDisappearingMessage.md @@ -1,6 +1,6 @@ -# SendbirdDisappearingMessage +# SendBirdDisappearingMessage ## Properties diff --git a/docs/SendbirdExtendedMessagePayload.md b/docs/SendbirdExtendedMessagePayload.md index 08ee80e5..33f48e93 100644 --- a/docs/SendbirdExtendedMessagePayload.md +++ b/docs/SendbirdExtendedMessagePayload.md @@ -1,6 +1,6 @@ -# SendbirdExtendedMessagePayload +# SendBirdExtendedMessagePayload Specifies the extended message payload which is used to send a message with a custom message type. diff --git a/docs/SendbirdGroupChannelDetail.md b/docs/SendbirdGroupChannelDetail.md index 1558f942..5de037bb 100644 --- a/docs/SendbirdGroupChannelDetail.md +++ b/docs/SendbirdGroupChannelDetail.md @@ -1,21 +1,21 @@ -# SendbirdGroupChannelDetail +# SendBirdGroupChannelDetail ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channel** | [**SendbirdGroupChannelDetailChannel**](SendbirdGroupChannelDetailChannel.md) | | [optional] | +|**channel** | [**SendBirdGroupChannelDetailChannel**](SendBirdGroupChannelDetailChannel.md) | | [optional] | |**channelUrl** | **String** | | | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Map<String, Long>** | | [optional] | -|**disappearingMessage** | [**SendbirdDisappearingMessage**](SendbirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendBirdDisappearingMessage**](SendBirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | @@ -29,15 +29,15 @@ |**isPublic** | **Boolean** | | [optional] | |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | -|**lastMessage** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] | +|**lastMessage** | [**SendBirdMessageResponse**](SendBirdMessageResponse.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | -|**members** | [**List<SendbirdMember>**](SendbirdMember.md) | | [optional] | +|**members** | [**List<SendBirdMember>**](SendBirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**name** | **String** | | [optional] | -|**operators** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | +|**operators** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendbirdSmsFallback**](SendbirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendBirdSmsFallback**](SendBirdSmsFallback.md) | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | diff --git a/docs/SendbirdGroupChannelDetailChannel.md b/docs/SendbirdGroupChannelDetailChannel.md index 6e18c240..ce4d9cf9 100644 --- a/docs/SendbirdGroupChannelDetailChannel.md +++ b/docs/SendbirdGroupChannelDetailChannel.md @@ -1,6 +1,6 @@ -# SendbirdGroupChannelDetailChannel +# SendBirdGroupChannelDetailChannel ## Properties diff --git a/docs/SendbirdGroupChannelLastMessage.md b/docs/SendbirdGroupChannelLastMessage.md index adf5fc09..fab73852 100644 --- a/docs/SendbirdGroupChannelLastMessage.md +++ b/docs/SendbirdGroupChannelLastMessage.md @@ -1,26 +1,26 @@ -# SendbirdGroupChannelLastMessage +# SendBirdGroupChannelLastMessage ## oneOf schemas -* [SendbirdMessageResponse](SendbirdMessageResponse.md) +* [SendBirdMessageResponse](SendBirdMessageResponse.md) ## Example ```java // Import classes: -import org.openapitools.client.model.SendbirdGroupChannelLastMessage; -import org.openapitools.client.model.SendbirdMessageResponse; +import org.openapitools.client.model.SendBirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdMessageResponse; public class Example { public static void main(String[] args) { - SendbirdGroupChannelLastMessage exampleSendbirdGroupChannelLastMessage = new SendbirdGroupChannelLastMessage(); - - // create a new SendbirdMessageResponse - SendbirdMessageResponse exampleSendbirdMessageResponse = new SendbirdMessageResponse(); - // set SendbirdGroupChannelLastMessage to SendbirdMessageResponse - exampleSendbirdGroupChannelLastMessage.setActualInstance(exampleSendbirdMessageResponse); - // to get back the SendbirdMessageResponse set earlier - SendbirdMessageResponse testSendbirdMessageResponse = (SendbirdMessageResponse) exampleSendbirdGroupChannelLastMessage.getActualInstance(); + SendBirdGroupChannelLastMessage exampleSendBirdGroupChannelLastMessage = new SendBirdGroupChannelLastMessage(); + + // create a new SendBirdMessageResponse + SendBirdMessageResponse exampleSendBirdMessageResponse = new SendBirdMessageResponse(); + // set SendBirdGroupChannelLastMessage to SendBirdMessageResponse + exampleSendBirdGroupChannelLastMessage.setActualInstance(exampleSendBirdMessageResponse); + // to get back the SendBirdMessageResponse set earlier + SendBirdMessageResponse testSendBirdMessageResponse = (SendBirdMessageResponse) exampleSendBirdGroupChannelLastMessage.getActualInstance(); } } ``` diff --git a/docs/SendbirdMessageResponseExtendedMessagePayload.md b/docs/SendbirdMessageResponseExtendedMessagePayload.md index 43f3e7f4..3f110b07 100644 --- a/docs/SendbirdMessageResponseExtendedMessagePayload.md +++ b/docs/SendbirdMessageResponseExtendedMessagePayload.md @@ -1,26 +1,26 @@ -# SendbirdMessageResponseExtendedMessagePayload +# SendBirdMessageResponseExtendedMessagePayload ## oneOf schemas -* [SendbirdExtendedMessagePayload](SendbirdExtendedMessagePayload.md) +* [SendBirdExtendedMessagePayload](SendBirdExtendedMessagePayload.md) ## Example ```java // Import classes: -import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendbirdExtendedMessagePayload; +import org.openapitools.client.model.SendBirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendBirdExtendedMessagePayload; public class Example { public static void main(String[] args) { - SendbirdMessageResponseExtendedMessagePayload exampleSendbirdMessageResponseExtendedMessagePayload = new SendbirdMessageResponseExtendedMessagePayload(); - - // create a new SendbirdExtendedMessagePayload - SendbirdExtendedMessagePayload exampleSendbirdExtendedMessagePayload = new SendbirdExtendedMessagePayload(); - // set SendbirdMessageResponseExtendedMessagePayload to SendbirdExtendedMessagePayload - exampleSendbirdMessageResponseExtendedMessagePayload.setActualInstance(exampleSendbirdExtendedMessagePayload); - // to get back the SendbirdExtendedMessagePayload set earlier - SendbirdExtendedMessagePayload testSendbirdExtendedMessagePayload = (SendbirdExtendedMessagePayload) exampleSendbirdMessageResponseExtendedMessagePayload.getActualInstance(); + SendBirdMessageResponseExtendedMessagePayload exampleSendBirdMessageResponseExtendedMessagePayload = new SendBirdMessageResponseExtendedMessagePayload(); + + // create a new SendBirdExtendedMessagePayload + SendBirdExtendedMessagePayload exampleSendBirdExtendedMessagePayload = new SendBirdExtendedMessagePayload(); + // set SendBirdMessageResponseExtendedMessagePayload to SendBirdExtendedMessagePayload + exampleSendBirdMessageResponseExtendedMessagePayload.setActualInstance(exampleSendBirdExtendedMessagePayload); + // to get back the SendBirdExtendedMessagePayload set earlier + SendBirdExtendedMessagePayload testSendBirdExtendedMessagePayload = (SendBirdExtendedMessagePayload) exampleSendBirdMessageResponseExtendedMessagePayload.getActualInstance(); } } ``` diff --git a/docs/SendbirdMessageResponseMessageEvents.md b/docs/SendbirdMessageResponseMessageEvents.md index c90de8c1..9ba8f7b2 100644 --- a/docs/SendbirdMessageResponseMessageEvents.md +++ b/docs/SendbirdMessageResponseMessageEvents.md @@ -1,6 +1,6 @@ -# SendbirdMessageResponseMessageEvents +# SendBirdMessageResponseMessageEvents ## Properties diff --git a/docs/SendbirdPushTriggerOption.md b/docs/SendbirdPushTriggerOption.md index 27943876..38c52e68 100644 --- a/docs/SendbirdPushTriggerOption.md +++ b/docs/SendbirdPushTriggerOption.md @@ -1,6 +1,6 @@ -# SendbirdPushTriggerOption +# SendBirdPushTriggerOption ## Enum diff --git a/docs/SendbirdSmsFallback.md b/docs/SendbirdSmsFallback.md index 7d1758e7..e78e05e1 100644 --- a/docs/SendbirdSmsFallback.md +++ b/docs/SendbirdSmsFallback.md @@ -1,6 +1,6 @@ -# SendbirdSmsFallback +# SendBirdSmsFallback ## Properties diff --git a/docs/SendbirdSortedMetaarrayInner.md b/docs/SendbirdSortedMetaarrayInner.md index 50d2116c..5d4d925e 100644 --- a/docs/SendbirdSortedMetaarrayInner.md +++ b/docs/SendbirdSortedMetaarrayInner.md @@ -1,6 +1,6 @@ -# SendbirdSortedMetaarrayInner +# SendBirdSortedMetaarrayInner ## Properties diff --git a/docs/SendbirdThumbnail.md b/docs/SendbirdThumbnail.md index a0caf93d..411f0281 100644 --- a/docs/SendbirdThumbnail.md +++ b/docs/SendbirdThumbnail.md @@ -1,6 +1,6 @@ -# SendbirdThumbnail +# SendBirdThumbnail ## Properties diff --git a/docs/StatisticsApi.md b/docs/StatisticsApi.md index bf7a889e..ec72c759 100644 --- a/docs/StatisticsApi.md +++ b/docs/StatisticsApi.md @@ -11,7 +11,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## viewNumberOfDailyActiveUsers -> SendBirdViewNumberOfDailyActiveUsersResponse viewNumberOfDailyActiveUsers().date(date).apiToken(apiToken).execute(); +> ViewNumberOfDailyActiveUsersResponse viewNumberOfDailyActiveUsers().date(date).apiToken(apiToken).execute(); View number of daily active users @@ -43,7 +43,7 @@ public class Example { String date = "date_example"; // String | YYYY-MM-DD String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdViewNumberOfDailyActiveUsersResponse result = api.viewNumberOfDailyActiveUsers() + ViewNumberOfDailyActiveUsersResponse result = api.viewNumberOfDailyActiveUsers() .date(date) .apiToken(apiToken) .execute(); @@ -69,7 +69,7 @@ public class Example { ### Return type -[**SendBirdViewNumberOfDailyActiveUsersResponse**](SendBirdViewNumberOfDailyActiveUsersResponse.md) +[**ViewNumberOfDailyActiveUsersResponse**](ViewNumberOfDailyActiveUsersResponse.md) ### Authorization @@ -88,7 +88,7 @@ No authorization required ## viewNumberOfMonthlyActiveUsers -> SendBirdViewNumberOfMonthlyActiveUsersResponse viewNumberOfMonthlyActiveUsers().date(date).apiToken(apiToken).execute(); +> ViewNumberOfMonthlyActiveUsersResponse viewNumberOfMonthlyActiveUsers().date(date).apiToken(apiToken).execute(); View number of monthly active users @@ -120,7 +120,7 @@ public class Example { String date = "date_example"; // String | YYYY-MM-DD String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdViewNumberOfMonthlyActiveUsersResponse result = api.viewNumberOfMonthlyActiveUsers() + ViewNumberOfMonthlyActiveUsersResponse result = api.viewNumberOfMonthlyActiveUsers() .date(date) .apiToken(apiToken) .execute(); @@ -146,7 +146,7 @@ public class Example { ### Return type -[**SendBirdViewNumberOfMonthlyActiveUsersResponse**](SendBirdViewNumberOfMonthlyActiveUsersResponse.md) +[**ViewNumberOfMonthlyActiveUsersResponse**](ViewNumberOfMonthlyActiveUsersResponse.md) ### Authorization diff --git a/docs/UpdateExtraDataInAMessageRequest.md b/docs/UpdateExtraDataInAMessageRequest.md index 6531c2bd..15727c61 100644 --- a/docs/UpdateExtraDataInAMessageRequest.md +++ b/docs/UpdateExtraDataInAMessageRequest.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**mode** | **String** | | [optional] | -|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | |**upsert** | **Boolean** | | [optional] | diff --git a/docs/UpdateExtraDataInAMessageResponse.md b/docs/UpdateExtraDataInAMessageResponse.md index c767b0d8..7fd8d3bd 100644 --- a/docs/UpdateExtraDataInAMessageResponse.md +++ b/docs/UpdateExtraDataInAMessageResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | diff --git a/docs/UpdatePushPreferencesForAChannelResponse.md b/docs/UpdatePushPreferencesForAChannelResponse.md index 6886d065..3ad542ba 100644 --- a/docs/UpdatePushPreferencesForAChannelResponse.md +++ b/docs/UpdatePushPreferencesForAChannelResponse.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**enable** | **Boolean** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | diff --git a/docs/UpdatePushPreferencesRequest.md b/docs/UpdatePushPreferencesRequest.md index e8877009..6c6afdec 100644 --- a/docs/UpdatePushPreferencesRequest.md +++ b/docs/UpdatePushPreferencesRequest.md @@ -14,7 +14,7 @@ |**endMin** | **Integer** | | [optional] | |**pushBlockedBotIds** | **List<String>** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | |**snoozeEnabled** | **Boolean** | | [optional] | |**snoozeEndTs** | **Long** | | [optional] | |**snoozeStartTs** | **Long** | | [optional] | diff --git a/docs/UpdatePushPreferencesResponse.md b/docs/UpdatePushPreferencesResponse.md index 1f972cc6..ce5fc158 100644 --- a/docs/UpdatePushPreferencesResponse.md +++ b/docs/UpdatePushPreferencesResponse.md @@ -14,7 +14,7 @@ |**endMin** | **Integer** | | [optional] | |**pushBlockedBotIds** | **List<String>** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | |**snoozeEnabled** | **Boolean** | | [optional] | |**snoozeEndTs** | **Long** | | [optional] | |**snoozeStartTs** | **Long** | | [optional] | diff --git a/docs/UserApi.md b/docs/UserApi.md index 77df2f9f..78f849bf 100644 --- a/docs/UserApi.md +++ b/docs/UserApi.md @@ -36,7 +36,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## addARegistrationOrDeviceToken -> SendBirdAddARegistrationOrDeviceTokenResponse addARegistrationOrDeviceToken(userId, tokenType).apiToken(apiToken).sendBirdAddARegistrationOrDeviceTokenRequest(sendBirdAddARegistrationOrDeviceTokenRequest).execute(); +> AddARegistrationOrDeviceTokenResponse addARegistrationOrDeviceToken(userId, tokenType).apiToken(apiToken).addARegistrationOrDeviceTokenRequest(addARegistrationOrDeviceTokenRequest).execute(); Add a registration or device token @@ -72,11 +72,11 @@ public class Example { String userId = "userId_example"; // String | (Required) String tokenType = "gcm"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdAddARegistrationOrDeviceTokenRequest sendBirdAddARegistrationOrDeviceTokenRequest = new SendBirdAddARegistrationOrDeviceTokenRequest(); // SendBirdAddARegistrationOrDeviceTokenRequest | + AddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest = new AddARegistrationOrDeviceTokenRequest(); // AddARegistrationOrDeviceTokenRequest | try { - SendBirdAddARegistrationOrDeviceTokenResponse result = api.addARegistrationOrDeviceToken(userId, tokenType) + AddARegistrationOrDeviceTokenResponse result = api.addARegistrationOrDeviceToken(userId, tokenType) .apiToken(apiToken) - .sendBirdAddARegistrationOrDeviceTokenRequest(sendBirdAddARegistrationOrDeviceTokenRequest) + .addARegistrationOrDeviceTokenRequest(addARegistrationOrDeviceTokenRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -98,11 +98,11 @@ public class Example { | **userId** | **String**| (Required) | | | **tokenType** | **String**| (Required) | [enum: gcm, huawei, apns] | | **apiToken** | **String**| | [optional] | -| **sendBirdAddARegistrationOrDeviceTokenRequest** | [**SendBirdAddARegistrationOrDeviceTokenRequest**](SendBirdAddARegistrationOrDeviceTokenRequest.md)| | [optional] | +| **addARegistrationOrDeviceTokenRequest** | [**AddARegistrationOrDeviceTokenRequest**](AddARegistrationOrDeviceTokenRequest.md)| | [optional] | ### Return type -[**SendBirdAddARegistrationOrDeviceTokenResponse**](SendBirdAddARegistrationOrDeviceTokenResponse.md) +[**AddARegistrationOrDeviceTokenResponse**](AddARegistrationOrDeviceTokenResponse.md) ### Authorization @@ -121,7 +121,7 @@ No authorization required ## chooseAPushNotificationContentTemplate -> SendBirdChooseAPushNotificationContentTemplateResponse chooseAPushNotificationContentTemplate(userId).apiToken(apiToken).sendBirdChooseAPushNotificationContentTemplateRequest(sendBirdChooseAPushNotificationContentTemplateRequest).execute(); +> ChooseAPushNotificationContentTemplateResponse chooseAPushNotificationContentTemplate(userId).apiToken(apiToken).chooseAPushNotificationContentTemplateRequest(chooseAPushNotificationContentTemplateRequest).execute(); Choose a push notification content template @@ -154,11 +154,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdChooseAPushNotificationContentTemplateRequest sendBirdChooseAPushNotificationContentTemplateRequest = new SendBirdChooseAPushNotificationContentTemplateRequest(); // SendBirdChooseAPushNotificationContentTemplateRequest | + ChooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest = new ChooseAPushNotificationContentTemplateRequest(); // ChooseAPushNotificationContentTemplateRequest | try { - SendBirdChooseAPushNotificationContentTemplateResponse result = api.chooseAPushNotificationContentTemplate(userId) + ChooseAPushNotificationContentTemplateResponse result = api.chooseAPushNotificationContentTemplate(userId) .apiToken(apiToken) - .sendBirdChooseAPushNotificationContentTemplateRequest(sendBirdChooseAPushNotificationContentTemplateRequest) + .chooseAPushNotificationContentTemplateRequest(chooseAPushNotificationContentTemplateRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -179,11 +179,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdChooseAPushNotificationContentTemplateRequest** | [**SendBirdChooseAPushNotificationContentTemplateRequest**](SendBirdChooseAPushNotificationContentTemplateRequest.md)| | [optional] | +| **chooseAPushNotificationContentTemplateRequest** | [**ChooseAPushNotificationContentTemplateRequest**](ChooseAPushNotificationContentTemplateRequest.md)| | [optional] | ### Return type -[**SendBirdChooseAPushNotificationContentTemplateResponse**](SendBirdChooseAPushNotificationContentTemplateResponse.md) +[**ChooseAPushNotificationContentTemplateResponse**](ChooseAPushNotificationContentTemplateResponse.md) ### Authorization @@ -202,7 +202,7 @@ No authorization required ## createAUser -> SendBirdSendBirdUser createAUser().apiToken(apiToken).sendBirdCreateAUserRequest(sendBirdCreateAUserRequest).execute(); +> SendBirdUser createAUser().apiToken(apiToken).createAUserRequest(createAUserRequest).execute(); Create a user @@ -229,11 +229,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String apiToken = "{{API_TOKEN}}"; // String | - SendBirdCreateAUserRequest sendBirdCreateAUserRequest = new SendBirdCreateAUserRequest(); // SendBirdCreateAUserRequest | + CreateAUserRequest createAUserRequest = new CreateAUserRequest(); // CreateAUserRequest | try { - SendBirdSendBirdUser result = api.createAUser() + SendBirdUser result = api.createAUser() .apiToken(apiToken) - .sendBirdCreateAUserRequest(sendBirdCreateAUserRequest) + .createAUserRequest(createAUserRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -253,11 +253,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **apiToken** | **String**| | [optional] | -| **sendBirdCreateAUserRequest** | [**SendBirdCreateAUserRequest**](SendBirdCreateAUserRequest.md)| | [optional] | +| **createAUserRequest** | [**CreateAUserRequest**](CreateAUserRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdUser**](SendBirdSendBirdUser.md) +[**SendBirdUser**](SendBirdUser.md) ### Authorization @@ -276,7 +276,7 @@ No authorization required ## createUserToken -> SendBirdCreateUserTokenResponse createUserToken(userId).apiToken(apiToken).sendBirdCreateUserTokenRequest(sendBirdCreateUserTokenRequest).execute(); +> CreateUserTokenResponse createUserToken(userId).apiToken(apiToken).createUserTokenRequest(createUserTokenRequest).execute(); Create user token @@ -307,11 +307,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdCreateUserTokenRequest sendBirdCreateUserTokenRequest = new SendBirdCreateUserTokenRequest(); // SendBirdCreateUserTokenRequest | + CreateUserTokenRequest createUserTokenRequest = new CreateUserTokenRequest(); // CreateUserTokenRequest | try { - SendBirdCreateUserTokenResponse result = api.createUserToken(userId) + CreateUserTokenResponse result = api.createUserToken(userId) .apiToken(apiToken) - .sendBirdCreateUserTokenRequest(sendBirdCreateUserTokenRequest) + .createUserTokenRequest(createUserTokenRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -332,11 +332,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdCreateUserTokenRequest** | [**SendBirdCreateUserTokenRequest**](SendBirdCreateUserTokenRequest.md)| | [optional] | +| **createUserTokenRequest** | [**CreateUserTokenRequest**](CreateUserTokenRequest.md)| | [optional] | ### Return type -[**SendBirdCreateUserTokenResponse**](SendBirdCreateUserTokenResponse.md) +[**CreateUserTokenResponse**](CreateUserTokenResponse.md) ### Authorization @@ -431,7 +431,7 @@ No authorization required ## getChannelInvitationPreference -> SendBirdGetChannelInvitationPreferenceResponse getChannelInvitationPreference(userId).apiToken(apiToken).execute(); +> GetChannelInvitationPreferenceResponse getChannelInvitationPreference(userId).apiToken(apiToken).execute(); Get channel invitation preference @@ -460,7 +460,7 @@ public class Example { String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdGetChannelInvitationPreferenceResponse result = api.getChannelInvitationPreference(userId) + GetChannelInvitationPreferenceResponse result = api.getChannelInvitationPreference(userId) .apiToken(apiToken) .execute(); System.out.println(result); @@ -485,7 +485,7 @@ public class Example { ### Return type -[**SendBirdGetChannelInvitationPreferenceResponse**](SendBirdGetChannelInvitationPreferenceResponse.md) +[**GetChannelInvitationPreferenceResponse**](GetChannelInvitationPreferenceResponse.md) ### Authorization @@ -504,7 +504,7 @@ No authorization required ## leaveMyGroupChannels -> Object leaveMyGroupChannels(userId).apiToken(apiToken).sendBirdLeaveMyGroupChannelsRequest(sendBirdLeaveMyGroupChannelsRequest).execute(); +> Object leaveMyGroupChannels(userId).apiToken(apiToken).leaveMyGroupChannelsRequest(leaveMyGroupChannelsRequest).execute(); Leave my group channels @@ -538,11 +538,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdLeaveMyGroupChannelsRequest sendBirdLeaveMyGroupChannelsRequest = new SendBirdLeaveMyGroupChannelsRequest(); // SendBirdLeaveMyGroupChannelsRequest | + LeaveMyGroupChannelsRequest leaveMyGroupChannelsRequest = new LeaveMyGroupChannelsRequest(); // LeaveMyGroupChannelsRequest | try { Object result = api.leaveMyGroupChannels(userId) .apiToken(apiToken) - .sendBirdLeaveMyGroupChannelsRequest(sendBirdLeaveMyGroupChannelsRequest) + .leaveMyGroupChannelsRequest(leaveMyGroupChannelsRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -563,7 +563,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdLeaveMyGroupChannelsRequest** | [**SendBirdLeaveMyGroupChannelsRequest**](SendBirdLeaveMyGroupChannelsRequest.md)| | [optional] | +| **leaveMyGroupChannelsRequest** | [**LeaveMyGroupChannelsRequest**](LeaveMyGroupChannelsRequest.md)| | [optional] | ### Return type @@ -586,7 +586,7 @@ No authorization required ## listMyGroupChannels -> SendBirdListMyGroupChannelsResponse listMyGroupChannels(userId).apiToken(apiToken).token(token).limit(limit).distinctMode(distinctMode).publicMode(publicMode).superMode(superMode).createdAfter(createdAfter).createdBefore(createdBefore).showEmpty(showEmpty).showMember(showMember).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMetadata(showMetadata).showFrozen(showFrozen).order(order).metadataOrderKey(metadataOrderKey).customTypes(customTypes).customTypeStartswith(customTypeStartswith).channelUrls(channelUrls).name(name).nameContains(nameContains).nameStartswith(nameStartswith).membersExactlyIn(membersExactlyIn).membersIncludeIn(membersIncludeIn).queryType(queryType).membersNickname(membersNickname).membersNicknameContains(membersNicknameContains).membersNicknameStartswith(membersNicknameStartswith).searchQuery(searchQuery).searchFields(searchFields).metadataKey(metadataKey).metadataValues(metadataValues).metadataValueStartswith(metadataValueStartswith).metacounterKey(metacounterKey).metacounterValues(metacounterValues).metacounterValueGt(metacounterValueGt).metacounterValueGte(metacounterValueGte).metacounterValueLt(metacounterValueLt).metacounterValueLte(metacounterValueLte).includeSortedMetaarrayInLastMessage(includeSortedMetaarrayInLastMessage).hiddenMode(hiddenMode).unreadFilter(unreadFilter).memberStateFilter(memberStateFilter).execute(); +> ListMyGroupChannelsResponse listMyGroupChannels(userId).apiToken(apiToken).token(token).limit(limit).distinctMode(distinctMode).publicMode(publicMode).superMode(superMode).createdAfter(createdAfter).createdBefore(createdBefore).showEmpty(showEmpty).showMember(showMember).showDeliveryReceipt(showDeliveryReceipt).showReadReceipt(showReadReceipt).showMetadata(showMetadata).showFrozen(showFrozen).order(order).metadataOrderKey(metadataOrderKey).customTypes(customTypes).customTypeStartswith(customTypeStartswith).channelUrls(channelUrls).name(name).nameContains(nameContains).nameStartswith(nameStartswith).membersExactlyIn(membersExactlyIn).membersIncludeIn(membersIncludeIn).queryType(queryType).membersNickname(membersNickname).membersNicknameContains(membersNicknameContains).membersNicknameStartswith(membersNicknameStartswith).searchQuery(searchQuery).searchFields(searchFields).metadataKey(metadataKey).metadataValues(metadataValues).metadataValueStartswith(metadataValueStartswith).metacounterKey(metacounterKey).metacounterValues(metacounterValues).metacounterValueGt(metacounterValueGt).metacounterValueGte(metacounterValueGte).metacounterValueLt(metacounterValueLt).metacounterValueLte(metacounterValueLte).includeSortedMetaarrayInLastMessage(includeSortedMetaarrayInLastMessage).hiddenMode(hiddenMode).unreadFilter(unreadFilter).memberStateFilter(memberStateFilter).execute(); List my group channels @@ -663,7 +663,7 @@ public class Example { String unreadFilter = "all"; // String | Restricts the search scope to only retrieve group channels with one or more unread messages. This filter doesn't support Supergroup channels. Acceptable values are all and unread_message. (Default: all) String memberStateFilter = "all"; // String | try { - SendBirdListMyGroupChannelsResponse result = api.listMyGroupChannels(userId) + ListMyGroupChannelsResponse result = api.listMyGroupChannels(userId) .apiToken(apiToken) .token(token) .limit(limit) @@ -772,7 +772,7 @@ public class Example { ### Return type -[**SendBirdListMyGroupChannelsResponse**](SendBirdListMyGroupChannelsResponse.md) +[**ListMyGroupChannelsResponse**](ListMyGroupChannelsResponse.md) ### Authorization @@ -791,7 +791,7 @@ No authorization required ## listRegistrationOrDeviceTokens -> SendBirdListRegistrationOrDeviceTokensResponse listRegistrationOrDeviceTokens(userId, tokenType).apiToken(apiToken).execute(); +> ListRegistrationOrDeviceTokensResponse listRegistrationOrDeviceTokens(userId, tokenType).apiToken(apiToken).execute(); List registration or device tokens @@ -821,7 +821,7 @@ public class Example { String tokenType = "gcm"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdListRegistrationOrDeviceTokensResponse result = api.listRegistrationOrDeviceTokens(userId, tokenType) + ListRegistrationOrDeviceTokensResponse result = api.listRegistrationOrDeviceTokens(userId, tokenType) .apiToken(apiToken) .execute(); System.out.println(result); @@ -847,7 +847,7 @@ public class Example { ### Return type -[**SendBirdListRegistrationOrDeviceTokensResponse**](SendBirdListRegistrationOrDeviceTokensResponse.md) +[**ListRegistrationOrDeviceTokensResponse**](ListRegistrationOrDeviceTokensResponse.md) ### Authorization @@ -866,7 +866,7 @@ No authorization required ## listUsers -> SendBirdListUsersResponse listUsers().token(token).limit(limit).activeMode(activeMode).showBot(showBot).userIds(userIds).nickname(nickname).nicknameStartswith(nicknameStartswith).metadatakey(metadatakey).metadatavaluesIn(metadatavaluesIn).apiToken(apiToken).execute(); +> ListUsersResponse listUsers().token(token).limit(limit).activeMode(activeMode).showBot(showBot).userIds(userIds).nickname(nickname).nicknameStartswith(nicknameStartswith).metadatakey(metadatakey).metadatavaluesIn(metadatavaluesIn).apiToken(apiToken).execute(); List users @@ -903,7 +903,7 @@ public class Example { String metadatavaluesIn = "metadatavaluesIn_example"; // String | Searches for blocked users with metadata containing an item with the key specified by the metadatakey parameter above, and the value of that item matches one or more values specified by this parameter. The string should be specified with multiple urlencoded metadata values separated by commas (for example, `?metadatavalues_in=urlencoded_value_1, urlencoded_value_2`). This parameter should be specified in conjunction with the `metadatakey` above. String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdListUsersResponse result = api.listUsers() + ListUsersResponse result = api.listUsers() .token(token) .limit(limit) .activeMode(activeMode) @@ -945,7 +945,7 @@ public class Example { ### Return type -[**SendBirdListUsersResponse**](SendBirdListUsersResponse.md) +[**ListUsersResponse**](ListUsersResponse.md) ### Authorization @@ -964,7 +964,7 @@ No authorization required ## markAllMessagesAsRead -> Object markAllMessagesAsRead(userId).apiToken(apiToken).sendBirdMarkAllMessagesAsReadRequest(sendBirdMarkAllMessagesAsReadRequest).execute(); +> Object markAllMessagesAsRead(userId).apiToken(apiToken).markAllMessagesAsReadRequest(markAllMessagesAsReadRequest).execute(); Mark all messages as read @@ -992,11 +992,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdMarkAllMessagesAsReadRequest sendBirdMarkAllMessagesAsReadRequest = new SendBirdMarkAllMessagesAsReadRequest(); // SendBirdMarkAllMessagesAsReadRequest | + MarkAllMessagesAsReadRequest markAllMessagesAsReadRequest = new MarkAllMessagesAsReadRequest(); // MarkAllMessagesAsReadRequest | try { Object result = api.markAllMessagesAsRead(userId) .apiToken(apiToken) - .sendBirdMarkAllMessagesAsReadRequest(sendBirdMarkAllMessagesAsReadRequest) + .markAllMessagesAsReadRequest(markAllMessagesAsReadRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1017,7 +1017,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdMarkAllMessagesAsReadRequest** | [**SendBirdMarkAllMessagesAsReadRequest**](SendBirdMarkAllMessagesAsReadRequest.md)| | [optional] | +| **markAllMessagesAsReadRequest** | [**MarkAllMessagesAsReadRequest**](MarkAllMessagesAsReadRequest.md)| | [optional] | ### Return type @@ -1040,7 +1040,7 @@ No authorization required ## removeARegistrationOrDeviceToken -> SendBirdRemoveARegistrationOrDeviceTokenResponse removeARegistrationOrDeviceToken(userId, tokenType, token).apiToken(apiToken).execute(); +> RemoveARegistrationOrDeviceTokenResponse removeARegistrationOrDeviceToken(userId, tokenType, token).apiToken(apiToken).execute(); Remove a registration or device token - When unregistering a specific token @@ -1071,7 +1071,7 @@ public class Example { String token = "token_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdRemoveARegistrationOrDeviceTokenResponse result = api.removeARegistrationOrDeviceToken(userId, tokenType, token) + RemoveARegistrationOrDeviceTokenResponse result = api.removeARegistrationOrDeviceToken(userId, tokenType, token) .apiToken(apiToken) .execute(); System.out.println(result); @@ -1098,7 +1098,7 @@ public class Example { ### Return type -[**SendBirdRemoveARegistrationOrDeviceTokenResponse**](SendBirdRemoveARegistrationOrDeviceTokenResponse.md) +[**RemoveARegistrationOrDeviceTokenResponse**](RemoveARegistrationOrDeviceTokenResponse.md) ### Authorization @@ -1117,7 +1117,7 @@ No authorization required ## removeARegistrationOrDeviceTokenFromAnOwner -> List<SendBirdMarkChannelMessagesAsReadRequest> removeARegistrationOrDeviceTokenFromAnOwner(tokenType, token).apiToken(apiToken).execute(); +> List<MarkChannelMessagesAsReadRequest> removeARegistrationOrDeviceTokenFromAnOwner(tokenType, token).apiToken(apiToken).execute(); Remove a registration or device token from an owner @@ -1147,7 +1147,7 @@ public class Example { String token = "token_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - List result = api.removeARegistrationOrDeviceTokenFromAnOwner(tokenType, token) + List result = api.removeARegistrationOrDeviceTokenFromAnOwner(tokenType, token) .apiToken(apiToken) .execute(); System.out.println(result); @@ -1173,7 +1173,7 @@ public class Example { ### Return type -[**List<SendBirdMarkChannelMessagesAsReadRequest>**](SendBirdMarkChannelMessagesAsReadRequest.md) +[**List<MarkChannelMessagesAsReadRequest>**](MarkChannelMessagesAsReadRequest.md) ### Authorization @@ -1192,7 +1192,7 @@ No authorization required ## removeAllRegistrationOrDeviceToken -> SendBirdRemoveAllRegistrationOrDeviceTokenResponse removeAllRegistrationOrDeviceToken(userId).apiToken(apiToken).execute(); +> RemoveAllRegistrationOrDeviceTokenResponse removeAllRegistrationOrDeviceToken(userId).apiToken(apiToken).execute(); Remove a registration or device token - When unregistering all device tokens @@ -1221,7 +1221,7 @@ public class Example { String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdRemoveAllRegistrationOrDeviceTokenResponse result = api.removeAllRegistrationOrDeviceToken(userId) + RemoveAllRegistrationOrDeviceTokenResponse result = api.removeAllRegistrationOrDeviceToken(userId) .apiToken(apiToken) .execute(); System.out.println(result); @@ -1246,7 +1246,7 @@ public class Example { ### Return type -[**SendBirdRemoveAllRegistrationOrDeviceTokenResponse**](SendBirdRemoveAllRegistrationOrDeviceTokenResponse.md) +[**RemoveAllRegistrationOrDeviceTokenResponse**](RemoveAllRegistrationOrDeviceTokenResponse.md) ### Authorization @@ -1350,7 +1350,7 @@ No authorization required ## updateAUser -> SendBirdSendBirdUser updateAUser(userId).apiToken(apiToken).sendBirdUpdateAUserRequest(sendBirdUpdateAUserRequest).execute(); +> SendBirdUser updateAUser(userId).apiToken(apiToken).updateAUserRequest(updateAUserRequest).execute(); Update a user @@ -1383,11 +1383,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdUpdateAUserRequest sendBirdUpdateAUserRequest = new SendBirdUpdateAUserRequest(); // SendBirdUpdateAUserRequest | + UpdateAUserRequest updateAUserRequest = new UpdateAUserRequest(); // UpdateAUserRequest | try { - SendBirdSendBirdUser result = api.updateAUser(userId) + SendBirdUser result = api.updateAUser(userId) .apiToken(apiToken) - .sendBirdUpdateAUserRequest(sendBirdUpdateAUserRequest) + .updateAUserRequest(updateAUserRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1408,11 +1408,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdUpdateAUserRequest** | [**SendBirdUpdateAUserRequest**](SendBirdUpdateAUserRequest.md)| | [optional] | +| **updateAUserRequest** | [**UpdateAUserRequest**](UpdateAUserRequest.md)| | [optional] | ### Return type -[**SendBirdSendBirdUser**](SendBirdSendBirdUser.md) +[**SendBirdUser**](SendBirdUser.md) ### Authorization @@ -1431,7 +1431,7 @@ No authorization required ## updateChannelInvitationPreference -> SendBirdUpdateChannelInvitationPreferenceResponse updateChannelInvitationPreference(userId).apiToken(apiToken).sendBirdUpdateChannelInvitationPreferenceRequest(sendBirdUpdateChannelInvitationPreferenceRequest).execute(); +> UpdateChannelInvitationPreferenceResponse updateChannelInvitationPreference(userId).apiToken(apiToken).updateChannelInvitationPreferenceRequest(updateChannelInvitationPreferenceRequest).execute(); Update channel invitation preference @@ -1459,11 +1459,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdUpdateChannelInvitationPreferenceRequest sendBirdUpdateChannelInvitationPreferenceRequest = new SendBirdUpdateChannelInvitationPreferenceRequest(); // SendBirdUpdateChannelInvitationPreferenceRequest | + UpdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest = new UpdateChannelInvitationPreferenceRequest(); // UpdateChannelInvitationPreferenceRequest | try { - SendBirdUpdateChannelInvitationPreferenceResponse result = api.updateChannelInvitationPreference(userId) + UpdateChannelInvitationPreferenceResponse result = api.updateChannelInvitationPreference(userId) .apiToken(apiToken) - .sendBirdUpdateChannelInvitationPreferenceRequest(sendBirdUpdateChannelInvitationPreferenceRequest) + .updateChannelInvitationPreferenceRequest(updateChannelInvitationPreferenceRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1484,11 +1484,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdUpdateChannelInvitationPreferenceRequest** | [**SendBirdUpdateChannelInvitationPreferenceRequest**](SendBirdUpdateChannelInvitationPreferenceRequest.md)| | [optional] | +| **updateChannelInvitationPreferenceRequest** | [**UpdateChannelInvitationPreferenceRequest**](UpdateChannelInvitationPreferenceRequest.md)| | [optional] | ### Return type -[**SendBirdUpdateChannelInvitationPreferenceResponse**](SendBirdUpdateChannelInvitationPreferenceResponse.md) +[**UpdateChannelInvitationPreferenceResponse**](UpdateChannelInvitationPreferenceResponse.md) ### Authorization @@ -1507,7 +1507,7 @@ No authorization required ## updateCountPreferenceOfAChannel -> SendBirdUpdateCountPreferenceOfChannelByUrlResponse updateCountPreferenceOfAChannel(userId, channelUrl).apiToken(apiToken).sendBirdUpdateCountPreferenceOfAChannelRequest(sendBirdUpdateCountPreferenceOfAChannelRequest).execute(); +> UpdateCountPreferenceOfChannelByUrlResponse updateCountPreferenceOfAChannel(userId, channelUrl).apiToken(apiToken).updateCountPreferenceOfAChannelRequest(updateCountPreferenceOfAChannelRequest).execute(); Update count preference of a channel @@ -1538,11 +1538,11 @@ public class Example { String userId = "userId_example"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdUpdateCountPreferenceOfAChannelRequest sendBirdUpdateCountPreferenceOfAChannelRequest = new SendBirdUpdateCountPreferenceOfAChannelRequest(); // SendBirdUpdateCountPreferenceOfAChannelRequest | + UpdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest = new UpdateCountPreferenceOfAChannelRequest(); // UpdateCountPreferenceOfAChannelRequest | try { - SendBirdUpdateCountPreferenceOfChannelByUrlResponse result = api.updateCountPreferenceOfAChannel(userId, channelUrl) + UpdateCountPreferenceOfChannelByUrlResponse result = api.updateCountPreferenceOfAChannel(userId, channelUrl) .apiToken(apiToken) - .sendBirdUpdateCountPreferenceOfAChannelRequest(sendBirdUpdateCountPreferenceOfAChannelRequest) + .updateCountPreferenceOfAChannelRequest(updateCountPreferenceOfAChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1564,11 +1564,11 @@ public class Example { | **userId** | **String**| (Required) | | | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdUpdateCountPreferenceOfAChannelRequest** | [**SendBirdUpdateCountPreferenceOfAChannelRequest**](SendBirdUpdateCountPreferenceOfAChannelRequest.md)| | [optional] | +| **updateCountPreferenceOfAChannelRequest** | [**UpdateCountPreferenceOfAChannelRequest**](UpdateCountPreferenceOfAChannelRequest.md)| | [optional] | ### Return type -[**SendBirdUpdateCountPreferenceOfChannelByUrlResponse**](SendBirdUpdateCountPreferenceOfChannelByUrlResponse.md) +[**UpdateCountPreferenceOfChannelByUrlResponse**](UpdateCountPreferenceOfChannelByUrlResponse.md) ### Authorization @@ -1587,7 +1587,7 @@ No authorization required ## updatePushPreferences -> SendBirdUpdatePushPreferencesResponse updatePushPreferences(userId).apiToken(apiToken).sendBirdUpdatePushPreferencesRequest(sendBirdUpdatePushPreferencesRequest).execute(); +> UpdatePushPreferencesResponse updatePushPreferences(userId).apiToken(apiToken).updatePushPreferencesRequest(updatePushPreferencesRequest).execute(); Update push preferences @@ -1618,11 +1618,11 @@ public class Example { UserApi apiInstance = new UserApi(defaultClient); String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdUpdatePushPreferencesRequest sendBirdUpdatePushPreferencesRequest = new SendBirdUpdatePushPreferencesRequest(); // SendBirdUpdatePushPreferencesRequest | + UpdatePushPreferencesRequest updatePushPreferencesRequest = new UpdatePushPreferencesRequest(); // UpdatePushPreferencesRequest | try { - SendBirdUpdatePushPreferencesResponse result = api.updatePushPreferences(userId) + UpdatePushPreferencesResponse result = api.updatePushPreferences(userId) .apiToken(apiToken) - .sendBirdUpdatePushPreferencesRequest(sendBirdUpdatePushPreferencesRequest) + .updatePushPreferencesRequest(updatePushPreferencesRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1643,11 +1643,11 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **userId** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdUpdatePushPreferencesRequest** | [**SendBirdUpdatePushPreferencesRequest**](SendBirdUpdatePushPreferencesRequest.md)| | [optional] | +| **updatePushPreferencesRequest** | [**UpdatePushPreferencesRequest**](UpdatePushPreferencesRequest.md)| | [optional] | ### Return type -[**SendBirdUpdatePushPreferencesResponse**](SendBirdUpdatePushPreferencesResponse.md) +[**UpdatePushPreferencesResponse**](UpdatePushPreferencesResponse.md) ### Authorization @@ -1666,7 +1666,7 @@ No authorization required ## updatePushPreferencesForAChannel -> SendBirdUpdatePushPreferencesForAChannelResponse updatePushPreferencesForAChannel(userId, channelUrl).apiToken(apiToken).sendBirdUpdatePushPreferencesForAChannelRequest(sendBirdUpdatePushPreferencesForAChannelRequest).execute(); +> UpdatePushPreferencesForAChannelResponse updatePushPreferencesForAChannel(userId, channelUrl).apiToken(apiToken).updatePushPreferencesForAChannelRequest(updatePushPreferencesForAChannelRequest).execute(); Update push preferences for a channel @@ -1698,11 +1698,11 @@ public class Example { String userId = "userId_example"; // String | (Required) String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | - SendBirdUpdatePushPreferencesForAChannelRequest sendBirdUpdatePushPreferencesForAChannelRequest = new SendBirdUpdatePushPreferencesForAChannelRequest(); // SendBirdUpdatePushPreferencesForAChannelRequest | + UpdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest = new UpdatePushPreferencesForAChannelRequest(); // UpdatePushPreferencesForAChannelRequest | try { - SendBirdUpdatePushPreferencesForAChannelResponse result = api.updatePushPreferencesForAChannel(userId, channelUrl) + UpdatePushPreferencesForAChannelResponse result = api.updatePushPreferencesForAChannel(userId, channelUrl) .apiToken(apiToken) - .sendBirdUpdatePushPreferencesForAChannelRequest(sendBirdUpdatePushPreferencesForAChannelRequest) + .updatePushPreferencesForAChannelRequest(updatePushPreferencesForAChannelRequest) .execute(); System.out.println(result); } catch (ApiException e) { @@ -1724,11 +1724,11 @@ public class Example { | **userId** | **String**| (Required) | | | **channelUrl** | **String**| (Required) | | | **apiToken** | **String**| | [optional] | -| **sendBirdUpdatePushPreferencesForAChannelRequest** | [**SendBirdUpdatePushPreferencesForAChannelRequest**](SendBirdUpdatePushPreferencesForAChannelRequest.md)| | [optional] | +| **updatePushPreferencesForAChannelRequest** | [**UpdatePushPreferencesForAChannelRequest**](UpdatePushPreferencesForAChannelRequest.md)| | [optional] | ### Return type -[**SendBirdUpdatePushPreferencesForAChannelResponse**](SendBirdUpdatePushPreferencesForAChannelResponse.md) +[**UpdatePushPreferencesForAChannelResponse**](UpdatePushPreferencesForAChannelResponse.md) ### Authorization @@ -1747,7 +1747,7 @@ No authorization required ## viewAUser -> SendBirdSendBirdUser viewAUser(userId).includeUnreadCount(includeUnreadCount).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); +> SendBirdUser viewAUser(userId).includeUnreadCount(includeUnreadCount).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); View a user @@ -1783,7 +1783,7 @@ public class Example { String superMode = "all"; // String | Restricts the search scope to retrieve only Supergroup or non-Supergroup channels. Acceptable values are `all`, `super`, and `nonsuper`. This parameter should be specified in conjunction with `include_unread_count` above. (Default: `all`) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdSendBirdUser result = api.viewAUser(userId) + SendBirdUser result = api.viewAUser(userId) .includeUnreadCount(includeUnreadCount) .customTypes(customTypes) .superMode(superMode) @@ -1814,7 +1814,7 @@ public class Example { ### Return type -[**SendBirdSendBirdUser**](SendBirdSendBirdUser.md) +[**SendBirdUser**](SendBirdUser.md) ### Authorization @@ -1833,7 +1833,7 @@ No authorization required ## viewCountPreferenceOfAChannel -> SendBirdViewCountPreferenceOfAChannelResponse viewCountPreferenceOfAChannel(userId, channelUrl).apiToken(apiToken).execute(); +> ViewCountPreferenceOfAChannelResponse viewCountPreferenceOfAChannel(userId, channelUrl).apiToken(apiToken).execute(); View count preference of a channel @@ -1865,7 +1865,7 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdViewCountPreferenceOfAChannelResponse result = api.viewCountPreferenceOfAChannel(userId, channelUrl) + ViewCountPreferenceOfAChannelResponse result = api.viewCountPreferenceOfAChannel(userId, channelUrl) .apiToken(apiToken) .execute(); System.out.println(result); @@ -1891,7 +1891,7 @@ public class Example { ### Return type -[**SendBirdViewCountPreferenceOfAChannelResponse**](SendBirdViewCountPreferenceOfAChannelResponse.md) +[**ViewCountPreferenceOfAChannelResponse**](ViewCountPreferenceOfAChannelResponse.md) ### Authorization @@ -1910,7 +1910,7 @@ No authorization required ## viewNumberOfChannelsWithUnreadMessages -> SendBirdViewNumberOfChannelsWithUnreadMessagesResponse viewNumberOfChannelsWithUnreadMessages(userId).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); +> ViewNumberOfChannelsWithUnreadMessagesResponse viewNumberOfChannelsWithUnreadMessages(userId).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); View number of channels with unread messages @@ -1941,7 +1941,7 @@ public class Example { String superMode = "all"; // String | Restricts the search scope to either Supergroup channels or non-Supergroup channels or both. Acceptable values are all, super, and nonsuper. (Default: all) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdViewNumberOfChannelsWithUnreadMessagesResponse result = api.viewNumberOfChannelsWithUnreadMessages(userId) + ViewNumberOfChannelsWithUnreadMessagesResponse result = api.viewNumberOfChannelsWithUnreadMessages(userId) .customTypes(customTypes) .superMode(superMode) .apiToken(apiToken) @@ -1970,7 +1970,7 @@ public class Example { ### Return type -[**SendBirdViewNumberOfChannelsWithUnreadMessagesResponse**](SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.md) +[**ViewNumberOfChannelsWithUnreadMessagesResponse**](ViewNumberOfChannelsWithUnreadMessagesResponse.md) ### Authorization @@ -1989,7 +1989,7 @@ No authorization required ## viewNumberOfUnreadMessages -> SendBirdViewNumberOfUnreadMessagesResponse viewNumberOfUnreadMessages(userId).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); +> ViewNumberOfUnreadMessagesResponse viewNumberOfUnreadMessages(userId).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); View number of unread messages @@ -2027,7 +2027,7 @@ public class Example { String superMode = "superMode_example"; // String | Restricts the search scope to either Supergroup channels or non-Supergroup channels or both. Acceptable values are `all`, `super`, and `nonsuper`. (Default: `all`) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdViewNumberOfUnreadMessagesResponse result = api.viewNumberOfUnreadMessages(userId) + ViewNumberOfUnreadMessagesResponse result = api.viewNumberOfUnreadMessages(userId) .customTypes(customTypes) .superMode(superMode) .apiToken(apiToken) @@ -2056,7 +2056,7 @@ public class Example { ### Return type -[**SendBirdViewNumberOfUnreadMessagesResponse**](SendBirdViewNumberOfUnreadMessagesResponse.md) +[**ViewNumberOfUnreadMessagesResponse**](ViewNumberOfUnreadMessagesResponse.md) ### Authorization @@ -2075,7 +2075,7 @@ No authorization required ## viewPushPreferences -> SendBirdViewPushPreferencesResponse viewPushPreferences(userId).apiToken(apiToken).execute(); +> ViewPushPreferencesResponse viewPushPreferences(userId).apiToken(apiToken).execute(); View push preferences @@ -2107,7 +2107,7 @@ public class Example { String userId = "userId_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdViewPushPreferencesResponse result = api.viewPushPreferences(userId) + ViewPushPreferencesResponse result = api.viewPushPreferences(userId) .apiToken(apiToken) .execute(); System.out.println(result); @@ -2132,7 +2132,7 @@ public class Example { ### Return type -[**SendBirdViewPushPreferencesResponse**](SendBirdViewPushPreferencesResponse.md) +[**ViewPushPreferencesResponse**](ViewPushPreferencesResponse.md) ### Authorization @@ -2151,7 +2151,7 @@ No authorization required ## viewPushPreferencesForAChannel -> SendBirdViewPushPreferencesForAChannelResponse viewPushPreferencesForAChannel(userId, channelUrl).apiToken(apiToken).execute(); +> ViewPushPreferencesForAChannelResponse viewPushPreferencesForAChannel(userId, channelUrl).apiToken(apiToken).execute(); View push preferences for a channel @@ -2184,7 +2184,7 @@ public class Example { String channelUrl = "channelUrl_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdViewPushPreferencesForAChannelResponse result = api.viewPushPreferencesForAChannel(userId, channelUrl) + ViewPushPreferencesForAChannelResponse result = api.viewPushPreferencesForAChannel(userId, channelUrl) .apiToken(apiToken) .execute(); System.out.println(result); @@ -2210,7 +2210,7 @@ public class Example { ### Return type -[**SendBirdViewPushPreferencesForAChannelResponse**](SendBirdViewPushPreferencesForAChannelResponse.md) +[**ViewPushPreferencesForAChannelResponse**](ViewPushPreferencesForAChannelResponse.md) ### Authorization @@ -2229,7 +2229,7 @@ No authorization required ## viewWhoOwnsARegistrationOrDeviceToken -> List<SendBirdMarkChannelMessagesAsReadRequest> viewWhoOwnsARegistrationOrDeviceToken(tokenType, token).apiToken(apiToken).execute(); +> List<MarkChannelMessagesAsReadRequest> viewWhoOwnsARegistrationOrDeviceToken(tokenType, token).apiToken(apiToken).execute(); View who owns a registration or device token @@ -2260,7 +2260,7 @@ public class Example { String token = "token_example"; // String | (Required) String apiToken = "{{API_TOKEN}}"; // String | try { - List result = api.viewWhoOwnsARegistrationOrDeviceToken(tokenType, token) + List result = api.viewWhoOwnsARegistrationOrDeviceToken(tokenType, token) .apiToken(apiToken) .execute(); System.out.println(result); @@ -2286,7 +2286,7 @@ public class Example { ### Return type -[**List<SendBirdMarkChannelMessagesAsReadRequest>**](SendBirdMarkChannelMessagesAsReadRequest.md) +[**List<MarkChannelMessagesAsReadRequest>**](MarkChannelMessagesAsReadRequest.md) ### Authorization diff --git a/docs/ViewPushPreferencesForAChannelResponse.md b/docs/ViewPushPreferencesForAChannelResponse.md index fe85b8b8..24d9045d 100644 --- a/docs/ViewPushPreferencesForAChannelResponse.md +++ b/docs/ViewPushPreferencesForAChannelResponse.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**enable** | **Boolean** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | diff --git a/docs/ViewPushPreferencesResponse.md b/docs/ViewPushPreferencesResponse.md index 94fc9afa..fc220388 100644 --- a/docs/ViewPushPreferencesResponse.md +++ b/docs/ViewPushPreferencesResponse.md @@ -14,7 +14,7 @@ |**endMin** | **Integer** | | [optional] | |**pushBlockedBotIds** | **List<String>** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | |**snoozeEnabled** | **Boolean** | | [optional] | |**snoozeEndTs** | **Long** | | [optional] | |**snoozeStartTs** | **Long** | | [optional] | diff --git a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 42d652de..763c3981 100644 --- a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -24,7 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java b/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java index 577054ae..1d427c54 100644 --- a/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java +++ b/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java @@ -40,7 +40,7 @@ AcceptAnInvitationRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("acceptAnInvitation_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class AcceptAnInvitationRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java index deb2c048..a958146a 100644 --- a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java +++ b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java @@ -37,7 +37,7 @@ AddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_HUAWEI_DEVICE_TOKEN }) @JsonTypeName("addARegistrationOrDeviceToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class AddARegistrationOrDeviceTokenRequest { public static final String JSON_PROPERTY_APNS_DEVICE_TOKEN = "apns_device_token"; private String apnsDeviceToken; diff --git a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java index 966b58c7..201b1f49 100644 --- a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,7 +38,7 @@ AddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("addARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class AddARegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private String token; @@ -47,7 +47,7 @@ public class AddARegistrationOrDeviceTokenResponse { private String type; public static final String JSON_PROPERTY_USER = "user"; - private SendbirdBasicUserInfo user; + private SendBirdBasicUserInfo user; public AddARegistrationOrDeviceTokenResponse() { } @@ -104,7 +104,7 @@ public void setType(String type) { } - public AddARegistrationOrDeviceTokenResponse user(SendbirdBasicUserInfo user) { + public AddARegistrationOrDeviceTokenResponse user(SendBirdBasicUserInfo user) { this.user = user; return this; } @@ -118,14 +118,14 @@ public AddARegistrationOrDeviceTokenResponse user(SendbirdBasicUserInfo user) { @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getUser() { + public SendBirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendbirdBasicUserInfo user) { + public void setUser(SendBirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java index df50c969..d0112d82 100644 --- a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ AddExtraDataToAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("addExtraDataToAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class AddExtraDataToAMessageRequest { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = new ArrayList<>(); + private List sortedMetaarray = new ArrayList<>(); public AddExtraDataToAMessageRequest() { } - public AddExtraDataToAMessageRequest sortedMetaarray(List sortedMetaarray) { + public AddExtraDataToAMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public AddExtraDataToAMessageRequest addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public AddExtraDataToAMessageRequest addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { this.sortedMetaarray.add(sortedMetaarrayItem); return this; } @@ -65,14 +65,14 @@ public AddExtraDataToAMessageRequest addSortedMetaarrayItem(SendbirdSortedMetaar @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java index 02abbcf5..ca9597ce 100644 --- a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ AddExtraDataToAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("addExtraDataToAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class AddExtraDataToAMessageResponse { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public AddExtraDataToAMessageResponse() { } - public AddExtraDataToAMessageResponse sortedMetaarray(List sortedMetaarray) { + public AddExtraDataToAMessageResponse sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public AddExtraDataToAMessageResponse addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public AddExtraDataToAMessageResponse addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -68,14 +68,14 @@ public AddExtraDataToAMessageResponse addSortedMetaarrayItem(SendbirdSortedMetaa @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/BlockAUserRequest.java b/src/main/java/org/openapitools/client/model/BlockAUserRequest.java index 78588b31..5ee2d493 100644 --- a/src/main/java/org/openapitools/client/model/BlockAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/BlockAUserRequest.java @@ -38,7 +38,7 @@ BlockAUserRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("blockAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class BlockAUserRequest { public static final String JSON_PROPERTY_TARGET_ID = "target_id"; private String targetId; diff --git a/src/main/java/org/openapitools/client/model/BlockAUserResponse.java b/src/main/java/org/openapitools/client/model/BlockAUserResponse.java index ec889ab3..ddbd8d7b 100644 --- a/src/main/java/org/openapitools/client/model/BlockAUserResponse.java +++ b/src/main/java/org/openapitools/client/model/BlockAUserResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdUser; +import org.openapitools.client.model.SendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,10 +39,10 @@ BlockAUserResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("blockAUserResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class BlockAUserResponse { public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; + private List users = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -50,12 +50,12 @@ public class BlockAUserResponse { public BlockAUserResponse() { } - public BlockAUserResponse users(List users) { + public BlockAUserResponse users(List users) { this.users = users; return this; } - public BlockAUserResponse addUsersItem(SendbirdUser usersItem) { + public BlockAUserResponse addUsersItem(SendBirdUser usersItem) { if (this.users == null) { this.users = new ArrayList<>(); } @@ -72,14 +72,14 @@ public BlockAUserResponse addUsersItem(SendbirdUser usersItem) { @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java b/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java index 477f72bf..8aaeba1c 100644 --- a/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java +++ b/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java @@ -36,7 +36,7 @@ CheckIfMemberResponse.JSON_PROPERTY_STATE }) @JsonTypeName("checkIfMemberResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class CheckIfMemberResponse { public static final String JSON_PROPERTY_IS_MEMBER = "is_member"; private Boolean isMember; diff --git a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java index 5f7bd989..59e47596 100644 --- a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java +++ b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java @@ -35,7 +35,7 @@ ChooseAPushNotificationContentTemplateRequest.JSON_PROPERTY_NAME }) @JsonTypeName("chooseAPushNotificationContentTemplate_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ChooseAPushNotificationContentTemplateRequest { /** * Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default) diff --git a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java index 26cd67ea..28fcb1ec 100644 --- a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java +++ b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java @@ -35,7 +35,7 @@ ChooseAPushNotificationContentTemplateResponse.JSON_PROPERTY_NAME }) @JsonTypeName("chooseAPushNotificationContentTemplateResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ChooseAPushNotificationContentTemplateResponse { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/CreateABotRequest.java b/src/main/java/org/openapitools/client/model/CreateABotRequest.java index 2264ddee..3e6666a6 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateABotRequest.java @@ -43,7 +43,7 @@ CreateABotRequest.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("createABot_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class CreateABotRequest { public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; private String botCallbackUrl; diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponse.java b/src/main/java/org/openapitools/client/model/CreateABotResponse.java index 6a14ccc0..493514df 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateABotResponse.java @@ -44,7 +44,7 @@ CreateABotResponse.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("createABotResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class CreateABotResponse { public static final String JSON_PROPERTY_BOT = "bot"; private CreateABotResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java b/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java index f3231797..235dd4ec 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java +++ b/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java @@ -43,7 +43,7 @@ CreateABotResponseBot.JSON_PROPERTY_FEEDBACK }) @JsonTypeName("createABotResponse_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class CreateABotResponseBot { public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; private String aiAgentType; diff --git a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java index 20205f6a..46a8cfcb 100644 --- a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java @@ -36,7 +36,7 @@ CreateAChannelMetadataRequest.JSON_PROPERTY_METADATA }) @JsonTypeName("createAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class CreateAChannelMetadataRequest { public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; private Boolean includeTs; diff --git a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java index 968bd01a..0dcfafaa 100644 --- a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java @@ -36,7 +36,7 @@ CreateAChannelMetadataResponse.JSON_PROPERTY_METADATA }) @JsonTypeName("createAChannelMetadataResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class CreateAChannelMetadataResponse { public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; private Long includeTs; diff --git a/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java index c8083bff..a6997493 100644 --- a/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java @@ -27,7 +27,7 @@ import java.io.File; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdUser; +import org.openapitools.client.model.SendBirdUser; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -61,7 +61,7 @@ CreateAGroupChannelRequest.JSON_PROPERTY_USERS }) @JsonTypeName("createAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class CreateAGroupChannelRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); @@ -118,7 +118,7 @@ public class CreateAGroupChannelRequest { private List userIds = null; public static final String JSON_PROPERTY_USERS = "users"; - private List users = new ArrayList<>(); + private List users = new ArrayList<>(); public CreateAGroupChannelRequest() { } @@ -623,12 +623,12 @@ public void setUserIds(List userIds) { } - public CreateAGroupChannelRequest users(List users) { + public CreateAGroupChannelRequest users(List users) { this.users = users; return this; } - public CreateAGroupChannelRequest addUsersItem(SendbirdUser usersItem) { + public CreateAGroupChannelRequest addUsersItem(SendBirdUser usersItem) { this.users.add(usersItem); return this; } @@ -642,14 +642,14 @@ public CreateAGroupChannelRequest addUsersItem(SendbirdUser usersItem) { @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/CreateAUserRequest.java b/src/main/java/org/openapitools/client/model/CreateAUserRequest.java index c3637e98..672ff423 100644 --- a/src/main/java/org/openapitools/client/model/CreateAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAUserRequest.java @@ -48,7 +48,7 @@ CreateAUserRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("createAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class CreateAUserRequest { public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; private JsonNullable> discoveryKeys = JsonNullable.>undefined(); diff --git a/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java index ae221a2a..25ebc4bb 100644 --- a/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java @@ -46,7 +46,7 @@ CreateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("createAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class CreateAnOpenChannelRequest { public static final String JSON_PROPERTY_IS_DYNAMIC_PARTITIONED = "is_dynamic_partitioned"; private Boolean isDynamicPartitioned; diff --git a/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java b/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java index c54dac28..ce4b24c0 100644 --- a/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java @@ -35,7 +35,7 @@ CreateUserTokenRequest.JSON_PROPERTY_EXPIRES_AT }) @JsonTypeName("createUserToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class CreateUserTokenRequest { public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; private Long expiresAt; diff --git a/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java b/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java index 2ff2a4f7..db1d35bc 100644 --- a/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java @@ -36,7 +36,7 @@ CreateUserTokenResponse.JSON_PROPERTY_TOKEN }) @JsonTypeName("createUserTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class CreateUserTokenResponse { public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; private Long expiresAt; diff --git a/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java index 7773463f..e5013558 100644 --- a/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java @@ -35,7 +35,7 @@ FreezeAGroupChannelRequest.JSON_PROPERTY_FREEZE }) @JsonTypeName("freezeAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class FreezeAGroupChannelRequest { public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; diff --git a/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java index ac4bbae4..907b9d53 100644 --- a/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java @@ -35,7 +35,7 @@ FreezeAnOpenChannelRequest.JSON_PROPERTY_FREEZE }) @JsonTypeName("freezeAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class FreezeAnOpenChannelRequest { public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; diff --git a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java index 578b79c5..f85d120a 100644 --- a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java @@ -29,14 +29,14 @@ import java.util.List; import java.util.Map; import org.openapitools.client.model.GetAGroupChannelResponseAllOf; -import org.openapitools.client.model.SendbirdBasicUserInfo; -import org.openapitools.client.model.SendbirdDisappearingMessage; -import org.openapitools.client.model.SendbirdGroupChannel; -import org.openapitools.client.model.SendbirdGroupChannelDetailChannel; -import org.openapitools.client.model.SendbirdGroupChannelLastMessage; -import org.openapitools.client.model.SendbirdMember; -import org.openapitools.client.model.SendbirdPushTriggerOption; -import org.openapitools.client.model.SendbirdSmsFallback; +import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdDisappearingMessage; +import org.openapitools.client.model.SendBirdGroupChannel; +import org.openapitools.client.model.SendBirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendBirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdMember; +import org.openapitools.client.model.SendBirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSmsFallback; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -97,10 +97,10 @@ GetAGroupChannelResponse.JSON_PROPERTY_USER_LAST_READ }) @JsonTypeName("getAGroupChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class GetAGroupChannelResponse { public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendbirdGroupChannelDetailChannel channel; + private SendBirdGroupChannelDetailChannel channel; public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -154,7 +154,7 @@ public static CountPreferenceEnum fromValue(String value) { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendbirdBasicUserInfo createdBy; + private SendBirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -166,7 +166,7 @@ public static CountPreferenceEnum fromValue(String value) { private Object deliveryReceipt; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendbirdDisappearingMessage disappearingMessage; + private SendBirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -224,7 +224,7 @@ public static HiddenStateEnum fromValue(String value) { private Long invitedAt; public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendbirdBasicUserInfo inviter; + private SendBirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); @@ -266,7 +266,7 @@ public static HiddenStateEnum fromValue(String value) { private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendbirdGroupChannelLastMessage lastMessage; + private SendBirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -315,7 +315,7 @@ public static MemberStateEnum fromValue(String value) { private MemberStateEnum memberState; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -367,13 +367,13 @@ public static MyRoleEnum fromValue(String value) { private String name; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendbirdPushTriggerOption pushTriggerOption; + private SendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendbirdSmsFallback smsFallback; + private SendBirdSmsFallback smsFallback; public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; @@ -390,7 +390,7 @@ public static MyRoleEnum fromValue(String value) { public GetAGroupChannelResponse() { } - public GetAGroupChannelResponse channel(SendbirdGroupChannelDetailChannel channel) { + public GetAGroupChannelResponse channel(SendBirdGroupChannelDetailChannel channel) { this.channel = channel; return this; } @@ -404,14 +404,14 @@ public GetAGroupChannelResponse channel(SendbirdGroupChannelDetailChannel channe @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdGroupChannelDetailChannel getChannel() { + public SendBirdGroupChannelDetailChannel getChannel() { return channel; } @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendbirdGroupChannelDetailChannel channel) { + public void setChannel(SendBirdGroupChannelDetailChannel channel) { this.channel = channel; } @@ -520,7 +520,7 @@ public void setCreatedAt(Long createdAt) { } - public GetAGroupChannelResponse createdBy(SendbirdBasicUserInfo createdBy) { + public GetAGroupChannelResponse createdBy(SendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -534,14 +534,14 @@ public GetAGroupChannelResponse createdBy(SendbirdBasicUserInfo createdBy) { @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getCreatedBy() { + public SendBirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendbirdBasicUserInfo createdBy) { + public void setCreatedBy(SendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; } @@ -624,7 +624,7 @@ public void setDeliveryReceipt(Object deliveryReceipt) { } - public GetAGroupChannelResponse disappearingMessage(SendbirdDisappearingMessage disappearingMessage) { + public GetAGroupChannelResponse disappearingMessage(SendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -638,14 +638,14 @@ public GetAGroupChannelResponse disappearingMessage(SendbirdDisappearingMessage @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdDisappearingMessage getDisappearingMessage() { + public SendBirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendbirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } @@ -806,7 +806,7 @@ public void setInvitedAt(Long invitedAt) { } - public GetAGroupChannelResponse inviter(SendbirdBasicUserInfo inviter) { + public GetAGroupChannelResponse inviter(SendBirdBasicUserInfo inviter) { this.inviter = inviter; return this; } @@ -820,14 +820,14 @@ public GetAGroupChannelResponse inviter(SendbirdBasicUserInfo inviter) { @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getInviter() { + public SendBirdBasicUserInfo getInviter() { return inviter; } @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendbirdBasicUserInfo inviter) { + public void setInviter(SendBirdBasicUserInfo inviter) { this.inviter = inviter; } @@ -1186,7 +1186,7 @@ public void setJoinedTs(Long joinedTs) { } - public GetAGroupChannelResponse lastMessage(SendbirdGroupChannelLastMessage lastMessage) { + public GetAGroupChannelResponse lastMessage(SendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; return this; } @@ -1200,14 +1200,14 @@ public GetAGroupChannelResponse lastMessage(SendbirdGroupChannelLastMessage last @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdGroupChannelLastMessage getLastMessage() { + public SendBirdGroupChannelLastMessage getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendbirdGroupChannelLastMessage lastMessage) { + public void setLastMessage(SendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } @@ -1290,12 +1290,12 @@ public void setMemberState(MemberStateEnum memberState) { } - public GetAGroupChannelResponse members(List members) { + public GetAGroupChannelResponse members(List members) { this.members = members; return this; } - public GetAGroupChannelResponse addMembersItem(SendbirdMember membersItem) { + public GetAGroupChannelResponse addMembersItem(SendBirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -1312,14 +1312,14 @@ public GetAGroupChannelResponse addMembersItem(SendbirdMember membersItem) { @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } @@ -1436,7 +1436,7 @@ public void setName(String name) { } - public GetAGroupChannelResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public GetAGroupChannelResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -1450,14 +1450,14 @@ public GetAGroupChannelResponse pushTriggerOption(SendbirdPushTriggerOption push @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } @@ -1496,7 +1496,7 @@ public void setReadReceipt(Map readReceipt) { } - public GetAGroupChannelResponse smsFallback(SendbirdSmsFallback smsFallback) { + public GetAGroupChannelResponse smsFallback(SendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1510,14 +1510,14 @@ public GetAGroupChannelResponse smsFallback(SendbirdSmsFallback smsFallback) { @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdSmsFallback getSmsFallback() { + public SendBirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendbirdSmsFallback smsFallback) { + public void setSmsFallback(SendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } diff --git a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java index b829d59a..f9b328ab 100644 --- a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java +++ b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendbirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendBirdGroupChannelDetailChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -36,15 +36,15 @@ GetAGroupChannelResponseAllOf.JSON_PROPERTY_CHANNEL }) @JsonTypeName("getAGroupChannelResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class GetAGroupChannelResponseAllOf { public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendbirdGroupChannelDetailChannel channel; + private SendBirdGroupChannelDetailChannel channel; public GetAGroupChannelResponseAllOf() { } - public GetAGroupChannelResponseAllOf channel(SendbirdGroupChannelDetailChannel channel) { + public GetAGroupChannelResponseAllOf channel(SendBirdGroupChannelDetailChannel channel) { this.channel = channel; return this; } @@ -58,14 +58,14 @@ public GetAGroupChannelResponseAllOf channel(SendbirdGroupChannelDetailChannel c @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdGroupChannelDetailChannel getChannel() { + public SendBirdGroupChannelDetailChannel getChannel() { return channel; } @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendbirdGroupChannelDetailChannel channel) { + public void setChannel(SendBirdGroupChannelDetailChannel channel) { this.channel = channel; } diff --git a/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java index 76cf3fd1..32b06659 100644 --- a/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java +++ b/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java @@ -35,7 +35,7 @@ GetChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("getChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class GetChannelInvitationPreferenceResponse { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java b/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java index 57b15670..4facb776 100644 --- a/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java @@ -35,7 +35,7 @@ GetTotalNumberOfMessagesInAChannelResponse.JSON_PROPERTY_TOTAL }) @JsonTypeName("getTotalNumberOfMessagesInAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class GetTotalNumberOfMessagesInAChannelResponse { public static final String JSON_PROPERTY_TOTAL = "total"; private Integer total; diff --git a/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java b/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java index 34f52fe7..6d974337 100644 --- a/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java +++ b/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdMember; +import org.openapitools.client.model.SendBirdMember; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,10 +39,10 @@ GroupChannelListMembersResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("groupChannelListMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class GroupChannelListMembersResponse { public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = new ArrayList<>(); + private List members = new ArrayList<>(); public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -50,12 +50,12 @@ public class GroupChannelListMembersResponse { public GroupChannelListMembersResponse() { } - public GroupChannelListMembersResponse members(List members) { + public GroupChannelListMembersResponse members(List members) { this.members = members; return this; } - public GroupChannelListMembersResponse addMembersItem(SendbirdMember membersItem) { + public GroupChannelListMembersResponse addMembersItem(SendBirdMember membersItem) { this.members.add(membersItem); return this; } @@ -69,14 +69,14 @@ public GroupChannelListMembersResponse addMembersItem(SendbirdMember membersItem @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } diff --git a/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java b/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java index f51190c2..2669cc31 100644 --- a/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdGroupChannel; +import org.openapitools.client.model.SendBirdGroupChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,10 +40,10 @@ GroupChatListChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("groupChatListChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class GroupChatListChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; + private List channels = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -54,12 +54,12 @@ public class GroupChatListChannelsResponse { public GroupChatListChannelsResponse() { } - public GroupChatListChannelsResponse channels(List channels) { + public GroupChatListChannelsResponse channels(List channels) { this.channels = channels; return this; } - public GroupChatListChannelsResponse addChannelsItem(SendbirdGroupChannel channelsItem) { + public GroupChatListChannelsResponse addChannelsItem(SendBirdGroupChannel channelsItem) { if (this.channels == null) { this.channels = new ArrayList<>(); } @@ -76,14 +76,14 @@ public GroupChatListChannelsResponse addChannelsItem(SendbirdGroupChannel channe @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getChannels() { + public List getChannels() { return channels; } @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { + public void setChannels(List channels) { this.channels = channels; } diff --git a/src/main/java/org/openapitools/client/model/HideAChannelRequest.java b/src/main/java/org/openapitools/client/model/HideAChannelRequest.java index 96e1bf8d..09da160d 100644 --- a/src/main/java/org/openapitools/client/model/HideAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/HideAChannelRequest.java @@ -38,7 +38,7 @@ HideAChannelRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("hideAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class HideAChannelRequest { public static final String JSON_PROPERTY_ALLOW_AUTO_UNHIDE = "allow_auto_unhide"; private Boolean allowAutoUnhide; diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java b/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java index 91f35200..504cb91f 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java @@ -40,7 +40,7 @@ InviteAsMembersRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("inviteAsMembers_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class InviteAsMembersRequest { public static final String JSON_PROPERTY_HIDDEN_STATUS = "hidden_status"; private Object hiddenStatus; diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java b/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java index 077e9c7c..3d2d4633 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java @@ -29,14 +29,14 @@ import java.util.List; import java.util.Map; import org.openapitools.client.model.InviteAsMembersResponseAllOf; -import org.openapitools.client.model.SendbirdBasicUserInfo; -import org.openapitools.client.model.SendbirdDisappearingMessage; -import org.openapitools.client.model.SendbirdGroupChannel; -import org.openapitools.client.model.SendbirdGroupChannelLastMessage; -import org.openapitools.client.model.SendbirdMember; -import org.openapitools.client.model.SendbirdPushTriggerOption; -import org.openapitools.client.model.SendbirdSmsFallback; -import org.openapitools.client.model.SendbirdUser; +import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdDisappearingMessage; +import org.openapitools.client.model.SendBirdGroupChannel; +import org.openapitools.client.model.SendBirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdMember; +import org.openapitools.client.model.SendBirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSmsFallback; +import org.openapitools.client.model.SendBirdUser; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -97,7 +97,7 @@ InviteAsMembersResponse.JSON_PROPERTY_OPERATORS }) @JsonTypeName("inviteAsMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class InviteAsMembersResponse { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -151,7 +151,7 @@ public static CountPreferenceEnum fromValue(String value) { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendbirdBasicUserInfo createdBy; + private SendBirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -163,7 +163,7 @@ public static CountPreferenceEnum fromValue(String value) { private Object deliveryReceipt; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendbirdDisappearingMessage disappearingMessage; + private SendBirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -221,7 +221,7 @@ public static HiddenStateEnum fromValue(String value) { private Long invitedAt; public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendbirdBasicUserInfo inviter; + private SendBirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); @@ -263,7 +263,7 @@ public static HiddenStateEnum fromValue(String value) { private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendbirdGroupChannelLastMessage lastMessage; + private SendBirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -312,7 +312,7 @@ public static MemberStateEnum fromValue(String value) { private MemberStateEnum memberState; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -364,13 +364,13 @@ public static MyRoleEnum fromValue(String value) { private String name; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendbirdPushTriggerOption pushTriggerOption; + private SendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendbirdSmsFallback smsFallback; + private SendBirdSmsFallback smsFallback; public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; @@ -385,7 +385,7 @@ public static MyRoleEnum fromValue(String value) { private Long userLastRead; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public InviteAsMembersResponse() { } @@ -494,7 +494,7 @@ public void setCreatedAt(Long createdAt) { } - public InviteAsMembersResponse createdBy(SendbirdBasicUserInfo createdBy) { + public InviteAsMembersResponse createdBy(SendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -508,14 +508,14 @@ public InviteAsMembersResponse createdBy(SendbirdBasicUserInfo createdBy) { @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getCreatedBy() { + public SendBirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendbirdBasicUserInfo createdBy) { + public void setCreatedBy(SendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; } @@ -598,7 +598,7 @@ public void setDeliveryReceipt(Object deliveryReceipt) { } - public InviteAsMembersResponse disappearingMessage(SendbirdDisappearingMessage disappearingMessage) { + public InviteAsMembersResponse disappearingMessage(SendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -612,14 +612,14 @@ public InviteAsMembersResponse disappearingMessage(SendbirdDisappearingMessage d @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdDisappearingMessage getDisappearingMessage() { + public SendBirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendbirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } @@ -780,7 +780,7 @@ public void setInvitedAt(Long invitedAt) { } - public InviteAsMembersResponse inviter(SendbirdBasicUserInfo inviter) { + public InviteAsMembersResponse inviter(SendBirdBasicUserInfo inviter) { this.inviter = inviter; return this; } @@ -794,14 +794,14 @@ public InviteAsMembersResponse inviter(SendbirdBasicUserInfo inviter) { @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getInviter() { + public SendBirdBasicUserInfo getInviter() { return inviter; } @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendbirdBasicUserInfo inviter) { + public void setInviter(SendBirdBasicUserInfo inviter) { this.inviter = inviter; } @@ -1160,7 +1160,7 @@ public void setJoinedTs(Long joinedTs) { } - public InviteAsMembersResponse lastMessage(SendbirdGroupChannelLastMessage lastMessage) { + public InviteAsMembersResponse lastMessage(SendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; return this; } @@ -1174,14 +1174,14 @@ public InviteAsMembersResponse lastMessage(SendbirdGroupChannelLastMessage lastM @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdGroupChannelLastMessage getLastMessage() { + public SendBirdGroupChannelLastMessage getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendbirdGroupChannelLastMessage lastMessage) { + public void setLastMessage(SendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } @@ -1264,12 +1264,12 @@ public void setMemberState(MemberStateEnum memberState) { } - public InviteAsMembersResponse members(List members) { + public InviteAsMembersResponse members(List members) { this.members = members; return this; } - public InviteAsMembersResponse addMembersItem(SendbirdMember membersItem) { + public InviteAsMembersResponse addMembersItem(SendBirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -1286,14 +1286,14 @@ public InviteAsMembersResponse addMembersItem(SendbirdMember membersItem) { @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } @@ -1410,7 +1410,7 @@ public void setName(String name) { } - public InviteAsMembersResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public InviteAsMembersResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -1424,14 +1424,14 @@ public InviteAsMembersResponse pushTriggerOption(SendbirdPushTriggerOption pushT @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } @@ -1470,7 +1470,7 @@ public void setReadReceipt(Map readReceipt) { } - public InviteAsMembersResponse smsFallback(SendbirdSmsFallback smsFallback) { + public InviteAsMembersResponse smsFallback(SendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1484,14 +1484,14 @@ public InviteAsMembersResponse smsFallback(SendbirdSmsFallback smsFallback) { @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdSmsFallback getSmsFallback() { + public SendBirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendbirdSmsFallback smsFallback) { + public void setSmsFallback(SendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } @@ -1600,12 +1600,12 @@ public void setUserLastRead(Long userLastRead) { } - public InviteAsMembersResponse operators(List operators) { + public InviteAsMembersResponse operators(List operators) { this.operators = operators; return this; } - public InviteAsMembersResponse addOperatorsItem(SendbirdUser operatorsItem) { + public InviteAsMembersResponse addOperatorsItem(SendBirdUser operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -1622,14 +1622,14 @@ public InviteAsMembersResponse addOperatorsItem(SendbirdUser operatorsItem) { @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java b/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java index 03ad809a..90a34432 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdUser; +import org.openapitools.client.model.SendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ InviteAsMembersResponseAllOf.JSON_PROPERTY_OPERATORS }) @JsonTypeName("inviteAsMembersResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class InviteAsMembersResponseAllOf { public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public InviteAsMembersResponseAllOf() { } - public InviteAsMembersResponseAllOf operators(List operators) { + public InviteAsMembersResponseAllOf operators(List operators) { this.operators = operators; return this; } - public InviteAsMembersResponseAllOf addOperatorsItem(SendbirdUser operatorsItem) { + public InviteAsMembersResponseAllOf addOperatorsItem(SendBirdUser operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -68,14 +68,14 @@ public InviteAsMembersResponseAllOf addOperatorsItem(SendbirdUser operatorsItem) @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } diff --git a/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java b/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java index 13c185b7..45ac04c3 100644 --- a/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java @@ -40,7 +40,7 @@ JoinAChannelRequest.JSON_PROPERTY_ACCESS_CODE }) @JsonTypeName("joinAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class JoinAChannelRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java b/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java index b0000476..09fe7763 100644 --- a/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java +++ b/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java @@ -37,7 +37,7 @@ JoinChannelsRequest.JSON_PROPERTY_CHANNEL_URLS }) @JsonTypeName("joinChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class JoinChannelsRequest { public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; private List channelUrls = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java b/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java index 4f50684f..dcbef54c 100644 --- a/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java @@ -40,7 +40,7 @@ LeaveAChannelRequest.JSON_PROPERTY_REASON }) @JsonTypeName("leaveAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class LeaveAChannelRequest { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java b/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java index abd12d8b..1221bca2 100644 --- a/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java +++ b/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java @@ -35,7 +35,7 @@ LeaveMyGroupChannelsRequest.JSON_PROPERTY_CUSTOM_TYPE }) @JsonTypeName("leaveMyGroupChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class LeaveMyGroupChannelsRequest { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; diff --git a/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java b/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java index ba16e933..df057167 100644 --- a/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdUser; +import org.openapitools.client.model.SendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,10 +39,10 @@ ListBlockedUsersResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("listBlockedUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListBlockedUsersResponse { public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; + private List users = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -50,12 +50,12 @@ public class ListBlockedUsersResponse { public ListBlockedUsersResponse() { } - public ListBlockedUsersResponse users(List users) { + public ListBlockedUsersResponse users(List users) { this.users = users; return this; } - public ListBlockedUsersResponse addUsersItem(SendbirdUser usersItem) { + public ListBlockedUsersResponse addUsersItem(SendBirdUser usersItem) { if (this.users == null) { this.users = new ArrayList<>(); } @@ -72,14 +72,14 @@ public ListBlockedUsersResponse addUsersItem(SendbirdUser usersItem) { @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponse.java b/src/main/java/org/openapitools/client/model/ListBotsResponse.java index 23970a27..e45a7230 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponse.java @@ -39,7 +39,7 @@ ListBotsResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("listBotsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListBotsResponse { public static final String JSON_PROPERTY_BOTS = "bots"; private List bots = null; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java index 393beaea..36ccb932 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java @@ -50,7 +50,7 @@ ListBotsResponseBotsInner.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("listBotsResponse_bots_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListBotsResponseBotsInner { public static final String JSON_PROPERTY_BOT = "bot"; private ListBotsResponseBotsInnerBot bot; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java index bbaaa28d..13b756b9 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java @@ -42,7 +42,7 @@ ListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_USERID }) @JsonTypeName("listBotsResponse_bots_inner_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBot { public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; private String aiAgentType; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java index 9527534a..297d28a8 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java @@ -43,7 +43,7 @@ ListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_URL }) @JsonTypeName("listBotsResponse_bots_inner_bot_style") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBotStyle { public static final String JSON_PROPERTY_AUTO_OPEN = "auto_open"; private Boolean autoOpen; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java index 5dd270f9..5178b62a 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerBotStyleColor.JSON_PROPERTY_THEME }) @JsonTypeName("listBotsResponse_bots_inner_bot_style_color") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBotStyleColor { public static final String JSON_PROPERTY_ACCENT_COLOR = "accent_color"; private String accentColor; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java index 49e592be..6526dc3a 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerFirstMessagesInner.JSON_PROPERTY_MESSAGE }) @JsonTypeName("listBotsResponse_bots_inner_first_messages_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerFirstMessagesInner { public static final String JSON_PROPERTY_DATA = "data"; private ListBotsResponseBotsInnerFirstMessagesInnerData data; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java index 833e094f..e4dad670 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerFirstMessagesInnerData.JSON_PROPERTY_SUGGESTED_REPLIES }) @JsonTypeName("listBotsResponse_bots_inner_first_messages_inner_data") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerFirstMessagesInnerData { public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; private List suggestedReplies = null; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java index 3636acb6..7c9fc582 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java @@ -40,7 +40,7 @@ ListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_PII_MASKING }) @JsonTypeName("listBotsResponse_bots_inner_safeguard") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerSafeguard { public static final String JSON_PROPERTY_BANNED_PHRASES = "banned_phrases"; private List bannedPhrases = null; diff --git a/src/main/java/org/openapitools/client/model/ListMessagesResponse.java b/src/main/java/org/openapitools/client/model/ListMessagesResponse.java index ec796e94..614b7521 100644 --- a/src/main/java/org/openapitools/client/model/ListMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ListMessagesResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdMessageResponse; +import org.openapitools.client.model.SendBirdMessageResponse; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ ListMessagesResponse.JSON_PROPERTY_MESSAGES }) @JsonTypeName("listMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListMessagesResponse { public static final String JSON_PROPERTY_MESSAGES = "messages"; - private List messages = null; + private List messages = null; public ListMessagesResponse() { } - public ListMessagesResponse messages(List messages) { + public ListMessagesResponse messages(List messages) { this.messages = messages; return this; } - public ListMessagesResponse addMessagesItem(SendbirdMessageResponse messagesItem) { + public ListMessagesResponse addMessagesItem(SendBirdMessageResponse messagesItem) { if (this.messages == null) { this.messages = new ArrayList<>(); } @@ -68,14 +68,14 @@ public ListMessagesResponse addMessagesItem(SendbirdMessageResponse messagesItem @JsonProperty(JSON_PROPERTY_MESSAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMessages() { + public List getMessages() { return messages; } @JsonProperty(JSON_PROPERTY_MESSAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessages(List messages) { + public void setMessages(List messages) { this.messages = messages; } diff --git a/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java b/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java index 8ea68547..0d982d35 100644 --- a/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdGroupChannel; +import org.openapitools.client.model.SendBirdGroupChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,10 +40,10 @@ ListMyGroupChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("listMyGroupChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListMyGroupChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; + private List channels = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -54,12 +54,12 @@ public class ListMyGroupChannelsResponse { public ListMyGroupChannelsResponse() { } - public ListMyGroupChannelsResponse channels(List channels) { + public ListMyGroupChannelsResponse channels(List channels) { this.channels = channels; return this; } - public ListMyGroupChannelsResponse addChannelsItem(SendbirdGroupChannel channelsItem) { + public ListMyGroupChannelsResponse addChannelsItem(SendBirdGroupChannel channelsItem) { if (this.channels == null) { this.channels = new ArrayList<>(); } @@ -76,14 +76,14 @@ public ListMyGroupChannelsResponse addChannelsItem(SendbirdGroupChannel channels @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getChannels() { + public List getChannels() { return channels; } @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { + public void setChannels(List channels) { this.channels = channels; } diff --git a/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java b/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java index 94ac4724..ff06c1be 100644 --- a/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdOpenChannel; +import org.openapitools.client.model.SendBirdOpenChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,10 +40,10 @@ ListOpenChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("listOpenChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListOpenChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; + private List channels = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -54,12 +54,12 @@ public class ListOpenChannelsResponse { public ListOpenChannelsResponse() { } - public ListOpenChannelsResponse channels(List channels) { + public ListOpenChannelsResponse channels(List channels) { this.channels = channels; return this; } - public ListOpenChannelsResponse addChannelsItem(SendbirdOpenChannel channelsItem) { + public ListOpenChannelsResponse addChannelsItem(SendBirdOpenChannel channelsItem) { if (this.channels == null) { this.channels = new ArrayList<>(); } @@ -76,14 +76,14 @@ public ListOpenChannelsResponse addChannelsItem(SendbirdOpenChannel channelsItem @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getChannels() { + public List getChannels() { return channels; } @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { + public void setChannels(List channels) { this.channels = channels; } diff --git a/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java b/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java index 9bbc388c..1f233d94 100644 --- a/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,13 +39,13 @@ ListOperatorsResponse.JSON_PROPERTY_OPERATORS }) @JsonTypeName("listOperatorsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListOperatorsResponse { public static final String JSON_PROPERTY_NEXT = "next"; private String next; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public ListOperatorsResponse() { } @@ -76,12 +76,12 @@ public void setNext(String next) { } - public ListOperatorsResponse operators(List operators) { + public ListOperatorsResponse operators(List operators) { this.operators = operators; return this; } - public ListOperatorsResponse addOperatorsItem(SendbirdBasicUserInfo operatorsItem) { + public ListOperatorsResponse addOperatorsItem(SendBirdBasicUserInfo operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -98,14 +98,14 @@ public ListOperatorsResponse addOperatorsItem(SendbirdBasicUserInfo operatorsIte @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } diff --git a/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java b/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java index 56c27721..6ded4a80 100644 --- a/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java +++ b/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -41,7 +41,7 @@ ListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_USER }) @JsonTypeName("listRegistrationOrDeviceTokensResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListRegistrationOrDeviceTokensResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private List token = null; @@ -53,7 +53,7 @@ public class ListRegistrationOrDeviceTokensResponse { private String type; public static final String JSON_PROPERTY_USER = "user"; - private SendbirdBasicUserInfo user; + private SendBirdBasicUserInfo user; public ListRegistrationOrDeviceTokensResponse() { } @@ -152,7 +152,7 @@ public void setType(String type) { } - public ListRegistrationOrDeviceTokensResponse user(SendbirdBasicUserInfo user) { + public ListRegistrationOrDeviceTokensResponse user(SendBirdBasicUserInfo user) { this.user = user; return this; } @@ -166,14 +166,14 @@ public ListRegistrationOrDeviceTokensResponse user(SendbirdBasicUserInfo user) { @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getUser() { + public SendBirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendbirdBasicUserInfo user) { + public void setUser(SendBirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/ListUsersResponse.java b/src/main/java/org/openapitools/client/model/ListUsersResponse.java index ec893ca5..54bccf84 100644 --- a/src/main/java/org/openapitools/client/model/ListUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ListUsersResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdUser; +import org.openapitools.client.model.SendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,13 +39,13 @@ ListUsersResponse.JSON_PROPERTY_USERS }) @JsonTypeName("listUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ListUsersResponse { public static final String JSON_PROPERTY_NEXT = "next"; private String next; public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; + private List users = null; public ListUsersResponse() { } @@ -76,12 +76,12 @@ public void setNext(String next) { } - public ListUsersResponse users(List users) { + public ListUsersResponse users(List users) { this.users = users; return this; } - public ListUsersResponse addUsersItem(SendbirdUser usersItem) { + public ListUsersResponse addUsersItem(SendBirdUser usersItem) { if (this.users == null) { this.users = new ArrayList<>(); } @@ -98,14 +98,14 @@ public ListUsersResponse addUsersItem(SendbirdUser usersItem) { @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java index 4006c966..2cd180e8 100644 --- a/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java +++ b/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java @@ -37,7 +37,7 @@ MarkAllMessagesAsReadRequest.JSON_PROPERTY_CHANNEL_URLS }) @JsonTypeName("markAllMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class MarkAllMessagesAsReadRequest { public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; private List channelUrls = null; diff --git a/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java index db83a176..f005711f 100644 --- a/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java +++ b/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java @@ -35,7 +35,7 @@ MarkChannelMessagesAsReadRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("markChannelMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class MarkChannelMessagesAsReadRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java index cab58a90..99555ad2 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java @@ -44,7 +44,7 @@ MigrateMessagesAdminMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesAdminMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class MigrateMessagesAdminMessageRequest { /** * Gets or Sets messageType diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java index ed29f742..5066dc7a 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java @@ -50,7 +50,7 @@ MigrateMessagesFileMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesFileMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class MigrateMessagesFileMessageRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java index d108a8df..7d04fe1b 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java @@ -47,7 +47,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") @JsonDeserialize(using = MigrateMessagesFileMessageRequestThumbnailsInner.MigrateMessagesFileMessageRequestThumbnailsInnerDeserializer.class) @JsonSerialize(using = MigrateMessagesFileMessageRequestThumbnailsInner.MigrateMessagesFileMessageRequestThumbnailsInnerSerializer.class) public class MigrateMessagesFileMessageRequestThumbnailsInner extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java index ea2f198b..614a8c8f 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java @@ -39,7 +39,7 @@ MigrateMessagesRequest.JSON_PROPERTY_UPDATE_READ_TS, MigrateMessagesRequest.JSON_PROPERTY_REWIND_READ_TS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class MigrateMessagesRequest { public static final String JSON_PROPERTY_MESSAGES = "messages"; private List messages = null; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java b/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java index a30f089e..12de3fa1 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java @@ -60,7 +60,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") @JsonDeserialize(using = MigrateMessagesRequestMessagesInner.MigrateMessagesRequestMessagesInnerDeserializer.class) @JsonSerialize(using = MigrateMessagesRequestMessagesInner.MigrateMessagesRequestMessagesInnerSerializer.class) public class MigrateMessagesRequestMessagesInner extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java index 0534f909..89078a86 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java @@ -44,7 +44,7 @@ MigrateMessagesTextMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesTextMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class MigrateMessagesTextMessageRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java index 56d3d0e4..940a4c5b 100644 --- a/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java @@ -37,7 +37,7 @@ RegisterOperatorsToAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("registerOperatorsToAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class RegisterOperatorsToAGroupChannelRequest { public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; private List operatorIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java index d532d4ac..bd5c747e 100644 --- a/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -37,13 +37,13 @@ RemoveARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("removeARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class RemoveARegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private String token; public static final String JSON_PROPERTY_USER = "user"; - private SendbirdBasicUserInfo user; + private SendBirdBasicUserInfo user; public RemoveARegistrationOrDeviceTokenResponse() { } @@ -74,7 +74,7 @@ public void setToken(String token) { } - public RemoveARegistrationOrDeviceTokenResponse user(SendbirdBasicUserInfo user) { + public RemoveARegistrationOrDeviceTokenResponse user(SendBirdBasicUserInfo user) { this.user = user; return this; } @@ -88,14 +88,14 @@ public RemoveARegistrationOrDeviceTokenResponse user(SendbirdBasicUserInfo user) @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getUser() { + public SendBirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendbirdBasicUserInfo user) { + public void setUser(SendBirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java index f5d3dd2a..50b5b75f 100644 --- a/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,13 +39,13 @@ RemoveAllRegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("removeAllRegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class RemoveAllRegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private List token = null; public static final String JSON_PROPERTY_USER = "user"; - private SendbirdBasicUserInfo user; + private SendBirdBasicUserInfo user; public RemoveAllRegistrationOrDeviceTokenResponse() { } @@ -84,7 +84,7 @@ public void setToken(List token) { } - public RemoveAllRegistrationOrDeviceTokenResponse user(SendbirdBasicUserInfo user) { + public RemoveAllRegistrationOrDeviceTokenResponse user(SendBirdBasicUserInfo user) { this.user = user; return this; } @@ -98,14 +98,14 @@ public RemoveAllRegistrationOrDeviceTokenResponse user(SendbirdBasicUserInfo use @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getUser() { + public SendBirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendbirdBasicUserInfo user) { + public void setUser(SendBirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java b/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java index 9ad3bca7..0401cff8 100644 --- a/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java +++ b/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java @@ -36,7 +36,7 @@ ResetChatHistoryRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("resetChatHistory_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ResetChatHistoryRequest { public static final String JSON_PROPERTY_RESET_ALL = "reset_all"; private Boolean resetAll; diff --git a/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java b/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java index 6ce68e23..2a54d877 100644 --- a/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java +++ b/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java @@ -35,7 +35,7 @@ ResetChatHistoryResponse.JSON_PROPERTY_TS_MESSAGE_OFFSET }) @JsonTypeName("resetChatHistoryResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ResetChatHistoryResponse { public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java index e895253b..145b4a51 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java @@ -56,7 +56,7 @@ ScheduleAnAnnouncementRequest.JSON_PROPERTY_UNIQUE_ID }) @JsonTypeName("scheduleAnAnnouncement_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequest { public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; private String announcementGroup; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java index 4f2f1e37..18ac33d8 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java @@ -39,7 +39,7 @@ ScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_NAME }) @JsonTypeName("scheduleAnAnnouncement_request_create_channel_options") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequestCreateChannelOptions { public static final String JSON_PROPERTY_COVER_URL = "cover_url"; private String coverUrl; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java index de7944df..a61ee57c 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java @@ -39,7 +39,7 @@ ScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_USER_ID }) @JsonTypeName("scheduleAnAnnouncement_request_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequestMessage { public static final String JSON_PROPERTY_CONTENT = "content"; private String content; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java index 7e940d37..af530ee0 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java @@ -61,7 +61,7 @@ ScheduleAnAnnouncementResponse.JSON_PROPERTY_UNIQUE_ID }) @JsonTypeName("scheduleAnAnnouncementResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementResponse { public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; private String announcementGroup; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java index f3f292f1..0d959bbd 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java @@ -40,7 +40,7 @@ ScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_USER_ID }) @JsonTypeName("scheduleAnAnnouncementResponse_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementResponseMessage { public static final String JSON_PROPERTY_CONTENT = "content"; private String content; diff --git a/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java b/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java index 8deaeabc..ba96ae9c 100644 --- a/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendbirdMessageResponse; +import org.openapitools.client.model.SendBirdMessageResponse; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -36,15 +36,15 @@ SendABotMessageResponse.JSON_PROPERTY_MESSAGE }) @JsonTypeName("sendABotMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class SendABotMessageResponse { public static final String JSON_PROPERTY_MESSAGE = "message"; - private SendbirdMessageResponse message; + private SendBirdMessageResponse message; public SendABotMessageResponse() { } - public SendABotMessageResponse message(SendbirdMessageResponse message) { + public SendABotMessageResponse message(SendBirdMessageResponse message) { this.message = message; return this; } @@ -58,14 +58,14 @@ public SendABotMessageResponse message(SendbirdMessageResponse message) { @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdMessageResponse getMessage() { + public SendBirdMessageResponse getMessage() { return message; } @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(SendbirdMessageResponse message) { + public void setMessage(SendBirdMessageResponse message) { this.message = message; } diff --git a/src/main/java/org/openapitools/client/model/SendAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendAMessageRequest.java index 1c6a74a6..8968d480 100644 --- a/src/main/java/org/openapitools/client/model/SendAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequest.java @@ -28,8 +28,8 @@ import java.util.ArrayList; import java.util.List; import org.openapitools.client.model.SendAMessageRequestPushMessageTemplate; -import org.openapitools.client.model.SendbirdFile; -import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdFile; +import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -66,7 +66,7 @@ SendAMessageRequest.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class SendAMessageRequest { /** * Gets or Sets messageType @@ -121,7 +121,7 @@ public static MessageTypeEnum fromValue(String value) { private Integer pollId; public static final String JSON_PROPERTY_FILES = "files"; - private SendbirdFile files; + private SendBirdFile files; public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; private Boolean requireAuth; @@ -210,7 +210,7 @@ public static MentionTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_SOUND = "sound"; private String sound; @@ -351,7 +351,7 @@ public void setPollId(Integer pollId) { } - public SendAMessageRequest files(SendbirdFile files) { + public SendAMessageRequest files(SendBirdFile files) { this.files = files; return this; } @@ -365,14 +365,14 @@ public SendAMessageRequest files(SendbirdFile files) { @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdFile getFiles() { + public SendBirdFile getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(SendbirdFile files) { + public void setFiles(SendBirdFile files) { this.files = files; } @@ -835,12 +835,12 @@ public void setSendPush(Boolean sendPush) { } - public SendAMessageRequest sortedMetaarray(List sortedMetaarray) { + public SendAMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendAMessageRequest addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendAMessageRequest addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -857,14 +857,14 @@ public SendAMessageRequest addSortedMetaarrayItem(SendbirdSortedMetaarrayInner s @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java index 37319691..142ab30f 100644 --- a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java @@ -55,7 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") @JsonDeserialize(using = SendAMessageRequestPushMessageTemplate.SendAMessageRequestPushMessageTemplateDeserializer.class) @JsonSerialize(using = SendAMessageRequestPushMessageTemplate.SendAMessageRequestPushMessageTemplateSerializer.class) public class SendAMessageRequestPushMessageTemplate extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java index 87288454..88e89a96 100644 --- a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java @@ -36,7 +36,7 @@ SendAMessageRequestPushMessageTemplateOneOf.JSON_PROPERTY_BODY }) @JsonTypeName("sendAMessage_request_push_message_template_oneOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class SendAMessageRequestPushMessageTemplateOneOf { public static final String JSON_PROPERTY_TITLE = "title"; private String title; diff --git a/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java index fc0c2f6c..2f2cee35 100644 --- a/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java @@ -26,8 +26,8 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; +import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplate; -import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -50,7 +50,7 @@ SendAdminMessageRequestBody.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("sendAdminMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class SendAdminMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; @@ -154,7 +154,7 @@ public static MessageTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public SendAdminMessageRequestBody() { } @@ -453,12 +453,12 @@ public void setSendPush(Boolean sendPush) { } - public SendAdminMessageRequestBody sortedMetaarray(List sortedMetaarray) { + public SendAdminMessageRequestBody sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendAdminMessageRequestBody addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendAdminMessageRequestBody addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -475,14 +475,14 @@ public SendAdminMessageRequestBody addSortedMetaarrayItem(SendbirdSortedMetaarra @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdFile.java b/src/main/java/org/openapitools/client/model/SendBirdFile.java index 3e5698af..b9e4beed 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdFile.java +++ b/src/main/java/org/openapitools/client/model/SendBirdFile.java @@ -26,25 +26,25 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdThumbnail; +import org.openapitools.client.model.SendBirdThumbnail; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; /** - * SendbirdFile + * SendBirdFile */ @JsonPropertyOrder({ - SendbirdFile.JSON_PROPERTY_URL, - SendbirdFile.JSON_PROPERTY_FILE_NAME, - SendbirdFile.JSON_PROPERTY_FILE_SIZE, - SendbirdFile.JSON_PROPERTY_FILE_TYPE, - SendbirdFile.JSON_PROPERTY_THUMBNAILS, - SendbirdFile.JSON_PROPERTY_REQUIRE_AUTH + SendBirdFile.JSON_PROPERTY_URL, + SendBirdFile.JSON_PROPERTY_FILE_NAME, + SendBirdFile.JSON_PROPERTY_FILE_SIZE, + SendBirdFile.JSON_PROPERTY_FILE_TYPE, + SendBirdFile.JSON_PROPERTY_THUMBNAILS, + SendBirdFile.JSON_PROPERTY_REQUIRE_AUTH }) -@JsonTypeName("Sendbird.File") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdFile { +@JsonTypeName("SendBird.File") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdFile { public static final String JSON_PROPERTY_URL = "url"; private String url; @@ -58,15 +58,15 @@ public class SendbirdFile { private String fileType; public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; - private List thumbnails = null; + private List thumbnails = null; public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; private Boolean requireAuth; - public SendbirdFile() { + public SendBirdFile() { } - public SendbirdFile url(String url) { + public SendBirdFile url(String url) { this.url = url; return this; } @@ -92,7 +92,7 @@ public void setUrl(String url) { } - public SendbirdFile fileName(String fileName) { + public SendBirdFile fileName(String fileName) { this.fileName = fileName; return this; } @@ -118,7 +118,7 @@ public void setFileName(String fileName) { } - public SendbirdFile fileSize(Integer fileSize) { + public SendBirdFile fileSize(Integer fileSize) { this.fileSize = fileSize; return this; } @@ -144,7 +144,7 @@ public void setFileSize(Integer fileSize) { } - public SendbirdFile fileType(String fileType) { + public SendBirdFile fileType(String fileType) { this.fileType = fileType; return this; } @@ -170,12 +170,12 @@ public void setFileType(String fileType) { } - public SendbirdFile thumbnails(List thumbnails) { + public SendBirdFile thumbnails(List thumbnails) { this.thumbnails = thumbnails; return this; } - public SendbirdFile addThumbnailsItem(SendbirdThumbnail thumbnailsItem) { + public SendBirdFile addThumbnailsItem(SendBirdThumbnail thumbnailsItem) { if (this.thumbnails == null) { this.thumbnails = new ArrayList<>(); } @@ -192,19 +192,19 @@ public SendbirdFile addThumbnailsItem(SendbirdThumbnail thumbnailsItem) { @JsonProperty(JSON_PROPERTY_THUMBNAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getThumbnails() { + public List getThumbnails() { return thumbnails; } @JsonProperty(JSON_PROPERTY_THUMBNAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnails(List thumbnails) { + public void setThumbnails(List thumbnails) { this.thumbnails = thumbnails; } - public SendbirdFile requireAuth(Boolean requireAuth) { + public SendBirdFile requireAuth(Boolean requireAuth) { this.requireAuth = requireAuth; return this; } @@ -231,7 +231,7 @@ public void setRequireAuth(Boolean requireAuth) { /** - * Return true if this Sendbird.File object is equal to o. + * Return true if this SendBird.File object is equal to o. */ @Override public boolean equals(Object o) { @@ -241,13 +241,13 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdFile sendbirdFile = (SendbirdFile) o; - return Objects.equals(this.url, sendbirdFile.url) && - Objects.equals(this.fileName, sendbirdFile.fileName) && - Objects.equals(this.fileSize, sendbirdFile.fileSize) && - Objects.equals(this.fileType, sendbirdFile.fileType) && - Objects.equals(this.thumbnails, sendbirdFile.thumbnails) && - Objects.equals(this.requireAuth, sendbirdFile.requireAuth); + SendBirdFile sendBirdFile = (SendBirdFile) o; + return Objects.equals(this.url, sendBirdFile.url) && + Objects.equals(this.fileName, sendBirdFile.fileName) && + Objects.equals(this.fileSize, sendBirdFile.fileSize) && + Objects.equals(this.fileType, sendBirdFile.fileType) && + Objects.equals(this.thumbnails, sendBirdFile.thumbnails) && + Objects.equals(this.requireAuth, sendBirdFile.requireAuth); } @Override @@ -258,7 +258,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdFile {\n"); + sb.append("class SendBirdFile {\n"); sb.append(" url: ").append(toIndentedString(url)).append("\n"); sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n"); sb.append(" fileSize: ").append(toIndentedString(fileSize)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java b/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java index 2fcf9fef..8f79e8f9 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java +++ b/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java @@ -28,12 +28,12 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.openapitools.client.model.SendbirdBasicUserInfo; -import org.openapitools.client.model.SendbirdDisappearingMessage; -import org.openapitools.client.model.SendbirdGroupChannelLastMessage; -import org.openapitools.client.model.SendbirdMember; -import org.openapitools.client.model.SendbirdPushTriggerOption; -import org.openapitools.client.model.SendbirdSmsFallback; +import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdDisappearingMessage; +import org.openapitools.client.model.SendBirdGroupChannelLastMessage; +import org.openapitools.client.model.SendBirdMember; +import org.openapitools.client.model.SendBirdPushTriggerOption; +import org.openapitools.client.model.SendBirdSmsFallback; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -43,58 +43,58 @@ /** - * SendbirdGroupChannel + * SendBirdGroupChannel */ @JsonPropertyOrder({ - SendbirdGroupChannel.JSON_PROPERTY_CHANNEL_URL, - SendbirdGroupChannel.JSON_PROPERTY_COUNT_PREFERENCE, - SendbirdGroupChannel.JSON_PROPERTY_COVER_URL, - SendbirdGroupChannel.JSON_PROPERTY_CREATED_AT, - SendbirdGroupChannel.JSON_PROPERTY_CREATED_BY, - SendbirdGroupChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendbirdGroupChannel.JSON_PROPERTY_DATA, - SendbirdGroupChannel.JSON_PROPERTY_DELIVERY_RECEIPT, - SendbirdGroupChannel.JSON_PROPERTY_DISAPPEARING_MESSAGE, - SendbirdGroupChannel.JSON_PROPERTY_FREEZE, - SendbirdGroupChannel.JSON_PROPERTY_HAS_AI_BOT, - SendbirdGroupChannel.JSON_PROPERTY_HAS_BOT, - SendbirdGroupChannel.JSON_PROPERTY_HIDDEN_STATE, - SendbirdGroupChannel.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, - SendbirdGroupChannel.JSON_PROPERTY_INVITED_AT, - SendbirdGroupChannel.JSON_PROPERTY_INVITER, - SendbirdGroupChannel.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, - SendbirdGroupChannel.JSON_PROPERTY_IS_BROADCAST, - SendbirdGroupChannel.JSON_PROPERTY_IS_DISCOVERABLE, - SendbirdGroupChannel.JSON_PROPERTY_IS_DISTINCT, - SendbirdGroupChannel.JSON_PROPERTY_IS_EPHEMERAL, - SendbirdGroupChannel.JSON_PROPERTY_IS_EXCLUSIVE, - SendbirdGroupChannel.JSON_PROPERTY_IS_HIDDEN, - SendbirdGroupChannel.JSON_PROPERTY_IS_MUTED, - SendbirdGroupChannel.JSON_PROPERTY_IS_PUBLIC, - SendbirdGroupChannel.JSON_PROPERTY_IS_PUSH_ENABLED, - SendbirdGroupChannel.JSON_PROPERTY_IS_SUPER, - SendbirdGroupChannel.JSON_PROPERTY_JOINED_MEMBER_COUNT, - SendbirdGroupChannel.JSON_PROPERTY_JOINED_TS, - SendbirdGroupChannel.JSON_PROPERTY_LAST_MESSAGE, - SendbirdGroupChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendbirdGroupChannel.JSON_PROPERTY_MEMBER_COUNT, - SendbirdGroupChannel.JSON_PROPERTY_MEMBER_STATE, - SendbirdGroupChannel.JSON_PROPERTY_MEMBERS, - SendbirdGroupChannel.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendbirdGroupChannel.JSON_PROPERTY_METADATA, - SendbirdGroupChannel.JSON_PROPERTY_MY_ROLE, - SendbirdGroupChannel.JSON_PROPERTY_NAME, - SendbirdGroupChannel.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendbirdGroupChannel.JSON_PROPERTY_READ_RECEIPT, - SendbirdGroupChannel.JSON_PROPERTY_SMS_FALLBACK, - SendbirdGroupChannel.JSON_PROPERTY_TS_MESSAGE_OFFSET, - SendbirdGroupChannel.JSON_PROPERTY_UNREAD_MENTION_COUNT, - SendbirdGroupChannel.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, - SendbirdGroupChannel.JSON_PROPERTY_USER_LAST_READ + SendBirdGroupChannel.JSON_PROPERTY_CHANNEL_URL, + SendBirdGroupChannel.JSON_PROPERTY_COUNT_PREFERENCE, + SendBirdGroupChannel.JSON_PROPERTY_COVER_URL, + SendBirdGroupChannel.JSON_PROPERTY_CREATED_AT, + SendBirdGroupChannel.JSON_PROPERTY_CREATED_BY, + SendBirdGroupChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdGroupChannel.JSON_PROPERTY_DATA, + SendBirdGroupChannel.JSON_PROPERTY_DELIVERY_RECEIPT, + SendBirdGroupChannel.JSON_PROPERTY_DISAPPEARING_MESSAGE, + SendBirdGroupChannel.JSON_PROPERTY_FREEZE, + SendBirdGroupChannel.JSON_PROPERTY_HAS_AI_BOT, + SendBirdGroupChannel.JSON_PROPERTY_HAS_BOT, + SendBirdGroupChannel.JSON_PROPERTY_HIDDEN_STATE, + SendBirdGroupChannel.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, + SendBirdGroupChannel.JSON_PROPERTY_INVITED_AT, + SendBirdGroupChannel.JSON_PROPERTY_INVITER, + SendBirdGroupChannel.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, + SendBirdGroupChannel.JSON_PROPERTY_IS_BROADCAST, + SendBirdGroupChannel.JSON_PROPERTY_IS_DISCOVERABLE, + SendBirdGroupChannel.JSON_PROPERTY_IS_DISTINCT, + SendBirdGroupChannel.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdGroupChannel.JSON_PROPERTY_IS_EXCLUSIVE, + SendBirdGroupChannel.JSON_PROPERTY_IS_HIDDEN, + SendBirdGroupChannel.JSON_PROPERTY_IS_MUTED, + SendBirdGroupChannel.JSON_PROPERTY_IS_PUBLIC, + SendBirdGroupChannel.JSON_PROPERTY_IS_PUSH_ENABLED, + SendBirdGroupChannel.JSON_PROPERTY_IS_SUPER, + SendBirdGroupChannel.JSON_PROPERTY_JOINED_MEMBER_COUNT, + SendBirdGroupChannel.JSON_PROPERTY_JOINED_TS, + SendBirdGroupChannel.JSON_PROPERTY_LAST_MESSAGE, + SendBirdGroupChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdGroupChannel.JSON_PROPERTY_MEMBER_COUNT, + SendBirdGroupChannel.JSON_PROPERTY_MEMBER_STATE, + SendBirdGroupChannel.JSON_PROPERTY_MEMBERS, + SendBirdGroupChannel.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdGroupChannel.JSON_PROPERTY_METADATA, + SendBirdGroupChannel.JSON_PROPERTY_MY_ROLE, + SendBirdGroupChannel.JSON_PROPERTY_NAME, + SendBirdGroupChannel.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdGroupChannel.JSON_PROPERTY_READ_RECEIPT, + SendBirdGroupChannel.JSON_PROPERTY_SMS_FALLBACK, + SendBirdGroupChannel.JSON_PROPERTY_TS_MESSAGE_OFFSET, + SendBirdGroupChannel.JSON_PROPERTY_UNREAD_MENTION_COUNT, + SendBirdGroupChannel.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, + SendBirdGroupChannel.JSON_PROPERTY_USER_LAST_READ }) -@JsonTypeName("Sendbird.GroupChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdGroupChannel { +@JsonTypeName("SendBird.GroupChannel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdGroupChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -147,7 +147,7 @@ public static CountPreferenceEnum fromValue(String value) { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendbirdBasicUserInfo createdBy; + private SendBirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -159,7 +159,7 @@ public static CountPreferenceEnum fromValue(String value) { private Object deliveryReceipt; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendbirdDisappearingMessage disappearingMessage; + private SendBirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -217,7 +217,7 @@ public static HiddenStateEnum fromValue(String value) { private Long invitedAt; public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendbirdBasicUserInfo inviter; + private SendBirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); @@ -259,7 +259,7 @@ public static HiddenStateEnum fromValue(String value) { private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendbirdGroupChannelLastMessage lastMessage; + private SendBirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -308,7 +308,7 @@ public static MemberStateEnum fromValue(String value) { private MemberStateEnum memberState; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -360,13 +360,13 @@ public static MyRoleEnum fromValue(String value) { private String name; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendbirdPushTriggerOption pushTriggerOption; + private SendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendbirdSmsFallback smsFallback; + private SendBirdSmsFallback smsFallback; public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; @@ -380,10 +380,10 @@ public static MyRoleEnum fromValue(String value) { public static final String JSON_PROPERTY_USER_LAST_READ = "user_last_read"; private Long userLastRead; - public SendbirdGroupChannel() { + public SendBirdGroupChannel() { } - public SendbirdGroupChannel channelUrl(String channelUrl) { + public SendBirdGroupChannel channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -409,7 +409,7 @@ public void setChannelUrl(String channelUrl) { } - public SendbirdGroupChannel countPreference(CountPreferenceEnum countPreference) { + public SendBirdGroupChannel countPreference(CountPreferenceEnum countPreference) { this.countPreference = countPreference; return this; } @@ -435,7 +435,7 @@ public void setCountPreference(CountPreferenceEnum countPreference) { } - public SendbirdGroupChannel coverUrl(String coverUrl) { + public SendBirdGroupChannel coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -461,7 +461,7 @@ public void setCoverUrl(String coverUrl) { } - public SendbirdGroupChannel createdAt(Long createdAt) { + public SendBirdGroupChannel createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -487,7 +487,7 @@ public void setCreatedAt(Long createdAt) { } - public SendbirdGroupChannel createdBy(SendbirdBasicUserInfo createdBy) { + public SendBirdGroupChannel createdBy(SendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -501,19 +501,19 @@ public SendbirdGroupChannel createdBy(SendbirdBasicUserInfo createdBy) { @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getCreatedBy() { + public SendBirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendbirdBasicUserInfo createdBy) { + public void setCreatedBy(SendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; } - public SendbirdGroupChannel customType(String customType) { + public SendBirdGroupChannel customType(String customType) { this.customType = customType; return this; } @@ -539,7 +539,7 @@ public void setCustomType(String customType) { } - public SendbirdGroupChannel data(String data) { + public SendBirdGroupChannel data(String data) { this.data = data; return this; } @@ -565,7 +565,7 @@ public void setData(String data) { } - public SendbirdGroupChannel deliveryReceipt(Object deliveryReceipt) { + public SendBirdGroupChannel deliveryReceipt(Object deliveryReceipt) { this.deliveryReceipt = deliveryReceipt; return this; } @@ -591,7 +591,7 @@ public void setDeliveryReceipt(Object deliveryReceipt) { } - public SendbirdGroupChannel disappearingMessage(SendbirdDisappearingMessage disappearingMessage) { + public SendBirdGroupChannel disappearingMessage(SendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -605,19 +605,19 @@ public SendbirdGroupChannel disappearingMessage(SendbirdDisappearingMessage disa @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdDisappearingMessage getDisappearingMessage() { + public SendBirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendbirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } - public SendbirdGroupChannel freeze(Boolean freeze) { + public SendBirdGroupChannel freeze(Boolean freeze) { this.freeze = freeze; return this; } @@ -643,7 +643,7 @@ public void setFreeze(Boolean freeze) { } - public SendbirdGroupChannel hasAiBot(Boolean hasAiBot) { + public SendBirdGroupChannel hasAiBot(Boolean hasAiBot) { this.hasAiBot = hasAiBot; return this; } @@ -669,7 +669,7 @@ public void setHasAiBot(Boolean hasAiBot) { } - public SendbirdGroupChannel hasBot(Boolean hasBot) { + public SendBirdGroupChannel hasBot(Boolean hasBot) { this.hasBot = hasBot; return this; } @@ -695,7 +695,7 @@ public void setHasBot(Boolean hasBot) { } - public SendbirdGroupChannel hiddenState(HiddenStateEnum hiddenState) { + public SendBirdGroupChannel hiddenState(HiddenStateEnum hiddenState) { this.hiddenState = hiddenState; return this; } @@ -721,7 +721,7 @@ public void setHiddenState(HiddenStateEnum hiddenState) { } - public SendbirdGroupChannel ignoreProfanityFilter(Boolean ignoreProfanityFilter) { + public SendBirdGroupChannel ignoreProfanityFilter(Boolean ignoreProfanityFilter) { this.ignoreProfanityFilter = ignoreProfanityFilter; return this; } @@ -747,7 +747,7 @@ public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { } - public SendbirdGroupChannel invitedAt(Long invitedAt) { + public SendBirdGroupChannel invitedAt(Long invitedAt) { this.invitedAt = invitedAt; return this; } @@ -773,7 +773,7 @@ public void setInvitedAt(Long invitedAt) { } - public SendbirdGroupChannel inviter(SendbirdBasicUserInfo inviter) { + public SendBirdGroupChannel inviter(SendBirdBasicUserInfo inviter) { this.inviter = inviter; return this; } @@ -787,19 +787,19 @@ public SendbirdGroupChannel inviter(SendbirdBasicUserInfo inviter) { @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getInviter() { + public SendBirdBasicUserInfo getInviter() { return inviter; } @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendbirdBasicUserInfo inviter) { + public void setInviter(SendBirdBasicUserInfo inviter) { this.inviter = inviter; } - public SendbirdGroupChannel isAccessCodeRequired(Boolean isAccessCodeRequired) { + public SendBirdGroupChannel isAccessCodeRequired(Boolean isAccessCodeRequired) { this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); return this; } @@ -833,7 +833,7 @@ public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { } - public SendbirdGroupChannel isBroadcast(Boolean isBroadcast) { + public SendBirdGroupChannel isBroadcast(Boolean isBroadcast) { this.isBroadcast = isBroadcast; return this; } @@ -859,7 +859,7 @@ public void setIsBroadcast(Boolean isBroadcast) { } - public SendbirdGroupChannel isDiscoverable(Boolean isDiscoverable) { + public SendBirdGroupChannel isDiscoverable(Boolean isDiscoverable) { this.isDiscoverable = isDiscoverable; return this; } @@ -885,7 +885,7 @@ public void setIsDiscoverable(Boolean isDiscoverable) { } - public SendbirdGroupChannel isDistinct(Boolean isDistinct) { + public SendBirdGroupChannel isDistinct(Boolean isDistinct) { this.isDistinct = isDistinct; return this; } @@ -911,7 +911,7 @@ public void setIsDistinct(Boolean isDistinct) { } - public SendbirdGroupChannel isEphemeral(Boolean isEphemeral) { + public SendBirdGroupChannel isEphemeral(Boolean isEphemeral) { this.isEphemeral = isEphemeral; return this; } @@ -937,7 +937,7 @@ public void setIsEphemeral(Boolean isEphemeral) { } - public SendbirdGroupChannel isExclusive(Boolean isExclusive) { + public SendBirdGroupChannel isExclusive(Boolean isExclusive) { this.isExclusive = isExclusive; return this; } @@ -963,7 +963,7 @@ public void setIsExclusive(Boolean isExclusive) { } - public SendbirdGroupChannel isHidden(Boolean isHidden) { + public SendBirdGroupChannel isHidden(Boolean isHidden) { this.isHidden = isHidden; return this; } @@ -989,7 +989,7 @@ public void setIsHidden(Boolean isHidden) { } - public SendbirdGroupChannel isMuted(Boolean isMuted) { + public SendBirdGroupChannel isMuted(Boolean isMuted) { this.isMuted = isMuted; return this; } @@ -1015,7 +1015,7 @@ public void setIsMuted(Boolean isMuted) { } - public SendbirdGroupChannel isPublic(Boolean isPublic) { + public SendBirdGroupChannel isPublic(Boolean isPublic) { this.isPublic = isPublic; return this; } @@ -1041,7 +1041,7 @@ public void setIsPublic(Boolean isPublic) { } - public SendbirdGroupChannel isPushEnabled(Boolean isPushEnabled) { + public SendBirdGroupChannel isPushEnabled(Boolean isPushEnabled) { this.isPushEnabled = isPushEnabled; return this; } @@ -1067,7 +1067,7 @@ public void setIsPushEnabled(Boolean isPushEnabled) { } - public SendbirdGroupChannel isSuper(Boolean isSuper) { + public SendBirdGroupChannel isSuper(Boolean isSuper) { this.isSuper = isSuper; return this; } @@ -1093,7 +1093,7 @@ public void setIsSuper(Boolean isSuper) { } - public SendbirdGroupChannel joinedMemberCount(Integer joinedMemberCount) { + public SendBirdGroupChannel joinedMemberCount(Integer joinedMemberCount) { this.joinedMemberCount = joinedMemberCount; return this; } @@ -1119,7 +1119,7 @@ public void setJoinedMemberCount(Integer joinedMemberCount) { } - public SendbirdGroupChannel joinedTs(Long joinedTs) { + public SendBirdGroupChannel joinedTs(Long joinedTs) { this.joinedTs = JsonNullable.of(joinedTs); return this; } @@ -1153,7 +1153,7 @@ public void setJoinedTs(Long joinedTs) { } - public SendbirdGroupChannel lastMessage(SendbirdGroupChannelLastMessage lastMessage) { + public SendBirdGroupChannel lastMessage(SendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; return this; } @@ -1167,19 +1167,19 @@ public SendbirdGroupChannel lastMessage(SendbirdGroupChannelLastMessage lastMess @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdGroupChannelLastMessage getLastMessage() { + public SendBirdGroupChannelLastMessage getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendbirdGroupChannelLastMessage lastMessage) { + public void setLastMessage(SendBirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } - public SendbirdGroupChannel maxLengthMessage(Integer maxLengthMessage) { + public SendBirdGroupChannel maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -1205,7 +1205,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendbirdGroupChannel memberCount(Integer memberCount) { + public SendBirdGroupChannel memberCount(Integer memberCount) { this.memberCount = memberCount; return this; } @@ -1231,7 +1231,7 @@ public void setMemberCount(Integer memberCount) { } - public SendbirdGroupChannel memberState(MemberStateEnum memberState) { + public SendBirdGroupChannel memberState(MemberStateEnum memberState) { this.memberState = memberState; return this; } @@ -1257,12 +1257,12 @@ public void setMemberState(MemberStateEnum memberState) { } - public SendbirdGroupChannel members(List members) { + public SendBirdGroupChannel members(List members) { this.members = members; return this; } - public SendbirdGroupChannel addMembersItem(SendbirdMember membersItem) { + public SendBirdGroupChannel addMembersItem(SendBirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -1279,19 +1279,19 @@ public SendbirdGroupChannel addMembersItem(SendbirdMember membersItem) { @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } - public SendbirdGroupChannel messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendBirdGroupChannel messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -1317,7 +1317,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendbirdGroupChannel metadata(Object metadata) { + public SendBirdGroupChannel metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -1351,7 +1351,7 @@ public void setMetadata(Object metadata) { } - public SendbirdGroupChannel myRole(MyRoleEnum myRole) { + public SendBirdGroupChannel myRole(MyRoleEnum myRole) { this.myRole = myRole; return this; } @@ -1377,7 +1377,7 @@ public void setMyRole(MyRoleEnum myRole) { } - public SendbirdGroupChannel name(String name) { + public SendBirdGroupChannel name(String name) { this.name = name; return this; } @@ -1403,7 +1403,7 @@ public void setName(String name) { } - public SendbirdGroupChannel pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public SendBirdGroupChannel pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -1417,24 +1417,24 @@ public SendbirdGroupChannel pushTriggerOption(SendbirdPushTriggerOption pushTrig @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } - public SendbirdGroupChannel readReceipt(Map readReceipt) { + public SendBirdGroupChannel readReceipt(Map readReceipt) { this.readReceipt = readReceipt; return this; } - public SendbirdGroupChannel putReadReceiptItem(String key, Long readReceiptItem) { + public SendBirdGroupChannel putReadReceiptItem(String key, Long readReceiptItem) { if (this.readReceipt == null) { this.readReceipt = new HashMap<>(); } @@ -1463,7 +1463,7 @@ public void setReadReceipt(Map readReceipt) { } - public SendbirdGroupChannel smsFallback(SendbirdSmsFallback smsFallback) { + public SendBirdGroupChannel smsFallback(SendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1477,19 +1477,19 @@ public SendbirdGroupChannel smsFallback(SendbirdSmsFallback smsFallback) { @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdSmsFallback getSmsFallback() { + public SendBirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendbirdSmsFallback smsFallback) { + public void setSmsFallback(SendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } - public SendbirdGroupChannel tsMessageOffset(Long tsMessageOffset) { + public SendBirdGroupChannel tsMessageOffset(Long tsMessageOffset) { this.tsMessageOffset = tsMessageOffset; return this; } @@ -1515,7 +1515,7 @@ public void setTsMessageOffset(Long tsMessageOffset) { } - public SendbirdGroupChannel unreadMentionCount(Integer unreadMentionCount) { + public SendBirdGroupChannel unreadMentionCount(Integer unreadMentionCount) { this.unreadMentionCount = unreadMentionCount; return this; } @@ -1541,7 +1541,7 @@ public void setUnreadMentionCount(Integer unreadMentionCount) { } - public SendbirdGroupChannel unreadMessageCount(Integer unreadMessageCount) { + public SendBirdGroupChannel unreadMessageCount(Integer unreadMessageCount) { this.unreadMessageCount = unreadMessageCount; return this; } @@ -1567,7 +1567,7 @@ public void setUnreadMessageCount(Integer unreadMessageCount) { } - public SendbirdGroupChannel userLastRead(Long userLastRead) { + public SendBirdGroupChannel userLastRead(Long userLastRead) { this.userLastRead = userLastRead; return this; } @@ -1594,7 +1594,7 @@ public void setUserLastRead(Long userLastRead) { /** - * Return true if this Sendbird.GroupChannel object is equal to o. + * Return true if this SendBird.GroupChannel object is equal to o. */ @Override public boolean equals(Object o) { @@ -1604,52 +1604,52 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdGroupChannel sendbirdGroupChannel = (SendbirdGroupChannel) o; - return Objects.equals(this.channelUrl, sendbirdGroupChannel.channelUrl) && - Objects.equals(this.countPreference, sendbirdGroupChannel.countPreference) && - Objects.equals(this.coverUrl, sendbirdGroupChannel.coverUrl) && - Objects.equals(this.createdAt, sendbirdGroupChannel.createdAt) && - Objects.equals(this.createdBy, sendbirdGroupChannel.createdBy) && - Objects.equals(this.customType, sendbirdGroupChannel.customType) && - Objects.equals(this.data, sendbirdGroupChannel.data) && - Objects.equals(this.deliveryReceipt, sendbirdGroupChannel.deliveryReceipt) && - Objects.equals(this.disappearingMessage, sendbirdGroupChannel.disappearingMessage) && - Objects.equals(this.freeze, sendbirdGroupChannel.freeze) && - Objects.equals(this.hasAiBot, sendbirdGroupChannel.hasAiBot) && - Objects.equals(this.hasBot, sendbirdGroupChannel.hasBot) && - Objects.equals(this.hiddenState, sendbirdGroupChannel.hiddenState) && - Objects.equals(this.ignoreProfanityFilter, sendbirdGroupChannel.ignoreProfanityFilter) && - Objects.equals(this.invitedAt, sendbirdGroupChannel.invitedAt) && - Objects.equals(this.inviter, sendbirdGroupChannel.inviter) && - equalsNullable(this.isAccessCodeRequired, sendbirdGroupChannel.isAccessCodeRequired) && - Objects.equals(this.isBroadcast, sendbirdGroupChannel.isBroadcast) && - Objects.equals(this.isDiscoverable, sendbirdGroupChannel.isDiscoverable) && - Objects.equals(this.isDistinct, sendbirdGroupChannel.isDistinct) && - Objects.equals(this.isEphemeral, sendbirdGroupChannel.isEphemeral) && - Objects.equals(this.isExclusive, sendbirdGroupChannel.isExclusive) && - Objects.equals(this.isHidden, sendbirdGroupChannel.isHidden) && - Objects.equals(this.isMuted, sendbirdGroupChannel.isMuted) && - Objects.equals(this.isPublic, sendbirdGroupChannel.isPublic) && - Objects.equals(this.isPushEnabled, sendbirdGroupChannel.isPushEnabled) && - Objects.equals(this.isSuper, sendbirdGroupChannel.isSuper) && - Objects.equals(this.joinedMemberCount, sendbirdGroupChannel.joinedMemberCount) && - equalsNullable(this.joinedTs, sendbirdGroupChannel.joinedTs) && - Objects.equals(this.lastMessage, sendbirdGroupChannel.lastMessage) && - Objects.equals(this.maxLengthMessage, sendbirdGroupChannel.maxLengthMessage) && - Objects.equals(this.memberCount, sendbirdGroupChannel.memberCount) && - Objects.equals(this.memberState, sendbirdGroupChannel.memberState) && - Objects.equals(this.members, sendbirdGroupChannel.members) && - Objects.equals(this.messageSurvivalSeconds, sendbirdGroupChannel.messageSurvivalSeconds) && - equalsNullable(this.metadata, sendbirdGroupChannel.metadata) && - Objects.equals(this.myRole, sendbirdGroupChannel.myRole) && - Objects.equals(this.name, sendbirdGroupChannel.name) && - Objects.equals(this.pushTriggerOption, sendbirdGroupChannel.pushTriggerOption) && - Objects.equals(this.readReceipt, sendbirdGroupChannel.readReceipt) && - Objects.equals(this.smsFallback, sendbirdGroupChannel.smsFallback) && - Objects.equals(this.tsMessageOffset, sendbirdGroupChannel.tsMessageOffset) && - Objects.equals(this.unreadMentionCount, sendbirdGroupChannel.unreadMentionCount) && - Objects.equals(this.unreadMessageCount, sendbirdGroupChannel.unreadMessageCount) && - Objects.equals(this.userLastRead, sendbirdGroupChannel.userLastRead); + SendBirdGroupChannel sendBirdGroupChannel = (SendBirdGroupChannel) o; + return Objects.equals(this.channelUrl, sendBirdGroupChannel.channelUrl) && + Objects.equals(this.countPreference, sendBirdGroupChannel.countPreference) && + Objects.equals(this.coverUrl, sendBirdGroupChannel.coverUrl) && + Objects.equals(this.createdAt, sendBirdGroupChannel.createdAt) && + Objects.equals(this.createdBy, sendBirdGroupChannel.createdBy) && + Objects.equals(this.customType, sendBirdGroupChannel.customType) && + Objects.equals(this.data, sendBirdGroupChannel.data) && + Objects.equals(this.deliveryReceipt, sendBirdGroupChannel.deliveryReceipt) && + Objects.equals(this.disappearingMessage, sendBirdGroupChannel.disappearingMessage) && + Objects.equals(this.freeze, sendBirdGroupChannel.freeze) && + Objects.equals(this.hasAiBot, sendBirdGroupChannel.hasAiBot) && + Objects.equals(this.hasBot, sendBirdGroupChannel.hasBot) && + Objects.equals(this.hiddenState, sendBirdGroupChannel.hiddenState) && + Objects.equals(this.ignoreProfanityFilter, sendBirdGroupChannel.ignoreProfanityFilter) && + Objects.equals(this.invitedAt, sendBirdGroupChannel.invitedAt) && + Objects.equals(this.inviter, sendBirdGroupChannel.inviter) && + equalsNullable(this.isAccessCodeRequired, sendBirdGroupChannel.isAccessCodeRequired) && + Objects.equals(this.isBroadcast, sendBirdGroupChannel.isBroadcast) && + Objects.equals(this.isDiscoverable, sendBirdGroupChannel.isDiscoverable) && + Objects.equals(this.isDistinct, sendBirdGroupChannel.isDistinct) && + Objects.equals(this.isEphemeral, sendBirdGroupChannel.isEphemeral) && + Objects.equals(this.isExclusive, sendBirdGroupChannel.isExclusive) && + Objects.equals(this.isHidden, sendBirdGroupChannel.isHidden) && + Objects.equals(this.isMuted, sendBirdGroupChannel.isMuted) && + Objects.equals(this.isPublic, sendBirdGroupChannel.isPublic) && + Objects.equals(this.isPushEnabled, sendBirdGroupChannel.isPushEnabled) && + Objects.equals(this.isSuper, sendBirdGroupChannel.isSuper) && + Objects.equals(this.joinedMemberCount, sendBirdGroupChannel.joinedMemberCount) && + equalsNullable(this.joinedTs, sendBirdGroupChannel.joinedTs) && + Objects.equals(this.lastMessage, sendBirdGroupChannel.lastMessage) && + Objects.equals(this.maxLengthMessage, sendBirdGroupChannel.maxLengthMessage) && + Objects.equals(this.memberCount, sendBirdGroupChannel.memberCount) && + Objects.equals(this.memberState, sendBirdGroupChannel.memberState) && + Objects.equals(this.members, sendBirdGroupChannel.members) && + Objects.equals(this.messageSurvivalSeconds, sendBirdGroupChannel.messageSurvivalSeconds) && + equalsNullable(this.metadata, sendBirdGroupChannel.metadata) && + Objects.equals(this.myRole, sendBirdGroupChannel.myRole) && + Objects.equals(this.name, sendBirdGroupChannel.name) && + Objects.equals(this.pushTriggerOption, sendBirdGroupChannel.pushTriggerOption) && + Objects.equals(this.readReceipt, sendBirdGroupChannel.readReceipt) && + Objects.equals(this.smsFallback, sendBirdGroupChannel.smsFallback) && + Objects.equals(this.tsMessageOffset, sendBirdGroupChannel.tsMessageOffset) && + Objects.equals(this.unreadMentionCount, sendBirdGroupChannel.unreadMentionCount) && + Objects.equals(this.unreadMessageCount, sendBirdGroupChannel.unreadMessageCount) && + Objects.equals(this.userLastRead, sendBirdGroupChannel.userLastRead); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -1671,7 +1671,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdGroupChannel {\n"); + sb.append("class SendBirdGroupChannel {\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdMember.java b/src/main/java/org/openapitools/client/model/SendBirdMember.java index 8cfdb381..41e22426 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMember.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMember.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdPushTriggerOption; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -36,35 +36,35 @@ /** - * SendbirdMember + * SendBirdMember */ @JsonPropertyOrder({ - SendbirdMember.JSON_PROPERTY_DELIVERED_TS, - SendbirdMember.JSON_PROPERTY_DO_NOT_DISTURB, - SendbirdMember.JSON_PROPERTY_FRIEND_DISCOVERY_KEY, - SendbirdMember.JSON_PROPERTY_FRIEND_NAME, - SendbirdMember.JSON_PROPERTY_IS_ACTIVE, - SendbirdMember.JSON_PROPERTY_IS_BLOCKED_BY_ME, - SendbirdMember.JSON_PROPERTY_IS_BLOCKING_ME, - SendbirdMember.JSON_PROPERTY_IS_MUTED, - SendbirdMember.JSON_PROPERTY_IS_ONLINE, - SendbirdMember.JSON_PROPERTY_LAST_SEEN_AT, - SendbirdMember.JSON_PROPERTY_METADATA, - SendbirdMember.JSON_PROPERTY_MUTED_DESCRIPTION, - SendbirdMember.JSON_PROPERTY_MUTED_END_AT, - SendbirdMember.JSON_PROPERTY_NICKNAME, - SendbirdMember.JSON_PROPERTY_PUSH_ENABLED, - SendbirdMember.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendbirdMember.JSON_PROPERTY_PROFILE_URL, - SendbirdMember.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendbirdMember.JSON_PROPERTY_READ_TS, - SendbirdMember.JSON_PROPERTY_ROLE, - SendbirdMember.JSON_PROPERTY_STATE, - SendbirdMember.JSON_PROPERTY_USER_ID + SendBirdMember.JSON_PROPERTY_DELIVERED_TS, + SendBirdMember.JSON_PROPERTY_DO_NOT_DISTURB, + SendBirdMember.JSON_PROPERTY_FRIEND_DISCOVERY_KEY, + SendBirdMember.JSON_PROPERTY_FRIEND_NAME, + SendBirdMember.JSON_PROPERTY_IS_ACTIVE, + SendBirdMember.JSON_PROPERTY_IS_BLOCKED_BY_ME, + SendBirdMember.JSON_PROPERTY_IS_BLOCKING_ME, + SendBirdMember.JSON_PROPERTY_IS_MUTED, + SendBirdMember.JSON_PROPERTY_IS_ONLINE, + SendBirdMember.JSON_PROPERTY_LAST_SEEN_AT, + SendBirdMember.JSON_PROPERTY_METADATA, + SendBirdMember.JSON_PROPERTY_MUTED_DESCRIPTION, + SendBirdMember.JSON_PROPERTY_MUTED_END_AT, + SendBirdMember.JSON_PROPERTY_NICKNAME, + SendBirdMember.JSON_PROPERTY_PUSH_ENABLED, + SendBirdMember.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendBirdMember.JSON_PROPERTY_PROFILE_URL, + SendBirdMember.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendBirdMember.JSON_PROPERTY_READ_TS, + SendBirdMember.JSON_PROPERTY_ROLE, + SendBirdMember.JSON_PROPERTY_STATE, + SendBirdMember.JSON_PROPERTY_USER_ID }) -@JsonTypeName("Sendbird.Member") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdMember { +@JsonTypeName("SendBird.Member") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdMember { public static final String JSON_PROPERTY_DELIVERED_TS = "delivered_ts"; private Long deliveredTs; @@ -111,7 +111,7 @@ public class SendbirdMember { private Boolean pushEnabled; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendbirdPushTriggerOption pushTriggerOption; + private SendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; private String profileUrl = ""; @@ -205,10 +205,10 @@ public static StateEnum fromValue(String value) { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; - public SendbirdMember() { + public SendBirdMember() { } - public SendbirdMember deliveredTs(Long deliveredTs) { + public SendBirdMember deliveredTs(Long deliveredTs) { this.deliveredTs = deliveredTs; return this; } @@ -234,7 +234,7 @@ public void setDeliveredTs(Long deliveredTs) { } - public SendbirdMember doNotDisturb(Boolean doNotDisturb) { + public SendBirdMember doNotDisturb(Boolean doNotDisturb) { this.doNotDisturb = doNotDisturb; return this; } @@ -260,12 +260,12 @@ public void setDoNotDisturb(Boolean doNotDisturb) { } - public SendbirdMember friendDiscoveryKey(List friendDiscoveryKey) { + public SendBirdMember friendDiscoveryKey(List friendDiscoveryKey) { this.friendDiscoveryKey = JsonNullable.>of(friendDiscoveryKey); return this; } - public SendbirdMember addFriendDiscoveryKeyItem(String friendDiscoveryKeyItem) { + public SendBirdMember addFriendDiscoveryKeyItem(String friendDiscoveryKeyItem) { if (this.friendDiscoveryKey == null || !this.friendDiscoveryKey.isPresent()) { this.friendDiscoveryKey = JsonNullable.>of(new ArrayList<>()); } @@ -306,7 +306,7 @@ public void setFriendDiscoveryKey(List friendDiscoveryKey) { } - public SendbirdMember friendName(String friendName) { + public SendBirdMember friendName(String friendName) { this.friendName = JsonNullable.of(friendName); return this; } @@ -340,7 +340,7 @@ public void setFriendName(String friendName) { } - public SendbirdMember isActive(Boolean isActive) { + public SendBirdMember isActive(Boolean isActive) { this.isActive = isActive; return this; } @@ -366,7 +366,7 @@ public void setIsActive(Boolean isActive) { } - public SendbirdMember isBlockedByMe(Boolean isBlockedByMe) { + public SendBirdMember isBlockedByMe(Boolean isBlockedByMe) { this.isBlockedByMe = isBlockedByMe; return this; } @@ -392,7 +392,7 @@ public void setIsBlockedByMe(Boolean isBlockedByMe) { } - public SendbirdMember isBlockingMe(Boolean isBlockingMe) { + public SendBirdMember isBlockingMe(Boolean isBlockingMe) { this.isBlockingMe = isBlockingMe; return this; } @@ -418,7 +418,7 @@ public void setIsBlockingMe(Boolean isBlockingMe) { } - public SendbirdMember isMuted(Boolean isMuted) { + public SendBirdMember isMuted(Boolean isMuted) { this.isMuted = isMuted; return this; } @@ -444,7 +444,7 @@ public void setIsMuted(Boolean isMuted) { } - public SendbirdMember isOnline(Boolean isOnline) { + public SendBirdMember isOnline(Boolean isOnline) { this.isOnline = isOnline; return this; } @@ -470,7 +470,7 @@ public void setIsOnline(Boolean isOnline) { } - public SendbirdMember lastSeenAt(Long lastSeenAt) { + public SendBirdMember lastSeenAt(Long lastSeenAt) { this.lastSeenAt = lastSeenAt; return this; } @@ -496,7 +496,7 @@ public void setLastSeenAt(Long lastSeenAt) { } - public SendbirdMember metadata(Object metadata) { + public SendBirdMember metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -530,7 +530,7 @@ public void setMetadata(Object metadata) { } - public SendbirdMember mutedDescription(String mutedDescription) { + public SendBirdMember mutedDescription(String mutedDescription) { this.mutedDescription = mutedDescription; return this; } @@ -556,7 +556,7 @@ public void setMutedDescription(String mutedDescription) { } - public SendbirdMember mutedEndAt(Long mutedEndAt) { + public SendBirdMember mutedEndAt(Long mutedEndAt) { this.mutedEndAt = mutedEndAt; return this; } @@ -582,7 +582,7 @@ public void setMutedEndAt(Long mutedEndAt) { } - public SendbirdMember nickname(String nickname) { + public SendBirdMember nickname(String nickname) { this.nickname = JsonNullable.of(nickname); return this; } @@ -616,7 +616,7 @@ public void setNickname(String nickname) { } - public SendbirdMember pushEnabled(Boolean pushEnabled) { + public SendBirdMember pushEnabled(Boolean pushEnabled) { this.pushEnabled = pushEnabled; return this; } @@ -642,7 +642,7 @@ public void setPushEnabled(Boolean pushEnabled) { } - public SendbirdMember pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public SendBirdMember pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -656,19 +656,19 @@ public SendbirdMember pushTriggerOption(SendbirdPushTriggerOption pushTriggerOpt @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } - public SendbirdMember profileUrl(String profileUrl) { + public SendBirdMember profileUrl(String profileUrl) { this.profileUrl = profileUrl; return this; } @@ -694,7 +694,7 @@ public void setProfileUrl(String profileUrl) { } - public SendbirdMember requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + public SendBirdMember requireAuthForProfileImage(Boolean requireAuthForProfileImage) { this.requireAuthForProfileImage = requireAuthForProfileImage; return this; } @@ -720,7 +720,7 @@ public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { } - public SendbirdMember readTs(Long readTs) { + public SendBirdMember readTs(Long readTs) { this.readTs = readTs; return this; } @@ -746,7 +746,7 @@ public void setReadTs(Long readTs) { } - public SendbirdMember role(RoleEnum role) { + public SendBirdMember role(RoleEnum role) { this.role = JsonNullable.of(role); return this; } @@ -780,7 +780,7 @@ public void setRole(RoleEnum role) { } - public SendbirdMember state(StateEnum state) { + public SendBirdMember state(StateEnum state) { this.state = JsonNullable.of(state); return this; } @@ -814,7 +814,7 @@ public void setState(StateEnum state) { } - public SendbirdMember userId(String userId) { + public SendBirdMember userId(String userId) { this.userId = userId; return this; } @@ -841,7 +841,7 @@ public void setUserId(String userId) { /** - * Return true if this Sendbird.Member object is equal to o. + * Return true if this SendBird.Member object is equal to o. */ @Override public boolean equals(Object o) { @@ -851,29 +851,29 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdMember sendbirdMember = (SendbirdMember) o; - return Objects.equals(this.deliveredTs, sendbirdMember.deliveredTs) && - Objects.equals(this.doNotDisturb, sendbirdMember.doNotDisturb) && - equalsNullable(this.friendDiscoveryKey, sendbirdMember.friendDiscoveryKey) && - equalsNullable(this.friendName, sendbirdMember.friendName) && - Objects.equals(this.isActive, sendbirdMember.isActive) && - Objects.equals(this.isBlockedByMe, sendbirdMember.isBlockedByMe) && - Objects.equals(this.isBlockingMe, sendbirdMember.isBlockingMe) && - Objects.equals(this.isMuted, sendbirdMember.isMuted) && - Objects.equals(this.isOnline, sendbirdMember.isOnline) && - Objects.equals(this.lastSeenAt, sendbirdMember.lastSeenAt) && - equalsNullable(this.metadata, sendbirdMember.metadata) && - Objects.equals(this.mutedDescription, sendbirdMember.mutedDescription) && - Objects.equals(this.mutedEndAt, sendbirdMember.mutedEndAt) && - equalsNullable(this.nickname, sendbirdMember.nickname) && - Objects.equals(this.pushEnabled, sendbirdMember.pushEnabled) && - Objects.equals(this.pushTriggerOption, sendbirdMember.pushTriggerOption) && - Objects.equals(this.profileUrl, sendbirdMember.profileUrl) && - Objects.equals(this.requireAuthForProfileImage, sendbirdMember.requireAuthForProfileImage) && - Objects.equals(this.readTs, sendbirdMember.readTs) && - equalsNullable(this.role, sendbirdMember.role) && - equalsNullable(this.state, sendbirdMember.state) && - Objects.equals(this.userId, sendbirdMember.userId); + SendBirdMember sendBirdMember = (SendBirdMember) o; + return Objects.equals(this.deliveredTs, sendBirdMember.deliveredTs) && + Objects.equals(this.doNotDisturb, sendBirdMember.doNotDisturb) && + equalsNullable(this.friendDiscoveryKey, sendBirdMember.friendDiscoveryKey) && + equalsNullable(this.friendName, sendBirdMember.friendName) && + Objects.equals(this.isActive, sendBirdMember.isActive) && + Objects.equals(this.isBlockedByMe, sendBirdMember.isBlockedByMe) && + Objects.equals(this.isBlockingMe, sendBirdMember.isBlockingMe) && + Objects.equals(this.isMuted, sendBirdMember.isMuted) && + Objects.equals(this.isOnline, sendBirdMember.isOnline) && + Objects.equals(this.lastSeenAt, sendBirdMember.lastSeenAt) && + equalsNullable(this.metadata, sendBirdMember.metadata) && + Objects.equals(this.mutedDescription, sendBirdMember.mutedDescription) && + Objects.equals(this.mutedEndAt, sendBirdMember.mutedEndAt) && + equalsNullable(this.nickname, sendBirdMember.nickname) && + Objects.equals(this.pushEnabled, sendBirdMember.pushEnabled) && + Objects.equals(this.pushTriggerOption, sendBirdMember.pushTriggerOption) && + Objects.equals(this.profileUrl, sendBirdMember.profileUrl) && + Objects.equals(this.requireAuthForProfileImage, sendBirdMember.requireAuthForProfileImage) && + Objects.equals(this.readTs, sendBirdMember.readTs) && + equalsNullable(this.role, sendBirdMember.role) && + equalsNullable(this.state, sendBirdMember.state) && + Objects.equals(this.userId, sendBirdMember.userId); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -895,7 +895,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdMember {\n"); + sb.append("class SendBirdMember {\n"); sb.append(" deliveredTs: ").append(toIndentedString(deliveredTs)).append("\n"); sb.append(" doNotDisturb: ").append(toIndentedString(doNotDisturb)).append("\n"); sb.append(" friendDiscoveryKey: ").append(toIndentedString(friendDiscoveryKey)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java index fb4819ca..b4e3646d 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java @@ -26,13 +26,13 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdBasicUserInfo; -import org.openapitools.client.model.SendbirdFile; -import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendbirdMessageResponseMessageEvents; -import org.openapitools.client.model.SendbirdParentMessageInfo; -import org.openapitools.client.model.SendbirdReaction; -import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdFile; +import org.openapitools.client.model.SendBirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendBirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendBirdParentMessageInfo; +import org.openapitools.client.model.SendBirdReaction; +import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -42,43 +42,43 @@ /** - * SendbirdMessageResponse + * SendBirdMessageResponse */ @JsonPropertyOrder({ - SendbirdMessageResponse.JSON_PROPERTY_REQUIRE_AUTH, - SendbirdMessageResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendbirdMessageResponse.JSON_PROPERTY_CUSTOM_TYPE, - SendbirdMessageResponse.JSON_PROPERTY_MENTIONED_USERS, - SendbirdMessageResponse.JSON_PROPERTY_TRANSLATIONS, - SendbirdMessageResponse.JSON_PROPERTY_UPDATED_AT, - SendbirdMessageResponse.JSON_PROPERTY_IS_OP_MSG, - SendbirdMessageResponse.JSON_PROPERTY_REACTIONS, - SendbirdMessageResponse.JSON_PROPERTY_IS_REMOVED, - SendbirdMessageResponse.JSON_PROPERTY_USER, - SendbirdMessageResponse.JSON_PROPERTY_FILE, - SendbirdMessageResponse.JSON_PROPERTY_FILES, - SendbirdMessageResponse.JSON_PROPERTY_MESSAGE, - SendbirdMessageResponse.JSON_PROPERTY_DATA, - SendbirdMessageResponse.JSON_PROPERTY_MESSAGE_RETENTION_HOUR, - SendbirdMessageResponse.JSON_PROPERTY_SILENT, - SendbirdMessageResponse.JSON_PROPERTY_TYPE, - SendbirdMessageResponse.JSON_PROPERTY_CREATED_AT, - SendbirdMessageResponse.JSON_PROPERTY_CHANNEL_TYPE, - SendbirdMessageResponse.JSON_PROPERTY_REQ_ID, - SendbirdMessageResponse.JSON_PROPERTY_MENTION_TYPE, - SendbirdMessageResponse.JSON_PROPERTY_CHANNEL_URL, - SendbirdMessageResponse.JSON_PROPERTY_MESSAGE_ID, - SendbirdMessageResponse.JSON_PROPERTY_SORTED_METAARRAY, - SendbirdMessageResponse.JSON_PROPERTY_THREAD_INFO, - SendbirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_ID, - SendbirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_INFO, - SendbirdMessageResponse.JSON_PROPERTY_IS_REPLY_TO_CHANNEL, - SendbirdMessageResponse.JSON_PROPERTY_MESSAGE_EVENTS, - SendbirdMessageResponse.JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD + SendBirdMessageResponse.JSON_PROPERTY_REQUIRE_AUTH, + SendBirdMessageResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdMessageResponse.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdMessageResponse.JSON_PROPERTY_MENTIONED_USERS, + SendBirdMessageResponse.JSON_PROPERTY_TRANSLATIONS, + SendBirdMessageResponse.JSON_PROPERTY_UPDATED_AT, + SendBirdMessageResponse.JSON_PROPERTY_IS_OP_MSG, + SendBirdMessageResponse.JSON_PROPERTY_REACTIONS, + SendBirdMessageResponse.JSON_PROPERTY_IS_REMOVED, + SendBirdMessageResponse.JSON_PROPERTY_USER, + SendBirdMessageResponse.JSON_PROPERTY_FILE, + SendBirdMessageResponse.JSON_PROPERTY_FILES, + SendBirdMessageResponse.JSON_PROPERTY_MESSAGE, + SendBirdMessageResponse.JSON_PROPERTY_DATA, + SendBirdMessageResponse.JSON_PROPERTY_MESSAGE_RETENTION_HOUR, + SendBirdMessageResponse.JSON_PROPERTY_SILENT, + SendBirdMessageResponse.JSON_PROPERTY_TYPE, + SendBirdMessageResponse.JSON_PROPERTY_CREATED_AT, + SendBirdMessageResponse.JSON_PROPERTY_CHANNEL_TYPE, + SendBirdMessageResponse.JSON_PROPERTY_REQ_ID, + SendBirdMessageResponse.JSON_PROPERTY_MENTION_TYPE, + SendBirdMessageResponse.JSON_PROPERTY_CHANNEL_URL, + SendBirdMessageResponse.JSON_PROPERTY_MESSAGE_ID, + SendBirdMessageResponse.JSON_PROPERTY_SORTED_METAARRAY, + SendBirdMessageResponse.JSON_PROPERTY_THREAD_INFO, + SendBirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_ID, + SendBirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_INFO, + SendBirdMessageResponse.JSON_PROPERTY_IS_REPLY_TO_CHANNEL, + SendBirdMessageResponse.JSON_PROPERTY_MESSAGE_EVENTS, + SendBirdMessageResponse.JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD }) -@JsonTypeName("Sendbird.MessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdMessageResponse { +@JsonTypeName("SendBird.MessageResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdMessageResponse { public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; private Boolean requireAuth; @@ -89,7 +89,7 @@ public class SendbirdMessageResponse { private String customType; public static final String JSON_PROPERTY_MENTIONED_USERS = "mentioned_users"; - private List mentionedUsers = null; + private List mentionedUsers = null; public static final String JSON_PROPERTY_TRANSLATIONS = "translations"; private Object translations; @@ -101,19 +101,19 @@ public class SendbirdMessageResponse { private Boolean isOpMsg; public static final String JSON_PROPERTY_REACTIONS = "reactions"; - private List reactions = null; + private List reactions = null; public static final String JSON_PROPERTY_IS_REMOVED = "is_removed"; private Boolean isRemoved; public static final String JSON_PROPERTY_USER = "user"; - private SendbirdBasicUserInfo user; + private SendBirdBasicUserInfo user; public static final String JSON_PROPERTY_FILE = "file"; private Object _file; public static final String JSON_PROPERTY_FILES = "files"; - private List files = null; + private List files = null; public static final String JSON_PROPERTY_MESSAGE = "message"; private String message; @@ -149,7 +149,7 @@ public class SendbirdMessageResponse { private Long messageId; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_THREAD_INFO = "thread_info"; private Object threadInfo; @@ -158,21 +158,21 @@ public class SendbirdMessageResponse { private Integer parentMessageId; public static final String JSON_PROPERTY_PARENT_MESSAGE_INFO = "parent_message_info"; - private SendbirdParentMessageInfo parentMessageInfo; + private SendBirdParentMessageInfo parentMessageInfo; public static final String JSON_PROPERTY_IS_REPLY_TO_CHANNEL = "is_reply_to_channel"; private Boolean isReplyToChannel; public static final String JSON_PROPERTY_MESSAGE_EVENTS = "message_events"; - private JsonNullable messageEvents = JsonNullable.undefined(); + private JsonNullable messageEvents = JsonNullable.undefined(); public static final String JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD = "extended_message_payload"; - private SendbirdMessageResponseExtendedMessagePayload extendedMessagePayload; + private SendBirdMessageResponseExtendedMessagePayload extendedMessagePayload; - public SendbirdMessageResponse() { + public SendBirdMessageResponse() { } - public SendbirdMessageResponse requireAuth(Boolean requireAuth) { + public SendBirdMessageResponse requireAuth(Boolean requireAuth) { this.requireAuth = requireAuth; return this; } @@ -198,7 +198,7 @@ public void setRequireAuth(Boolean requireAuth) { } - public SendbirdMessageResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendBirdMessageResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -224,7 +224,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendbirdMessageResponse customType(String customType) { + public SendBirdMessageResponse customType(String customType) { this.customType = customType; return this; } @@ -250,12 +250,12 @@ public void setCustomType(String customType) { } - public SendbirdMessageResponse mentionedUsers(List mentionedUsers) { + public SendBirdMessageResponse mentionedUsers(List mentionedUsers) { this.mentionedUsers = mentionedUsers; return this; } - public SendbirdMessageResponse addMentionedUsersItem(SendbirdBasicUserInfo mentionedUsersItem) { + public SendBirdMessageResponse addMentionedUsersItem(SendBirdBasicUserInfo mentionedUsersItem) { if (this.mentionedUsers == null) { this.mentionedUsers = new ArrayList<>(); } @@ -272,19 +272,19 @@ public SendbirdMessageResponse addMentionedUsersItem(SendbirdBasicUserInfo menti @JsonProperty(JSON_PROPERTY_MENTIONED_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMentionedUsers() { + public List getMentionedUsers() { return mentionedUsers; } @JsonProperty(JSON_PROPERTY_MENTIONED_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUsers(List mentionedUsers) { + public void setMentionedUsers(List mentionedUsers) { this.mentionedUsers = mentionedUsers; } - public SendbirdMessageResponse translations(Object translations) { + public SendBirdMessageResponse translations(Object translations) { this.translations = translations; return this; } @@ -310,7 +310,7 @@ public void setTranslations(Object translations) { } - public SendbirdMessageResponse updatedAt(Long updatedAt) { + public SendBirdMessageResponse updatedAt(Long updatedAt) { this.updatedAt = updatedAt; return this; } @@ -336,7 +336,7 @@ public void setUpdatedAt(Long updatedAt) { } - public SendbirdMessageResponse isOpMsg(Boolean isOpMsg) { + public SendBirdMessageResponse isOpMsg(Boolean isOpMsg) { this.isOpMsg = isOpMsg; return this; } @@ -362,12 +362,12 @@ public void setIsOpMsg(Boolean isOpMsg) { } - public SendbirdMessageResponse reactions(List reactions) { + public SendBirdMessageResponse reactions(List reactions) { this.reactions = reactions; return this; } - public SendbirdMessageResponse addReactionsItem(SendbirdReaction reactionsItem) { + public SendBirdMessageResponse addReactionsItem(SendBirdReaction reactionsItem) { if (this.reactions == null) { this.reactions = new ArrayList<>(); } @@ -384,19 +384,19 @@ public SendbirdMessageResponse addReactionsItem(SendbirdReaction reactionsItem) @JsonProperty(JSON_PROPERTY_REACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getReactions() { + public List getReactions() { return reactions; } @JsonProperty(JSON_PROPERTY_REACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReactions(List reactions) { + public void setReactions(List reactions) { this.reactions = reactions; } - public SendbirdMessageResponse isRemoved(Boolean isRemoved) { + public SendBirdMessageResponse isRemoved(Boolean isRemoved) { this.isRemoved = isRemoved; return this; } @@ -422,7 +422,7 @@ public void setIsRemoved(Boolean isRemoved) { } - public SendbirdMessageResponse user(SendbirdBasicUserInfo user) { + public SendBirdMessageResponse user(SendBirdBasicUserInfo user) { this.user = user; return this; } @@ -436,19 +436,19 @@ public SendbirdMessageResponse user(SendbirdBasicUserInfo user) { @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getUser() { + public SendBirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendbirdBasicUserInfo user) { + public void setUser(SendBirdBasicUserInfo user) { this.user = user; } - public SendbirdMessageResponse _file(Object _file) { + public SendBirdMessageResponse _file(Object _file) { this._file = _file; return this; } @@ -474,12 +474,12 @@ public void setFile(Object _file) { } - public SendbirdMessageResponse files(List files) { + public SendBirdMessageResponse files(List files) { this.files = files; return this; } - public SendbirdMessageResponse addFilesItem(SendbirdFile filesItem) { + public SendBirdMessageResponse addFilesItem(SendBirdFile filesItem) { if (this.files == null) { this.files = new ArrayList<>(); } @@ -496,19 +496,19 @@ public SendbirdMessageResponse addFilesItem(SendbirdFile filesItem) { @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFiles() { + public List getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(List files) { + public void setFiles(List files) { this.files = files; } - public SendbirdMessageResponse message(String message) { + public SendBirdMessageResponse message(String message) { this.message = message; return this; } @@ -534,7 +534,7 @@ public void setMessage(String message) { } - public SendbirdMessageResponse data(String data) { + public SendBirdMessageResponse data(String data) { this.data = data; return this; } @@ -560,7 +560,7 @@ public void setData(String data) { } - public SendbirdMessageResponse messageRetentionHour(Integer messageRetentionHour) { + public SendBirdMessageResponse messageRetentionHour(Integer messageRetentionHour) { this.messageRetentionHour = messageRetentionHour; return this; } @@ -586,7 +586,7 @@ public void setMessageRetentionHour(Integer messageRetentionHour) { } - public SendbirdMessageResponse silent(Boolean silent) { + public SendBirdMessageResponse silent(Boolean silent) { this.silent = silent; return this; } @@ -612,7 +612,7 @@ public void setSilent(Boolean silent) { } - public SendbirdMessageResponse type(String type) { + public SendBirdMessageResponse type(String type) { this.type = type; return this; } @@ -638,7 +638,7 @@ public void setType(String type) { } - public SendbirdMessageResponse createdAt(Long createdAt) { + public SendBirdMessageResponse createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -664,7 +664,7 @@ public void setCreatedAt(Long createdAt) { } - public SendbirdMessageResponse channelType(String channelType) { + public SendBirdMessageResponse channelType(String channelType) { this.channelType = channelType; return this; } @@ -690,7 +690,7 @@ public void setChannelType(String channelType) { } - public SendbirdMessageResponse reqId(String reqId) { + public SendBirdMessageResponse reqId(String reqId) { this.reqId = reqId; return this; } @@ -716,7 +716,7 @@ public void setReqId(String reqId) { } - public SendbirdMessageResponse mentionType(String mentionType) { + public SendBirdMessageResponse mentionType(String mentionType) { this.mentionType = mentionType; return this; } @@ -742,7 +742,7 @@ public void setMentionType(String mentionType) { } - public SendbirdMessageResponse channelUrl(String channelUrl) { + public SendBirdMessageResponse channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -768,7 +768,7 @@ public void setChannelUrl(String channelUrl) { } - public SendbirdMessageResponse messageId(Long messageId) { + public SendBirdMessageResponse messageId(Long messageId) { this.messageId = messageId; return this; } @@ -794,12 +794,12 @@ public void setMessageId(Long messageId) { } - public SendbirdMessageResponse sortedMetaarray(List sortedMetaarray) { + public SendBirdMessageResponse sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendbirdMessageResponse addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendBirdMessageResponse addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -816,19 +816,19 @@ public SendbirdMessageResponse addSortedMetaarrayItem(SendbirdSortedMetaarrayInn @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } - public SendbirdMessageResponse threadInfo(Object threadInfo) { + public SendBirdMessageResponse threadInfo(Object threadInfo) { this.threadInfo = threadInfo; return this; } @@ -854,7 +854,7 @@ public void setThreadInfo(Object threadInfo) { } - public SendbirdMessageResponse parentMessageId(Integer parentMessageId) { + public SendBirdMessageResponse parentMessageId(Integer parentMessageId) { this.parentMessageId = parentMessageId; return this; } @@ -880,7 +880,7 @@ public void setParentMessageId(Integer parentMessageId) { } - public SendbirdMessageResponse parentMessageInfo(SendbirdParentMessageInfo parentMessageInfo) { + public SendBirdMessageResponse parentMessageInfo(SendBirdParentMessageInfo parentMessageInfo) { this.parentMessageInfo = parentMessageInfo; return this; } @@ -894,19 +894,19 @@ public SendbirdMessageResponse parentMessageInfo(SendbirdParentMessageInfo paren @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdParentMessageInfo getParentMessageInfo() { + public SendBirdParentMessageInfo getParentMessageInfo() { return parentMessageInfo; } @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setParentMessageInfo(SendbirdParentMessageInfo parentMessageInfo) { + public void setParentMessageInfo(SendBirdParentMessageInfo parentMessageInfo) { this.parentMessageInfo = parentMessageInfo; } - public SendbirdMessageResponse isReplyToChannel(Boolean isReplyToChannel) { + public SendBirdMessageResponse isReplyToChannel(Boolean isReplyToChannel) { this.isReplyToChannel = isReplyToChannel; return this; } @@ -932,8 +932,8 @@ public void setIsReplyToChannel(Boolean isReplyToChannel) { } - public SendbirdMessageResponse messageEvents(SendbirdMessageResponseMessageEvents messageEvents) { - this.messageEvents = JsonNullable.of(messageEvents); + public SendBirdMessageResponse messageEvents(SendBirdMessageResponseMessageEvents messageEvents) { + this.messageEvents = JsonNullable.of(messageEvents); return this; } @@ -945,28 +945,28 @@ public SendbirdMessageResponse messageEvents(SendbirdMessageResponseMessageEvent @ApiModelProperty(value = "") @JsonIgnore - public SendbirdMessageResponseMessageEvents getMessageEvents() { + public SendBirdMessageResponseMessageEvents getMessageEvents() { return messageEvents.orElse(null); } @JsonProperty(JSON_PROPERTY_MESSAGE_EVENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getMessageEvents_JsonNullable() { + public JsonNullable getMessageEvents_JsonNullable() { return messageEvents; } @JsonProperty(JSON_PROPERTY_MESSAGE_EVENTS) - public void setMessageEvents_JsonNullable(JsonNullable messageEvents) { + public void setMessageEvents_JsonNullable(JsonNullable messageEvents) { this.messageEvents = messageEvents; } - public void setMessageEvents(SendbirdMessageResponseMessageEvents messageEvents) { - this.messageEvents = JsonNullable.of(messageEvents); + public void setMessageEvents(SendBirdMessageResponseMessageEvents messageEvents) { + this.messageEvents = JsonNullable.of(messageEvents); } - public SendbirdMessageResponse extendedMessagePayload(SendbirdMessageResponseExtendedMessagePayload extendedMessagePayload) { + public SendBirdMessageResponse extendedMessagePayload(SendBirdMessageResponseExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; return this; } @@ -980,20 +980,20 @@ public SendbirdMessageResponse extendedMessagePayload(SendbirdMessageResponseExt @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdMessageResponseExtendedMessagePayload getExtendedMessagePayload() { + public SendBirdMessageResponseExtendedMessagePayload getExtendedMessagePayload() { return extendedMessagePayload; } @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExtendedMessagePayload(SendbirdMessageResponseExtendedMessagePayload extendedMessagePayload) { + public void setExtendedMessagePayload(SendBirdMessageResponseExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; } /** - * Return true if this Sendbird.MessageResponse object is equal to o. + * Return true if this SendBird.MessageResponse object is equal to o. */ @Override public boolean equals(Object o) { @@ -1003,37 +1003,37 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdMessageResponse sendbirdMessageResponse = (SendbirdMessageResponse) o; - return Objects.equals(this.requireAuth, sendbirdMessageResponse.requireAuth) && - Objects.equals(this.messageSurvivalSeconds, sendbirdMessageResponse.messageSurvivalSeconds) && - Objects.equals(this.customType, sendbirdMessageResponse.customType) && - Objects.equals(this.mentionedUsers, sendbirdMessageResponse.mentionedUsers) && - Objects.equals(this.translations, sendbirdMessageResponse.translations) && - Objects.equals(this.updatedAt, sendbirdMessageResponse.updatedAt) && - Objects.equals(this.isOpMsg, sendbirdMessageResponse.isOpMsg) && - Objects.equals(this.reactions, sendbirdMessageResponse.reactions) && - Objects.equals(this.isRemoved, sendbirdMessageResponse.isRemoved) && - Objects.equals(this.user, sendbirdMessageResponse.user) && - Objects.equals(this._file, sendbirdMessageResponse._file) && - Objects.equals(this.files, sendbirdMessageResponse.files) && - Objects.equals(this.message, sendbirdMessageResponse.message) && - Objects.equals(this.data, sendbirdMessageResponse.data) && - Objects.equals(this.messageRetentionHour, sendbirdMessageResponse.messageRetentionHour) && - Objects.equals(this.silent, sendbirdMessageResponse.silent) && - Objects.equals(this.type, sendbirdMessageResponse.type) && - Objects.equals(this.createdAt, sendbirdMessageResponse.createdAt) && - Objects.equals(this.channelType, sendbirdMessageResponse.channelType) && - Objects.equals(this.reqId, sendbirdMessageResponse.reqId) && - Objects.equals(this.mentionType, sendbirdMessageResponse.mentionType) && - Objects.equals(this.channelUrl, sendbirdMessageResponse.channelUrl) && - Objects.equals(this.messageId, sendbirdMessageResponse.messageId) && - Objects.equals(this.sortedMetaarray, sendbirdMessageResponse.sortedMetaarray) && - Objects.equals(this.threadInfo, sendbirdMessageResponse.threadInfo) && - Objects.equals(this.parentMessageId, sendbirdMessageResponse.parentMessageId) && - Objects.equals(this.parentMessageInfo, sendbirdMessageResponse.parentMessageInfo) && - Objects.equals(this.isReplyToChannel, sendbirdMessageResponse.isReplyToChannel) && - equalsNullable(this.messageEvents, sendbirdMessageResponse.messageEvents) && - Objects.equals(this.extendedMessagePayload, sendbirdMessageResponse.extendedMessagePayload); + SendBirdMessageResponse sendBirdMessageResponse = (SendBirdMessageResponse) o; + return Objects.equals(this.requireAuth, sendBirdMessageResponse.requireAuth) && + Objects.equals(this.messageSurvivalSeconds, sendBirdMessageResponse.messageSurvivalSeconds) && + Objects.equals(this.customType, sendBirdMessageResponse.customType) && + Objects.equals(this.mentionedUsers, sendBirdMessageResponse.mentionedUsers) && + Objects.equals(this.translations, sendBirdMessageResponse.translations) && + Objects.equals(this.updatedAt, sendBirdMessageResponse.updatedAt) && + Objects.equals(this.isOpMsg, sendBirdMessageResponse.isOpMsg) && + Objects.equals(this.reactions, sendBirdMessageResponse.reactions) && + Objects.equals(this.isRemoved, sendBirdMessageResponse.isRemoved) && + Objects.equals(this.user, sendBirdMessageResponse.user) && + Objects.equals(this._file, sendBirdMessageResponse._file) && + Objects.equals(this.files, sendBirdMessageResponse.files) && + Objects.equals(this.message, sendBirdMessageResponse.message) && + Objects.equals(this.data, sendBirdMessageResponse.data) && + Objects.equals(this.messageRetentionHour, sendBirdMessageResponse.messageRetentionHour) && + Objects.equals(this.silent, sendBirdMessageResponse.silent) && + Objects.equals(this.type, sendBirdMessageResponse.type) && + Objects.equals(this.createdAt, sendBirdMessageResponse.createdAt) && + Objects.equals(this.channelType, sendBirdMessageResponse.channelType) && + Objects.equals(this.reqId, sendBirdMessageResponse.reqId) && + Objects.equals(this.mentionType, sendBirdMessageResponse.mentionType) && + Objects.equals(this.channelUrl, sendBirdMessageResponse.channelUrl) && + Objects.equals(this.messageId, sendBirdMessageResponse.messageId) && + Objects.equals(this.sortedMetaarray, sendBirdMessageResponse.sortedMetaarray) && + Objects.equals(this.threadInfo, sendBirdMessageResponse.threadInfo) && + Objects.equals(this.parentMessageId, sendBirdMessageResponse.parentMessageId) && + Objects.equals(this.parentMessageInfo, sendBirdMessageResponse.parentMessageInfo) && + Objects.equals(this.isReplyToChannel, sendBirdMessageResponse.isReplyToChannel) && + equalsNullable(this.messageEvents, sendBirdMessageResponse.messageEvents) && + Objects.equals(this.extendedMessagePayload, sendBirdMessageResponse.extendedMessagePayload); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -1055,7 +1055,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdMessageResponse {\n"); + sb.append("class SendBirdMessageResponse {\n"); sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java b/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java index 5d11f4ac..93c74c91 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java +++ b/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendBirdBasicUserInfo; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -36,26 +36,26 @@ /** - * SendbirdOpenChannel + * SendBirdOpenChannel */ @JsonPropertyOrder({ - SendbirdOpenChannel.JSON_PROPERTY_CHANNEL_URL, - SendbirdOpenChannel.JSON_PROPERTY_COVER_URL, - SendbirdOpenChannel.JSON_PROPERTY_CREATED_AT, - SendbirdOpenChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendbirdOpenChannel.JSON_PROPERTY_DATA, - SendbirdOpenChannel.JSON_PROPERTY_FREEZE, - SendbirdOpenChannel.JSON_PROPERTY_IS_DYNAMIC_PARTITIONED, - SendbirdOpenChannel.JSON_PROPERTY_IS_EPHEMERAL, - SendbirdOpenChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendbirdOpenChannel.JSON_PROPERTY_NAME, - SendbirdOpenChannel.JSON_PROPERTY_OPERATORS, - SendbirdOpenChannel.JSON_PROPERTY_PARTICIPANT_COUNT, - SendbirdOpenChannel.JSON_PROPERTY_METADATA + SendBirdOpenChannel.JSON_PROPERTY_CHANNEL_URL, + SendBirdOpenChannel.JSON_PROPERTY_COVER_URL, + SendBirdOpenChannel.JSON_PROPERTY_CREATED_AT, + SendBirdOpenChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdOpenChannel.JSON_PROPERTY_DATA, + SendBirdOpenChannel.JSON_PROPERTY_FREEZE, + SendBirdOpenChannel.JSON_PROPERTY_IS_DYNAMIC_PARTITIONED, + SendBirdOpenChannel.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdOpenChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdOpenChannel.JSON_PROPERTY_NAME, + SendBirdOpenChannel.JSON_PROPERTY_OPERATORS, + SendBirdOpenChannel.JSON_PROPERTY_PARTICIPANT_COUNT, + SendBirdOpenChannel.JSON_PROPERTY_METADATA }) -@JsonTypeName("Sendbird.OpenChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdOpenChannel { +@JsonTypeName("SendBird.OpenChannel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdOpenChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -87,7 +87,7 @@ public class SendbirdOpenChannel { private String name; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public static final String JSON_PROPERTY_PARTICIPANT_COUNT = "participant_count"; private Integer participantCount; @@ -95,10 +95,10 @@ public class SendbirdOpenChannel { public static final String JSON_PROPERTY_METADATA = "metadata"; private JsonNullable metadata = JsonNullable.undefined(); - public SendbirdOpenChannel() { + public SendBirdOpenChannel() { } - public SendbirdOpenChannel channelUrl(String channelUrl) { + public SendBirdOpenChannel channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -124,7 +124,7 @@ public void setChannelUrl(String channelUrl) { } - public SendbirdOpenChannel coverUrl(String coverUrl) { + public SendBirdOpenChannel coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -150,7 +150,7 @@ public void setCoverUrl(String coverUrl) { } - public SendbirdOpenChannel createdAt(Long createdAt) { + public SendBirdOpenChannel createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -176,7 +176,7 @@ public void setCreatedAt(Long createdAt) { } - public SendbirdOpenChannel customType(String customType) { + public SendBirdOpenChannel customType(String customType) { this.customType = customType; return this; } @@ -202,7 +202,7 @@ public void setCustomType(String customType) { } - public SendbirdOpenChannel data(String data) { + public SendBirdOpenChannel data(String data) { this.data = data; return this; } @@ -228,7 +228,7 @@ public void setData(String data) { } - public SendbirdOpenChannel freeze(Boolean freeze) { + public SendBirdOpenChannel freeze(Boolean freeze) { this.freeze = freeze; return this; } @@ -254,7 +254,7 @@ public void setFreeze(Boolean freeze) { } - public SendbirdOpenChannel isDynamicPartitioned(Boolean isDynamicPartitioned) { + public SendBirdOpenChannel isDynamicPartitioned(Boolean isDynamicPartitioned) { this.isDynamicPartitioned = isDynamicPartitioned; return this; } @@ -280,7 +280,7 @@ public void setIsDynamicPartitioned(Boolean isDynamicPartitioned) { } - public SendbirdOpenChannel isEphemeral(Boolean isEphemeral) { + public SendBirdOpenChannel isEphemeral(Boolean isEphemeral) { this.isEphemeral = isEphemeral; return this; } @@ -306,7 +306,7 @@ public void setIsEphemeral(Boolean isEphemeral) { } - public SendbirdOpenChannel maxLengthMessage(Integer maxLengthMessage) { + public SendBirdOpenChannel maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -332,7 +332,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendbirdOpenChannel name(String name) { + public SendBirdOpenChannel name(String name) { this.name = name; return this; } @@ -358,12 +358,12 @@ public void setName(String name) { } - public SendbirdOpenChannel operators(List operators) { + public SendBirdOpenChannel operators(List operators) { this.operators = operators; return this; } - public SendbirdOpenChannel addOperatorsItem(SendbirdBasicUserInfo operatorsItem) { + public SendBirdOpenChannel addOperatorsItem(SendBirdBasicUserInfo operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -380,19 +380,19 @@ public SendbirdOpenChannel addOperatorsItem(SendbirdBasicUserInfo operatorsItem) @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } - public SendbirdOpenChannel participantCount(Integer participantCount) { + public SendBirdOpenChannel participantCount(Integer participantCount) { this.participantCount = participantCount; return this; } @@ -418,7 +418,7 @@ public void setParticipantCount(Integer participantCount) { } - public SendbirdOpenChannel metadata(Object metadata) { + public SendBirdOpenChannel metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -453,7 +453,7 @@ public void setMetadata(Object metadata) { /** - * Return true if this Sendbird.OpenChannel object is equal to o. + * Return true if this SendBird.OpenChannel object is equal to o. */ @Override public boolean equals(Object o) { @@ -463,20 +463,20 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdOpenChannel sendbirdOpenChannel = (SendbirdOpenChannel) o; - return Objects.equals(this.channelUrl, sendbirdOpenChannel.channelUrl) && - Objects.equals(this.coverUrl, sendbirdOpenChannel.coverUrl) && - Objects.equals(this.createdAt, sendbirdOpenChannel.createdAt) && - Objects.equals(this.customType, sendbirdOpenChannel.customType) && - Objects.equals(this.data, sendbirdOpenChannel.data) && - Objects.equals(this.freeze, sendbirdOpenChannel.freeze) && - Objects.equals(this.isDynamicPartitioned, sendbirdOpenChannel.isDynamicPartitioned) && - Objects.equals(this.isEphemeral, sendbirdOpenChannel.isEphemeral) && - Objects.equals(this.maxLengthMessage, sendbirdOpenChannel.maxLengthMessage) && - Objects.equals(this.name, sendbirdOpenChannel.name) && - Objects.equals(this.operators, sendbirdOpenChannel.operators) && - Objects.equals(this.participantCount, sendbirdOpenChannel.participantCount) && - equalsNullable(this.metadata, sendbirdOpenChannel.metadata); + SendBirdOpenChannel sendBirdOpenChannel = (SendBirdOpenChannel) o; + return Objects.equals(this.channelUrl, sendBirdOpenChannel.channelUrl) && + Objects.equals(this.coverUrl, sendBirdOpenChannel.coverUrl) && + Objects.equals(this.createdAt, sendBirdOpenChannel.createdAt) && + Objects.equals(this.customType, sendBirdOpenChannel.customType) && + Objects.equals(this.data, sendBirdOpenChannel.data) && + Objects.equals(this.freeze, sendBirdOpenChannel.freeze) && + Objects.equals(this.isDynamicPartitioned, sendBirdOpenChannel.isDynamicPartitioned) && + Objects.equals(this.isEphemeral, sendBirdOpenChannel.isEphemeral) && + Objects.equals(this.maxLengthMessage, sendBirdOpenChannel.maxLengthMessage) && + Objects.equals(this.name, sendBirdOpenChannel.name) && + Objects.equals(this.operators, sendBirdOpenChannel.operators) && + Objects.equals(this.participantCount, sendBirdOpenChannel.participantCount) && + equalsNullable(this.metadata, sendBirdOpenChannel.metadata); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -498,7 +498,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdOpenChannel {\n"); + sb.append("class SendBirdOpenChannel {\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java b/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java index 74b230c5..d1bdf704 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java +++ b/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java @@ -26,27 +26,27 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdFile; -import org.openapitools.client.model.SendbirdUser; +import org.openapitools.client.model.SendBirdFile; +import org.openapitools.client.model.SendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; /** - * SendbirdParentMessageInfo + * SendBirdParentMessageInfo */ @JsonPropertyOrder({ - SendbirdParentMessageInfo.JSON_PROPERTY_CUSTOM_TYPE, - SendbirdParentMessageInfo.JSON_PROPERTY_MESSAGE, - SendbirdParentMessageInfo.JSON_PROPERTY_TYPE, - SendbirdParentMessageInfo.JSON_PROPERTY_TS, - SendbirdParentMessageInfo.JSON_PROPERTY_USER, - SendbirdParentMessageInfo.JSON_PROPERTY_FILE, - SendbirdParentMessageInfo.JSON_PROPERTY_FILES + SendBirdParentMessageInfo.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdParentMessageInfo.JSON_PROPERTY_MESSAGE, + SendBirdParentMessageInfo.JSON_PROPERTY_TYPE, + SendBirdParentMessageInfo.JSON_PROPERTY_TS, + SendBirdParentMessageInfo.JSON_PROPERTY_USER, + SendBirdParentMessageInfo.JSON_PROPERTY_FILE, + SendBirdParentMessageInfo.JSON_PROPERTY_FILES }) -@JsonTypeName("Sendbird.ParentMessageInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdParentMessageInfo { +@JsonTypeName("SendBird.ParentMessageInfo") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdParentMessageInfo { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -60,18 +60,18 @@ public class SendbirdParentMessageInfo { private Long ts; public static final String JSON_PROPERTY_USER = "user"; - private SendbirdUser user; + private SendBirdUser user; public static final String JSON_PROPERTY_FILE = "file"; - private SendbirdFile _file; + private SendBirdFile _file; public static final String JSON_PROPERTY_FILES = "files"; - private List files = null; + private List files = null; - public SendbirdParentMessageInfo() { + public SendBirdParentMessageInfo() { } - public SendbirdParentMessageInfo customType(String customType) { + public SendBirdParentMessageInfo customType(String customType) { this.customType = customType; return this; } @@ -97,7 +97,7 @@ public void setCustomType(String customType) { } - public SendbirdParentMessageInfo message(String message) { + public SendBirdParentMessageInfo message(String message) { this.message = message; return this; } @@ -123,7 +123,7 @@ public void setMessage(String message) { } - public SendbirdParentMessageInfo type(String type) { + public SendBirdParentMessageInfo type(String type) { this.type = type; return this; } @@ -149,7 +149,7 @@ public void setType(String type) { } - public SendbirdParentMessageInfo ts(Long ts) { + public SendBirdParentMessageInfo ts(Long ts) { this.ts = ts; return this; } @@ -175,7 +175,7 @@ public void setTs(Long ts) { } - public SendbirdParentMessageInfo user(SendbirdUser user) { + public SendBirdParentMessageInfo user(SendBirdUser user) { this.user = user; return this; } @@ -189,19 +189,19 @@ public SendbirdParentMessageInfo user(SendbirdUser user) { @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdUser getUser() { + public SendBirdUser getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendbirdUser user) { + public void setUser(SendBirdUser user) { this.user = user; } - public SendbirdParentMessageInfo _file(SendbirdFile _file) { + public SendBirdParentMessageInfo _file(SendBirdFile _file) { this._file = _file; return this; } @@ -215,24 +215,24 @@ public SendbirdParentMessageInfo _file(SendbirdFile _file) { @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdFile getFile() { + public SendBirdFile getFile() { return _file; } @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFile(SendbirdFile _file) { + public void setFile(SendBirdFile _file) { this._file = _file; } - public SendbirdParentMessageInfo files(List files) { + public SendBirdParentMessageInfo files(List files) { this.files = files; return this; } - public SendbirdParentMessageInfo addFilesItem(SendbirdFile filesItem) { + public SendBirdParentMessageInfo addFilesItem(SendBirdFile filesItem) { if (this.files == null) { this.files = new ArrayList<>(); } @@ -249,20 +249,20 @@ public SendbirdParentMessageInfo addFilesItem(SendbirdFile filesItem) { @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFiles() { + public List getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(List files) { + public void setFiles(List files) { this.files = files; } /** - * Return true if this Sendbird.ParentMessageInfo object is equal to o. + * Return true if this SendBird.ParentMessageInfo object is equal to o. */ @Override public boolean equals(Object o) { @@ -272,14 +272,14 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdParentMessageInfo sendbirdParentMessageInfo = (SendbirdParentMessageInfo) o; - return Objects.equals(this.customType, sendbirdParentMessageInfo.customType) && - Objects.equals(this.message, sendbirdParentMessageInfo.message) && - Objects.equals(this.type, sendbirdParentMessageInfo.type) && - Objects.equals(this.ts, sendbirdParentMessageInfo.ts) && - Objects.equals(this.user, sendbirdParentMessageInfo.user) && - Objects.equals(this._file, sendbirdParentMessageInfo._file) && - Objects.equals(this.files, sendbirdParentMessageInfo.files); + SendBirdParentMessageInfo sendBirdParentMessageInfo = (SendBirdParentMessageInfo) o; + return Objects.equals(this.customType, sendBirdParentMessageInfo.customType) && + Objects.equals(this.message, sendBirdParentMessageInfo.message) && + Objects.equals(this.type, sendBirdParentMessageInfo.type) && + Objects.equals(this.ts, sendBirdParentMessageInfo.ts) && + Objects.equals(this.user, sendBirdParentMessageInfo.user) && + Objects.equals(this._file, sendBirdParentMessageInfo._file) && + Objects.equals(this.files, sendBirdParentMessageInfo.files); } @Override @@ -290,7 +290,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdParentMessageInfo {\n"); + sb.append("class SendBirdParentMessageInfo {\n"); sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdReaction.java b/src/main/java/org/openapitools/client/model/SendBirdReaction.java index 13181128..6a52acbc 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdReaction.java +++ b/src/main/java/org/openapitools/client/model/SendBirdReaction.java @@ -31,16 +31,16 @@ /** - * SendbirdReaction + * SendBirdReaction */ @JsonPropertyOrder({ - SendbirdReaction.JSON_PROPERTY_KEY, - SendbirdReaction.JSON_PROPERTY_UPDATED_AT, - SendbirdReaction.JSON_PROPERTY_USER_IDS + SendBirdReaction.JSON_PROPERTY_KEY, + SendBirdReaction.JSON_PROPERTY_UPDATED_AT, + SendBirdReaction.JSON_PROPERTY_USER_IDS }) -@JsonTypeName("Sendbird.Reaction") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdReaction { +@JsonTypeName("SendBird.Reaction") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdReaction { public static final String JSON_PROPERTY_KEY = "key"; private String key; @@ -50,10 +50,10 @@ public class SendbirdReaction { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = null; - public SendbirdReaction() { + public SendBirdReaction() { } - public SendbirdReaction key(String key) { + public SendBirdReaction key(String key) { this.key = key; return this; } @@ -79,7 +79,7 @@ public void setKey(String key) { } - public SendbirdReaction updatedAt(Long updatedAt) { + public SendBirdReaction updatedAt(Long updatedAt) { this.updatedAt = updatedAt; return this; } @@ -105,12 +105,12 @@ public void setUpdatedAt(Long updatedAt) { } - public SendbirdReaction userIds(List userIds) { + public SendBirdReaction userIds(List userIds) { this.userIds = userIds; return this; } - public SendbirdReaction addUserIdsItem(String userIdsItem) { + public SendBirdReaction addUserIdsItem(String userIdsItem) { if (this.userIds == null) { this.userIds = new ArrayList<>(); } @@ -140,7 +140,7 @@ public void setUserIds(List userIds) { /** - * Return true if this Sendbird.Reaction object is equal to o. + * Return true if this SendBird.Reaction object is equal to o. */ @Override public boolean equals(Object o) { @@ -150,10 +150,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdReaction sendbirdReaction = (SendbirdReaction) o; - return Objects.equals(this.key, sendbirdReaction.key) && - Objects.equals(this.updatedAt, sendbirdReaction.updatedAt) && - Objects.equals(this.userIds, sendbirdReaction.userIds); + SendBirdReaction sendBirdReaction = (SendBirdReaction) o; + return Objects.equals(this.key, sendBirdReaction.key) && + Objects.equals(this.updatedAt, sendBirdReaction.updatedAt) && + Objects.equals(this.userIds, sendBirdReaction.userIds); } @Override @@ -164,7 +164,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdReaction {\n"); + sb.append("class SendBirdReaction {\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdUser.java b/src/main/java/org/openapitools/client/model/SendBirdUser.java index eee8dce6..46c2ecd6 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUser.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUser.java @@ -39,31 +39,31 @@ */ @ApiModel(description = "User") @JsonPropertyOrder({ - SendbirdUser.JSON_PROPERTY_ACCESS_TOKEN, - SendbirdUser.JSON_PROPERTY_CREATED_AT, - SendbirdUser.JSON_PROPERTY_DISCOVERY_KEYS, - SendbirdUser.JSON_PROPERTY_HAS_EVER_LOGGED_IN, - SendbirdUser.JSON_PROPERTY_IS_ACTIVE, - SendbirdUser.JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS, - SendbirdUser.JSON_PROPERTY_IS_ONLINE, - SendbirdUser.JSON_PROPERTY_IS_SHADOW_BLOCKED, - SendbirdUser.JSON_PROPERTY_LAST_SEEN_AT, - SendbirdUser.JSON_PROPERTY_LOCALE, - SendbirdUser.JSON_PROPERTY_METADATA, - SendbirdUser.JSON_PROPERTY_NICKNAME, - SendbirdUser.JSON_PROPERTY_PREFERRED_LANGUAGES, - SendbirdUser.JSON_PROPERTY_PROFILE_URL, - SendbirdUser.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendbirdUser.JSON_PROPERTY_USER_ID, - SendbirdUser.JSON_PROPERTY_STATE, - SendbirdUser.JSON_PROPERTY_UNREAD_CHANNEL_COUNT, - SendbirdUser.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, - SendbirdUser.JSON_PROPERTY_PHONE_NUMBER, - SendbirdUser.JSON_PROPERTY_IS_CREATED + SendBirdUser.JSON_PROPERTY_ACCESS_TOKEN, + SendBirdUser.JSON_PROPERTY_CREATED_AT, + SendBirdUser.JSON_PROPERTY_DISCOVERY_KEYS, + SendBirdUser.JSON_PROPERTY_HAS_EVER_LOGGED_IN, + SendBirdUser.JSON_PROPERTY_IS_ACTIVE, + SendBirdUser.JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS, + SendBirdUser.JSON_PROPERTY_IS_ONLINE, + SendBirdUser.JSON_PROPERTY_IS_SHADOW_BLOCKED, + SendBirdUser.JSON_PROPERTY_LAST_SEEN_AT, + SendBirdUser.JSON_PROPERTY_LOCALE, + SendBirdUser.JSON_PROPERTY_METADATA, + SendBirdUser.JSON_PROPERTY_NICKNAME, + SendBirdUser.JSON_PROPERTY_PREFERRED_LANGUAGES, + SendBirdUser.JSON_PROPERTY_PROFILE_URL, + SendBirdUser.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendBirdUser.JSON_PROPERTY_USER_ID, + SendBirdUser.JSON_PROPERTY_STATE, + SendBirdUser.JSON_PROPERTY_UNREAD_CHANNEL_COUNT, + SendBirdUser.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, + SendBirdUser.JSON_PROPERTY_PHONE_NUMBER, + SendBirdUser.JSON_PROPERTY_IS_CREATED }) -@JsonTypeName("Sendbird.User") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdUser { +@JsonTypeName("SendBird.User") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdUser { public static final String JSON_PROPERTY_ACCESS_TOKEN = "access_token"; private String accessToken; @@ -164,10 +164,10 @@ public static StateEnum fromValue(String value) { public static final String JSON_PROPERTY_IS_CREATED = "is_created"; private Boolean isCreated; - public SendbirdUser() { + public SendBirdUser() { } - public SendbirdUser accessToken(String accessToken) { + public SendBirdUser accessToken(String accessToken) { this.accessToken = accessToken; return this; } @@ -193,7 +193,7 @@ public void setAccessToken(String accessToken) { } - public SendbirdUser createdAt(Long createdAt) { + public SendBirdUser createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -219,12 +219,12 @@ public void setCreatedAt(Long createdAt) { } - public SendbirdUser discoveryKeys(List discoveryKeys) { + public SendBirdUser discoveryKeys(List discoveryKeys) { this.discoveryKeys = JsonNullable.>of(discoveryKeys); return this; } - public SendbirdUser addDiscoveryKeysItem(String discoveryKeysItem) { + public SendBirdUser addDiscoveryKeysItem(String discoveryKeysItem) { if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); } @@ -265,7 +265,7 @@ public void setDiscoveryKeys(List discoveryKeys) { } - public SendbirdUser hasEverLoggedIn(Boolean hasEverLoggedIn) { + public SendBirdUser hasEverLoggedIn(Boolean hasEverLoggedIn) { this.hasEverLoggedIn = hasEverLoggedIn; return this; } @@ -291,7 +291,7 @@ public void setHasEverLoggedIn(Boolean hasEverLoggedIn) { } - public SendbirdUser isActive(Boolean isActive) { + public SendBirdUser isActive(Boolean isActive) { this.isActive = isActive; return this; } @@ -317,7 +317,7 @@ public void setIsActive(Boolean isActive) { } - public SendbirdUser isHideMeFromFriends(Boolean isHideMeFromFriends) { + public SendBirdUser isHideMeFromFriends(Boolean isHideMeFromFriends) { this.isHideMeFromFriends = isHideMeFromFriends; return this; } @@ -343,7 +343,7 @@ public void setIsHideMeFromFriends(Boolean isHideMeFromFriends) { } - public SendbirdUser isOnline(Boolean isOnline) { + public SendBirdUser isOnline(Boolean isOnline) { this.isOnline = isOnline; return this; } @@ -369,7 +369,7 @@ public void setIsOnline(Boolean isOnline) { } - public SendbirdUser isShadowBlocked(Boolean isShadowBlocked) { + public SendBirdUser isShadowBlocked(Boolean isShadowBlocked) { this.isShadowBlocked = isShadowBlocked; return this; } @@ -395,7 +395,7 @@ public void setIsShadowBlocked(Boolean isShadowBlocked) { } - public SendbirdUser lastSeenAt(Long lastSeenAt) { + public SendBirdUser lastSeenAt(Long lastSeenAt) { this.lastSeenAt = lastSeenAt; return this; } @@ -421,7 +421,7 @@ public void setLastSeenAt(Long lastSeenAt) { } - public SendbirdUser locale(String locale) { + public SendBirdUser locale(String locale) { this.locale = locale; return this; } @@ -447,7 +447,7 @@ public void setLocale(String locale) { } - public SendbirdUser metadata(Object metadata) { + public SendBirdUser metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -481,7 +481,7 @@ public void setMetadata(Object metadata) { } - public SendbirdUser nickname(String nickname) { + public SendBirdUser nickname(String nickname) { this.nickname = JsonNullable.of(nickname); return this; } @@ -515,12 +515,12 @@ public void setNickname(String nickname) { } - public SendbirdUser preferredLanguages(List preferredLanguages) { + public SendBirdUser preferredLanguages(List preferredLanguages) { this.preferredLanguages = JsonNullable.>of(preferredLanguages); return this; } - public SendbirdUser addPreferredLanguagesItem(String preferredLanguagesItem) { + public SendBirdUser addPreferredLanguagesItem(String preferredLanguagesItem) { if (this.preferredLanguages == null || !this.preferredLanguages.isPresent()) { this.preferredLanguages = JsonNullable.>of(new ArrayList<>()); } @@ -561,7 +561,7 @@ public void setPreferredLanguages(List preferredLanguages) { } - public SendbirdUser profileUrl(String profileUrl) { + public SendBirdUser profileUrl(String profileUrl) { this.profileUrl = profileUrl; return this; } @@ -587,7 +587,7 @@ public void setProfileUrl(String profileUrl) { } - public SendbirdUser requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + public SendBirdUser requireAuthForProfileImage(Boolean requireAuthForProfileImage) { this.requireAuthForProfileImage = requireAuthForProfileImage; return this; } @@ -613,7 +613,7 @@ public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { } - public SendbirdUser userId(String userId) { + public SendBirdUser userId(String userId) { this.userId = userId; return this; } @@ -639,7 +639,7 @@ public void setUserId(String userId) { } - public SendbirdUser state(StateEnum state) { + public SendBirdUser state(StateEnum state) { this.state = JsonNullable.of(state); return this; } @@ -673,7 +673,7 @@ public void setState(StateEnum state) { } - public SendbirdUser unreadChannelCount(Integer unreadChannelCount) { + public SendBirdUser unreadChannelCount(Integer unreadChannelCount) { this.unreadChannelCount = unreadChannelCount; return this; } @@ -699,7 +699,7 @@ public void setUnreadChannelCount(Integer unreadChannelCount) { } - public SendbirdUser unreadMessageCount(Integer unreadMessageCount) { + public SendBirdUser unreadMessageCount(Integer unreadMessageCount) { this.unreadMessageCount = unreadMessageCount; return this; } @@ -725,7 +725,7 @@ public void setUnreadMessageCount(Integer unreadMessageCount) { } - public SendbirdUser phoneNumber(String phoneNumber) { + public SendBirdUser phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } @@ -751,7 +751,7 @@ public void setPhoneNumber(String phoneNumber) { } - public SendbirdUser isCreated(Boolean isCreated) { + public SendBirdUser isCreated(Boolean isCreated) { this.isCreated = isCreated; return this; } @@ -778,7 +778,7 @@ public void setIsCreated(Boolean isCreated) { /** - * Return true if this Sendbird.User object is equal to o. + * Return true if this SendBird.User object is equal to o. */ @Override public boolean equals(Object o) { @@ -788,28 +788,28 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdUser sendbirdUser = (SendbirdUser) o; - return Objects.equals(this.accessToken, sendbirdUser.accessToken) && - Objects.equals(this.createdAt, sendbirdUser.createdAt) && - equalsNullable(this.discoveryKeys, sendbirdUser.discoveryKeys) && - Objects.equals(this.hasEverLoggedIn, sendbirdUser.hasEverLoggedIn) && - Objects.equals(this.isActive, sendbirdUser.isActive) && - Objects.equals(this.isHideMeFromFriends, sendbirdUser.isHideMeFromFriends) && - Objects.equals(this.isOnline, sendbirdUser.isOnline) && - Objects.equals(this.isShadowBlocked, sendbirdUser.isShadowBlocked) && - Objects.equals(this.lastSeenAt, sendbirdUser.lastSeenAt) && - Objects.equals(this.locale, sendbirdUser.locale) && - equalsNullable(this.metadata, sendbirdUser.metadata) && - equalsNullable(this.nickname, sendbirdUser.nickname) && - equalsNullable(this.preferredLanguages, sendbirdUser.preferredLanguages) && - Objects.equals(this.profileUrl, sendbirdUser.profileUrl) && - Objects.equals(this.requireAuthForProfileImage, sendbirdUser.requireAuthForProfileImage) && - Objects.equals(this.userId, sendbirdUser.userId) && - equalsNullable(this.state, sendbirdUser.state) && - Objects.equals(this.unreadChannelCount, sendbirdUser.unreadChannelCount) && - Objects.equals(this.unreadMessageCount, sendbirdUser.unreadMessageCount) && - Objects.equals(this.phoneNumber, sendbirdUser.phoneNumber) && - Objects.equals(this.isCreated, sendbirdUser.isCreated); + SendBirdUser sendBirdUser = (SendBirdUser) o; + return Objects.equals(this.accessToken, sendBirdUser.accessToken) && + Objects.equals(this.createdAt, sendBirdUser.createdAt) && + equalsNullable(this.discoveryKeys, sendBirdUser.discoveryKeys) && + Objects.equals(this.hasEverLoggedIn, sendBirdUser.hasEverLoggedIn) && + Objects.equals(this.isActive, sendBirdUser.isActive) && + Objects.equals(this.isHideMeFromFriends, sendBirdUser.isHideMeFromFriends) && + Objects.equals(this.isOnline, sendBirdUser.isOnline) && + Objects.equals(this.isShadowBlocked, sendBirdUser.isShadowBlocked) && + Objects.equals(this.lastSeenAt, sendBirdUser.lastSeenAt) && + Objects.equals(this.locale, sendBirdUser.locale) && + equalsNullable(this.metadata, sendBirdUser.metadata) && + equalsNullable(this.nickname, sendBirdUser.nickname) && + equalsNullable(this.preferredLanguages, sendBirdUser.preferredLanguages) && + Objects.equals(this.profileUrl, sendBirdUser.profileUrl) && + Objects.equals(this.requireAuthForProfileImage, sendBirdUser.requireAuthForProfileImage) && + Objects.equals(this.userId, sendBirdUser.userId) && + equalsNullable(this.state, sendBirdUser.state) && + Objects.equals(this.unreadChannelCount, sendBirdUser.unreadChannelCount) && + Objects.equals(this.unreadMessageCount, sendBirdUser.unreadMessageCount) && + Objects.equals(this.phoneNumber, sendBirdUser.phoneNumber) && + Objects.equals(this.isCreated, sendBirdUser.isCreated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -831,7 +831,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdUser {\n"); + sb.append("class SendBirdUser {\n"); sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" discoveryKeys: ").append(toIndentedString(discoveryKeys)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java index f0b77364..232cb309 100644 --- a/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java @@ -27,8 +27,8 @@ import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdFile; -import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdFile; +import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -60,7 +60,7 @@ SendFileMessageRequestBody.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendFileMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class SendFileMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; @@ -81,7 +81,7 @@ public class SendFileMessageRequestBody { private String dedupId; public static final String JSON_PROPERTY_FILES = "files"; - private SendbirdFile files; + private SendBirdFile files; public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; private Boolean isSilent; @@ -173,7 +173,7 @@ public static MessageTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_SOUND = "sound"; private String sound; @@ -352,7 +352,7 @@ public void setDedupId(String dedupId) { } - public SendFileMessageRequestBody files(SendbirdFile files) { + public SendFileMessageRequestBody files(SendBirdFile files) { this.files = files; return this; } @@ -366,14 +366,14 @@ public SendFileMessageRequestBody files(SendbirdFile files) { @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SendbirdFile getFiles() { + public SendBirdFile getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setFiles(SendbirdFile files) { + public void setFiles(SendBirdFile files) { this.files = files; } @@ -568,12 +568,12 @@ public void setSendPush(Boolean sendPush) { } - public SendFileMessageRequestBody sortedMetaarray(List sortedMetaarray) { + public SendFileMessageRequestBody sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendFileMessageRequestBody addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendFileMessageRequestBody addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -590,14 +590,14 @@ public SendFileMessageRequestBody addSortedMetaarrayItem(SendbirdSortedMetaarray @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java index dbb8d953..a4d86b22 100644 --- a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java @@ -27,8 +27,8 @@ import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; +import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplate; -import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -58,7 +58,7 @@ SendTextMessageRequestBody.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendTextMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class SendTextMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; @@ -177,7 +177,7 @@ public static MessageTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_SOUND = "sound"; private String sound; @@ -612,12 +612,12 @@ public void setSendPush(Boolean sendPush) { } - public SendTextMessageRequestBody sortedMetaarray(List sortedMetaarray) { + public SendTextMessageRequestBody sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendTextMessageRequestBody addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendTextMessageRequestBody addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -634,14 +634,14 @@ public SendTextMessageRequestBody addSortedMetaarrayItem(SendbirdSortedMetaarray @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java index 2472522f..abe7c44a 100644 --- a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java +++ b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java @@ -55,7 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") @JsonDeserialize(using = SendTextMessageRequestBodyPushMessageTemplate.SendTextMessageRequestBodyPushMessageTemplateDeserializer.class) @JsonSerialize(using = SendTextMessageRequestBodyPushMessageTemplate.SendTextMessageRequestBodyPushMessageTemplateSerializer.class) public class SendTextMessageRequestBodyPushMessageTemplate extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java b/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java index 8bcc279f..c21a0781 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java +++ b/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java @@ -33,21 +33,21 @@ /** - * SendbirdBasicUserInfo + * SendBirdBasicUserInfo */ @JsonPropertyOrder({ - SendbirdBasicUserInfo.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendbirdBasicUserInfo.JSON_PROPERTY_IS_ACTIVE, - SendbirdBasicUserInfo.JSON_PROPERTY_IS_BLOCKED_BY_ME, - SendbirdBasicUserInfo.JSON_PROPERTY_ROLE, - SendbirdBasicUserInfo.JSON_PROPERTY_NICKNAME, - SendbirdBasicUserInfo.JSON_PROPERTY_USER_ID, - SendbirdBasicUserInfo.JSON_PROPERTY_PROFILE_URL, - SendbirdBasicUserInfo.JSON_PROPERTY_METADATA + SendBirdBasicUserInfo.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendBirdBasicUserInfo.JSON_PROPERTY_IS_ACTIVE, + SendBirdBasicUserInfo.JSON_PROPERTY_IS_BLOCKED_BY_ME, + SendBirdBasicUserInfo.JSON_PROPERTY_ROLE, + SendBirdBasicUserInfo.JSON_PROPERTY_NICKNAME, + SendBirdBasicUserInfo.JSON_PROPERTY_USER_ID, + SendBirdBasicUserInfo.JSON_PROPERTY_PROFILE_URL, + SendBirdBasicUserInfo.JSON_PROPERTY_METADATA }) -@JsonTypeName("Sendbird.BasicUserInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdBasicUserInfo { +@JsonTypeName("SendBird.BasicUserInfo") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdBasicUserInfo { public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; private Boolean requireAuthForProfileImage; @@ -109,10 +109,10 @@ public static RoleEnum fromValue(String value) { public static final String JSON_PROPERTY_METADATA = "metadata"; private JsonNullable metadata = JsonNullable.undefined(); - public SendbirdBasicUserInfo() { + public SendBirdBasicUserInfo() { } - public SendbirdBasicUserInfo requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + public SendBirdBasicUserInfo requireAuthForProfileImage(Boolean requireAuthForProfileImage) { this.requireAuthForProfileImage = requireAuthForProfileImage; return this; } @@ -138,7 +138,7 @@ public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { } - public SendbirdBasicUserInfo isActive(Boolean isActive) { + public SendBirdBasicUserInfo isActive(Boolean isActive) { this.isActive = isActive; return this; } @@ -164,7 +164,7 @@ public void setIsActive(Boolean isActive) { } - public SendbirdBasicUserInfo isBlockedByMe(Boolean isBlockedByMe) { + public SendBirdBasicUserInfo isBlockedByMe(Boolean isBlockedByMe) { this.isBlockedByMe = isBlockedByMe; return this; } @@ -190,7 +190,7 @@ public void setIsBlockedByMe(Boolean isBlockedByMe) { } - public SendbirdBasicUserInfo role(RoleEnum role) { + public SendBirdBasicUserInfo role(RoleEnum role) { this.role = role; return this; } @@ -216,7 +216,7 @@ public void setRole(RoleEnum role) { } - public SendbirdBasicUserInfo nickname(String nickname) { + public SendBirdBasicUserInfo nickname(String nickname) { this.nickname = JsonNullable.of(nickname); return this; } @@ -250,7 +250,7 @@ public void setNickname(String nickname) { } - public SendbirdBasicUserInfo userId(String userId) { + public SendBirdBasicUserInfo userId(String userId) { this.userId = userId; return this; } @@ -276,7 +276,7 @@ public void setUserId(String userId) { } - public SendbirdBasicUserInfo profileUrl(String profileUrl) { + public SendBirdBasicUserInfo profileUrl(String profileUrl) { this.profileUrl = profileUrl; return this; } @@ -302,7 +302,7 @@ public void setProfileUrl(String profileUrl) { } - public SendbirdBasicUserInfo metadata(Object metadata) { + public SendBirdBasicUserInfo metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -337,7 +337,7 @@ public void setMetadata(Object metadata) { /** - * Return true if this Sendbird.BasicUserInfo object is equal to o. + * Return true if this SendBird.BasicUserInfo object is equal to o. */ @Override public boolean equals(Object o) { @@ -347,15 +347,15 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdBasicUserInfo sendbirdBasicUserInfo = (SendbirdBasicUserInfo) o; - return Objects.equals(this.requireAuthForProfileImage, sendbirdBasicUserInfo.requireAuthForProfileImage) && - Objects.equals(this.isActive, sendbirdBasicUserInfo.isActive) && - Objects.equals(this.isBlockedByMe, sendbirdBasicUserInfo.isBlockedByMe) && - Objects.equals(this.role, sendbirdBasicUserInfo.role) && - equalsNullable(this.nickname, sendbirdBasicUserInfo.nickname) && - Objects.equals(this.userId, sendbirdBasicUserInfo.userId) && - Objects.equals(this.profileUrl, sendbirdBasicUserInfo.profileUrl) && - equalsNullable(this.metadata, sendbirdBasicUserInfo.metadata); + SendBirdBasicUserInfo sendBirdBasicUserInfo = (SendBirdBasicUserInfo) o; + return Objects.equals(this.requireAuthForProfileImage, sendBirdBasicUserInfo.requireAuthForProfileImage) && + Objects.equals(this.isActive, sendBirdBasicUserInfo.isActive) && + Objects.equals(this.isBlockedByMe, sendBirdBasicUserInfo.isBlockedByMe) && + Objects.equals(this.role, sendBirdBasicUserInfo.role) && + equalsNullable(this.nickname, sendBirdBasicUserInfo.nickname) && + Objects.equals(this.userId, sendBirdBasicUserInfo.userId) && + Objects.equals(this.profileUrl, sendBirdBasicUserInfo.profileUrl) && + equalsNullable(this.metadata, sendBirdBasicUserInfo.metadata); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -377,7 +377,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdBasicUserInfo {\n"); + sb.append("class SendBirdBasicUserInfo {\n"); sb.append(" requireAuthForProfileImage: ").append(toIndentedString(requireAuthForProfileImage)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); sb.append(" isBlockedByMe: ").append(toIndentedString(isBlockedByMe)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java b/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java index 56edee78..fc6ddb4a 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java +++ b/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java @@ -29,25 +29,25 @@ /** - * SendbirdDisappearingMessage + * SendBirdDisappearingMessage */ @JsonPropertyOrder({ - SendbirdDisappearingMessage.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendbirdDisappearingMessage.JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ + SendBirdDisappearingMessage.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdDisappearingMessage.JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ }) -@JsonTypeName("Sendbird.DisappearingMessage") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdDisappearingMessage { +@JsonTypeName("SendBird.DisappearingMessage") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdDisappearingMessage { public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; public static final String JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ = "is_triggered_by_message_read"; private Boolean isTriggeredByMessageRead; - public SendbirdDisappearingMessage() { + public SendBirdDisappearingMessage() { } - public SendbirdDisappearingMessage messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendBirdDisappearingMessage messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -73,7 +73,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendbirdDisappearingMessage isTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { + public SendBirdDisappearingMessage isTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { this.isTriggeredByMessageRead = isTriggeredByMessageRead; return this; } @@ -100,7 +100,7 @@ public void setIsTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { /** - * Return true if this Sendbird.DisappearingMessage object is equal to o. + * Return true if this SendBird.DisappearingMessage object is equal to o. */ @Override public boolean equals(Object o) { @@ -110,9 +110,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdDisappearingMessage sendbirdDisappearingMessage = (SendbirdDisappearingMessage) o; - return Objects.equals(this.messageSurvivalSeconds, sendbirdDisappearingMessage.messageSurvivalSeconds) && - Objects.equals(this.isTriggeredByMessageRead, sendbirdDisappearingMessage.isTriggeredByMessageRead); + SendBirdDisappearingMessage sendBirdDisappearingMessage = (SendBirdDisappearingMessage) o; + return Objects.equals(this.messageSurvivalSeconds, sendBirdDisappearingMessage.messageSurvivalSeconds) && + Objects.equals(this.isTriggeredByMessageRead, sendBirdDisappearingMessage.isTriggeredByMessageRead); } @Override @@ -123,7 +123,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdDisappearingMessage {\n"); + sb.append("class SendBirdDisappearingMessage {\n"); sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); sb.append(" isTriggeredByMessageRead: ").append(toIndentedString(isTriggeredByMessageRead)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java index e9143ac5..9aceace1 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java +++ b/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java @@ -35,22 +35,22 @@ */ @ApiModel(description = "Specifies the extended message payload which is used to send a message with a custom message type.") @JsonPropertyOrder({ - SendbirdExtendedMessagePayload.JSON_PROPERTY_CUSTOM_VIEW, - SendbirdExtendedMessagePayload.JSON_PROPERTY_SUGGESTED_REPLIES + SendBirdExtendedMessagePayload.JSON_PROPERTY_CUSTOM_VIEW, + SendBirdExtendedMessagePayload.JSON_PROPERTY_SUGGESTED_REPLIES }) -@JsonTypeName("Sendbird.ExtendedMessagePayload") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdExtendedMessagePayload { +@JsonTypeName("SendBird.ExtendedMessagePayload") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdExtendedMessagePayload { public static final String JSON_PROPERTY_CUSTOM_VIEW = "custom_view"; private Object customView; public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; private List suggestedReplies = null; - public SendbirdExtendedMessagePayload() { + public SendBirdExtendedMessagePayload() { } - public SendbirdExtendedMessagePayload customView(Object customView) { + public SendBirdExtendedMessagePayload customView(Object customView) { this.customView = customView; return this; } @@ -76,12 +76,12 @@ public void setCustomView(Object customView) { } - public SendbirdExtendedMessagePayload suggestedReplies(List suggestedReplies) { + public SendBirdExtendedMessagePayload suggestedReplies(List suggestedReplies) { this.suggestedReplies = suggestedReplies; return this; } - public SendbirdExtendedMessagePayload addSuggestedRepliesItem(String suggestedRepliesItem) { + public SendBirdExtendedMessagePayload addSuggestedRepliesItem(String suggestedRepliesItem) { if (this.suggestedReplies == null) { this.suggestedReplies = new ArrayList<>(); } @@ -111,7 +111,7 @@ public void setSuggestedReplies(List suggestedReplies) { /** - * Return true if this Sendbird.ExtendedMessagePayload object is equal to o. + * Return true if this SendBird.ExtendedMessagePayload object is equal to o. */ @Override public boolean equals(Object o) { @@ -121,9 +121,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdExtendedMessagePayload sendbirdExtendedMessagePayload = (SendbirdExtendedMessagePayload) o; - return Objects.equals(this.customView, sendbirdExtendedMessagePayload.customView) && - Objects.equals(this.suggestedReplies, sendbirdExtendedMessagePayload.suggestedReplies); + SendBirdExtendedMessagePayload sendBirdExtendedMessagePayload = (SendBirdExtendedMessagePayload) o; + return Objects.equals(this.customView, sendBirdExtendedMessagePayload.customView) && + Objects.equals(this.suggestedReplies, sendBirdExtendedMessagePayload.suggestedReplies); } @Override @@ -134,7 +134,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdExtendedMessagePayload {\n"); + sb.append("class SendBirdExtendedMessagePayload {\n"); sb.append(" customView: ").append(toIndentedString(customView)).append("\n"); sb.append(" suggestedReplies: ").append(toIndentedString(suggestedReplies)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java index 478046fb..cd0d2ce7 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java @@ -28,60 +28,60 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.openapitools.client.model.SendbirdBasicUserInfo; -import org.openapitools.client.model.SendbirdDisappearingMessage; -import org.openapitools.client.model.SendbirdGroupChannelDetailChannel; -import org.openapitools.client.model.SendbirdMember; -import org.openapitools.client.model.SendbirdMessageResponse; -import org.openapitools.client.model.SendbirdSmsFallback; -import org.openapitools.client.model.SendbirdUser; +import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdDisappearingMessage; +import org.openapitools.client.model.SendBirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendBirdMember; +import org.openapitools.client.model.SendBirdMessageResponse; +import org.openapitools.client.model.SendBirdSmsFallback; +import org.openapitools.client.model.SendBirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; /** - * SendbirdGroupChannelDetail + * SendBirdGroupChannelDetail */ @JsonPropertyOrder({ - SendbirdGroupChannelDetail.JSON_PROPERTY_CHANNEL, - SendbirdGroupChannelDetail.JSON_PROPERTY_CHANNEL_URL, - SendbirdGroupChannelDetail.JSON_PROPERTY_COVER_URL, - SendbirdGroupChannelDetail.JSON_PROPERTY_CREATED_AT, - SendbirdGroupChannelDetail.JSON_PROPERTY_CREATED_BY, - SendbirdGroupChannelDetail.JSON_PROPERTY_CUSTOM_TYPE, - SendbirdGroupChannelDetail.JSON_PROPERTY_DATA, - SendbirdGroupChannelDetail.JSON_PROPERTY_DELIVERY_RECEIPT, - SendbirdGroupChannelDetail.JSON_PROPERTY_DISAPPEARING_MESSAGE, - SendbirdGroupChannelDetail.JSON_PROPERTY_FREEZE, - SendbirdGroupChannelDetail.JSON_PROPERTY_HAS_AI_BOT, - SendbirdGroupChannelDetail.JSON_PROPERTY_HAS_BOT, - SendbirdGroupChannelDetail.JSON_PROPERTY_ID, - SendbirdGroupChannelDetail.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, - SendbirdGroupChannelDetail.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, - SendbirdGroupChannelDetail.JSON_PROPERTY_IS_BROADCAST, - SendbirdGroupChannelDetail.JSON_PROPERTY_IS_DISCOVERABLE, - SendbirdGroupChannelDetail.JSON_PROPERTY_IS_DISTINCT, - SendbirdGroupChannelDetail.JSON_PROPERTY_IS_EPHEMERAL, - SendbirdGroupChannelDetail.JSON_PROPERTY_IS_PUBLIC, - SendbirdGroupChannelDetail.JSON_PROPERTY_IS_SUPER, - SendbirdGroupChannelDetail.JSON_PROPERTY_JOINED_MEMBER_COUNT, - SendbirdGroupChannelDetail.JSON_PROPERTY_LAST_MESSAGE, - SendbirdGroupChannelDetail.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendbirdGroupChannelDetail.JSON_PROPERTY_MEMBER_COUNT, - SendbirdGroupChannelDetail.JSON_PROPERTY_MEMBERS, - SendbirdGroupChannelDetail.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendbirdGroupChannelDetail.JSON_PROPERTY_NAME, - SendbirdGroupChannelDetail.JSON_PROPERTY_OPERATORS, - SendbirdGroupChannelDetail.JSON_PROPERTY_READ_RECEIPT, - SendbirdGroupChannelDetail.JSON_PROPERTY_SMS_FALLBACK, - SendbirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MENTION_COUNT, - SendbirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MESSAGE_COUNT + SendBirdGroupChannelDetail.JSON_PROPERTY_CHANNEL, + SendBirdGroupChannelDetail.JSON_PROPERTY_CHANNEL_URL, + SendBirdGroupChannelDetail.JSON_PROPERTY_COVER_URL, + SendBirdGroupChannelDetail.JSON_PROPERTY_CREATED_AT, + SendBirdGroupChannelDetail.JSON_PROPERTY_CREATED_BY, + SendBirdGroupChannelDetail.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdGroupChannelDetail.JSON_PROPERTY_DATA, + SendBirdGroupChannelDetail.JSON_PROPERTY_DELIVERY_RECEIPT, + SendBirdGroupChannelDetail.JSON_PROPERTY_DISAPPEARING_MESSAGE, + SendBirdGroupChannelDetail.JSON_PROPERTY_FREEZE, + SendBirdGroupChannelDetail.JSON_PROPERTY_HAS_AI_BOT, + SendBirdGroupChannelDetail.JSON_PROPERTY_HAS_BOT, + SendBirdGroupChannelDetail.JSON_PROPERTY_ID, + SendBirdGroupChannelDetail.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, + SendBirdGroupChannelDetail.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, + SendBirdGroupChannelDetail.JSON_PROPERTY_IS_BROADCAST, + SendBirdGroupChannelDetail.JSON_PROPERTY_IS_DISCOVERABLE, + SendBirdGroupChannelDetail.JSON_PROPERTY_IS_DISTINCT, + SendBirdGroupChannelDetail.JSON_PROPERTY_IS_EPHEMERAL, + SendBirdGroupChannelDetail.JSON_PROPERTY_IS_PUBLIC, + SendBirdGroupChannelDetail.JSON_PROPERTY_IS_SUPER, + SendBirdGroupChannelDetail.JSON_PROPERTY_JOINED_MEMBER_COUNT, + SendBirdGroupChannelDetail.JSON_PROPERTY_LAST_MESSAGE, + SendBirdGroupChannelDetail.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdGroupChannelDetail.JSON_PROPERTY_MEMBER_COUNT, + SendBirdGroupChannelDetail.JSON_PROPERTY_MEMBERS, + SendBirdGroupChannelDetail.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendBirdGroupChannelDetail.JSON_PROPERTY_NAME, + SendBirdGroupChannelDetail.JSON_PROPERTY_OPERATORS, + SendBirdGroupChannelDetail.JSON_PROPERTY_READ_RECEIPT, + SendBirdGroupChannelDetail.JSON_PROPERTY_SMS_FALLBACK, + SendBirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MENTION_COUNT, + SendBirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MESSAGE_COUNT }) -@JsonTypeName("Sendbird.GroupChannelDetail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdGroupChannelDetail { +@JsonTypeName("SendBird.GroupChannelDetail") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdGroupChannelDetail { public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendbirdGroupChannelDetailChannel channel; + private SendBirdGroupChannelDetailChannel channel; public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -93,7 +93,7 @@ public class SendbirdGroupChannelDetail { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendbirdBasicUserInfo createdBy; + private SendBirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -105,7 +105,7 @@ public class SendbirdGroupChannelDetail { private Map deliveryReceipt = null; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendbirdDisappearingMessage disappearingMessage; + private SendBirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -147,7 +147,7 @@ public class SendbirdGroupChannelDetail { private Integer joinedMemberCount; public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendbirdMessageResponse lastMessage; + private SendBirdMessageResponse lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -156,7 +156,7 @@ public class SendbirdGroupChannelDetail { private Integer memberCount; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -165,13 +165,13 @@ public class SendbirdGroupChannelDetail { private String name; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendbirdSmsFallback smsFallback; + private SendBirdSmsFallback smsFallback; public static final String JSON_PROPERTY_UNREAD_MENTION_COUNT = "unread_mention_count"; private Integer unreadMentionCount; @@ -179,10 +179,10 @@ public class SendbirdGroupChannelDetail { public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; private Integer unreadMessageCount; - public SendbirdGroupChannelDetail() { + public SendBirdGroupChannelDetail() { } - public SendbirdGroupChannelDetail channel(SendbirdGroupChannelDetailChannel channel) { + public SendBirdGroupChannelDetail channel(SendBirdGroupChannelDetailChannel channel) { this.channel = channel; return this; } @@ -196,19 +196,19 @@ public SendbirdGroupChannelDetail channel(SendbirdGroupChannelDetailChannel chan @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdGroupChannelDetailChannel getChannel() { + public SendBirdGroupChannelDetailChannel getChannel() { return channel; } @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendbirdGroupChannelDetailChannel channel) { + public void setChannel(SendBirdGroupChannelDetailChannel channel) { this.channel = channel; } - public SendbirdGroupChannelDetail channelUrl(String channelUrl) { + public SendBirdGroupChannelDetail channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -234,7 +234,7 @@ public void setChannelUrl(String channelUrl) { } - public SendbirdGroupChannelDetail coverUrl(String coverUrl) { + public SendBirdGroupChannelDetail coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -260,7 +260,7 @@ public void setCoverUrl(String coverUrl) { } - public SendbirdGroupChannelDetail createdAt(Long createdAt) { + public SendBirdGroupChannelDetail createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -286,7 +286,7 @@ public void setCreatedAt(Long createdAt) { } - public SendbirdGroupChannelDetail createdBy(SendbirdBasicUserInfo createdBy) { + public SendBirdGroupChannelDetail createdBy(SendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -300,19 +300,19 @@ public SendbirdGroupChannelDetail createdBy(SendbirdBasicUserInfo createdBy) { @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdBasicUserInfo getCreatedBy() { + public SendBirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendbirdBasicUserInfo createdBy) { + public void setCreatedBy(SendBirdBasicUserInfo createdBy) { this.createdBy = createdBy; } - public SendbirdGroupChannelDetail customType(String customType) { + public SendBirdGroupChannelDetail customType(String customType) { this.customType = customType; return this; } @@ -338,7 +338,7 @@ public void setCustomType(String customType) { } - public SendbirdGroupChannelDetail data(String data) { + public SendBirdGroupChannelDetail data(String data) { this.data = data; return this; } @@ -364,12 +364,12 @@ public void setData(String data) { } - public SendbirdGroupChannelDetail deliveryReceipt(Map deliveryReceipt) { + public SendBirdGroupChannelDetail deliveryReceipt(Map deliveryReceipt) { this.deliveryReceipt = deliveryReceipt; return this; } - public SendbirdGroupChannelDetail putDeliveryReceiptItem(String key, Long deliveryReceiptItem) { + public SendBirdGroupChannelDetail putDeliveryReceiptItem(String key, Long deliveryReceiptItem) { if (this.deliveryReceipt == null) { this.deliveryReceipt = new HashMap<>(); } @@ -398,7 +398,7 @@ public void setDeliveryReceipt(Map deliveryReceipt) { } - public SendbirdGroupChannelDetail disappearingMessage(SendbirdDisappearingMessage disappearingMessage) { + public SendBirdGroupChannelDetail disappearingMessage(SendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -412,19 +412,19 @@ public SendbirdGroupChannelDetail disappearingMessage(SendbirdDisappearingMessag @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdDisappearingMessage getDisappearingMessage() { + public SendBirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendbirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendBirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } - public SendbirdGroupChannelDetail freeze(Boolean freeze) { + public SendBirdGroupChannelDetail freeze(Boolean freeze) { this.freeze = freeze; return this; } @@ -450,7 +450,7 @@ public void setFreeze(Boolean freeze) { } - public SendbirdGroupChannelDetail hasAiBot(Boolean hasAiBot) { + public SendBirdGroupChannelDetail hasAiBot(Boolean hasAiBot) { this.hasAiBot = hasAiBot; return this; } @@ -476,7 +476,7 @@ public void setHasAiBot(Boolean hasAiBot) { } - public SendbirdGroupChannelDetail hasBot(Boolean hasBot) { + public SendBirdGroupChannelDetail hasBot(Boolean hasBot) { this.hasBot = hasBot; return this; } @@ -502,7 +502,7 @@ public void setHasBot(Boolean hasBot) { } - public SendbirdGroupChannelDetail id(Integer id) { + public SendBirdGroupChannelDetail id(Integer id) { this.id = id; return this; } @@ -528,7 +528,7 @@ public void setId(Integer id) { } - public SendbirdGroupChannelDetail ignoreProfanityFilter(Boolean ignoreProfanityFilter) { + public SendBirdGroupChannelDetail ignoreProfanityFilter(Boolean ignoreProfanityFilter) { this.ignoreProfanityFilter = ignoreProfanityFilter; return this; } @@ -554,7 +554,7 @@ public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { } - public SendbirdGroupChannelDetail isAccessCodeRequired(Boolean isAccessCodeRequired) { + public SendBirdGroupChannelDetail isAccessCodeRequired(Boolean isAccessCodeRequired) { this.isAccessCodeRequired = isAccessCodeRequired; return this; } @@ -580,7 +580,7 @@ public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { } - public SendbirdGroupChannelDetail isBroadcast(Boolean isBroadcast) { + public SendBirdGroupChannelDetail isBroadcast(Boolean isBroadcast) { this.isBroadcast = isBroadcast; return this; } @@ -606,7 +606,7 @@ public void setIsBroadcast(Boolean isBroadcast) { } - public SendbirdGroupChannelDetail isDiscoverable(Boolean isDiscoverable) { + public SendBirdGroupChannelDetail isDiscoverable(Boolean isDiscoverable) { this.isDiscoverable = isDiscoverable; return this; } @@ -632,7 +632,7 @@ public void setIsDiscoverable(Boolean isDiscoverable) { } - public SendbirdGroupChannelDetail isDistinct(Boolean isDistinct) { + public SendBirdGroupChannelDetail isDistinct(Boolean isDistinct) { this.isDistinct = isDistinct; return this; } @@ -658,7 +658,7 @@ public void setIsDistinct(Boolean isDistinct) { } - public SendbirdGroupChannelDetail isEphemeral(Boolean isEphemeral) { + public SendBirdGroupChannelDetail isEphemeral(Boolean isEphemeral) { this.isEphemeral = isEphemeral; return this; } @@ -684,7 +684,7 @@ public void setIsEphemeral(Boolean isEphemeral) { } - public SendbirdGroupChannelDetail isPublic(Boolean isPublic) { + public SendBirdGroupChannelDetail isPublic(Boolean isPublic) { this.isPublic = isPublic; return this; } @@ -710,7 +710,7 @@ public void setIsPublic(Boolean isPublic) { } - public SendbirdGroupChannelDetail isSuper(Boolean isSuper) { + public SendBirdGroupChannelDetail isSuper(Boolean isSuper) { this.isSuper = isSuper; return this; } @@ -736,7 +736,7 @@ public void setIsSuper(Boolean isSuper) { } - public SendbirdGroupChannelDetail joinedMemberCount(Integer joinedMemberCount) { + public SendBirdGroupChannelDetail joinedMemberCount(Integer joinedMemberCount) { this.joinedMemberCount = joinedMemberCount; return this; } @@ -762,7 +762,7 @@ public void setJoinedMemberCount(Integer joinedMemberCount) { } - public SendbirdGroupChannelDetail lastMessage(SendbirdMessageResponse lastMessage) { + public SendBirdGroupChannelDetail lastMessage(SendBirdMessageResponse lastMessage) { this.lastMessage = lastMessage; return this; } @@ -776,19 +776,19 @@ public SendbirdGroupChannelDetail lastMessage(SendbirdMessageResponse lastMessag @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdMessageResponse getLastMessage() { + public SendBirdMessageResponse getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendbirdMessageResponse lastMessage) { + public void setLastMessage(SendBirdMessageResponse lastMessage) { this.lastMessage = lastMessage; } - public SendbirdGroupChannelDetail maxLengthMessage(Integer maxLengthMessage) { + public SendBirdGroupChannelDetail maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -814,7 +814,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendbirdGroupChannelDetail memberCount(Integer memberCount) { + public SendBirdGroupChannelDetail memberCount(Integer memberCount) { this.memberCount = memberCount; return this; } @@ -840,12 +840,12 @@ public void setMemberCount(Integer memberCount) { } - public SendbirdGroupChannelDetail members(List members) { + public SendBirdGroupChannelDetail members(List members) { this.members = members; return this; } - public SendbirdGroupChannelDetail addMembersItem(SendbirdMember membersItem) { + public SendBirdGroupChannelDetail addMembersItem(SendBirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -862,19 +862,19 @@ public SendbirdGroupChannelDetail addMembersItem(SendbirdMember membersItem) { @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } - public SendbirdGroupChannelDetail messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendBirdGroupChannelDetail messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -900,7 +900,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendbirdGroupChannelDetail name(String name) { + public SendBirdGroupChannelDetail name(String name) { this.name = name; return this; } @@ -926,12 +926,12 @@ public void setName(String name) { } - public SendbirdGroupChannelDetail operators(List operators) { + public SendBirdGroupChannelDetail operators(List operators) { this.operators = operators; return this; } - public SendbirdGroupChannelDetail addOperatorsItem(SendbirdUser operatorsItem) { + public SendBirdGroupChannelDetail addOperatorsItem(SendBirdUser operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -948,24 +948,24 @@ public SendbirdGroupChannelDetail addOperatorsItem(SendbirdUser operatorsItem) { @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } - public SendbirdGroupChannelDetail readReceipt(Map readReceipt) { + public SendBirdGroupChannelDetail readReceipt(Map readReceipt) { this.readReceipt = readReceipt; return this; } - public SendbirdGroupChannelDetail putReadReceiptItem(String key, Long readReceiptItem) { + public SendBirdGroupChannelDetail putReadReceiptItem(String key, Long readReceiptItem) { if (this.readReceipt == null) { this.readReceipt = new HashMap<>(); } @@ -994,7 +994,7 @@ public void setReadReceipt(Map readReceipt) { } - public SendbirdGroupChannelDetail smsFallback(SendbirdSmsFallback smsFallback) { + public SendBirdGroupChannelDetail smsFallback(SendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1008,19 +1008,19 @@ public SendbirdGroupChannelDetail smsFallback(SendbirdSmsFallback smsFallback) { @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdSmsFallback getSmsFallback() { + public SendBirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendbirdSmsFallback smsFallback) { + public void setSmsFallback(SendBirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } - public SendbirdGroupChannelDetail unreadMentionCount(Integer unreadMentionCount) { + public SendBirdGroupChannelDetail unreadMentionCount(Integer unreadMentionCount) { this.unreadMentionCount = unreadMentionCount; return this; } @@ -1046,7 +1046,7 @@ public void setUnreadMentionCount(Integer unreadMentionCount) { } - public SendbirdGroupChannelDetail unreadMessageCount(Integer unreadMessageCount) { + public SendBirdGroupChannelDetail unreadMessageCount(Integer unreadMessageCount) { this.unreadMessageCount = unreadMessageCount; return this; } @@ -1073,7 +1073,7 @@ public void setUnreadMessageCount(Integer unreadMessageCount) { /** - * Return true if this Sendbird.GroupChannelDetail object is equal to o. + * Return true if this SendBird.GroupChannelDetail object is equal to o. */ @Override public boolean equals(Object o) { @@ -1083,40 +1083,40 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdGroupChannelDetail sendbirdGroupChannelDetail = (SendbirdGroupChannelDetail) o; - return Objects.equals(this.channel, sendbirdGroupChannelDetail.channel) && - Objects.equals(this.channelUrl, sendbirdGroupChannelDetail.channelUrl) && - Objects.equals(this.coverUrl, sendbirdGroupChannelDetail.coverUrl) && - Objects.equals(this.createdAt, sendbirdGroupChannelDetail.createdAt) && - Objects.equals(this.createdBy, sendbirdGroupChannelDetail.createdBy) && - Objects.equals(this.customType, sendbirdGroupChannelDetail.customType) && - Objects.equals(this.data, sendbirdGroupChannelDetail.data) && - Objects.equals(this.deliveryReceipt, sendbirdGroupChannelDetail.deliveryReceipt) && - Objects.equals(this.disappearingMessage, sendbirdGroupChannelDetail.disappearingMessage) && - Objects.equals(this.freeze, sendbirdGroupChannelDetail.freeze) && - Objects.equals(this.hasAiBot, sendbirdGroupChannelDetail.hasAiBot) && - Objects.equals(this.hasBot, sendbirdGroupChannelDetail.hasBot) && - Objects.equals(this.id, sendbirdGroupChannelDetail.id) && - Objects.equals(this.ignoreProfanityFilter, sendbirdGroupChannelDetail.ignoreProfanityFilter) && - Objects.equals(this.isAccessCodeRequired, sendbirdGroupChannelDetail.isAccessCodeRequired) && - Objects.equals(this.isBroadcast, sendbirdGroupChannelDetail.isBroadcast) && - Objects.equals(this.isDiscoverable, sendbirdGroupChannelDetail.isDiscoverable) && - Objects.equals(this.isDistinct, sendbirdGroupChannelDetail.isDistinct) && - Objects.equals(this.isEphemeral, sendbirdGroupChannelDetail.isEphemeral) && - Objects.equals(this.isPublic, sendbirdGroupChannelDetail.isPublic) && - Objects.equals(this.isSuper, sendbirdGroupChannelDetail.isSuper) && - Objects.equals(this.joinedMemberCount, sendbirdGroupChannelDetail.joinedMemberCount) && - Objects.equals(this.lastMessage, sendbirdGroupChannelDetail.lastMessage) && - Objects.equals(this.maxLengthMessage, sendbirdGroupChannelDetail.maxLengthMessage) && - Objects.equals(this.memberCount, sendbirdGroupChannelDetail.memberCount) && - Objects.equals(this.members, sendbirdGroupChannelDetail.members) && - Objects.equals(this.messageSurvivalSeconds, sendbirdGroupChannelDetail.messageSurvivalSeconds) && - Objects.equals(this.name, sendbirdGroupChannelDetail.name) && - Objects.equals(this.operators, sendbirdGroupChannelDetail.operators) && - Objects.equals(this.readReceipt, sendbirdGroupChannelDetail.readReceipt) && - Objects.equals(this.smsFallback, sendbirdGroupChannelDetail.smsFallback) && - Objects.equals(this.unreadMentionCount, sendbirdGroupChannelDetail.unreadMentionCount) && - Objects.equals(this.unreadMessageCount, sendbirdGroupChannelDetail.unreadMessageCount); + SendBirdGroupChannelDetail sendBirdGroupChannelDetail = (SendBirdGroupChannelDetail) o; + return Objects.equals(this.channel, sendBirdGroupChannelDetail.channel) && + Objects.equals(this.channelUrl, sendBirdGroupChannelDetail.channelUrl) && + Objects.equals(this.coverUrl, sendBirdGroupChannelDetail.coverUrl) && + Objects.equals(this.createdAt, sendBirdGroupChannelDetail.createdAt) && + Objects.equals(this.createdBy, sendBirdGroupChannelDetail.createdBy) && + Objects.equals(this.customType, sendBirdGroupChannelDetail.customType) && + Objects.equals(this.data, sendBirdGroupChannelDetail.data) && + Objects.equals(this.deliveryReceipt, sendBirdGroupChannelDetail.deliveryReceipt) && + Objects.equals(this.disappearingMessage, sendBirdGroupChannelDetail.disappearingMessage) && + Objects.equals(this.freeze, sendBirdGroupChannelDetail.freeze) && + Objects.equals(this.hasAiBot, sendBirdGroupChannelDetail.hasAiBot) && + Objects.equals(this.hasBot, sendBirdGroupChannelDetail.hasBot) && + Objects.equals(this.id, sendBirdGroupChannelDetail.id) && + Objects.equals(this.ignoreProfanityFilter, sendBirdGroupChannelDetail.ignoreProfanityFilter) && + Objects.equals(this.isAccessCodeRequired, sendBirdGroupChannelDetail.isAccessCodeRequired) && + Objects.equals(this.isBroadcast, sendBirdGroupChannelDetail.isBroadcast) && + Objects.equals(this.isDiscoverable, sendBirdGroupChannelDetail.isDiscoverable) && + Objects.equals(this.isDistinct, sendBirdGroupChannelDetail.isDistinct) && + Objects.equals(this.isEphemeral, sendBirdGroupChannelDetail.isEphemeral) && + Objects.equals(this.isPublic, sendBirdGroupChannelDetail.isPublic) && + Objects.equals(this.isSuper, sendBirdGroupChannelDetail.isSuper) && + Objects.equals(this.joinedMemberCount, sendBirdGroupChannelDetail.joinedMemberCount) && + Objects.equals(this.lastMessage, sendBirdGroupChannelDetail.lastMessage) && + Objects.equals(this.maxLengthMessage, sendBirdGroupChannelDetail.maxLengthMessage) && + Objects.equals(this.memberCount, sendBirdGroupChannelDetail.memberCount) && + Objects.equals(this.members, sendBirdGroupChannelDetail.members) && + Objects.equals(this.messageSurvivalSeconds, sendBirdGroupChannelDetail.messageSurvivalSeconds) && + Objects.equals(this.name, sendBirdGroupChannelDetail.name) && + Objects.equals(this.operators, sendBirdGroupChannelDetail.operators) && + Objects.equals(this.readReceipt, sendBirdGroupChannelDetail.readReceipt) && + Objects.equals(this.smsFallback, sendBirdGroupChannelDetail.smsFallback) && + Objects.equals(this.unreadMentionCount, sendBirdGroupChannelDetail.unreadMentionCount) && + Objects.equals(this.unreadMessageCount, sendBirdGroupChannelDetail.unreadMessageCount); } @Override @@ -1127,7 +1127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdGroupChannelDetail {\n"); + sb.append("class SendBirdGroupChannelDetail {\n"); sb.append(" channel: ").append(toIndentedString(channel)).append("\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java index 4aaa4da9..6a9676b2 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java @@ -29,21 +29,21 @@ /** - * SendbirdGroupChannelDetailChannel + * SendBirdGroupChannelDetailChannel */ @JsonPropertyOrder({ - SendbirdGroupChannelDetailChannel.JSON_PROPERTY_CHANNEL_URL, - SendbirdGroupChannelDetailChannel.JSON_PROPERTY_COVER_URL, - SendbirdGroupChannelDetailChannel.JSON_PROPERTY_CREATED_AT, - SendbirdGroupChannelDetailChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendbirdGroupChannelDetailChannel.JSON_PROPERTY_DATA, - SendbirdGroupChannelDetailChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendbirdGroupChannelDetailChannel.JSON_PROPERTY_MEMBER_COUNT, - SendbirdGroupChannelDetailChannel.JSON_PROPERTY_NAME + SendBirdGroupChannelDetailChannel.JSON_PROPERTY_CHANNEL_URL, + SendBirdGroupChannelDetailChannel.JSON_PROPERTY_COVER_URL, + SendBirdGroupChannelDetailChannel.JSON_PROPERTY_CREATED_AT, + SendBirdGroupChannelDetailChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendBirdGroupChannelDetailChannel.JSON_PROPERTY_DATA, + SendBirdGroupChannelDetailChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendBirdGroupChannelDetailChannel.JSON_PROPERTY_MEMBER_COUNT, + SendBirdGroupChannelDetailChannel.JSON_PROPERTY_NAME }) -@JsonTypeName("Sendbird_GroupChannelDetail_channel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdGroupChannelDetailChannel { +@JsonTypeName("SendBird_GroupChannelDetail_channel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdGroupChannelDetailChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -68,10 +68,10 @@ public class SendbirdGroupChannelDetailChannel { public static final String JSON_PROPERTY_NAME = "name"; private String name; - public SendbirdGroupChannelDetailChannel() { + public SendBirdGroupChannelDetailChannel() { } - public SendbirdGroupChannelDetailChannel channelUrl(String channelUrl) { + public SendBirdGroupChannelDetailChannel channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -97,7 +97,7 @@ public void setChannelUrl(String channelUrl) { } - public SendbirdGroupChannelDetailChannel coverUrl(String coverUrl) { + public SendBirdGroupChannelDetailChannel coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -123,7 +123,7 @@ public void setCoverUrl(String coverUrl) { } - public SendbirdGroupChannelDetailChannel createdAt(Long createdAt) { + public SendBirdGroupChannelDetailChannel createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -149,7 +149,7 @@ public void setCreatedAt(Long createdAt) { } - public SendbirdGroupChannelDetailChannel customType(String customType) { + public SendBirdGroupChannelDetailChannel customType(String customType) { this.customType = customType; return this; } @@ -175,7 +175,7 @@ public void setCustomType(String customType) { } - public SendbirdGroupChannelDetailChannel data(String data) { + public SendBirdGroupChannelDetailChannel data(String data) { this.data = data; return this; } @@ -201,7 +201,7 @@ public void setData(String data) { } - public SendbirdGroupChannelDetailChannel maxLengthMessage(Integer maxLengthMessage) { + public SendBirdGroupChannelDetailChannel maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -227,7 +227,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendbirdGroupChannelDetailChannel memberCount(Integer memberCount) { + public SendBirdGroupChannelDetailChannel memberCount(Integer memberCount) { this.memberCount = memberCount; return this; } @@ -253,7 +253,7 @@ public void setMemberCount(Integer memberCount) { } - public SendbirdGroupChannelDetailChannel name(String name) { + public SendBirdGroupChannelDetailChannel name(String name) { this.name = name; return this; } @@ -280,7 +280,7 @@ public void setName(String name) { /** - * Return true if this Sendbird_GroupChannelDetail_channel object is equal to o. + * Return true if this SendBird_GroupChannelDetail_channel object is equal to o. */ @Override public boolean equals(Object o) { @@ -290,15 +290,15 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdGroupChannelDetailChannel sendbirdGroupChannelDetailChannel = (SendbirdGroupChannelDetailChannel) o; - return Objects.equals(this.channelUrl, sendbirdGroupChannelDetailChannel.channelUrl) && - Objects.equals(this.coverUrl, sendbirdGroupChannelDetailChannel.coverUrl) && - Objects.equals(this.createdAt, sendbirdGroupChannelDetailChannel.createdAt) && - Objects.equals(this.customType, sendbirdGroupChannelDetailChannel.customType) && - Objects.equals(this.data, sendbirdGroupChannelDetailChannel.data) && - Objects.equals(this.maxLengthMessage, sendbirdGroupChannelDetailChannel.maxLengthMessage) && - Objects.equals(this.memberCount, sendbirdGroupChannelDetailChannel.memberCount) && - Objects.equals(this.name, sendbirdGroupChannelDetailChannel.name); + SendBirdGroupChannelDetailChannel sendBirdGroupChannelDetailChannel = (SendBirdGroupChannelDetailChannel) o; + return Objects.equals(this.channelUrl, sendBirdGroupChannelDetailChannel.channelUrl) && + Objects.equals(this.coverUrl, sendBirdGroupChannelDetailChannel.coverUrl) && + Objects.equals(this.createdAt, sendBirdGroupChannelDetailChannel.createdAt) && + Objects.equals(this.customType, sendBirdGroupChannelDetailChannel.customType) && + Objects.equals(this.data, sendBirdGroupChannelDetailChannel.data) && + Objects.equals(this.maxLengthMessage, sendBirdGroupChannelDetailChannel.maxLengthMessage) && + Objects.equals(this.memberCount, sendBirdGroupChannelDetailChannel.memberCount) && + Objects.equals(this.name, sendBirdGroupChannelDetailChannel.name); } @Override @@ -309,7 +309,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdGroupChannelDetailChannel {\n"); + sb.append("class SendBirdGroupChannelDetailChannel {\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java index e213c19a..f916f664 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java @@ -26,14 +26,14 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdBasicUserInfo; -import org.openapitools.client.model.SendbirdFile; -import org.openapitools.client.model.SendbirdMessageResponse; -import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendbirdMessageResponseMessageEvents; -import org.openapitools.client.model.SendbirdParentMessageInfo; -import org.openapitools.client.model.SendbirdReaction; -import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendBirdFile; +import org.openapitools.client.model.SendBirdMessageResponse; +import org.openapitools.client.model.SendBirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendBirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendBirdParentMessageInfo; +import org.openapitools.client.model.SendBirdReaction; +import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -68,132 +68,132 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendbirdGroupChannelLastMessage.SendbirdGroupChannelLastMessageDeserializer.class) -@JsonSerialize(using = SendbirdGroupChannelLastMessage.SendbirdGroupChannelLastMessageSerializer.class) -public class SendbirdGroupChannelLastMessage extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendbirdGroupChannelLastMessage.class.getName()); +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendBirdGroupChannelLastMessage.SendBirdGroupChannelLastMessageDeserializer.class) +@JsonSerialize(using = SendBirdGroupChannelLastMessage.SendBirdGroupChannelLastMessageSerializer.class) +public class SendBirdGroupChannelLastMessage extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendBirdGroupChannelLastMessage.class.getName()); - public static class SendbirdGroupChannelLastMessageSerializer extends StdSerializer { - public SendbirdGroupChannelLastMessageSerializer(Class t) { + public static class SendBirdGroupChannelLastMessageSerializer extends StdSerializer { + public SendBirdGroupChannelLastMessageSerializer(Class t) { super(t); } - public SendbirdGroupChannelLastMessageSerializer() { + public SendBirdGroupChannelLastMessageSerializer() { this(null); } @Override - public void serialize(SendbirdGroupChannelLastMessage value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + public void serialize(SendBirdGroupChannelLastMessage value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.getActualInstance()); } } - public static class SendbirdGroupChannelLastMessageDeserializer extends StdDeserializer { - public SendbirdGroupChannelLastMessageDeserializer() { - this(SendbirdGroupChannelLastMessage.class); + public static class SendBirdGroupChannelLastMessageDeserializer extends StdDeserializer { + public SendBirdGroupChannelLastMessageDeserializer() { + this(SendBirdGroupChannelLastMessage.class); } - public SendbirdGroupChannelLastMessageDeserializer(Class vc) { + public SendBirdGroupChannelLastMessageDeserializer(Class vc) { super(vc); } @Override - public SendbirdGroupChannelLastMessage deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + public SendBirdGroupChannelLastMessage deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { JsonNode tree = jp.readValueAsTree(); Object deserialized = null; boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); int match = 0; JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendbirdMessageResponse + // deserialize SendBirdMessageResponse try { boolean attemptParsing = true; // ensure that we respect type coercion as set on the client ObjectMapper - if (SendbirdMessageResponse.class.equals(Integer.class) || SendbirdMessageResponse.class.equals(Long.class) || SendbirdMessageResponse.class.equals(Float.class) || SendbirdMessageResponse.class.equals(Double.class) || SendbirdMessageResponse.class.equals(Boolean.class) || SendbirdMessageResponse.class.equals(String.class)) { + if (SendBirdMessageResponse.class.equals(Integer.class) || SendBirdMessageResponse.class.equals(Long.class) || SendBirdMessageResponse.class.equals(Float.class) || SendBirdMessageResponse.class.equals(Double.class) || SendBirdMessageResponse.class.equals(Boolean.class) || SendBirdMessageResponse.class.equals(String.class)) { attemptParsing = typeCoercion; if (!attemptParsing) { - attemptParsing |= ((SendbirdMessageResponse.class.equals(Integer.class) || SendbirdMessageResponse.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendbirdMessageResponse.class.equals(Float.class) || SendbirdMessageResponse.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendbirdMessageResponse.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendbirdMessageResponse.class.equals(String.class) && token == JsonToken.VALUE_STRING); + attemptParsing |= ((SendBirdMessageResponse.class.equals(Integer.class) || SendBirdMessageResponse.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendBirdMessageResponse.class.equals(Float.class) || SendBirdMessageResponse.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendBirdMessageResponse.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendBirdMessageResponse.class.equals(String.class) && token == JsonToken.VALUE_STRING); } } if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendbirdMessageResponse.class); + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdMessageResponse.class); // TODO: there is no validation against JSON schema constraints // (min, max, enum, pattern...), this does not perform a strict JSON // validation, which means the 'match' count may be higher than it should be. match++; - log.log(Level.FINER, "Input data matches schema 'SendbirdMessageResponse'"); + log.log(Level.FINER, "Input data matches schema 'SendBirdMessageResponse'"); } } catch (Exception e) { // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendbirdMessageResponse'", e); + log.log(Level.FINER, "Input data does not match schema 'SendBirdMessageResponse'", e); } if (match == 1) { - SendbirdGroupChannelLastMessage ret = new SendbirdGroupChannelLastMessage(); + SendBirdGroupChannelLastMessage ret = new SendBirdGroupChannelLastMessage(); ret.setActualInstance(deserialized); return ret; } - throw new IOException(String.format("Failed deserialization for SendbirdGroupChannelLastMessage: %d classes match result, expected 1", match)); + throw new IOException(String.format("Failed deserialization for SendBirdGroupChannelLastMessage: %d classes match result, expected 1", match)); } /** * Handle deserialization of the 'null' value. */ @Override - public SendbirdGroupChannelLastMessage getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendbirdGroupChannelLastMessage cannot be null"); + public SendBirdGroupChannelLastMessage getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendBirdGroupChannelLastMessage cannot be null"); } } // store a list of schema names defined in oneOf public static final Map schemas = new HashMap(); - public SendbirdGroupChannelLastMessage() { + public SendBirdGroupChannelLastMessage() { super("oneOf", Boolean.FALSE); } - public SendbirdGroupChannelLastMessage(SendbirdMessageResponse o) { + public SendBirdGroupChannelLastMessage(SendBirdMessageResponse o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } static { - schemas.put("SendbirdMessageResponse", new GenericType() { + schemas.put("SendBirdMessageResponse", new GenericType() { }); - JSON.registerDescendants(SendbirdGroupChannelLastMessage.class, Collections.unmodifiableMap(schemas)); + JSON.registerDescendants(SendBirdGroupChannelLastMessage.class, Collections.unmodifiableMap(schemas)); } @Override public Map getSchemas() { - return SendbirdGroupChannelLastMessage.schemas; + return SendBirdGroupChannelLastMessage.schemas; } /** * Set the instance that matches the oneOf child schema, check * the instance parameter is valid against the oneOf child schemas: - * SendbirdMessageResponse + * SendBirdMessageResponse * * It could be an instance of the 'oneOf' schemas. * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). */ @Override public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendbirdMessageResponse.class, instance, new HashSet>())) { + if (JSON.isInstanceOf(SendBirdMessageResponse.class, instance, new HashSet>())) { super.setActualInstance(instance); return; } - throw new RuntimeException("Invalid instance type. Must be SendbirdMessageResponse"); + throw new RuntimeException("Invalid instance type. Must be SendBirdMessageResponse"); } /** * Get the actual instance, which can be the following: - * SendbirdMessageResponse + * SendBirdMessageResponse * - * @return The actual instance (SendbirdMessageResponse) + * @return The actual instance (SendBirdMessageResponse) */ @Override public Object getActualInstance() { @@ -201,14 +201,14 @@ public Object getActualInstance() { } /** - * Get the actual instance of `SendbirdMessageResponse`. If the actual instance is not `SendbirdMessageResponse`, + * Get the actual instance of `SendBirdMessageResponse`. If the actual instance is not `SendBirdMessageResponse`, * the ClassCastException will be thrown. * - * @return The actual instance of `SendbirdMessageResponse` - * @throws ClassCastException if the instance is not `SendbirdMessageResponse` + * @return The actual instance of `SendBirdMessageResponse` + * @throws ClassCastException if the instance is not `SendBirdMessageResponse` */ - public SendbirdMessageResponse getSendbirdMessageResponse() throws ClassCastException { - return (SendbirdMessageResponse)super.getActualInstance(); + public SendBirdMessageResponse getSendBirdMessageResponse() throws ClassCastException { + return (SendBirdMessageResponse)super.getActualInstance(); } } diff --git a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java index 8a8993de..ae5f9a25 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java +++ b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdExtendedMessagePayload; +import org.openapitools.client.model.SendBirdExtendedMessagePayload; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -57,132 +57,132 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendbirdMessageResponseExtendedMessagePayload.SendbirdMessageResponseExtendedMessagePayloadDeserializer.class) -@JsonSerialize(using = SendbirdMessageResponseExtendedMessagePayload.SendbirdMessageResponseExtendedMessagePayloadSerializer.class) -public class SendbirdMessageResponseExtendedMessagePayload extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendbirdMessageResponseExtendedMessagePayload.class.getName()); +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendBirdMessageResponseExtendedMessagePayload.SendBirdMessageResponseExtendedMessagePayloadDeserializer.class) +@JsonSerialize(using = SendBirdMessageResponseExtendedMessagePayload.SendBirdMessageResponseExtendedMessagePayloadSerializer.class) +public class SendBirdMessageResponseExtendedMessagePayload extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendBirdMessageResponseExtendedMessagePayload.class.getName()); - public static class SendbirdMessageResponseExtendedMessagePayloadSerializer extends StdSerializer { - public SendbirdMessageResponseExtendedMessagePayloadSerializer(Class t) { + public static class SendBirdMessageResponseExtendedMessagePayloadSerializer extends StdSerializer { + public SendBirdMessageResponseExtendedMessagePayloadSerializer(Class t) { super(t); } - public SendbirdMessageResponseExtendedMessagePayloadSerializer() { + public SendBirdMessageResponseExtendedMessagePayloadSerializer() { this(null); } @Override - public void serialize(SendbirdMessageResponseExtendedMessagePayload value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + public void serialize(SendBirdMessageResponseExtendedMessagePayload value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.getActualInstance()); } } - public static class SendbirdMessageResponseExtendedMessagePayloadDeserializer extends StdDeserializer { - public SendbirdMessageResponseExtendedMessagePayloadDeserializer() { - this(SendbirdMessageResponseExtendedMessagePayload.class); + public static class SendBirdMessageResponseExtendedMessagePayloadDeserializer extends StdDeserializer { + public SendBirdMessageResponseExtendedMessagePayloadDeserializer() { + this(SendBirdMessageResponseExtendedMessagePayload.class); } - public SendbirdMessageResponseExtendedMessagePayloadDeserializer(Class vc) { + public SendBirdMessageResponseExtendedMessagePayloadDeserializer(Class vc) { super(vc); } @Override - public SendbirdMessageResponseExtendedMessagePayload deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + public SendBirdMessageResponseExtendedMessagePayload deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { JsonNode tree = jp.readValueAsTree(); Object deserialized = null; boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); int match = 0; JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendbirdExtendedMessagePayload + // deserialize SendBirdExtendedMessagePayload try { boolean attemptParsing = true; // ensure that we respect type coercion as set on the client ObjectMapper - if (SendbirdExtendedMessagePayload.class.equals(Integer.class) || SendbirdExtendedMessagePayload.class.equals(Long.class) || SendbirdExtendedMessagePayload.class.equals(Float.class) || SendbirdExtendedMessagePayload.class.equals(Double.class) || SendbirdExtendedMessagePayload.class.equals(Boolean.class) || SendbirdExtendedMessagePayload.class.equals(String.class)) { + if (SendBirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdExtendedMessagePayload.class.equals(Long.class) || SendBirdExtendedMessagePayload.class.equals(Float.class) || SendBirdExtendedMessagePayload.class.equals(Double.class) || SendBirdExtendedMessagePayload.class.equals(Boolean.class) || SendBirdExtendedMessagePayload.class.equals(String.class)) { attemptParsing = typeCoercion; if (!attemptParsing) { - attemptParsing |= ((SendbirdExtendedMessagePayload.class.equals(Integer.class) || SendbirdExtendedMessagePayload.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendbirdExtendedMessagePayload.class.equals(Float.class) || SendbirdExtendedMessagePayload.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendbirdExtendedMessagePayload.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendbirdExtendedMessagePayload.class.equals(String.class) && token == JsonToken.VALUE_STRING); + attemptParsing |= ((SendBirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdExtendedMessagePayload.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendBirdExtendedMessagePayload.class.equals(Float.class) || SendBirdExtendedMessagePayload.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendBirdExtendedMessagePayload.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendBirdExtendedMessagePayload.class.equals(String.class) && token == JsonToken.VALUE_STRING); } } if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendbirdExtendedMessagePayload.class); + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdExtendedMessagePayload.class); // TODO: there is no validation against JSON schema constraints // (min, max, enum, pattern...), this does not perform a strict JSON // validation, which means the 'match' count may be higher than it should be. match++; - log.log(Level.FINER, "Input data matches schema 'SendbirdExtendedMessagePayload'"); + log.log(Level.FINER, "Input data matches schema 'SendBirdExtendedMessagePayload'"); } } catch (Exception e) { // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendbirdExtendedMessagePayload'", e); + log.log(Level.FINER, "Input data does not match schema 'SendBirdExtendedMessagePayload'", e); } if (match == 1) { - SendbirdMessageResponseExtendedMessagePayload ret = new SendbirdMessageResponseExtendedMessagePayload(); + SendBirdMessageResponseExtendedMessagePayload ret = new SendBirdMessageResponseExtendedMessagePayload(); ret.setActualInstance(deserialized); return ret; } - throw new IOException(String.format("Failed deserialization for SendbirdMessageResponseExtendedMessagePayload: %d classes match result, expected 1", match)); + throw new IOException(String.format("Failed deserialization for SendBirdMessageResponseExtendedMessagePayload: %d classes match result, expected 1", match)); } /** * Handle deserialization of the 'null' value. */ @Override - public SendbirdMessageResponseExtendedMessagePayload getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendbirdMessageResponseExtendedMessagePayload cannot be null"); + public SendBirdMessageResponseExtendedMessagePayload getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendBirdMessageResponseExtendedMessagePayload cannot be null"); } } // store a list of schema names defined in oneOf public static final Map schemas = new HashMap(); - public SendbirdMessageResponseExtendedMessagePayload() { + public SendBirdMessageResponseExtendedMessagePayload() { super("oneOf", Boolean.FALSE); } - public SendbirdMessageResponseExtendedMessagePayload(SendbirdExtendedMessagePayload o) { + public SendBirdMessageResponseExtendedMessagePayload(SendBirdExtendedMessagePayload o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } static { - schemas.put("SendbirdExtendedMessagePayload", new GenericType() { + schemas.put("SendBirdExtendedMessagePayload", new GenericType() { }); - JSON.registerDescendants(SendbirdMessageResponseExtendedMessagePayload.class, Collections.unmodifiableMap(schemas)); + JSON.registerDescendants(SendBirdMessageResponseExtendedMessagePayload.class, Collections.unmodifiableMap(schemas)); } @Override public Map getSchemas() { - return SendbirdMessageResponseExtendedMessagePayload.schemas; + return SendBirdMessageResponseExtendedMessagePayload.schemas; } /** * Set the instance that matches the oneOf child schema, check * the instance parameter is valid against the oneOf child schemas: - * SendbirdExtendedMessagePayload + * SendBirdExtendedMessagePayload * * It could be an instance of the 'oneOf' schemas. * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). */ @Override public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendbirdExtendedMessagePayload.class, instance, new HashSet>())) { + if (JSON.isInstanceOf(SendBirdExtendedMessagePayload.class, instance, new HashSet>())) { super.setActualInstance(instance); return; } - throw new RuntimeException("Invalid instance type. Must be SendbirdExtendedMessagePayload"); + throw new RuntimeException("Invalid instance type. Must be SendBirdExtendedMessagePayload"); } /** * Get the actual instance, which can be the following: - * SendbirdExtendedMessagePayload + * SendBirdExtendedMessagePayload * - * @return The actual instance (SendbirdExtendedMessagePayload) + * @return The actual instance (SendBirdExtendedMessagePayload) */ @Override public Object getActualInstance() { @@ -190,14 +190,14 @@ public Object getActualInstance() { } /** - * Get the actual instance of `SendbirdExtendedMessagePayload`. If the actual instance is not `SendbirdExtendedMessagePayload`, + * Get the actual instance of `SendBirdExtendedMessagePayload`. If the actual instance is not `SendBirdExtendedMessagePayload`, * the ClassCastException will be thrown. * - * @return The actual instance of `SendbirdExtendedMessagePayload` - * @throws ClassCastException if the instance is not `SendbirdExtendedMessagePayload` + * @return The actual instance of `SendBirdExtendedMessagePayload` + * @throws ClassCastException if the instance is not `SendBirdExtendedMessagePayload` */ - public SendbirdExtendedMessagePayload getSendbirdExtendedMessagePayload() throws ClassCastException { - return (SendbirdExtendedMessagePayload)super.getActualInstance(); + public SendBirdExtendedMessagePayload getSendBirdExtendedMessagePayload() throws ClassCastException { + return (SendBirdExtendedMessagePayload)super.getActualInstance(); } } diff --git a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java index e36ccc2d..1b382452 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java +++ b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java @@ -29,17 +29,17 @@ /** - * SendbirdMessageResponseMessageEvents + * SendBirdMessageResponseMessageEvents */ @JsonPropertyOrder({ - SendbirdMessageResponseMessageEvents.JSON_PROPERTY_SEND_PUSH_NOTIFICATION, - SendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_UNREAD_COUNT, - SendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_MENTION_COUNT, - SendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_LAST_MESSAGE + SendBirdMessageResponseMessageEvents.JSON_PROPERTY_SEND_PUSH_NOTIFICATION, + SendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_UNREAD_COUNT, + SendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_MENTION_COUNT, + SendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_LAST_MESSAGE }) -@JsonTypeName("Sendbird_MessageResponse_message_events") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdMessageResponseMessageEvents { +@JsonTypeName("SendBird_MessageResponse_message_events") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdMessageResponseMessageEvents { public static final String JSON_PROPERTY_SEND_PUSH_NOTIFICATION = "send_push_notification"; private String sendPushNotification; @@ -52,10 +52,10 @@ public class SendbirdMessageResponseMessageEvents { public static final String JSON_PROPERTY_UPDATE_LAST_MESSAGE = "update_last_message"; private Boolean updateLastMessage; - public SendbirdMessageResponseMessageEvents() { + public SendBirdMessageResponseMessageEvents() { } - public SendbirdMessageResponseMessageEvents sendPushNotification(String sendPushNotification) { + public SendBirdMessageResponseMessageEvents sendPushNotification(String sendPushNotification) { this.sendPushNotification = sendPushNotification; return this; } @@ -81,7 +81,7 @@ public void setSendPushNotification(String sendPushNotification) { } - public SendbirdMessageResponseMessageEvents updateUnreadCount(Boolean updateUnreadCount) { + public SendBirdMessageResponseMessageEvents updateUnreadCount(Boolean updateUnreadCount) { this.updateUnreadCount = updateUnreadCount; return this; } @@ -107,7 +107,7 @@ public void setUpdateUnreadCount(Boolean updateUnreadCount) { } - public SendbirdMessageResponseMessageEvents updateMentionCount(Boolean updateMentionCount) { + public SendBirdMessageResponseMessageEvents updateMentionCount(Boolean updateMentionCount) { this.updateMentionCount = updateMentionCount; return this; } @@ -133,7 +133,7 @@ public void setUpdateMentionCount(Boolean updateMentionCount) { } - public SendbirdMessageResponseMessageEvents updateLastMessage(Boolean updateLastMessage) { + public SendBirdMessageResponseMessageEvents updateLastMessage(Boolean updateLastMessage) { this.updateLastMessage = updateLastMessage; return this; } @@ -160,7 +160,7 @@ public void setUpdateLastMessage(Boolean updateLastMessage) { /** - * Return true if this Sendbird_MessageResponse_message_events object is equal to o. + * Return true if this SendBird_MessageResponse_message_events object is equal to o. */ @Override public boolean equals(Object o) { @@ -170,11 +170,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdMessageResponseMessageEvents sendbirdMessageResponseMessageEvents = (SendbirdMessageResponseMessageEvents) o; - return Objects.equals(this.sendPushNotification, sendbirdMessageResponseMessageEvents.sendPushNotification) && - Objects.equals(this.updateUnreadCount, sendbirdMessageResponseMessageEvents.updateUnreadCount) && - Objects.equals(this.updateMentionCount, sendbirdMessageResponseMessageEvents.updateMentionCount) && - Objects.equals(this.updateLastMessage, sendbirdMessageResponseMessageEvents.updateLastMessage); + SendBirdMessageResponseMessageEvents sendBirdMessageResponseMessageEvents = (SendBirdMessageResponseMessageEvents) o; + return Objects.equals(this.sendPushNotification, sendBirdMessageResponseMessageEvents.sendPushNotification) && + Objects.equals(this.updateUnreadCount, sendBirdMessageResponseMessageEvents.updateUnreadCount) && + Objects.equals(this.updateMentionCount, sendBirdMessageResponseMessageEvents.updateMentionCount) && + Objects.equals(this.updateLastMessage, sendBirdMessageResponseMessageEvents.updateLastMessage); } @Override @@ -185,7 +185,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdMessageResponseMessageEvents {\n"); + sb.append("class SendBirdMessageResponseMessageEvents {\n"); sb.append(" sendPushNotification: ").append(toIndentedString(sendPushNotification)).append("\n"); sb.append(" updateUnreadCount: ").append(toIndentedString(updateUnreadCount)).append("\n"); sb.append(" updateMentionCount: ").append(toIndentedString(updateMentionCount)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java b/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java index c8af774e..bb66051d 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java +++ b/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java @@ -25,9 +25,9 @@ import com.fasterxml.jackson.annotation.JsonValue; /** - * Gets or Sets Sendbird.PushTriggerOption + * Gets or Sets SendBird.PushTriggerOption */ -public enum SendbirdPushTriggerOption { +public enum SendBirdPushTriggerOption { ALL("all"), @@ -37,7 +37,7 @@ public enum SendbirdPushTriggerOption { private String value; - SendbirdPushTriggerOption(String value) { + SendBirdPushTriggerOption(String value) { this.value = value; } @@ -52,8 +52,8 @@ public String toString() { } @JsonCreator - public static SendbirdPushTriggerOption fromValue(String value) { - for (SendbirdPushTriggerOption b : SendbirdPushTriggerOption.values()) { + public static SendBirdPushTriggerOption fromValue(String value) { + for (SendBirdPushTriggerOption b : SendBirdPushTriggerOption.values()) { if (b.value.equals(value)) { return b; } diff --git a/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java b/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java index b161e34a..d64f7108 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java +++ b/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java @@ -31,25 +31,25 @@ /** - * SendbirdSmsFallback + * SendBirdSmsFallback */ @JsonPropertyOrder({ - SendbirdSmsFallback.JSON_PROPERTY_WAIT_SECONDS, - SendbirdSmsFallback.JSON_PROPERTY_EXCLUDE_USER_IDS + SendBirdSmsFallback.JSON_PROPERTY_WAIT_SECONDS, + SendBirdSmsFallback.JSON_PROPERTY_EXCLUDE_USER_IDS }) -@JsonTypeName("Sendbird.SmsFallback") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdSmsFallback { +@JsonTypeName("SendBird.SmsFallback") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdSmsFallback { public static final String JSON_PROPERTY_WAIT_SECONDS = "wait_seconds"; private Integer waitSeconds; public static final String JSON_PROPERTY_EXCLUDE_USER_IDS = "exclude_user_ids"; private List excludeUserIds = null; - public SendbirdSmsFallback() { + public SendBirdSmsFallback() { } - public SendbirdSmsFallback waitSeconds(Integer waitSeconds) { + public SendBirdSmsFallback waitSeconds(Integer waitSeconds) { this.waitSeconds = waitSeconds; return this; } @@ -75,12 +75,12 @@ public void setWaitSeconds(Integer waitSeconds) { } - public SendbirdSmsFallback excludeUserIds(List excludeUserIds) { + public SendBirdSmsFallback excludeUserIds(List excludeUserIds) { this.excludeUserIds = excludeUserIds; return this; } - public SendbirdSmsFallback addExcludeUserIdsItem(String excludeUserIdsItem) { + public SendBirdSmsFallback addExcludeUserIdsItem(String excludeUserIdsItem) { if (this.excludeUserIds == null) { this.excludeUserIds = new ArrayList<>(); } @@ -110,7 +110,7 @@ public void setExcludeUserIds(List excludeUserIds) { /** - * Return true if this Sendbird.SmsFallback object is equal to o. + * Return true if this SendBird.SmsFallback object is equal to o. */ @Override public boolean equals(Object o) { @@ -120,9 +120,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdSmsFallback sendbirdSmsFallback = (SendbirdSmsFallback) o; - return Objects.equals(this.waitSeconds, sendbirdSmsFallback.waitSeconds) && - Objects.equals(this.excludeUserIds, sendbirdSmsFallback.excludeUserIds); + SendBirdSmsFallback sendBirdSmsFallback = (SendBirdSmsFallback) o; + return Objects.equals(this.waitSeconds, sendBirdSmsFallback.waitSeconds) && + Objects.equals(this.excludeUserIds, sendBirdSmsFallback.excludeUserIds); } @Override @@ -133,7 +133,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdSmsFallback {\n"); + sb.append("class SendBirdSmsFallback {\n"); sb.append(" waitSeconds: ").append(toIndentedString(waitSeconds)).append("\n"); sb.append(" excludeUserIds: ").append(toIndentedString(excludeUserIds)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java b/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java index 852de4bb..5d45d4bd 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java +++ b/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java @@ -31,25 +31,25 @@ /** - * SendbirdSortedMetaarrayInner + * SendBirdSortedMetaarrayInner */ @JsonPropertyOrder({ - SendbirdSortedMetaarrayInner.JSON_PROPERTY_KEY, - SendbirdSortedMetaarrayInner.JSON_PROPERTY_VALUE + SendBirdSortedMetaarrayInner.JSON_PROPERTY_KEY, + SendBirdSortedMetaarrayInner.JSON_PROPERTY_VALUE }) -@JsonTypeName("Sendbird_SortedMetaarray_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdSortedMetaarrayInner { +@JsonTypeName("SendBird_SortedMetaarray_inner") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdSortedMetaarrayInner { public static final String JSON_PROPERTY_KEY = "key"; private String key; public static final String JSON_PROPERTY_VALUE = "value"; private List value = null; - public SendbirdSortedMetaarrayInner() { + public SendBirdSortedMetaarrayInner() { } - public SendbirdSortedMetaarrayInner key(String key) { + public SendBirdSortedMetaarrayInner key(String key) { this.key = key; return this; } @@ -75,12 +75,12 @@ public void setKey(String key) { } - public SendbirdSortedMetaarrayInner value(List value) { + public SendBirdSortedMetaarrayInner value(List value) { this.value = value; return this; } - public SendbirdSortedMetaarrayInner addValueItem(String valueItem) { + public SendBirdSortedMetaarrayInner addValueItem(String valueItem) { if (this.value == null) { this.value = new ArrayList<>(); } @@ -110,7 +110,7 @@ public void setValue(List value) { /** - * Return true if this Sendbird_SortedMetaarray_inner object is equal to o. + * Return true if this SendBird_SortedMetaarray_inner object is equal to o. */ @Override public boolean equals(Object o) { @@ -120,9 +120,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdSortedMetaarrayInner sendbirdSortedMetaarrayInner = (SendbirdSortedMetaarrayInner) o; - return Objects.equals(this.key, sendbirdSortedMetaarrayInner.key) && - Objects.equals(this.value, sendbirdSortedMetaarrayInner.value); + SendBirdSortedMetaarrayInner sendBirdSortedMetaarrayInner = (SendBirdSortedMetaarrayInner) o; + return Objects.equals(this.key, sendBirdSortedMetaarrayInner.key) && + Objects.equals(this.value, sendBirdSortedMetaarrayInner.value); } @Override @@ -133,7 +133,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdSortedMetaarrayInner {\n"); + sb.append("class SendBirdSortedMetaarrayInner {\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java b/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java index 67010e4a..e8ab8aa9 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java +++ b/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java @@ -29,19 +29,19 @@ /** - * SendbirdThumbnail + * SendBirdThumbnail */ @JsonPropertyOrder({ - SendbirdThumbnail.JSON_PROPERTY_HEIGHT, - SendbirdThumbnail.JSON_PROPERTY_PLAIN_URL, - SendbirdThumbnail.JSON_PROPERTY_REAL_HEIGHT, - SendbirdThumbnail.JSON_PROPERTY_REAL_WIDTH, - SendbirdThumbnail.JSON_PROPERTY_URL, - SendbirdThumbnail.JSON_PROPERTY_WIDTH + SendBirdThumbnail.JSON_PROPERTY_HEIGHT, + SendBirdThumbnail.JSON_PROPERTY_PLAIN_URL, + SendBirdThumbnail.JSON_PROPERTY_REAL_HEIGHT, + SendBirdThumbnail.JSON_PROPERTY_REAL_WIDTH, + SendBirdThumbnail.JSON_PROPERTY_URL, + SendBirdThumbnail.JSON_PROPERTY_WIDTH }) -@JsonTypeName("Sendbird.Thumbnail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") -public class SendbirdThumbnail { +@JsonTypeName("SendBird.Thumbnail") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +public class SendBirdThumbnail { public static final String JSON_PROPERTY_HEIGHT = "height"; private Integer height; @@ -60,10 +60,10 @@ public class SendbirdThumbnail { public static final String JSON_PROPERTY_WIDTH = "width"; private Integer width; - public SendbirdThumbnail() { + public SendBirdThumbnail() { } - public SendbirdThumbnail height(Integer height) { + public SendBirdThumbnail height(Integer height) { this.height = height; return this; } @@ -89,7 +89,7 @@ public void setHeight(Integer height) { } - public SendbirdThumbnail plainUrl(String plainUrl) { + public SendBirdThumbnail plainUrl(String plainUrl) { this.plainUrl = plainUrl; return this; } @@ -115,7 +115,7 @@ public void setPlainUrl(String plainUrl) { } - public SendbirdThumbnail realHeight(Integer realHeight) { + public SendBirdThumbnail realHeight(Integer realHeight) { this.realHeight = realHeight; return this; } @@ -141,7 +141,7 @@ public void setRealHeight(Integer realHeight) { } - public SendbirdThumbnail realWidth(Integer realWidth) { + public SendBirdThumbnail realWidth(Integer realWidth) { this.realWidth = realWidth; return this; } @@ -167,7 +167,7 @@ public void setRealWidth(Integer realWidth) { } - public SendbirdThumbnail url(String url) { + public SendBirdThumbnail url(String url) { this.url = url; return this; } @@ -193,7 +193,7 @@ public void setUrl(String url) { } - public SendbirdThumbnail width(Integer width) { + public SendBirdThumbnail width(Integer width) { this.width = width; return this; } @@ -220,7 +220,7 @@ public void setWidth(Integer width) { /** - * Return true if this Sendbird.Thumbnail object is equal to o. + * Return true if this SendBird.Thumbnail object is equal to o. */ @Override public boolean equals(Object o) { @@ -230,13 +230,13 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendbirdThumbnail sendbirdThumbnail = (SendbirdThumbnail) o; - return Objects.equals(this.height, sendbirdThumbnail.height) && - Objects.equals(this.plainUrl, sendbirdThumbnail.plainUrl) && - Objects.equals(this.realHeight, sendbirdThumbnail.realHeight) && - Objects.equals(this.realWidth, sendbirdThumbnail.realWidth) && - Objects.equals(this.url, sendbirdThumbnail.url) && - Objects.equals(this.width, sendbirdThumbnail.width); + SendBirdThumbnail sendBirdThumbnail = (SendBirdThumbnail) o; + return Objects.equals(this.height, sendBirdThumbnail.height) && + Objects.equals(this.plainUrl, sendBirdThumbnail.plainUrl) && + Objects.equals(this.realHeight, sendBirdThumbnail.realHeight) && + Objects.equals(this.realWidth, sendBirdThumbnail.realWidth) && + Objects.equals(this.url, sendBirdThumbnail.url) && + Objects.equals(this.width, sendBirdThumbnail.width); } @Override @@ -247,7 +247,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendbirdThumbnail {\n"); + sb.append("class SendBirdThumbnail {\n"); sb.append(" height: ").append(toIndentedString(height)).append("\n"); sb.append(" plainUrl: ").append(toIndentedString(plainUrl)).append("\n"); sb.append(" realHeight: ").append(toIndentedString(realHeight)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java b/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java index 82d99af6..72718272 100644 --- a/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java +++ b/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java @@ -37,7 +37,7 @@ StartTypingIndicatorsRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("startTypingIndicators_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class StartTypingIndicatorsRequest { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java index a57b295b..02412f8a 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java @@ -36,7 +36,7 @@ UpdateAChannelMetadataRequest.JSON_PROPERTY_UPSERT }) @JsonTypeName("updateAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateAChannelMetadataRequest { public static final String JSON_PROPERTY_METADATA = "metadata"; private Object metadata; diff --git a/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java index 494151e1..9d7d9bc5 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java @@ -51,7 +51,7 @@ UpdateAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("updateAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateAGroupChannelRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java b/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java index e860e8d5..bc43c6f9 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java @@ -43,7 +43,7 @@ UpdateAMessageRequest.JSON_PROPERTY_MESSAGE_TYPE }) @JsonTypeName("updateAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateAMessageRequest { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; diff --git a/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java b/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java index 814962c1..17ff0f05 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java @@ -50,7 +50,7 @@ UpdateAUserRequest.JSON_PROPERTY_PROFILE_URL }) @JsonTypeName("updateAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateAUserRequest { public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; private JsonNullable> discoveryKeys = JsonNullable.>undefined(); diff --git a/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java index c90420e5..1437d39f 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java @@ -43,7 +43,7 @@ UpdateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("updateAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateAnOpenChannelRequest { public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; private File coverFile; diff --git a/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java b/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java index 06ff5c15..53bcdc99 100644 --- a/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java +++ b/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java @@ -42,7 +42,7 @@ UpdateBotByIdData.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("updateBotByIdData") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateBotByIdData { public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; private String botUserid; diff --git a/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java b/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java index 121ee35e..2bbbe4ac 100644 --- a/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java @@ -41,7 +41,7 @@ UpdateBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("updateBotByIdResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateBotByIdResponse { public static final String JSON_PROPERTY_BOT = "bot"; private ViewBotByIdResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java index a48d0e19..c018f797 100644 --- a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java @@ -35,7 +35,7 @@ UpdateChannelInvitationPreferenceRequest.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("updateChannelInvitationPreference_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateChannelInvitationPreferenceRequest { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java index df731b82..0d0886e4 100644 --- a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java @@ -35,7 +35,7 @@ UpdateChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("updateChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateChannelInvitationPreferenceResponse { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java index 47f93e5f..01bcbed2 100644 --- a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java @@ -35,7 +35,7 @@ UpdateCountPreferenceOfAChannelRequest.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("updateCountPreferenceOfAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateCountPreferenceOfAChannelRequest { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java index e7894089..3c8d0829 100644 --- a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java @@ -35,7 +35,7 @@ UpdateCountPreferenceOfChannelByUrlResponse.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("updateCountPreferenceOfChannelByUrlResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateCountPreferenceOfChannelByUrlResponse { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java index 02ce2181..1531c435 100644 --- a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,13 +40,13 @@ UpdateExtraDataInAMessageRequest.JSON_PROPERTY_UPSERT }) @JsonTypeName("updateExtraDataInAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateExtraDataInAMessageRequest { public static final String JSON_PROPERTY_MODE = "mode"; private String mode; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_UPSERT = "upsert"; private Boolean upsert; @@ -80,12 +80,12 @@ public void setMode(String mode) { } - public UpdateExtraDataInAMessageRequest sortedMetaarray(List sortedMetaarray) { + public UpdateExtraDataInAMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public UpdateExtraDataInAMessageRequest addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public UpdateExtraDataInAMessageRequest addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -102,14 +102,14 @@ public UpdateExtraDataInAMessageRequest addSortedMetaarrayItem(SendbirdSortedMet @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java index 9cd71010..7435d8c6 100644 --- a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdSortedMetaarrayInner; +import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ UpdateExtraDataInAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("updateExtraDataInAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdateExtraDataInAMessageResponse { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public UpdateExtraDataInAMessageResponse() { } - public UpdateExtraDataInAMessageResponse sortedMetaarray(List sortedMetaarray) { + public UpdateExtraDataInAMessageResponse sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public UpdateExtraDataInAMessageResponse addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { + public UpdateExtraDataInAMessageResponse addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -68,14 +68,14 @@ public UpdateExtraDataInAMessageResponse addSortedMetaarrayItem(SendbirdSortedMe @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java index a99f1f7c..4bf90e04 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java @@ -36,7 +36,7 @@ UpdatePushPreferencesForAChannelRequest.JSON_PROPERTY_PUSH_SOUND }) @JsonTypeName("updatePushPreferencesForAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdatePushPreferencesForAChannelRequest { /** * The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications. diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java index 0e549f20..d2bd62a4 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,7 +38,7 @@ UpdatePushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION }) @JsonTypeName("updatePushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdatePushPreferencesForAChannelResponse { public static final String JSON_PROPERTY_ENABLE = "enable"; private Boolean enable; @@ -47,7 +47,7 @@ public class UpdatePushPreferencesForAChannelResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendbirdPushTriggerOption pushTriggerOption; + private SendBirdPushTriggerOption pushTriggerOption; public UpdatePushPreferencesForAChannelResponse() { } @@ -104,7 +104,7 @@ public void setPushSound(String pushSound) { } - public UpdatePushPreferencesForAChannelResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public UpdatePushPreferencesForAChannelResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -118,14 +118,14 @@ public UpdatePushPreferencesForAChannelResponse pushTriggerOption(SendbirdPushTr @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java index 8342b3e4..5c5c021a 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -51,7 +51,7 @@ UpdatePushPreferencesRequest.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("updatePushPreferences_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdatePushPreferencesRequest { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; @@ -75,7 +75,7 @@ public class UpdatePushPreferencesRequest { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendbirdPushTriggerOption pushTriggerOption; + private SendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; private Boolean snoozeEnabled; @@ -288,7 +288,7 @@ public void setPushSound(String pushSound) { } - public UpdatePushPreferencesRequest pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public UpdatePushPreferencesRequest pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -302,14 +302,14 @@ public UpdatePushPreferencesRequest pushTriggerOption(SendbirdPushTriggerOption @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java index e22125c2..95583600 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -51,7 +51,7 @@ UpdatePushPreferencesResponse.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("updatePushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UpdatePushPreferencesResponse { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; @@ -75,7 +75,7 @@ public class UpdatePushPreferencesResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendbirdPushTriggerOption pushTriggerOption; + private SendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; private Boolean snoozeEnabled; @@ -288,7 +288,7 @@ public void setPushSound(String pushSound) { } - public UpdatePushPreferencesResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public UpdatePushPreferencesResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -302,14 +302,14 @@ public UpdatePushPreferencesResponse pushTriggerOption(SendbirdPushTriggerOption @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java b/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java index 03add7c5..885c72aa 100644 --- a/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java @@ -41,7 +41,7 @@ ViewBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("viewBotByIdResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ViewBotByIdResponse { public static final String JSON_PROPERTY_BOT = "bot"; private ViewBotByIdResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java b/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java index ab32b70f..81be7ffb 100644 --- a/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java +++ b/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java @@ -40,7 +40,7 @@ ViewBotByIdResponseBot.JSON_PROPERTY_BOT_METADATA }) @JsonTypeName("viewBotByIdResponse_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ViewBotByIdResponseBot { public static final String JSON_PROPERTY_BOT_TOKEN = "bot_token"; private String botToken; diff --git a/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java b/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java index e8ae8c67..86d37b51 100644 --- a/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java @@ -35,7 +35,7 @@ ViewCountPreferenceOfAChannelResponse.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("viewCountPreferenceOfAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ViewCountPreferenceOfAChannelResponse { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java index da7048ac..47fb1097 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java @@ -35,7 +35,7 @@ ViewNumberOfChannelsWithUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT }) @JsonTypeName("viewNumberOfChannelsWithUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ViewNumberOfChannelsWithUnreadMessagesResponse { public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; private Integer unreadCount; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java index 7adaac50..d4d9f7f6 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java @@ -35,7 +35,7 @@ ViewNumberOfDailyActiveUsersResponse.JSON_PROPERTY_DAU }) @JsonTypeName("viewNumberOfDailyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ViewNumberOfDailyActiveUsersResponse { public static final String JSON_PROPERTY_DAU = "dau"; private Integer dau; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java index fd14f572..5b7c7792 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java @@ -35,7 +35,7 @@ ViewNumberOfMonthlyActiveUsersResponse.JSON_PROPERTY_MAU }) @JsonTypeName("viewNumberOfMonthlyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ViewNumberOfMonthlyActiveUsersResponse { public static final String JSON_PROPERTY_MAU = "mau"; private Integer mau; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java index 87496ea9..50a218ec 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java @@ -35,7 +35,7 @@ ViewNumberOfUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT }) @JsonTypeName("viewNumberOfUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ViewNumberOfUnreadMessagesResponse { public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; private Integer unreadCount; diff --git a/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java index 7e4c1fca..93d4a571 100644 --- a/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,7 +38,7 @@ ViewPushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION }) @JsonTypeName("viewPushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ViewPushPreferencesForAChannelResponse { public static final String JSON_PROPERTY_ENABLE = "enable"; private Boolean enable; @@ -47,7 +47,7 @@ public class ViewPushPreferencesForAChannelResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendbirdPushTriggerOption pushTriggerOption; + private SendBirdPushTriggerOption pushTriggerOption; public ViewPushPreferencesForAChannelResponse() { } @@ -104,7 +104,7 @@ public void setPushSound(String pushSound) { } - public ViewPushPreferencesForAChannelResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public ViewPushPreferencesForAChannelResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -118,14 +118,14 @@ public ViewPushPreferencesForAChannelResponse pushTriggerOption(SendbirdPushTrig @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java index 79f9cb90..7c9bf48b 100644 --- a/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendbirdPushTriggerOption; +import org.openapitools.client.model.SendBirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -51,7 +51,7 @@ ViewPushPreferencesResponse.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("viewPushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ViewPushPreferencesResponse { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; @@ -75,7 +75,7 @@ public class ViewPushPreferencesResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendbirdPushTriggerOption pushTriggerOption; + private SendBirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; private Boolean snoozeEnabled; @@ -288,7 +288,7 @@ public void setPushSound(String pushSound) { } - public ViewPushPreferencesResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public ViewPushPreferencesResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -302,14 +302,14 @@ public ViewPushPreferencesResponse pushTriggerOption(SendbirdPushTriggerOption p @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendbirdPushTriggerOption getPushTriggerOption() { + public SendBirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/sendbird/client/ApiClient.java b/src/main/java/org/sendbird/client/ApiClient.java index 39511d71..3a4d0575 100644 --- a/src/main/java/org/sendbird/client/ApiClient.java +++ b/src/main/java/org/sendbird/client/ApiClient.java @@ -66,7 +66,7 @@ /** *

ApiClient class.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ApiClient extends JavaTimeFormatter { protected Map defaultHeaderMap = new HashMap(); protected Map defaultCookieMap = new HashMap(); diff --git a/src/main/java/org/sendbird/client/ApiException.java b/src/main/java/org/sendbird/client/ApiException.java index 4dd59d8d..f219137e 100644 --- a/src/main/java/org/sendbird/client/ApiException.java +++ b/src/main/java/org/sendbird/client/ApiException.java @@ -19,7 +19,7 @@ /** * API Exception */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/src/main/java/org/sendbird/client/Configuration.java b/src/main/java/org/sendbird/client/Configuration.java index 649a1eca..79b2e4c3 100644 --- a/src/main/java/org/sendbird/client/Configuration.java +++ b/src/main/java/org/sendbird/client/Configuration.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/org/sendbird/client/JSON.java b/src/main/java/org/sendbird/client/JSON.java index b8da6a96..991922bb 100644 --- a/src/main/java/org/sendbird/client/JSON.java +++ b/src/main/java/org/sendbird/client/JSON.java @@ -15,7 +15,7 @@ import javax.ws.rs.core.GenericType; import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class JSON implements ContextResolver { private ObjectMapper mapper; diff --git a/src/main/java/org/sendbird/client/JavaTimeFormatter.java b/src/main/java/org/sendbird/client/JavaTimeFormatter.java index 61f933aa..37928e23 100644 --- a/src/main/java/org/sendbird/client/JavaTimeFormatter.java +++ b/src/main/java/org/sendbird/client/JavaTimeFormatter.java @@ -20,7 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/src/main/java/org/sendbird/client/Pair.java b/src/main/java/org/sendbird/client/Pair.java index e1cd6c66..1148d8be 100644 --- a/src/main/java/org/sendbird/client/Pair.java +++ b/src/main/java/org/sendbird/client/Pair.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/org/sendbird/client/StringUtil.java b/src/main/java/org/sendbird/client/StringUtil.java index af08e7cd..3e345b89 100644 --- a/src/main/java/org/sendbird/client/StringUtil.java +++ b/src/main/java/org/sendbird/client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/org/sendbird/client/api/AnnouncementApi.java b/src/main/java/org/sendbird/client/api/AnnouncementApi.java index 9df84c5f..72a511cc 100644 --- a/src/main/java/org/sendbird/client/api/AnnouncementApi.java +++ b/src/main/java/org/sendbird/client/api/AnnouncementApi.java @@ -8,15 +8,15 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequest; -import org.openapitools.client.model.SendBirdScheduleAnAnnouncementResponse; +import org.openapitools.client.model.ScheduleAnAnnouncementRequest; +import org.openapitools.client.model.ScheduleAnAnnouncementResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class AnnouncementApi { private ApiClient apiClient; @@ -47,8 +47,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse scheduleAnAnnouncementWithHttpInfo(String apiToken, SendBirdScheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest) throws ApiException { - Object localVarPostBody = sendBirdScheduleAnAnnouncementRequest; +private ApiResponse scheduleAnAnnouncementWithHttpInfo(String apiToken, ScheduleAnAnnouncementRequest scheduleAnAnnouncementRequest) throws ApiException { + Object localVarPostBody = scheduleAnAnnouncementRequest; // create path and map variables String localVarPath = "/v3/announcements"; @@ -77,7 +77,7 @@ private ApiResponse scheduleAnAnnounceme String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("AnnouncementApi.scheduleAnAnnouncement", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -86,7 +86,7 @@ private ApiResponse scheduleAnAnnounceme public class APIscheduleAnAnnouncementRequest { private String apiToken; - private SendBirdScheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest; + private ScheduleAnAnnouncementRequest scheduleAnAnnouncementRequest; private APIscheduleAnAnnouncementRequest() { } @@ -102,18 +102,18 @@ public APIscheduleAnAnnouncementRequest apiToken(String apiToken) { } /** - * Set sendBirdScheduleAnAnnouncementRequest - * @param sendBirdScheduleAnAnnouncementRequest (optional) + * Set scheduleAnAnnouncementRequest + * @param scheduleAnAnnouncementRequest (optional) * @return APIscheduleAnAnnouncementRequest */ - public APIscheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest(SendBirdScheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest) { - this.sendBirdScheduleAnAnnouncementRequest = sendBirdScheduleAnAnnouncementRequest; + public APIscheduleAnAnnouncementRequest scheduleAnAnnouncementRequest(ScheduleAnAnnouncementRequest scheduleAnAnnouncementRequest) { + this.scheduleAnAnnouncementRequest = scheduleAnAnnouncementRequest; return this; } /** * Execute scheduleAnAnnouncement request - * @return SendBirdScheduleAnAnnouncementResponse + * @return ScheduleAnAnnouncementResponse * @throws ApiException if fails to make API call * @http.response.details @@ -123,13 +123,13 @@ public APIscheduleAnAnnouncementRequest sendBirdScheduleAnAnnouncementRequest(Se */ - public SendBirdScheduleAnAnnouncementResponse execute() throws ApiException { + public ScheduleAnAnnouncementResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute scheduleAnAnnouncement request with HTTP info returned - * @return ApiResponse<SendBirdScheduleAnAnnouncementResponse> + * @return ApiResponse<ScheduleAnAnnouncementResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -138,8 +138,8 @@ public SendBirdScheduleAnAnnouncementResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return scheduleAnAnnouncementWithHttpInfo(apiToken, sendBirdScheduleAnAnnouncementRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return scheduleAnAnnouncementWithHttpInfo(apiToken, scheduleAnAnnouncementRequest); } } diff --git a/src/main/java/org/sendbird/client/api/BotApi.java b/src/main/java/org/sendbird/client/api/BotApi.java index 8a1ac220..aaf319b5 100644 --- a/src/main/java/org/sendbird/client/api/BotApi.java +++ b/src/main/java/org/sendbird/client/api/BotApi.java @@ -9,25 +9,25 @@ import javax.ws.rs.core.GenericType; import java.math.BigDecimal; +import org.openapitools.client.model.CreateABotRequest; +import org.openapitools.client.model.CreateABotResponse; import java.io.File; -import org.openapitools.client.model.SendBirdCreateABotRequest; -import org.openapitools.client.model.SendBirdCreateABotResponse; -import org.openapitools.client.model.SendBirdJoinChannelsRequest; -import org.openapitools.client.model.SendBirdListBotsResponse; -import org.openapitools.client.model.SendBirdSendABotMessageResponse; -import org.openapitools.client.model.SendBirdSendBirdExtendedMessagePayload; -import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetail; -import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; -import org.openapitools.client.model.SendBirdUpdateBotByIdData; -import org.openapitools.client.model.SendBirdUpdateBotByIdResponse; -import org.openapitools.client.model.SendBirdViewBotByIdResponse; +import org.openapitools.client.model.JoinChannelsRequest; +import org.openapitools.client.model.ListBotsResponse; +import org.openapitools.client.model.SendABotMessageResponse; +import org.openapitools.client.model.SendBirdExtendedMessagePayload; +import org.openapitools.client.model.SendBirdGroupChannelDetail; +import org.openapitools.client.model.SendBirdSortedMetaarrayInner; +import org.openapitools.client.model.UpdateBotByIdData; +import org.openapitools.client.model.UpdateBotByIdResponse; +import org.openapitools.client.model.ViewBotByIdResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class BotApi { private ApiClient apiClient; @@ -58,8 +58,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse createABotWithHttpInfo(String apiToken, SendBirdCreateABotRequest sendBirdCreateABotRequest) throws ApiException { - Object localVarPostBody = sendBirdCreateABotRequest; +private ApiResponse createABotWithHttpInfo(String apiToken, CreateABotRequest createABotRequest) throws ApiException { + Object localVarPostBody = createABotRequest; // create path and map variables String localVarPath = "/v3/bots"; @@ -88,7 +88,7 @@ private ApiResponse createABotWithHttpInfo(String ap String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.createABot", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -97,7 +97,7 @@ private ApiResponse createABotWithHttpInfo(String ap public class APIcreateABotRequest { private String apiToken; - private SendBirdCreateABotRequest sendBirdCreateABotRequest; + private CreateABotRequest createABotRequest; private APIcreateABotRequest() { } @@ -113,18 +113,18 @@ public APIcreateABotRequest apiToken(String apiToken) { } /** - * Set sendBirdCreateABotRequest - * @param sendBirdCreateABotRequest (optional) + * Set createABotRequest + * @param createABotRequest (optional) * @return APIcreateABotRequest */ - public APIcreateABotRequest sendBirdCreateABotRequest(SendBirdCreateABotRequest sendBirdCreateABotRequest) { - this.sendBirdCreateABotRequest = sendBirdCreateABotRequest; + public APIcreateABotRequest createABotRequest(CreateABotRequest createABotRequest) { + this.createABotRequest = createABotRequest; return this; } /** * Execute createABot request - * @return SendBirdCreateABotResponse + * @return CreateABotResponse * @throws ApiException if fails to make API call * @http.response.details @@ -134,13 +134,13 @@ public APIcreateABotRequest sendBirdCreateABotRequest(SendBirdCreateABotRequest */ - public SendBirdCreateABotResponse execute() throws ApiException { + public CreateABotResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createABot request with HTTP info returned - * @return ApiResponse<SendBirdCreateABotResponse> + * @return ApiResponse<CreateABotResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -149,8 +149,8 @@ public SendBirdCreateABotResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createABotWithHttpInfo(apiToken, sendBirdCreateABotRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createABotWithHttpInfo(apiToken, createABotRequest); } } @@ -272,8 +272,8 @@ public APIdeleteBotByIdRequest deleteBotById(String botUserid) throws ApiExcepti return new APIdeleteBotByIdRequest(botUserid); } -private ApiResponse joinChannelsWithHttpInfo(String botUserid, String apiToken, SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest) throws ApiException { - Object localVarPostBody = sendBirdJoinChannelsRequest; +private ApiResponse joinChannelsWithHttpInfo(String botUserid, String apiToken, JoinChannelsRequest joinChannelsRequest) throws ApiException { + Object localVarPostBody = joinChannelsRequest; // verify the required parameter 'botUserid' is set if (botUserid == null) { @@ -308,7 +308,7 @@ private ApiResponse joinChannelsWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.joinChannels", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -318,7 +318,7 @@ private ApiResponse joinChannelsWithHttpInfo public class APIjoinChannelsRequest { private String botUserid; private String apiToken; - private SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest; + private JoinChannelsRequest joinChannelsRequest; private APIjoinChannelsRequest(String botUserid) { this.botUserid = botUserid; @@ -335,18 +335,18 @@ public APIjoinChannelsRequest apiToken(String apiToken) { } /** - * Set sendBirdJoinChannelsRequest - * @param sendBirdJoinChannelsRequest (optional) + * Set joinChannelsRequest + * @param joinChannelsRequest (optional) * @return APIjoinChannelsRequest */ - public APIjoinChannelsRequest sendBirdJoinChannelsRequest(SendBirdJoinChannelsRequest sendBirdJoinChannelsRequest) { - this.sendBirdJoinChannelsRequest = sendBirdJoinChannelsRequest; + public APIjoinChannelsRequest joinChannelsRequest(JoinChannelsRequest joinChannelsRequest) { + this.joinChannelsRequest = joinChannelsRequest; return this; } /** * Execute joinChannels request - * @return SendBirdSendBirdGroupChannelDetail + * @return SendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -356,13 +356,13 @@ public APIjoinChannelsRequest sendBirdJoinChannelsRequest(SendBirdJoinChannelsRe */ - public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { + public SendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute joinChannels request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> + * @return ApiResponse<SendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -371,8 +371,8 @@ public SendBirdSendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return joinChannelsWithHttpInfo(botUserid, apiToken, sendBirdJoinChannelsRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return joinChannelsWithHttpInfo(botUserid, apiToken, joinChannelsRequest); } } @@ -610,7 +610,7 @@ public APIleaveGroupChannelsRequest leaveGroupChannels(String botUserid) throws return new APIleaveGroupChannelsRequest(botUserid); } -private ApiResponse listBotsWithHttpInfo(String token, Integer limit, String apiToken) throws ApiException { +private ApiResponse listBotsWithHttpInfo(String token, Integer limit, String apiToken) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -642,7 +642,7 @@ private ApiResponse listBotsWithHttpInfo(String token, String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.listBots", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -689,7 +689,7 @@ public APIlistBotsRequest apiToken(String apiToken) { /** * Execute listBots request - * @return SendBirdListBotsResponse + * @return ListBotsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -699,13 +699,13 @@ public APIlistBotsRequest apiToken(String apiToken) { */ - public SendBirdListBotsResponse execute() throws ApiException { + public ListBotsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listBots request with HTTP info returned - * @return ApiResponse<SendBirdListBotsResponse> + * @return ApiResponse<ListBotsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -714,7 +714,7 @@ public SendBirdListBotsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listBotsWithHttpInfo(token, limit, apiToken); } } @@ -731,7 +731,7 @@ public APIlistBotsRequest listBots() throws ApiException { return new APIlistBotsRequest(); } -private ApiResponse sendABotMessageWithHttpInfo(String botUserid, String messageType, String channelUrl, String apiToken, String message, List mentioned, SendBirdSendBirdExtendedMessagePayload extendedMessagePayload, File _file, Boolean requireAuth, String mentionType, List mentionedUserIds, Boolean isSilent, List sortedMetaarray, String apnsBundleId, Object appleCriticalAlertOptions, String sound, BigDecimal volume, Long createdAt, String customType, String data, String dedupId, Boolean markAsRead, Boolean sendPush) throws ApiException { +private ApiResponse sendABotMessageWithHttpInfo(String botUserid, String messageType, String channelUrl, String apiToken, String message, List mentioned, SendBirdExtendedMessagePayload extendedMessagePayload, File _file, Boolean requireAuth, String mentionType, List mentionedUserIds, Boolean isSilent, List sortedMetaarray, String apnsBundleId, Object appleCriticalAlertOptions, String sound, BigDecimal volume, Long createdAt, String customType, String data, String dedupId, Boolean markAsRead, Boolean sendPush) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'botUserid' is set @@ -819,7 +819,7 @@ private ApiResponse sendABotMessageWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.sendABotMessage", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -833,13 +833,13 @@ public class APIsendABotMessageRequest { private String apiToken; private String message; private List mentioned; - private SendBirdSendBirdExtendedMessagePayload extendedMessagePayload; + private SendBirdExtendedMessagePayload extendedMessagePayload; private File _file; private Boolean requireAuth; private String mentionType; private List mentionedUserIds; private Boolean isSilent; - private List sortedMetaarray; + private List sortedMetaarray; private String apnsBundleId; private Object appleCriticalAlertOptions; private String sound; @@ -910,7 +910,7 @@ public APIsendABotMessageRequest mentioned(List mentioned) { * @param extendedMessagePayload (optional) * @return APIsendABotMessageRequest */ - public APIsendABotMessageRequest extendedMessagePayload(SendBirdSendBirdExtendedMessagePayload extendedMessagePayload) { + public APIsendABotMessageRequest extendedMessagePayload(SendBirdExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; return this; } @@ -970,7 +970,7 @@ public APIsendABotMessageRequest isSilent(Boolean isSilent) { * @param sortedMetaarray (optional) * @return APIsendABotMessageRequest */ - public APIsendABotMessageRequest sortedMetaarray(List sortedMetaarray) { + public APIsendABotMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } @@ -1077,7 +1077,7 @@ public APIsendABotMessageRequest sendPush(Boolean sendPush) { /** * Execute sendABotMessage request - * @return SendBirdSendABotMessageResponse + * @return SendABotMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1087,13 +1087,13 @@ public APIsendABotMessageRequest sendPush(Boolean sendPush) { */ - public SendBirdSendABotMessageResponse execute() throws ApiException { + public SendABotMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute sendABotMessage request with HTTP info returned - * @return ApiResponse<SendBirdSendABotMessageResponse> + * @return ApiResponse<SendABotMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1102,7 +1102,7 @@ public SendBirdSendABotMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return sendABotMessageWithHttpInfo(botUserid, messageType, channelUrl, apiToken, message, mentioned, extendedMessagePayload, _file, requireAuth, mentionType, mentionedUserIds, isSilent, sortedMetaarray, apnsBundleId, appleCriticalAlertOptions, sound, volume, createdAt, customType, data, dedupId, markAsRead, sendPush); } } @@ -1120,8 +1120,8 @@ public APIsendABotMessageRequest sendABotMessage(String botUserid) throws ApiExc return new APIsendABotMessageRequest(botUserid); } -private ApiResponse updateBotByIdWithHttpInfo(String botUserid, String apiToken, SendBirdUpdateBotByIdData sendBirdUpdateBotByIdData) throws ApiException { - Object localVarPostBody = sendBirdUpdateBotByIdData; +private ApiResponse updateBotByIdWithHttpInfo(String botUserid, String apiToken, UpdateBotByIdData updateBotByIdData) throws ApiException { + Object localVarPostBody = updateBotByIdData; // verify the required parameter 'botUserid' is set if (botUserid == null) { @@ -1156,7 +1156,7 @@ private ApiResponse updateBotByIdWithHttpInfo(Str String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.updateBotById", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1166,7 +1166,7 @@ private ApiResponse updateBotByIdWithHttpInfo(Str public class APIupdateBotByIdRequest { private String botUserid; private String apiToken; - private SendBirdUpdateBotByIdData sendBirdUpdateBotByIdData; + private UpdateBotByIdData updateBotByIdData; private APIupdateBotByIdRequest(String botUserid) { this.botUserid = botUserid; @@ -1183,18 +1183,18 @@ public APIupdateBotByIdRequest apiToken(String apiToken) { } /** - * Set sendBirdUpdateBotByIdData - * @param sendBirdUpdateBotByIdData (optional) + * Set updateBotByIdData + * @param updateBotByIdData (optional) * @return APIupdateBotByIdRequest */ - public APIupdateBotByIdRequest sendBirdUpdateBotByIdData(SendBirdUpdateBotByIdData sendBirdUpdateBotByIdData) { - this.sendBirdUpdateBotByIdData = sendBirdUpdateBotByIdData; + public APIupdateBotByIdRequest updateBotByIdData(UpdateBotByIdData updateBotByIdData) { + this.updateBotByIdData = updateBotByIdData; return this; } /** * Execute updateBotById request - * @return SendBirdUpdateBotByIdResponse + * @return UpdateBotByIdResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1204,13 +1204,13 @@ public APIupdateBotByIdRequest sendBirdUpdateBotByIdData(SendBirdUpdateBotByIdDa */ - public SendBirdUpdateBotByIdResponse execute() throws ApiException { + public UpdateBotByIdResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateBotById request with HTTP info returned - * @return ApiResponse<SendBirdUpdateBotByIdResponse> + * @return ApiResponse<UpdateBotByIdResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1219,8 +1219,8 @@ public SendBirdUpdateBotByIdResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateBotByIdWithHttpInfo(botUserid, apiToken, sendBirdUpdateBotByIdData); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateBotByIdWithHttpInfo(botUserid, apiToken, updateBotByIdData); } } @@ -1237,7 +1237,7 @@ public APIupdateBotByIdRequest updateBotById(String botUserid) throws ApiExcepti return new APIupdateBotByIdRequest(botUserid); } -private ApiResponse viewBotByIdWithHttpInfo(String botUserid, String apiToken) throws ApiException { +private ApiResponse viewBotByIdWithHttpInfo(String botUserid, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'botUserid' is set @@ -1273,7 +1273,7 @@ private ApiResponse viewBotByIdWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.viewBotById", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1300,7 +1300,7 @@ public APIviewBotByIdRequest apiToken(String apiToken) { /** * Execute viewBotById request - * @return SendBirdViewBotByIdResponse + * @return ViewBotByIdResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1310,13 +1310,13 @@ public APIviewBotByIdRequest apiToken(String apiToken) { */ - public SendBirdViewBotByIdResponse execute() throws ApiException { + public ViewBotByIdResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewBotById request with HTTP info returned - * @return ApiResponse<SendBirdViewBotByIdResponse> + * @return ApiResponse<ViewBotByIdResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1325,7 +1325,7 @@ public SendBirdViewBotByIdResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewBotByIdWithHttpInfo(botUserid, apiToken); } } diff --git a/src/main/java/org/sendbird/client/api/GroupChannelApi.java b/src/main/java/org/sendbird/client/api/GroupChannelApi.java index 8da66853..a1f49dce 100644 --- a/src/main/java/org/sendbird/client/api/GroupChannelApi.java +++ b/src/main/java/org/sendbird/client/api/GroupChannelApi.java @@ -8,31 +8,31 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.SendBirdAcceptAnInvitationRequest; -import org.openapitools.client.model.SendBirdCheckIfMemberResponse; -import org.openapitools.client.model.SendBirdCreateAGroupChannelRequest; -import org.openapitools.client.model.SendBirdGetAGroupChannelResponse; -import org.openapitools.client.model.SendBirdGroupChannelListMembersResponse; -import org.openapitools.client.model.SendBirdGroupChatListChannelsResponse; -import org.openapitools.client.model.SendBirdHideAChannelRequest; -import org.openapitools.client.model.SendBirdInviteAsMembersRequest; -import org.openapitools.client.model.SendBirdInviteAsMembersResponse; -import org.openapitools.client.model.SendBirdJoinAChannelRequest; -import org.openapitools.client.model.SendBirdLeaveAChannelRequest; -import org.openapitools.client.model.SendBirdListOperatorsResponse; -import org.openapitools.client.model.SendBirdRegisterOperatorsToAGroupChannelRequest; -import org.openapitools.client.model.SendBirdResetChatHistoryRequest; -import org.openapitools.client.model.SendBirdResetChatHistoryResponse; -import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetail; -import org.openapitools.client.model.SendBirdStartTypingIndicatorsRequest; -import org.openapitools.client.model.SendBirdUpdateAGroupChannelRequest; +import org.openapitools.client.model.AcceptAnInvitationRequest; +import org.openapitools.client.model.CheckIfMemberResponse; +import org.openapitools.client.model.CreateAGroupChannelRequest; +import org.openapitools.client.model.GetAGroupChannelResponse; +import org.openapitools.client.model.GroupChannelListMembersResponse; +import org.openapitools.client.model.GroupChatListChannelsResponse; +import org.openapitools.client.model.HideAChannelRequest; +import org.openapitools.client.model.InviteAsMembersRequest; +import org.openapitools.client.model.InviteAsMembersResponse; +import org.openapitools.client.model.JoinAChannelRequest; +import org.openapitools.client.model.LeaveAChannelRequest; +import org.openapitools.client.model.ListOperatorsResponse; +import org.openapitools.client.model.RegisterOperatorsToAGroupChannelRequest; +import org.openapitools.client.model.ResetChatHistoryRequest; +import org.openapitools.client.model.ResetChatHistoryResponse; +import org.openapitools.client.model.SendBirdGroupChannelDetail; +import org.openapitools.client.model.StartTypingIndicatorsRequest; +import org.openapitools.client.model.UpdateAGroupChannelRequest; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class GroupChannelApi { private ApiClient apiClient; @@ -63,8 +63,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse acceptAnInvitationWithHttpInfo(String channelUrl, String apiToken, SendBirdAcceptAnInvitationRequest sendBirdAcceptAnInvitationRequest) throws ApiException { - Object localVarPostBody = sendBirdAcceptAnInvitationRequest; +private ApiResponse acceptAnInvitationWithHttpInfo(String channelUrl, String apiToken, AcceptAnInvitationRequest acceptAnInvitationRequest) throws ApiException { + Object localVarPostBody = acceptAnInvitationRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -99,7 +99,7 @@ private ApiResponse acceptAnInvitationWithHt String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.acceptAnInvitation", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -109,7 +109,7 @@ private ApiResponse acceptAnInvitationWithHt public class APIacceptAnInvitationRequest { private String channelUrl; private String apiToken; - private SendBirdAcceptAnInvitationRequest sendBirdAcceptAnInvitationRequest; + private AcceptAnInvitationRequest acceptAnInvitationRequest; private APIacceptAnInvitationRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -126,18 +126,18 @@ public APIacceptAnInvitationRequest apiToken(String apiToken) { } /** - * Set sendBirdAcceptAnInvitationRequest - * @param sendBirdAcceptAnInvitationRequest (optional) + * Set acceptAnInvitationRequest + * @param acceptAnInvitationRequest (optional) * @return APIacceptAnInvitationRequest */ - public APIacceptAnInvitationRequest sendBirdAcceptAnInvitationRequest(SendBirdAcceptAnInvitationRequest sendBirdAcceptAnInvitationRequest) { - this.sendBirdAcceptAnInvitationRequest = sendBirdAcceptAnInvitationRequest; + public APIacceptAnInvitationRequest acceptAnInvitationRequest(AcceptAnInvitationRequest acceptAnInvitationRequest) { + this.acceptAnInvitationRequest = acceptAnInvitationRequest; return this; } /** * Execute acceptAnInvitation request - * @return SendBirdSendBirdGroupChannelDetail + * @return SendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -147,13 +147,13 @@ public APIacceptAnInvitationRequest sendBirdAcceptAnInvitationRequest(SendBirdAc */ - public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { + public SendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute acceptAnInvitation request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> + * @return ApiResponse<SendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -162,8 +162,8 @@ public SendBirdSendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return acceptAnInvitationWithHttpInfo(channelUrl, apiToken, sendBirdAcceptAnInvitationRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return acceptAnInvitationWithHttpInfo(channelUrl, apiToken, acceptAnInvitationRequest); } } @@ -315,7 +315,7 @@ public APIcancelTheRegistrationOfOperatorsRequest cancelTheRegistrationOfOperato return new APIcancelTheRegistrationOfOperatorsRequest(channelUrl); } -private ApiResponse checkIfMemberWithHttpInfo(String channelUrl, String userId, String apiToken) throws ApiException { +private ApiResponse checkIfMemberWithHttpInfo(String channelUrl, String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -357,7 +357,7 @@ private ApiResponse checkIfMemberWithHttpInfo(Str String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.checkIfMember", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -386,7 +386,7 @@ public APIcheckIfMemberRequest apiToken(String apiToken) { /** * Execute checkIfMember request - * @return SendBirdCheckIfMemberResponse + * @return CheckIfMemberResponse * @throws ApiException if fails to make API call * @http.response.details @@ -396,13 +396,13 @@ public APIcheckIfMemberRequest apiToken(String apiToken) { */ - public SendBirdCheckIfMemberResponse execute() throws ApiException { + public CheckIfMemberResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute checkIfMember request with HTTP info returned - * @return ApiResponse<SendBirdCheckIfMemberResponse> + * @return ApiResponse<CheckIfMemberResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -411,7 +411,7 @@ public SendBirdCheckIfMemberResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return checkIfMemberWithHttpInfo(channelUrl, userId, apiToken); } } @@ -430,8 +430,8 @@ public APIcheckIfMemberRequest checkIfMember(String channelUrl, String userId) t return new APIcheckIfMemberRequest(channelUrl, userId); } -private ApiResponse createAGroupChannelWithHttpInfo(String apiToken, SendBirdCreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdCreateAGroupChannelRequest; +private ApiResponse createAGroupChannelWithHttpInfo(String apiToken, CreateAGroupChannelRequest createAGroupChannelRequest) throws ApiException { + Object localVarPostBody = createAGroupChannelRequest; // create path and map variables String localVarPath = "/v3/group_channels"; @@ -460,7 +460,7 @@ private ApiResponse createAGroupChannelWithH String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.createAGroupChannel", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -469,7 +469,7 @@ private ApiResponse createAGroupChannelWithH public class APIcreateAGroupChannelRequest { private String apiToken; - private SendBirdCreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest; + private CreateAGroupChannelRequest createAGroupChannelRequest; private APIcreateAGroupChannelRequest() { } @@ -485,18 +485,18 @@ public APIcreateAGroupChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdCreateAGroupChannelRequest - * @param sendBirdCreateAGroupChannelRequest (optional) + * Set createAGroupChannelRequest + * @param createAGroupChannelRequest (optional) * @return APIcreateAGroupChannelRequest */ - public APIcreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest(SendBirdCreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest) { - this.sendBirdCreateAGroupChannelRequest = sendBirdCreateAGroupChannelRequest; + public APIcreateAGroupChannelRequest createAGroupChannelRequest(CreateAGroupChannelRequest createAGroupChannelRequest) { + this.createAGroupChannelRequest = createAGroupChannelRequest; return this; } /** * Execute createAGroupChannel request - * @return SendBirdSendBirdGroupChannelDetail + * @return SendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -506,13 +506,13 @@ public APIcreateAGroupChannelRequest sendBirdCreateAGroupChannelRequest(SendBird */ - public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { + public SendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAGroupChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> + * @return ApiResponse<SendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -521,8 +521,8 @@ public SendBirdSendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createAGroupChannelWithHttpInfo(apiToken, sendBirdCreateAGroupChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createAGroupChannelWithHttpInfo(apiToken, createAGroupChannelRequest); } } @@ -644,7 +644,7 @@ public APIdeleteAGroupChannelRequest deleteAGroupChannel(String channelUrl) thro return new APIdeleteAGroupChannelRequest(channelUrl); } -private ApiResponse getAGroupChannelWithHttpInfo(String channelUrl, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMember, String memberActiveMode, String userId, String apiToken) throws ApiException { +private ApiResponse getAGroupChannelWithHttpInfo(String channelUrl, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMember, String memberActiveMode, String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -685,7 +685,7 @@ private ApiResponse getAGroupChannelWithHttpIn String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.getAGroupChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -767,7 +767,7 @@ public APIgetAGroupChannelRequest apiToken(String apiToken) { /** * Execute getAGroupChannel request - * @return SendBirdGetAGroupChannelResponse + * @return GetAGroupChannelResponse * @throws ApiException if fails to make API call * @http.response.details @@ -777,13 +777,13 @@ public APIgetAGroupChannelRequest apiToken(String apiToken) { */ - public SendBirdGetAGroupChannelResponse execute() throws ApiException { + public GetAGroupChannelResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getAGroupChannel request with HTTP info returned - * @return ApiResponse<SendBirdGetAGroupChannelResponse> + * @return ApiResponse<GetAGroupChannelResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -792,7 +792,7 @@ public SendBirdGetAGroupChannelResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getAGroupChannelWithHttpInfo(channelUrl, showDeliveryReceipt, showReadReceipt, showMember, memberActiveMode, userId, apiToken); } } @@ -810,8 +810,8 @@ public APIgetAGroupChannelRequest getAGroupChannel(String channelUrl) throws Api return new APIgetAGroupChannelRequest(channelUrl); } -private ApiResponse hideAChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdHideAChannelRequest sendBirdHideAChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdHideAChannelRequest; +private ApiResponse hideAChannelWithHttpInfo(String channelUrl, String apiToken, HideAChannelRequest hideAChannelRequest) throws ApiException { + Object localVarPostBody = hideAChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -856,7 +856,7 @@ private ApiResponse hideAChannelWithHttpInfo(String channelUrl, String a public class APIhideAChannelRequest { private String channelUrl; private String apiToken; - private SendBirdHideAChannelRequest sendBirdHideAChannelRequest; + private HideAChannelRequest hideAChannelRequest; private APIhideAChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -873,12 +873,12 @@ public APIhideAChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdHideAChannelRequest - * @param sendBirdHideAChannelRequest (optional) + * Set hideAChannelRequest + * @param hideAChannelRequest (optional) * @return APIhideAChannelRequest */ - public APIhideAChannelRequest sendBirdHideAChannelRequest(SendBirdHideAChannelRequest sendBirdHideAChannelRequest) { - this.sendBirdHideAChannelRequest = sendBirdHideAChannelRequest; + public APIhideAChannelRequest hideAChannelRequest(HideAChannelRequest hideAChannelRequest) { + this.hideAChannelRequest = hideAChannelRequest; return this; } @@ -910,7 +910,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return hideAChannelWithHttpInfo(channelUrl, apiToken, sendBirdHideAChannelRequest); + return hideAChannelWithHttpInfo(channelUrl, apiToken, hideAChannelRequest); } } @@ -927,8 +927,8 @@ public APIhideAChannelRequest hideAChannel(String channelUrl) throws ApiExceptio return new APIhideAChannelRequest(channelUrl); } -private ApiResponse inviteAsMembersWithHttpInfo(String channelUrl, String apiToken, SendBirdInviteAsMembersRequest sendBirdInviteAsMembersRequest) throws ApiException { - Object localVarPostBody = sendBirdInviteAsMembersRequest; +private ApiResponse inviteAsMembersWithHttpInfo(String channelUrl, String apiToken, InviteAsMembersRequest inviteAsMembersRequest) throws ApiException { + Object localVarPostBody = inviteAsMembersRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -963,7 +963,7 @@ private ApiResponse inviteAsMembersWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.inviteAsMembers", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -973,7 +973,7 @@ private ApiResponse inviteAsMembersWithHttpInfo public class APIinviteAsMembersRequest { private String channelUrl; private String apiToken; - private SendBirdInviteAsMembersRequest sendBirdInviteAsMembersRequest; + private InviteAsMembersRequest inviteAsMembersRequest; private APIinviteAsMembersRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -990,18 +990,18 @@ public APIinviteAsMembersRequest apiToken(String apiToken) { } /** - * Set sendBirdInviteAsMembersRequest - * @param sendBirdInviteAsMembersRequest (optional) + * Set inviteAsMembersRequest + * @param inviteAsMembersRequest (optional) * @return APIinviteAsMembersRequest */ - public APIinviteAsMembersRequest sendBirdInviteAsMembersRequest(SendBirdInviteAsMembersRequest sendBirdInviteAsMembersRequest) { - this.sendBirdInviteAsMembersRequest = sendBirdInviteAsMembersRequest; + public APIinviteAsMembersRequest inviteAsMembersRequest(InviteAsMembersRequest inviteAsMembersRequest) { + this.inviteAsMembersRequest = inviteAsMembersRequest; return this; } /** * Execute inviteAsMembers request - * @return SendBirdInviteAsMembersResponse + * @return InviteAsMembersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1011,13 +1011,13 @@ public APIinviteAsMembersRequest sendBirdInviteAsMembersRequest(SendBirdInviteAs */ - public SendBirdInviteAsMembersResponse execute() throws ApiException { + public InviteAsMembersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute inviteAsMembers request with HTTP info returned - * @return ApiResponse<SendBirdInviteAsMembersResponse> + * @return ApiResponse<InviteAsMembersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1026,8 +1026,8 @@ public SendBirdInviteAsMembersResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return inviteAsMembersWithHttpInfo(channelUrl, apiToken, sendBirdInviteAsMembersRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return inviteAsMembersWithHttpInfo(channelUrl, apiToken, inviteAsMembersRequest); } } @@ -1044,8 +1044,8 @@ public APIinviteAsMembersRequest inviteAsMembers(String channelUrl) throws ApiEx return new APIinviteAsMembersRequest(channelUrl); } -private ApiResponse joinAChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdJoinAChannelRequest sendBirdJoinAChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdJoinAChannelRequest; +private ApiResponse joinAChannelWithHttpInfo(String channelUrl, String apiToken, JoinAChannelRequest joinAChannelRequest) throws ApiException { + Object localVarPostBody = joinAChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -1080,7 +1080,7 @@ private ApiResponse joinAChannelWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.joinAChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1090,7 +1090,7 @@ private ApiResponse joinAChannelWithHttpInfo public class APIjoinAChannelRequest { private String channelUrl; private String apiToken; - private SendBirdJoinAChannelRequest sendBirdJoinAChannelRequest; + private JoinAChannelRequest joinAChannelRequest; private APIjoinAChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -1107,18 +1107,18 @@ public APIjoinAChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdJoinAChannelRequest - * @param sendBirdJoinAChannelRequest (optional) + * Set joinAChannelRequest + * @param joinAChannelRequest (optional) * @return APIjoinAChannelRequest */ - public APIjoinAChannelRequest sendBirdJoinAChannelRequest(SendBirdJoinAChannelRequest sendBirdJoinAChannelRequest) { - this.sendBirdJoinAChannelRequest = sendBirdJoinAChannelRequest; + public APIjoinAChannelRequest joinAChannelRequest(JoinAChannelRequest joinAChannelRequest) { + this.joinAChannelRequest = joinAChannelRequest; return this; } /** * Execute joinAChannel request - * @return SendBirdSendBirdGroupChannelDetail + * @return SendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -1128,13 +1128,13 @@ public APIjoinAChannelRequest sendBirdJoinAChannelRequest(SendBirdJoinAChannelRe */ - public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { + public SendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute joinAChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> + * @return ApiResponse<SendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -1143,8 +1143,8 @@ public SendBirdSendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return joinAChannelWithHttpInfo(channelUrl, apiToken, sendBirdJoinAChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return joinAChannelWithHttpInfo(channelUrl, apiToken, joinAChannelRequest); } } @@ -1161,8 +1161,8 @@ public APIjoinAChannelRequest joinAChannel(String channelUrl) throws ApiExceptio return new APIjoinAChannelRequest(channelUrl); } -private ApiResponse leaveAChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdLeaveAChannelRequest sendBirdLeaveAChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdLeaveAChannelRequest; +private ApiResponse leaveAChannelWithHttpInfo(String channelUrl, String apiToken, LeaveAChannelRequest leaveAChannelRequest) throws ApiException { + Object localVarPostBody = leaveAChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -1207,7 +1207,7 @@ private ApiResponse leaveAChannelWithHttpInfo(String channelUrl, String public class APIleaveAChannelRequest { private String channelUrl; private String apiToken; - private SendBirdLeaveAChannelRequest sendBirdLeaveAChannelRequest; + private LeaveAChannelRequest leaveAChannelRequest; private APIleaveAChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -1224,12 +1224,12 @@ public APIleaveAChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdLeaveAChannelRequest - * @param sendBirdLeaveAChannelRequest (optional) + * Set leaveAChannelRequest + * @param leaveAChannelRequest (optional) * @return APIleaveAChannelRequest */ - public APIleaveAChannelRequest sendBirdLeaveAChannelRequest(SendBirdLeaveAChannelRequest sendBirdLeaveAChannelRequest) { - this.sendBirdLeaveAChannelRequest = sendBirdLeaveAChannelRequest; + public APIleaveAChannelRequest leaveAChannelRequest(LeaveAChannelRequest leaveAChannelRequest) { + this.leaveAChannelRequest = leaveAChannelRequest; return this; } @@ -1261,7 +1261,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return leaveAChannelWithHttpInfo(channelUrl, apiToken, sendBirdLeaveAChannelRequest); + return leaveAChannelWithHttpInfo(channelUrl, apiToken, leaveAChannelRequest); } } @@ -1278,7 +1278,7 @@ public APIleaveAChannelRequest leaveAChannel(String channelUrl) throws ApiExcept return new APIleaveAChannelRequest(channelUrl); } -private ApiResponse listChannelsWithHttpInfo(String apiToken, String token, Integer limit, String distinctMode, String publicMode, String superMode, Long createdAfter, Long createdBefore, Boolean showEmpty, Boolean showMember, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMetadata, Boolean showFrozen, String order, String metadataOrderKey, String customTypes, String customTypeStartswith, String channelUrls, String name, String nameContains, String nameStartswith, String membersExactlyIn, String membersIncludeIn, String queryType, String membersNickname, String membersNicknameContains, String metadataKey, String metadataValues, String metadataValueStartswith, String metacounterKey, String metacounterValues, String metacounterValueGt, String metacounterValueGte, String metacounterValueLt, String metacounterValueLte, Boolean includeSortedMetaarrayInLastMessage) throws ApiException { +private ApiResponse listChannelsWithHttpInfo(String apiToken, String token, Integer limit, String distinctMode, String publicMode, String superMode, Long createdAfter, Long createdBefore, Boolean showEmpty, Boolean showMember, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMetadata, Boolean showFrozen, String order, String metadataOrderKey, String customTypes, String customTypeStartswith, String channelUrls, String name, String nameContains, String nameStartswith, String membersExactlyIn, String membersIncludeIn, String queryType, String membersNickname, String membersNicknameContains, String metadataKey, String metadataValues, String metadataValueStartswith, String metacounterKey, String metacounterValues, String metacounterValueGt, String metacounterValueGte, String metacounterValueLt, String metacounterValueLte, Boolean includeSortedMetaarrayInLastMessage) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'apiToken' is set @@ -1349,7 +1349,7 @@ private ApiResponse listChannelsWithHttpI String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.listChannels", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1770,7 +1770,7 @@ public APIlistChannelsRequest includeSortedMetaarrayInLastMessage(Boolean includ /** * Execute listChannels request - * @return SendBirdGroupChatListChannelsResponse + * @return GroupChatListChannelsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1780,13 +1780,13 @@ public APIlistChannelsRequest includeSortedMetaarrayInLastMessage(Boolean includ */ - public SendBirdGroupChatListChannelsResponse execute() throws ApiException { + public GroupChatListChannelsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listChannels request with HTTP info returned - * @return ApiResponse<SendBirdGroupChatListChannelsResponse> + * @return ApiResponse<GroupChatListChannelsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1795,7 +1795,7 @@ public SendBirdGroupChatListChannelsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listChannelsWithHttpInfo(apiToken, token, limit, distinctMode, publicMode, superMode, createdAfter, createdBefore, showEmpty, showMember, showDeliveryReceipt, showReadReceipt, showMetadata, showFrozen, order, metadataOrderKey, customTypes, customTypeStartswith, channelUrls, name, nameContains, nameStartswith, membersExactlyIn, membersIncludeIn, queryType, membersNickname, membersNicknameContains, metadataKey, metadataValues, metadataValueStartswith, metacounterKey, metacounterValues, metacounterValueGt, metacounterValueGte, metacounterValueLt, metacounterValueLte, includeSortedMetaarrayInLastMessage); } } @@ -1812,7 +1812,7 @@ public APIlistChannelsRequest listChannels() throws ApiException { return new APIlistChannelsRequest(); } -private ApiResponse listMembersWithHttpInfo(String channelUrl, String token, Integer limit, String userId, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMemberIsMuted, String order, String operatorFilter, String memberStateFilter, String mutedMemberFilter, String memberActiveModeFilter, String nicknameStartswith, Boolean includePushPreference, String apiToken) throws ApiException { +private ApiResponse listMembersWithHttpInfo(String channelUrl, String token, Integer limit, String userId, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMemberIsMuted, String order, String operatorFilter, String memberStateFilter, String mutedMemberFilter, String memberActiveModeFilter, String nicknameStartswith, Boolean includePushPreference, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -1861,7 +1861,7 @@ private ApiResponse listMembersWithHttp String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.listMembers", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2031,7 +2031,7 @@ public APIlistMembersRequest apiToken(String apiToken) { /** * Execute listMembers request - * @return SendBirdGroupChannelListMembersResponse + * @return GroupChannelListMembersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2041,13 +2041,13 @@ public APIlistMembersRequest apiToken(String apiToken) { */ - public SendBirdGroupChannelListMembersResponse execute() throws ApiException { + public GroupChannelListMembersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listMembers request with HTTP info returned - * @return ApiResponse<SendBirdGroupChannelListMembersResponse> + * @return ApiResponse<GroupChannelListMembersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2056,7 +2056,7 @@ public SendBirdGroupChannelListMembersResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listMembersWithHttpInfo(channelUrl, token, limit, userId, showDeliveryReceipt, showReadReceipt, showMemberIsMuted, order, operatorFilter, memberStateFilter, mutedMemberFilter, memberActiveModeFilter, nicknameStartswith, includePushPreference, apiToken); } } @@ -2074,7 +2074,7 @@ public APIlistMembersRequest listMembers(String channelUrl) throws ApiException return new APIlistMembersRequest(channelUrl); } -private ApiResponse listOperatorsWithHttpInfo(String channelUrl, String token, Integer limit, String apiToken) throws ApiException { +private ApiResponse listOperatorsWithHttpInfo(String channelUrl, String token, Integer limit, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -2112,7 +2112,7 @@ private ApiResponse listOperatorsWithHttpInfo(Str String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.listOperators", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2161,7 +2161,7 @@ public APIlistOperatorsRequest apiToken(String apiToken) { /** * Execute listOperators request - * @return SendBirdListOperatorsResponse + * @return ListOperatorsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2171,13 +2171,13 @@ public APIlistOperatorsRequest apiToken(String apiToken) { */ - public SendBirdListOperatorsResponse execute() throws ApiException { + public ListOperatorsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listOperators request with HTTP info returned - * @return ApiResponse<SendBirdListOperatorsResponse> + * @return ApiResponse<ListOperatorsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2186,7 +2186,7 @@ public SendBirdListOperatorsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listOperatorsWithHttpInfo(channelUrl, token, limit, apiToken); } } @@ -2204,8 +2204,8 @@ public APIlistOperatorsRequest listOperators(String channelUrl) throws ApiExcept return new APIlistOperatorsRequest(channelUrl); } -private ApiResponse registerOperatorsToAGroupChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdRegisterOperatorsToAGroupChannelRequest; +private ApiResponse registerOperatorsToAGroupChannelWithHttpInfo(String channelUrl, String apiToken, RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest) throws ApiException { + Object localVarPostBody = registerOperatorsToAGroupChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -2250,7 +2250,7 @@ private ApiResponse registerOperatorsToAGroupChannelWithHttpInfo(String public class APIregisterOperatorsToAGroupChannelRequest { private String channelUrl; private String apiToken; - private SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest; + private RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest; private APIregisterOperatorsToAGroupChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -2267,12 +2267,12 @@ public APIregisterOperatorsToAGroupChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdRegisterOperatorsToAGroupChannelRequest - * @param sendBirdRegisterOperatorsToAGroupChannelRequest (optional) + * Set registerOperatorsToAGroupChannelRequest + * @param registerOperatorsToAGroupChannelRequest (optional) * @return APIregisterOperatorsToAGroupChannelRequest */ - public APIregisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest(SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest) { - this.sendBirdRegisterOperatorsToAGroupChannelRequest = sendBirdRegisterOperatorsToAGroupChannelRequest; + public APIregisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest(RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest) { + this.registerOperatorsToAGroupChannelRequest = registerOperatorsToAGroupChannelRequest; return this; } @@ -2304,7 +2304,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return registerOperatorsToAGroupChannelWithHttpInfo(channelUrl, apiToken, sendBirdRegisterOperatorsToAGroupChannelRequest); + return registerOperatorsToAGroupChannelWithHttpInfo(channelUrl, apiToken, registerOperatorsToAGroupChannelRequest); } } @@ -2321,8 +2321,8 @@ public APIregisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChann return new APIregisterOperatorsToAGroupChannelRequest(channelUrl); } -private ApiResponse resetChatHistoryWithHttpInfo(String channelUrl, String apiToken, SendBirdResetChatHistoryRequest sendBirdResetChatHistoryRequest) throws ApiException { - Object localVarPostBody = sendBirdResetChatHistoryRequest; +private ApiResponse resetChatHistoryWithHttpInfo(String channelUrl, String apiToken, ResetChatHistoryRequest resetChatHistoryRequest) throws ApiException { + Object localVarPostBody = resetChatHistoryRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -2357,7 +2357,7 @@ private ApiResponse resetChatHistoryWithHttpIn String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.resetChatHistory", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2367,7 +2367,7 @@ private ApiResponse resetChatHistoryWithHttpIn public class APIresetChatHistoryRequest { private String channelUrl; private String apiToken; - private SendBirdResetChatHistoryRequest sendBirdResetChatHistoryRequest; + private ResetChatHistoryRequest resetChatHistoryRequest; private APIresetChatHistoryRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -2384,18 +2384,18 @@ public APIresetChatHistoryRequest apiToken(String apiToken) { } /** - * Set sendBirdResetChatHistoryRequest - * @param sendBirdResetChatHistoryRequest (optional) + * Set resetChatHistoryRequest + * @param resetChatHistoryRequest (optional) * @return APIresetChatHistoryRequest */ - public APIresetChatHistoryRequest sendBirdResetChatHistoryRequest(SendBirdResetChatHistoryRequest sendBirdResetChatHistoryRequest) { - this.sendBirdResetChatHistoryRequest = sendBirdResetChatHistoryRequest; + public APIresetChatHistoryRequest resetChatHistoryRequest(ResetChatHistoryRequest resetChatHistoryRequest) { + this.resetChatHistoryRequest = resetChatHistoryRequest; return this; } /** * Execute resetChatHistory request - * @return SendBirdResetChatHistoryResponse + * @return ResetChatHistoryResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2405,13 +2405,13 @@ public APIresetChatHistoryRequest sendBirdResetChatHistoryRequest(SendBirdResetC */ - public SendBirdResetChatHistoryResponse execute() throws ApiException { + public ResetChatHistoryResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute resetChatHistory request with HTTP info returned - * @return ApiResponse<SendBirdResetChatHistoryResponse> + * @return ApiResponse<ResetChatHistoryResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2420,8 +2420,8 @@ public SendBirdResetChatHistoryResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return resetChatHistoryWithHttpInfo(channelUrl, apiToken, sendBirdResetChatHistoryRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return resetChatHistoryWithHttpInfo(channelUrl, apiToken, resetChatHistoryRequest); } } @@ -2438,8 +2438,8 @@ public APIresetChatHistoryRequest resetChatHistory(String channelUrl) throws Api return new APIresetChatHistoryRequest(channelUrl); } -private ApiResponse startTypingIndicatorsWithHttpInfo(String channelUrl, String apiToken, SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest) throws ApiException { - Object localVarPostBody = sendBirdStartTypingIndicatorsRequest; +private ApiResponse startTypingIndicatorsWithHttpInfo(String channelUrl, String apiToken, StartTypingIndicatorsRequest startTypingIndicatorsRequest) throws ApiException { + Object localVarPostBody = startTypingIndicatorsRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -2484,7 +2484,7 @@ private ApiResponse startTypingIndicatorsWithHttpInfo(String channelUrl, public class APIstartTypingIndicatorsRequest { private String channelUrl; private String apiToken; - private SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest; + private StartTypingIndicatorsRequest startTypingIndicatorsRequest; private APIstartTypingIndicatorsRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -2501,12 +2501,12 @@ public APIstartTypingIndicatorsRequest apiToken(String apiToken) { } /** - * Set sendBirdStartTypingIndicatorsRequest - * @param sendBirdStartTypingIndicatorsRequest (optional) + * Set startTypingIndicatorsRequest + * @param startTypingIndicatorsRequest (optional) * @return APIstartTypingIndicatorsRequest */ - public APIstartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest(SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest) { - this.sendBirdStartTypingIndicatorsRequest = sendBirdStartTypingIndicatorsRequest; + public APIstartTypingIndicatorsRequest startTypingIndicatorsRequest(StartTypingIndicatorsRequest startTypingIndicatorsRequest) { + this.startTypingIndicatorsRequest = startTypingIndicatorsRequest; return this; } @@ -2538,7 +2538,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return startTypingIndicatorsWithHttpInfo(channelUrl, apiToken, sendBirdStartTypingIndicatorsRequest); + return startTypingIndicatorsWithHttpInfo(channelUrl, apiToken, startTypingIndicatorsRequest); } } @@ -2555,8 +2555,8 @@ public APIstartTypingIndicatorsRequest startTypingIndicators(String channelUrl) return new APIstartTypingIndicatorsRequest(channelUrl); } -private ApiResponse stopTypingIndicatorsWithHttpInfo(String channelUrl, String apiToken, SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest) throws ApiException { - Object localVarPostBody = sendBirdStartTypingIndicatorsRequest; +private ApiResponse stopTypingIndicatorsWithHttpInfo(String channelUrl, String apiToken, StartTypingIndicatorsRequest startTypingIndicatorsRequest) throws ApiException { + Object localVarPostBody = startTypingIndicatorsRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -2601,7 +2601,7 @@ private ApiResponse stopTypingIndicatorsWithHttpInfo(String channelUrl, public class APIstopTypingIndicatorsRequest { private String channelUrl; private String apiToken; - private SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest; + private StartTypingIndicatorsRequest startTypingIndicatorsRequest; private APIstopTypingIndicatorsRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -2618,12 +2618,12 @@ public APIstopTypingIndicatorsRequest apiToken(String apiToken) { } /** - * Set sendBirdStartTypingIndicatorsRequest - * @param sendBirdStartTypingIndicatorsRequest (optional) + * Set startTypingIndicatorsRequest + * @param startTypingIndicatorsRequest (optional) * @return APIstopTypingIndicatorsRequest */ - public APIstopTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest(SendBirdStartTypingIndicatorsRequest sendBirdStartTypingIndicatorsRequest) { - this.sendBirdStartTypingIndicatorsRequest = sendBirdStartTypingIndicatorsRequest; + public APIstopTypingIndicatorsRequest startTypingIndicatorsRequest(StartTypingIndicatorsRequest startTypingIndicatorsRequest) { + this.startTypingIndicatorsRequest = startTypingIndicatorsRequest; return this; } @@ -2655,7 +2655,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return stopTypingIndicatorsWithHttpInfo(channelUrl, apiToken, sendBirdStartTypingIndicatorsRequest); + return stopTypingIndicatorsWithHttpInfo(channelUrl, apiToken, startTypingIndicatorsRequest); } } @@ -2807,8 +2807,8 @@ public APIunhideAChannelRequest unhideAChannel(String channelUrl) throws ApiExce return new APIunhideAChannelRequest(channelUrl); } -private ApiResponse updateAGroupChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdUpdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdUpdateAGroupChannelRequest; +private ApiResponse updateAGroupChannelWithHttpInfo(String channelUrl, String apiToken, UpdateAGroupChannelRequest updateAGroupChannelRequest) throws ApiException { + Object localVarPostBody = updateAGroupChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -2843,7 +2843,7 @@ private ApiResponse updateAGroupChannelWithH String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.updateAGroupChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2853,7 +2853,7 @@ private ApiResponse updateAGroupChannelWithH public class APIupdateAGroupChannelRequest { private String channelUrl; private String apiToken; - private SendBirdUpdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest; + private UpdateAGroupChannelRequest updateAGroupChannelRequest; private APIupdateAGroupChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -2870,18 +2870,18 @@ public APIupdateAGroupChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdUpdateAGroupChannelRequest - * @param sendBirdUpdateAGroupChannelRequest (optional) + * Set updateAGroupChannelRequest + * @param updateAGroupChannelRequest (optional) * @return APIupdateAGroupChannelRequest */ - public APIupdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest(SendBirdUpdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest) { - this.sendBirdUpdateAGroupChannelRequest = sendBirdUpdateAGroupChannelRequest; + public APIupdateAGroupChannelRequest updateAGroupChannelRequest(UpdateAGroupChannelRequest updateAGroupChannelRequest) { + this.updateAGroupChannelRequest = updateAGroupChannelRequest; return this; } /** * Execute updateAGroupChannel request - * @return SendBirdSendBirdGroupChannelDetail + * @return SendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -2891,13 +2891,13 @@ public APIupdateAGroupChannelRequest sendBirdUpdateAGroupChannelRequest(SendBird */ - public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { + public SendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAGroupChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> + * @return ApiResponse<SendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -2906,8 +2906,8 @@ public SendBirdSendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateAGroupChannelWithHttpInfo(channelUrl, apiToken, sendBirdUpdateAGroupChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateAGroupChannelWithHttpInfo(channelUrl, apiToken, updateAGroupChannelRequest); } } diff --git a/src/main/java/org/sendbird/client/api/MessageApi.java b/src/main/java/org/sendbird/client/api/MessageApi.java index 4c6b32c5..7c2c2451 100644 --- a/src/main/java/org/sendbird/client/api/MessageApi.java +++ b/src/main/java/org/sendbird/client/api/MessageApi.java @@ -8,24 +8,24 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.SendBirdAddExtraDataToAMessageRequest; -import org.openapitools.client.model.SendBirdAddExtraDataToAMessageResponse; -import org.openapitools.client.model.SendBirdGetTotalNumberOfMessagesInAChannelResponse; -import org.openapitools.client.model.SendBirdListMessagesResponse; -import org.openapitools.client.model.SendBirdMarkChannelMessagesAsReadRequest; -import org.openapitools.client.model.SendBirdMigrateMessagesRequest; -import org.openapitools.client.model.SendBirdSendAMessageRequest; -import org.openapitools.client.model.SendBirdSendBirdMessageResponse; -import org.openapitools.client.model.SendBirdUpdateAMessageRequest; -import org.openapitools.client.model.SendBirdUpdateExtraDataInAMessageRequest; -import org.openapitools.client.model.SendBirdUpdateExtraDataInAMessageResponse; +import org.openapitools.client.model.AddExtraDataToAMessageRequest; +import org.openapitools.client.model.AddExtraDataToAMessageResponse; +import org.openapitools.client.model.GetTotalNumberOfMessagesInAChannelResponse; +import org.openapitools.client.model.ListMessagesResponse; +import org.openapitools.client.model.MarkChannelMessagesAsReadRequest; +import org.openapitools.client.model.MigrateMessagesRequest; +import org.openapitools.client.model.SendAMessageRequest; +import org.openapitools.client.model.SendBirdMessageResponse; +import org.openapitools.client.model.UpdateAMessageRequest; +import org.openapitools.client.model.UpdateExtraDataInAMessageRequest; +import org.openapitools.client.model.UpdateExtraDataInAMessageResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class MessageApi { private ApiClient apiClient; @@ -56,8 +56,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse addExtraDataToAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, SendBirdAddExtraDataToAMessageRequest sendBirdAddExtraDataToAMessageRequest) throws ApiException { - Object localVarPostBody = sendBirdAddExtraDataToAMessageRequest; +private ApiResponse addExtraDataToAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, AddExtraDataToAMessageRequest addExtraDataToAMessageRequest) throws ApiException { + Object localVarPostBody = addExtraDataToAMessageRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -104,7 +104,7 @@ private ApiResponse addExtraDataToAMessa String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.addExtraDataToAMessage", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -116,7 +116,7 @@ public class APIaddExtraDataToAMessageRequest { private String channelUrl; private Long messageId; private String apiToken; - private SendBirdAddExtraDataToAMessageRequest sendBirdAddExtraDataToAMessageRequest; + private AddExtraDataToAMessageRequest addExtraDataToAMessageRequest; private APIaddExtraDataToAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; @@ -135,18 +135,18 @@ public APIaddExtraDataToAMessageRequest apiToken(String apiToken) { } /** - * Set sendBirdAddExtraDataToAMessageRequest - * @param sendBirdAddExtraDataToAMessageRequest (optional) + * Set addExtraDataToAMessageRequest + * @param addExtraDataToAMessageRequest (optional) * @return APIaddExtraDataToAMessageRequest */ - public APIaddExtraDataToAMessageRequest sendBirdAddExtraDataToAMessageRequest(SendBirdAddExtraDataToAMessageRequest sendBirdAddExtraDataToAMessageRequest) { - this.sendBirdAddExtraDataToAMessageRequest = sendBirdAddExtraDataToAMessageRequest; + public APIaddExtraDataToAMessageRequest addExtraDataToAMessageRequest(AddExtraDataToAMessageRequest addExtraDataToAMessageRequest) { + this.addExtraDataToAMessageRequest = addExtraDataToAMessageRequest; return this; } /** * Execute addExtraDataToAMessage request - * @return SendBirdAddExtraDataToAMessageResponse + * @return AddExtraDataToAMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -156,13 +156,13 @@ public APIaddExtraDataToAMessageRequest sendBirdAddExtraDataToAMessageRequest(Se */ - public SendBirdAddExtraDataToAMessageResponse execute() throws ApiException { + public AddExtraDataToAMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute addExtraDataToAMessage request with HTTP info returned - * @return ApiResponse<SendBirdAddExtraDataToAMessageResponse> + * @return ApiResponse<AddExtraDataToAMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -171,8 +171,8 @@ public SendBirdAddExtraDataToAMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return addExtraDataToAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, sendBirdAddExtraDataToAMessageRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return addExtraDataToAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, addExtraDataToAMessageRequest); } } @@ -315,7 +315,7 @@ public APIdeleteAMessageRequest deleteAMessage(String channelType, String channe return new APIdeleteAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse getAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, Boolean includeReactions, Boolean includeThreadInfo, Boolean includeParentMessageInfo, Boolean includePollDetails, Boolean withSortedMetaArray, String apiToken) throws ApiException { +private ApiResponse getAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, Boolean includeReactions, Boolean includeThreadInfo, Boolean includeParentMessageInfo, Boolean includePollDetails, Boolean withSortedMetaArray, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelType' is set @@ -368,7 +368,7 @@ private ApiResponse getAMessageWithHttpInfo(Str String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.getAMessage", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -454,7 +454,7 @@ public APIgetAMessageRequest apiToken(String apiToken) { /** * Execute getAMessage request - * @return SendBirdSendBirdMessageResponse + * @return SendBirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -464,13 +464,13 @@ public APIgetAMessageRequest apiToken(String apiToken) { */ - public SendBirdSendBirdMessageResponse execute() throws ApiException { + public SendBirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getAMessage request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdMessageResponse> + * @return ApiResponse<SendBirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -479,7 +479,7 @@ public SendBirdSendBirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getAMessageWithHttpInfo(channelType, channelUrl, messageId, includeReactions, includeThreadInfo, includeParentMessageInfo, includePollDetails, withSortedMetaArray, apiToken); } } @@ -499,7 +499,7 @@ public APIgetAMessageRequest getAMessage(String channelType, String channelUrl, return new APIgetAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse getTotalNumberOfMessagesInAChannelWithHttpInfo(String channelType, String channelUrl, String apiToken) throws ApiException { +private ApiResponse getTotalNumberOfMessagesInAChannelWithHttpInfo(String channelType, String channelUrl, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelType' is set @@ -541,7 +541,7 @@ private ApiResponse getTotal String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.getTotalNumberOfMessagesInAChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -570,7 +570,7 @@ public APIgetTotalNumberOfMessagesInAChannelRequest apiToken(String apiToken) { /** * Execute getTotalNumberOfMessagesInAChannel request - * @return SendBirdGetTotalNumberOfMessagesInAChannelResponse + * @return GetTotalNumberOfMessagesInAChannelResponse * @throws ApiException if fails to make API call * @http.response.details @@ -580,13 +580,13 @@ public APIgetTotalNumberOfMessagesInAChannelRequest apiToken(String apiToken) { */ - public SendBirdGetTotalNumberOfMessagesInAChannelResponse execute() throws ApiException { + public GetTotalNumberOfMessagesInAChannelResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getTotalNumberOfMessagesInAChannel request with HTTP info returned - * @return ApiResponse<SendBirdGetTotalNumberOfMessagesInAChannelResponse> + * @return ApiResponse<GetTotalNumberOfMessagesInAChannelResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -595,7 +595,7 @@ public SendBirdGetTotalNumberOfMessagesInAChannelResponse execute() throws ApiEx
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getTotalNumberOfMessagesInAChannelWithHttpInfo(channelType, channelUrl, apiToken); } } @@ -614,7 +614,7 @@ public APIgetTotalNumberOfMessagesInAChannelRequest getTotalNumberOfMessagesInAC return new APIgetTotalNumberOfMessagesInAChannelRequest(channelType, channelUrl); } -private ApiResponse listMessagesWithHttpInfo(String channelType, String channelUrl, Long messageTs, Long messageId, Integer prevLimit, Integer nextLimit, Boolean include, Boolean reverse, String senderId, String senderIds, String operatorFilter, String customTypes, String messageType, Boolean includingRemoved, Boolean includeReactions, String includeReplyType, Boolean includeParentMessageInfo, Boolean includeThreadInfo, Boolean includePollDetails, Boolean withSortedMetaArray, Boolean showSubchannelMessagesOnly, String userId, String apiToken) throws ApiException { +private ApiResponse listMessagesWithHttpInfo(String channelType, String channelUrl, Long messageTs, Long messageId, Integer prevLimit, Integer nextLimit, Boolean include, Boolean reverse, String senderId, String senderIds, String operatorFilter, String customTypes, String messageType, Boolean includingRemoved, Boolean includeReactions, String includeReplyType, Boolean includeParentMessageInfo, Boolean includeThreadInfo, Boolean includePollDetails, Boolean withSortedMetaArray, Boolean showSubchannelMessagesOnly, String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelType' is set @@ -686,7 +686,7 @@ private ApiResponse listMessagesWithHttpInfo(Strin String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.listMessages", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -935,7 +935,7 @@ public APIlistMessagesRequest apiToken(String apiToken) { /** * Execute listMessages request - * @return SendBirdListMessagesResponse + * @return ListMessagesResponse * @throws ApiException if fails to make API call * @http.response.details @@ -945,13 +945,13 @@ public APIlistMessagesRequest apiToken(String apiToken) { */ - public SendBirdListMessagesResponse execute() throws ApiException { + public ListMessagesResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listMessages request with HTTP info returned - * @return ApiResponse<SendBirdListMessagesResponse> + * @return ApiResponse<ListMessagesResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -960,7 +960,7 @@ public SendBirdListMessagesResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listMessagesWithHttpInfo(channelType, channelUrl, messageTs, messageId, prevLimit, nextLimit, include, reverse, senderId, senderIds, operatorFilter, customTypes, messageType, includingRemoved, includeReactions, includeReplyType, includeParentMessageInfo, includeThreadInfo, includePollDetails, withSortedMetaArray, showSubchannelMessagesOnly, userId, apiToken); } } @@ -979,8 +979,8 @@ public APIlistMessagesRequest listMessages(String channelType, String channelUrl return new APIlistMessagesRequest(channelType, channelUrl); } -private ApiResponse markChannelMessagesAsReadWithHttpInfo(String channelUrl, String apiToken, SendBirdMarkChannelMessagesAsReadRequest sendBirdMarkChannelMessagesAsReadRequest) throws ApiException { - Object localVarPostBody = sendBirdMarkChannelMessagesAsReadRequest; +private ApiResponse markChannelMessagesAsReadWithHttpInfo(String channelUrl, String apiToken, MarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest) throws ApiException { + Object localVarPostBody = markChannelMessagesAsReadRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -1025,7 +1025,7 @@ private ApiResponse markChannelMessagesAsReadWithHttpInfo(String channel public class APImarkChannelMessagesAsReadRequest { private String channelUrl; private String apiToken; - private SendBirdMarkChannelMessagesAsReadRequest sendBirdMarkChannelMessagesAsReadRequest; + private MarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest; private APImarkChannelMessagesAsReadRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -1042,12 +1042,12 @@ public APImarkChannelMessagesAsReadRequest apiToken(String apiToken) { } /** - * Set sendBirdMarkChannelMessagesAsReadRequest - * @param sendBirdMarkChannelMessagesAsReadRequest (optional) + * Set markChannelMessagesAsReadRequest + * @param markChannelMessagesAsReadRequest (optional) * @return APImarkChannelMessagesAsReadRequest */ - public APImarkChannelMessagesAsReadRequest sendBirdMarkChannelMessagesAsReadRequest(SendBirdMarkChannelMessagesAsReadRequest sendBirdMarkChannelMessagesAsReadRequest) { - this.sendBirdMarkChannelMessagesAsReadRequest = sendBirdMarkChannelMessagesAsReadRequest; + public APImarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest(MarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest) { + this.markChannelMessagesAsReadRequest = markChannelMessagesAsReadRequest; return this; } @@ -1079,7 +1079,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return markChannelMessagesAsReadWithHttpInfo(channelUrl, apiToken, sendBirdMarkChannelMessagesAsReadRequest); + return markChannelMessagesAsReadWithHttpInfo(channelUrl, apiToken, markChannelMessagesAsReadRequest); } } @@ -1096,8 +1096,8 @@ public APImarkChannelMessagesAsReadRequest markChannelMessagesAsRead(String chan return new APImarkChannelMessagesAsReadRequest(channelUrl); } -private ApiResponse migrateMessagesWithHttpInfo(String targetChannelUrl, String apiToken, SendBirdMigrateMessagesRequest sendBirdMigrateMessagesRequest) throws ApiException { - Object localVarPostBody = sendBirdMigrateMessagesRequest; +private ApiResponse migrateMessagesWithHttpInfo(String targetChannelUrl, String apiToken, MigrateMessagesRequest migrateMessagesRequest) throws ApiException { + Object localVarPostBody = migrateMessagesRequest; // verify the required parameter 'targetChannelUrl' is set if (targetChannelUrl == null) { @@ -1142,7 +1142,7 @@ private ApiResponse migrateMessagesWithHttpInfo(String targetChannelUrl, public class APImigrateMessagesRequest { private String targetChannelUrl; private String apiToken; - private SendBirdMigrateMessagesRequest sendBirdMigrateMessagesRequest; + private MigrateMessagesRequest migrateMessagesRequest; private APImigrateMessagesRequest(String targetChannelUrl) { this.targetChannelUrl = targetChannelUrl; @@ -1159,12 +1159,12 @@ public APImigrateMessagesRequest apiToken(String apiToken) { } /** - * Set sendBirdMigrateMessagesRequest - * @param sendBirdMigrateMessagesRequest (optional) + * Set migrateMessagesRequest + * @param migrateMessagesRequest (optional) * @return APImigrateMessagesRequest */ - public APImigrateMessagesRequest sendBirdMigrateMessagesRequest(SendBirdMigrateMessagesRequest sendBirdMigrateMessagesRequest) { - this.sendBirdMigrateMessagesRequest = sendBirdMigrateMessagesRequest; + public APImigrateMessagesRequest migrateMessagesRequest(MigrateMessagesRequest migrateMessagesRequest) { + this.migrateMessagesRequest = migrateMessagesRequest; return this; } @@ -1196,7 +1196,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return migrateMessagesWithHttpInfo(targetChannelUrl, apiToken, sendBirdMigrateMessagesRequest); + return migrateMessagesWithHttpInfo(targetChannelUrl, apiToken, migrateMessagesRequest); } } @@ -1349,8 +1349,8 @@ public APIremoveExtraDataFromAMessageRequest removeExtraDataFromAMessage(String return new APIremoveExtraDataFromAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse sendAMessageWithHttpInfo(String channelType, String channelUrl, String apiToken, SendBirdSendAMessageRequest sendBirdSendAMessageRequest) throws ApiException { - Object localVarPostBody = sendBirdSendAMessageRequest; +private ApiResponse sendAMessageWithHttpInfo(String channelType, String channelUrl, String apiToken, SendAMessageRequest sendAMessageRequest) throws ApiException { + Object localVarPostBody = sendAMessageRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -1391,7 +1391,7 @@ private ApiResponse sendAMessageWithHttpInfo(St String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.sendAMessage", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1402,7 +1402,7 @@ public class APIsendAMessageRequest { private String channelType; private String channelUrl; private String apiToken; - private SendBirdSendAMessageRequest sendBirdSendAMessageRequest; + private SendAMessageRequest sendAMessageRequest; private APIsendAMessageRequest(String channelType, String channelUrl) { this.channelType = channelType; @@ -1420,18 +1420,18 @@ public APIsendAMessageRequest apiToken(String apiToken) { } /** - * Set sendBirdSendAMessageRequest - * @param sendBirdSendAMessageRequest (optional) + * Set sendAMessageRequest + * @param sendAMessageRequest (optional) * @return APIsendAMessageRequest */ - public APIsendAMessageRequest sendBirdSendAMessageRequest(SendBirdSendAMessageRequest sendBirdSendAMessageRequest) { - this.sendBirdSendAMessageRequest = sendBirdSendAMessageRequest; + public APIsendAMessageRequest sendAMessageRequest(SendAMessageRequest sendAMessageRequest) { + this.sendAMessageRequest = sendAMessageRequest; return this; } /** * Execute sendAMessage request - * @return SendBirdSendBirdMessageResponse + * @return SendBirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1441,13 +1441,13 @@ public APIsendAMessageRequest sendBirdSendAMessageRequest(SendBirdSendAMessageRe */ - public SendBirdSendBirdMessageResponse execute() throws ApiException { + public SendBirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute sendAMessage request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdMessageResponse> + * @return ApiResponse<SendBirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1456,8 +1456,8 @@ public SendBirdSendBirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return sendAMessageWithHttpInfo(channelType, channelUrl, apiToken, sendBirdSendAMessageRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return sendAMessageWithHttpInfo(channelType, channelUrl, apiToken, sendAMessageRequest); } } @@ -1475,8 +1475,8 @@ public APIsendAMessageRequest sendAMessage(String channelType, String channelUrl return new APIsendAMessageRequest(channelType, channelUrl); } -private ApiResponse updateAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, SendBirdUpdateAMessageRequest sendBirdUpdateAMessageRequest) throws ApiException { - Object localVarPostBody = sendBirdUpdateAMessageRequest; +private ApiResponse updateAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, UpdateAMessageRequest updateAMessageRequest) throws ApiException { + Object localVarPostBody = updateAMessageRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -1523,7 +1523,7 @@ private ApiResponse updateAMessageWithHttpInfo( String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.updateAMessage", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1535,7 +1535,7 @@ public class APIupdateAMessageRequest { private String channelUrl; private Long messageId; private String apiToken; - private SendBirdUpdateAMessageRequest sendBirdUpdateAMessageRequest; + private UpdateAMessageRequest updateAMessageRequest; private APIupdateAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; @@ -1554,18 +1554,18 @@ public APIupdateAMessageRequest apiToken(String apiToken) { } /** - * Set sendBirdUpdateAMessageRequest - * @param sendBirdUpdateAMessageRequest (optional) + * Set updateAMessageRequest + * @param updateAMessageRequest (optional) * @return APIupdateAMessageRequest */ - public APIupdateAMessageRequest sendBirdUpdateAMessageRequest(SendBirdUpdateAMessageRequest sendBirdUpdateAMessageRequest) { - this.sendBirdUpdateAMessageRequest = sendBirdUpdateAMessageRequest; + public APIupdateAMessageRequest updateAMessageRequest(UpdateAMessageRequest updateAMessageRequest) { + this.updateAMessageRequest = updateAMessageRequest; return this; } /** * Execute updateAMessage request - * @return SendBirdSendBirdMessageResponse + * @return SendBirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1575,13 +1575,13 @@ public APIupdateAMessageRequest sendBirdUpdateAMessageRequest(SendBirdUpdateAMes */ - public SendBirdSendBirdMessageResponse execute() throws ApiException { + public SendBirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAMessage request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdMessageResponse> + * @return ApiResponse<SendBirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1590,8 +1590,8 @@ public SendBirdSendBirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, sendBirdUpdateAMessageRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, updateAMessageRequest); } } @@ -1610,8 +1610,8 @@ public APIupdateAMessageRequest updateAMessage(String channelType, String channe return new APIupdateAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse updateExtraDataInAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, SendBirdUpdateExtraDataInAMessageRequest sendBirdUpdateExtraDataInAMessageRequest) throws ApiException { - Object localVarPostBody = sendBirdUpdateExtraDataInAMessageRequest; +private ApiResponse updateExtraDataInAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest) throws ApiException { + Object localVarPostBody = updateExtraDataInAMessageRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -1658,7 +1658,7 @@ private ApiResponse updateExtraDataIn String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.updateExtraDataInAMessage", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1670,7 +1670,7 @@ public class APIupdateExtraDataInAMessageRequest { private String channelUrl; private Long messageId; private String apiToken; - private SendBirdUpdateExtraDataInAMessageRequest sendBirdUpdateExtraDataInAMessageRequest; + private UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest; private APIupdateExtraDataInAMessageRequest(String channelType, String channelUrl, Long messageId) { this.channelType = channelType; @@ -1689,18 +1689,18 @@ public APIupdateExtraDataInAMessageRequest apiToken(String apiToken) { } /** - * Set sendBirdUpdateExtraDataInAMessageRequest - * @param sendBirdUpdateExtraDataInAMessageRequest (optional) + * Set updateExtraDataInAMessageRequest + * @param updateExtraDataInAMessageRequest (optional) * @return APIupdateExtraDataInAMessageRequest */ - public APIupdateExtraDataInAMessageRequest sendBirdUpdateExtraDataInAMessageRequest(SendBirdUpdateExtraDataInAMessageRequest sendBirdUpdateExtraDataInAMessageRequest) { - this.sendBirdUpdateExtraDataInAMessageRequest = sendBirdUpdateExtraDataInAMessageRequest; + public APIupdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest(UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest) { + this.updateExtraDataInAMessageRequest = updateExtraDataInAMessageRequest; return this; } /** * Execute updateExtraDataInAMessage request - * @return SendBirdUpdateExtraDataInAMessageResponse + * @return UpdateExtraDataInAMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1710,13 +1710,13 @@ public APIupdateExtraDataInAMessageRequest sendBirdUpdateExtraDataInAMessageRequ */ - public SendBirdUpdateExtraDataInAMessageResponse execute() throws ApiException { + public UpdateExtraDataInAMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateExtraDataInAMessage request with HTTP info returned - * @return ApiResponse<SendBirdUpdateExtraDataInAMessageResponse> + * @return ApiResponse<UpdateExtraDataInAMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1725,8 +1725,8 @@ public SendBirdUpdateExtraDataInAMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateExtraDataInAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, sendBirdUpdateExtraDataInAMessageRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateExtraDataInAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, updateExtraDataInAMessageRequest); } } diff --git a/src/main/java/org/sendbird/client/api/MetadataApi.java b/src/main/java/org/sendbird/client/api/MetadataApi.java index 16163697..4cb668b9 100644 --- a/src/main/java/org/sendbird/client/api/MetadataApi.java +++ b/src/main/java/org/sendbird/client/api/MetadataApi.java @@ -8,16 +8,16 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.SendBirdCreateAChannelMetadataRequest; -import org.openapitools.client.model.SendBirdCreateAChannelMetadataResponse; -import org.openapitools.client.model.SendBirdUpdateAChannelMetadataRequest; +import org.openapitools.client.model.CreateAChannelMetadataRequest; +import org.openapitools.client.model.CreateAChannelMetadataResponse; +import org.openapitools.client.model.UpdateAChannelMetadataRequest; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class MetadataApi { private ApiClient apiClient; @@ -48,8 +48,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse createAChannelMetadataWithHttpInfo(String channelType, String channelUrl, String apiToken, SendBirdCreateAChannelMetadataRequest sendBirdCreateAChannelMetadataRequest) throws ApiException { - Object localVarPostBody = sendBirdCreateAChannelMetadataRequest; +private ApiResponse createAChannelMetadataWithHttpInfo(String channelType, String channelUrl, String apiToken, CreateAChannelMetadataRequest createAChannelMetadataRequest) throws ApiException { + Object localVarPostBody = createAChannelMetadataRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -90,7 +90,7 @@ private ApiResponse createAChannelMetada String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MetadataApi.createAChannelMetadata", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -101,7 +101,7 @@ public class APIcreateAChannelMetadataRequest { private String channelType; private String channelUrl; private String apiToken; - private SendBirdCreateAChannelMetadataRequest sendBirdCreateAChannelMetadataRequest; + private CreateAChannelMetadataRequest createAChannelMetadataRequest; private APIcreateAChannelMetadataRequest(String channelType, String channelUrl) { this.channelType = channelType; @@ -119,18 +119,18 @@ public APIcreateAChannelMetadataRequest apiToken(String apiToken) { } /** - * Set sendBirdCreateAChannelMetadataRequest - * @param sendBirdCreateAChannelMetadataRequest (optional) + * Set createAChannelMetadataRequest + * @param createAChannelMetadataRequest (optional) * @return APIcreateAChannelMetadataRequest */ - public APIcreateAChannelMetadataRequest sendBirdCreateAChannelMetadataRequest(SendBirdCreateAChannelMetadataRequest sendBirdCreateAChannelMetadataRequest) { - this.sendBirdCreateAChannelMetadataRequest = sendBirdCreateAChannelMetadataRequest; + public APIcreateAChannelMetadataRequest createAChannelMetadataRequest(CreateAChannelMetadataRequest createAChannelMetadataRequest) { + this.createAChannelMetadataRequest = createAChannelMetadataRequest; return this; } /** * Execute createAChannelMetadata request - * @return SendBirdCreateAChannelMetadataResponse + * @return CreateAChannelMetadataResponse * @throws ApiException if fails to make API call * @http.response.details @@ -140,13 +140,13 @@ public APIcreateAChannelMetadataRequest sendBirdCreateAChannelMetadataRequest(Se */ - public SendBirdCreateAChannelMetadataResponse execute() throws ApiException { + public CreateAChannelMetadataResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAChannelMetadata request with HTTP info returned - * @return ApiResponse<SendBirdCreateAChannelMetadataResponse> + * @return ApiResponse<CreateAChannelMetadataResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -155,8 +155,8 @@ public SendBirdCreateAChannelMetadataResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createAChannelMetadataWithHttpInfo(channelType, channelUrl, apiToken, sendBirdCreateAChannelMetadataRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createAChannelMetadataWithHttpInfo(channelType, channelUrl, apiToken, createAChannelMetadataRequest); } } @@ -293,8 +293,8 @@ public APIdeleteAChannelMetadataWhenDeletingAllItemsOfAChannelMetadataRequest de return new APIdeleteAChannelMetadataWhenDeletingAllItemsOfAChannelMetadataRequest(channelType, channelUrl, key); } -private ApiResponse updateAChannelMetadataWithHttpInfo(String channelType, String channelUrl, String apiToken, SendBirdUpdateAChannelMetadataRequest sendBirdUpdateAChannelMetadataRequest) throws ApiException { - Object localVarPostBody = sendBirdUpdateAChannelMetadataRequest; +private ApiResponse updateAChannelMetadataWithHttpInfo(String channelType, String channelUrl, String apiToken, UpdateAChannelMetadataRequest updateAChannelMetadataRequest) throws ApiException { + Object localVarPostBody = updateAChannelMetadataRequest; // verify the required parameter 'channelType' is set if (channelType == null) { @@ -346,7 +346,7 @@ public class APIupdateAChannelMetadataRequest { private String channelType; private String channelUrl; private String apiToken; - private SendBirdUpdateAChannelMetadataRequest sendBirdUpdateAChannelMetadataRequest; + private UpdateAChannelMetadataRequest updateAChannelMetadataRequest; private APIupdateAChannelMetadataRequest(String channelType, String channelUrl) { this.channelType = channelType; @@ -364,12 +364,12 @@ public APIupdateAChannelMetadataRequest apiToken(String apiToken) { } /** - * Set sendBirdUpdateAChannelMetadataRequest - * @param sendBirdUpdateAChannelMetadataRequest (optional) + * Set updateAChannelMetadataRequest + * @param updateAChannelMetadataRequest (optional) * @return APIupdateAChannelMetadataRequest */ - public APIupdateAChannelMetadataRequest sendBirdUpdateAChannelMetadataRequest(SendBirdUpdateAChannelMetadataRequest sendBirdUpdateAChannelMetadataRequest) { - this.sendBirdUpdateAChannelMetadataRequest = sendBirdUpdateAChannelMetadataRequest; + public APIupdateAChannelMetadataRequest updateAChannelMetadataRequest(UpdateAChannelMetadataRequest updateAChannelMetadataRequest) { + this.updateAChannelMetadataRequest = updateAChannelMetadataRequest; return this; } @@ -401,7 +401,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return updateAChannelMetadataWithHttpInfo(channelType, channelUrl, apiToken, sendBirdUpdateAChannelMetadataRequest); + return updateAChannelMetadataWithHttpInfo(channelType, channelUrl, apiToken, updateAChannelMetadataRequest); } } diff --git a/src/main/java/org/sendbird/client/api/ModerationApi.java b/src/main/java/org/sendbird/client/api/ModerationApi.java index da1cade5..915627f4 100644 --- a/src/main/java/org/sendbird/client/api/ModerationApi.java +++ b/src/main/java/org/sendbird/client/api/ModerationApi.java @@ -8,20 +8,20 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.SendBirdBlockAUserRequest; -import org.openapitools.client.model.SendBirdBlockAUserResponse; -import org.openapitools.client.model.SendBirdFreezeAGroupChannelRequest; -import org.openapitools.client.model.SendBirdFreezeAnOpenChannelRequest; -import org.openapitools.client.model.SendBirdListBlockedUsersResponse; -import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetail; -import org.openapitools.client.model.SendBirdSendBirdOpenChannel; +import org.openapitools.client.model.BlockAUserRequest; +import org.openapitools.client.model.BlockAUserResponse; +import org.openapitools.client.model.FreezeAGroupChannelRequest; +import org.openapitools.client.model.FreezeAnOpenChannelRequest; +import org.openapitools.client.model.ListBlockedUsersResponse; +import org.openapitools.client.model.SendBirdGroupChannelDetail; +import org.openapitools.client.model.SendBirdOpenChannel; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ModerationApi { private ApiClient apiClient; @@ -52,8 +52,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse blockAUserWithHttpInfo(String userId, String apiToken, SendBirdBlockAUserRequest sendBirdBlockAUserRequest) throws ApiException { - Object localVarPostBody = sendBirdBlockAUserRequest; +private ApiResponse blockAUserWithHttpInfo(String userId, String apiToken, BlockAUserRequest blockAUserRequest) throws ApiException { + Object localVarPostBody = blockAUserRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -88,7 +88,7 @@ private ApiResponse blockAUserWithHttpInfo(String us String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.blockAUser", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -98,7 +98,7 @@ private ApiResponse blockAUserWithHttpInfo(String us public class APIblockAUserRequest { private String userId; private String apiToken; - private SendBirdBlockAUserRequest sendBirdBlockAUserRequest; + private BlockAUserRequest blockAUserRequest; private APIblockAUserRequest(String userId) { this.userId = userId; @@ -115,18 +115,18 @@ public APIblockAUserRequest apiToken(String apiToken) { } /** - * Set sendBirdBlockAUserRequest - * @param sendBirdBlockAUserRequest (optional) + * Set blockAUserRequest + * @param blockAUserRequest (optional) * @return APIblockAUserRequest */ - public APIblockAUserRequest sendBirdBlockAUserRequest(SendBirdBlockAUserRequest sendBirdBlockAUserRequest) { - this.sendBirdBlockAUserRequest = sendBirdBlockAUserRequest; + public APIblockAUserRequest blockAUserRequest(BlockAUserRequest blockAUserRequest) { + this.blockAUserRequest = blockAUserRequest; return this; } /** * Execute blockAUser request - * @return SendBirdBlockAUserResponse + * @return BlockAUserResponse * @throws ApiException if fails to make API call * @http.response.details @@ -136,13 +136,13 @@ public APIblockAUserRequest sendBirdBlockAUserRequest(SendBirdBlockAUserRequest */ - public SendBirdBlockAUserResponse execute() throws ApiException { + public BlockAUserResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute blockAUser request with HTTP info returned - * @return ApiResponse<SendBirdBlockAUserResponse> + * @return ApiResponse<BlockAUserResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -151,8 +151,8 @@ public SendBirdBlockAUserResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return blockAUserWithHttpInfo(userId, apiToken, sendBirdBlockAUserRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return blockAUserWithHttpInfo(userId, apiToken, blockAUserRequest); } } @@ -169,8 +169,8 @@ public APIblockAUserRequest blockAUser(String userId) throws ApiException { return new APIblockAUserRequest(userId); } -private ApiResponse freezeAGroupChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdFreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdFreezeAGroupChannelRequest; +private ApiResponse freezeAGroupChannelWithHttpInfo(String channelUrl, String apiToken, FreezeAGroupChannelRequest freezeAGroupChannelRequest) throws ApiException { + Object localVarPostBody = freezeAGroupChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -205,7 +205,7 @@ private ApiResponse freezeAGroupChannelWithH String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.freezeAGroupChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -215,7 +215,7 @@ private ApiResponse freezeAGroupChannelWithH public class APIfreezeAGroupChannelRequest { private String channelUrl; private String apiToken; - private SendBirdFreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest; + private FreezeAGroupChannelRequest freezeAGroupChannelRequest; private APIfreezeAGroupChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -232,18 +232,18 @@ public APIfreezeAGroupChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdFreezeAGroupChannelRequest - * @param sendBirdFreezeAGroupChannelRequest (optional) + * Set freezeAGroupChannelRequest + * @param freezeAGroupChannelRequest (optional) * @return APIfreezeAGroupChannelRequest */ - public APIfreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest(SendBirdFreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest) { - this.sendBirdFreezeAGroupChannelRequest = sendBirdFreezeAGroupChannelRequest; + public APIfreezeAGroupChannelRequest freezeAGroupChannelRequest(FreezeAGroupChannelRequest freezeAGroupChannelRequest) { + this.freezeAGroupChannelRequest = freezeAGroupChannelRequest; return this; } /** * Execute freezeAGroupChannel request - * @return SendBirdSendBirdGroupChannelDetail + * @return SendBirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -253,13 +253,13 @@ public APIfreezeAGroupChannelRequest sendBirdFreezeAGroupChannelRequest(SendBird */ - public SendBirdSendBirdGroupChannelDetail execute() throws ApiException { + public SendBirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute freezeAGroupChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdGroupChannelDetail> + * @return ApiResponse<SendBirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -268,8 +268,8 @@ public SendBirdSendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return freezeAGroupChannelWithHttpInfo(channelUrl, apiToken, sendBirdFreezeAGroupChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return freezeAGroupChannelWithHttpInfo(channelUrl, apiToken, freezeAGroupChannelRequest); } } @@ -286,8 +286,8 @@ public APIfreezeAGroupChannelRequest freezeAGroupChannel(String channelUrl) thro return new APIfreezeAGroupChannelRequest(channelUrl); } -private ApiResponse freezeAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdFreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdFreezeAnOpenChannelRequest; +private ApiResponse freezeAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, FreezeAnOpenChannelRequest freezeAnOpenChannelRequest) throws ApiException { + Object localVarPostBody = freezeAnOpenChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -322,7 +322,7 @@ private ApiResponse freezeAnOpenChannelWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.freezeAnOpenChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -332,7 +332,7 @@ private ApiResponse freezeAnOpenChannelWithHttpInfo public class APIfreezeAnOpenChannelRequest { private String channelUrl; private String apiToken; - private SendBirdFreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest; + private FreezeAnOpenChannelRequest freezeAnOpenChannelRequest; private APIfreezeAnOpenChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -349,18 +349,18 @@ public APIfreezeAnOpenChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdFreezeAnOpenChannelRequest - * @param sendBirdFreezeAnOpenChannelRequest (optional) + * Set freezeAnOpenChannelRequest + * @param freezeAnOpenChannelRequest (optional) * @return APIfreezeAnOpenChannelRequest */ - public APIfreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest(SendBirdFreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest) { - this.sendBirdFreezeAnOpenChannelRequest = sendBirdFreezeAnOpenChannelRequest; + public APIfreezeAnOpenChannelRequest freezeAnOpenChannelRequest(FreezeAnOpenChannelRequest freezeAnOpenChannelRequest) { + this.freezeAnOpenChannelRequest = freezeAnOpenChannelRequest; return this; } /** * Execute freezeAnOpenChannel request - * @return SendBirdSendBirdOpenChannel + * @return SendBirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -370,13 +370,13 @@ public APIfreezeAnOpenChannelRequest sendBirdFreezeAnOpenChannelRequest(SendBird */ - public SendBirdSendBirdOpenChannel execute() throws ApiException { + public SendBirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute freezeAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdOpenChannel> + * @return ApiResponse<SendBirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -385,8 +385,8 @@ public SendBirdSendBirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return freezeAnOpenChannelWithHttpInfo(channelUrl, apiToken, sendBirdFreezeAnOpenChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return freezeAnOpenChannelWithHttpInfo(channelUrl, apiToken, freezeAnOpenChannelRequest); } } @@ -403,7 +403,7 @@ public APIfreezeAnOpenChannelRequest freezeAnOpenChannel(String channelUrl) thro return new APIfreezeAnOpenChannelRequest(channelUrl); } -private ApiResponse listBlockedUsersWithHttpInfo(String userId, String _list, String token, Integer limit, String userIds, String metadatakey, String metadatavaluesIn, String apiToken) throws ApiException { +private ApiResponse listBlockedUsersWithHttpInfo(String userId, String _list, String token, Integer limit, String userIds, String metadatakey, String metadatavaluesIn, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -445,7 +445,7 @@ private ApiResponse listBlockedUsersWithHttpIn String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.listBlockedUsers", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -538,7 +538,7 @@ public APIlistBlockedUsersRequest apiToken(String apiToken) { /** * Execute listBlockedUsers request - * @return SendBirdListBlockedUsersResponse + * @return ListBlockedUsersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -548,13 +548,13 @@ public APIlistBlockedUsersRequest apiToken(String apiToken) { */ - public SendBirdListBlockedUsersResponse execute() throws ApiException { + public ListBlockedUsersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listBlockedUsers request with HTTP info returned - * @return ApiResponse<SendBirdListBlockedUsersResponse> + * @return ApiResponse<ListBlockedUsersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -563,7 +563,7 @@ public SendBirdListBlockedUsersResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listBlockedUsersWithHttpInfo(userId, _list, token, limit, userIds, metadatakey, metadatavaluesIn, apiToken); } } diff --git a/src/main/java/org/sendbird/client/api/OpenChannelApi.java b/src/main/java/org/sendbird/client/api/OpenChannelApi.java index accef627..1683ea81 100644 --- a/src/main/java/org/sendbird/client/api/OpenChannelApi.java +++ b/src/main/java/org/sendbird/client/api/OpenChannelApi.java @@ -8,19 +8,19 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.SendBirdCreateAnOpenChannelRequest; -import org.openapitools.client.model.SendBirdListOpenChannelsResponse; -import org.openapitools.client.model.SendBirdListOperatorsResponse; -import org.openapitools.client.model.SendBirdRegisterOperatorsToAGroupChannelRequest; -import org.openapitools.client.model.SendBirdSendBirdOpenChannel; -import org.openapitools.client.model.SendBirdUpdateAnOpenChannelRequest; +import org.openapitools.client.model.CreateAnOpenChannelRequest; +import org.openapitools.client.model.ListOpenChannelsResponse; +import org.openapitools.client.model.ListOperatorsResponse; +import org.openapitools.client.model.RegisterOperatorsToAGroupChannelRequest; +import org.openapitools.client.model.SendBirdOpenChannel; +import org.openapitools.client.model.UpdateAnOpenChannelRequest; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class OpenChannelApi { private ApiClient apiClient; @@ -51,8 +51,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse createAnOpenChannelWithHttpInfo(String apiToken, SendBirdCreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdCreateAnOpenChannelRequest; +private ApiResponse createAnOpenChannelWithHttpInfo(String apiToken, CreateAnOpenChannelRequest createAnOpenChannelRequest) throws ApiException { + Object localVarPostBody = createAnOpenChannelRequest; // create path and map variables String localVarPath = "/v3/open_channels"; @@ -81,7 +81,7 @@ private ApiResponse createAnOpenChannelWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.createAnOpenChannel", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -90,7 +90,7 @@ private ApiResponse createAnOpenChannelWithHttpInfo public class APIcreateAnOpenChannelRequest { private String apiToken; - private SendBirdCreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest; + private CreateAnOpenChannelRequest createAnOpenChannelRequest; private APIcreateAnOpenChannelRequest() { } @@ -106,18 +106,18 @@ public APIcreateAnOpenChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdCreateAnOpenChannelRequest - * @param sendBirdCreateAnOpenChannelRequest (optional) + * Set createAnOpenChannelRequest + * @param createAnOpenChannelRequest (optional) * @return APIcreateAnOpenChannelRequest */ - public APIcreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest(SendBirdCreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest) { - this.sendBirdCreateAnOpenChannelRequest = sendBirdCreateAnOpenChannelRequest; + public APIcreateAnOpenChannelRequest createAnOpenChannelRequest(CreateAnOpenChannelRequest createAnOpenChannelRequest) { + this.createAnOpenChannelRequest = createAnOpenChannelRequest; return this; } /** * Execute createAnOpenChannel request - * @return SendBirdSendBirdOpenChannel + * @return SendBirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -127,13 +127,13 @@ public APIcreateAnOpenChannelRequest sendBirdCreateAnOpenChannelRequest(SendBird */ - public SendBirdSendBirdOpenChannel execute() throws ApiException { + public SendBirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdOpenChannel> + * @return ApiResponse<SendBirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -142,8 +142,8 @@ public SendBirdSendBirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createAnOpenChannelWithHttpInfo(apiToken, sendBirdCreateAnOpenChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createAnOpenChannelWithHttpInfo(apiToken, createAnOpenChannelRequest); } } @@ -265,7 +265,7 @@ public APIdeleteAnOpenChannelRequest deleteAnOpenChannel(String channelUrl) thro return new APIdeleteAnOpenChannelRequest(channelUrl); } -private ApiResponse getAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, Boolean includeOperators) throws ApiException { +private ApiResponse getAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, Boolean includeOperators) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -302,7 +302,7 @@ private ApiResponse getAnOpenChannelWithHttpInfo(St String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.getAnOpenChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -340,7 +340,7 @@ public APIgetAnOpenChannelRequest includeOperators(Boolean includeOperators) { /** * Execute getAnOpenChannel request - * @return SendBirdSendBirdOpenChannel + * @return SendBirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -350,13 +350,13 @@ public APIgetAnOpenChannelRequest includeOperators(Boolean includeOperators) { */ - public SendBirdSendBirdOpenChannel execute() throws ApiException { + public SendBirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdOpenChannel> + * @return ApiResponse<SendBirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -365,7 +365,7 @@ public SendBirdSendBirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getAnOpenChannelWithHttpInfo(channelUrl, apiToken, includeOperators); } } @@ -383,7 +383,7 @@ public APIgetAnOpenChannelRequest getAnOpenChannel(String channelUrl) throws Api return new APIgetAnOpenChannelRequest(channelUrl); } -private ApiResponse listChannelOperatorsWithHttpInfo(String channelUrl, String token, Integer limit, String apiToken) throws ApiException { +private ApiResponse listChannelOperatorsWithHttpInfo(String channelUrl, String token, Integer limit, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -421,7 +421,7 @@ private ApiResponse listChannelOperatorsWithHttpI String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.listChannelOperators", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -470,7 +470,7 @@ public APIlistChannelOperatorsRequest apiToken(String apiToken) { /** * Execute listChannelOperators request - * @return SendBirdListOperatorsResponse + * @return ListOperatorsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -480,13 +480,13 @@ public APIlistChannelOperatorsRequest apiToken(String apiToken) { */ - public SendBirdListOperatorsResponse execute() throws ApiException { + public ListOperatorsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listChannelOperators request with HTTP info returned - * @return ApiResponse<SendBirdListOperatorsResponse> + * @return ApiResponse<ListOperatorsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -495,7 +495,7 @@ public SendBirdListOperatorsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listChannelOperatorsWithHttpInfo(channelUrl, token, limit, apiToken); } } @@ -513,7 +513,7 @@ public APIlistChannelOperatorsRequest listChannelOperators(String channelUrl) th return new APIlistChannelOperatorsRequest(channelUrl); } -private ApiResponse listOpenChannelsWithHttpInfo(String token, String channelUrls, Integer limit, String customTypes, String nameContains, String urlContains, Boolean showFrozen, Boolean showMetadata, String apiToken) throws ApiException { +private ApiResponse listOpenChannelsWithHttpInfo(String token, String channelUrls, Integer limit, String customTypes, String nameContains, String urlContains, Boolean showFrozen, Boolean showMetadata, String apiToken) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -551,7 +551,7 @@ private ApiResponse listOpenChannelsWithHttpIn String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.listOpenChannels", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -664,7 +664,7 @@ public APIlistOpenChannelsRequest apiToken(String apiToken) { /** * Execute listOpenChannels request - * @return SendBirdListOpenChannelsResponse + * @return ListOpenChannelsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -674,13 +674,13 @@ public APIlistOpenChannelsRequest apiToken(String apiToken) { */ - public SendBirdListOpenChannelsResponse execute() throws ApiException { + public ListOpenChannelsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listOpenChannels request with HTTP info returned - * @return ApiResponse<SendBirdListOpenChannelsResponse> + * @return ApiResponse<ListOpenChannelsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -689,7 +689,7 @@ public SendBirdListOpenChannelsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listOpenChannelsWithHttpInfo(token, channelUrls, limit, customTypes, nameContains, urlContains, showFrozen, showMetadata, apiToken); } } @@ -706,8 +706,8 @@ public APIlistOpenChannelsRequest listOpenChannels() throws ApiException { return new APIlistOpenChannelsRequest(); } -private ApiResponse registerOperatorsWithHttpInfo(String channelUrl, String apiToken, SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdRegisterOperatorsToAGroupChannelRequest; +private ApiResponse registerOperatorsWithHttpInfo(String channelUrl, String apiToken, RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest) throws ApiException { + Object localVarPostBody = registerOperatorsToAGroupChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -752,7 +752,7 @@ private ApiResponse registerOperatorsWithHttpInfo(String channelUrl, Str public class APIregisterOperatorsRequest { private String channelUrl; private String apiToken; - private SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest; + private RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest; private APIregisterOperatorsRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -769,12 +769,12 @@ public APIregisterOperatorsRequest apiToken(String apiToken) { } /** - * Set sendBirdRegisterOperatorsToAGroupChannelRequest - * @param sendBirdRegisterOperatorsToAGroupChannelRequest (optional) + * Set registerOperatorsToAGroupChannelRequest + * @param registerOperatorsToAGroupChannelRequest (optional) * @return APIregisterOperatorsRequest */ - public APIregisterOperatorsRequest sendBirdRegisterOperatorsToAGroupChannelRequest(SendBirdRegisterOperatorsToAGroupChannelRequest sendBirdRegisterOperatorsToAGroupChannelRequest) { - this.sendBirdRegisterOperatorsToAGroupChannelRequest = sendBirdRegisterOperatorsToAGroupChannelRequest; + public APIregisterOperatorsRequest registerOperatorsToAGroupChannelRequest(RegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest) { + this.registerOperatorsToAGroupChannelRequest = registerOperatorsToAGroupChannelRequest; return this; } @@ -806,7 +806,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return registerOperatorsWithHttpInfo(channelUrl, apiToken, sendBirdRegisterOperatorsToAGroupChannelRequest); + return registerOperatorsWithHttpInfo(channelUrl, apiToken, registerOperatorsToAGroupChannelRequest); } } @@ -958,8 +958,8 @@ public APIunregisterOperatorsRequest unregisterOperators(String channelUrl) thro return new APIunregisterOperatorsRequest(channelUrl); } -private ApiResponse updateAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, SendBirdUpdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdUpdateAnOpenChannelRequest; +private ApiResponse updateAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, UpdateAnOpenChannelRequest updateAnOpenChannelRequest) throws ApiException { + Object localVarPostBody = updateAnOpenChannelRequest; // verify the required parameter 'channelUrl' is set if (channelUrl == null) { @@ -994,7 +994,7 @@ private ApiResponse updateAnOpenChannelWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.updateAnOpenChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1004,7 +1004,7 @@ private ApiResponse updateAnOpenChannelWithHttpInfo public class APIupdateAnOpenChannelRequest { private String channelUrl; private String apiToken; - private SendBirdUpdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest; + private UpdateAnOpenChannelRequest updateAnOpenChannelRequest; private APIupdateAnOpenChannelRequest(String channelUrl) { this.channelUrl = channelUrl; @@ -1021,18 +1021,18 @@ public APIupdateAnOpenChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdUpdateAnOpenChannelRequest - * @param sendBirdUpdateAnOpenChannelRequest (optional) + * Set updateAnOpenChannelRequest + * @param updateAnOpenChannelRequest (optional) * @return APIupdateAnOpenChannelRequest */ - public APIupdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest(SendBirdUpdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest) { - this.sendBirdUpdateAnOpenChannelRequest = sendBirdUpdateAnOpenChannelRequest; + public APIupdateAnOpenChannelRequest updateAnOpenChannelRequest(UpdateAnOpenChannelRequest updateAnOpenChannelRequest) { + this.updateAnOpenChannelRequest = updateAnOpenChannelRequest; return this; } /** * Execute updateAnOpenChannel request - * @return SendBirdSendBirdOpenChannel + * @return SendBirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -1042,13 +1042,13 @@ public APIupdateAnOpenChannelRequest sendBirdUpdateAnOpenChannelRequest(SendBird */ - public SendBirdSendBirdOpenChannel execute() throws ApiException { + public SendBirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdOpenChannel> + * @return ApiResponse<SendBirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -1057,8 +1057,8 @@ public SendBirdSendBirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateAnOpenChannelWithHttpInfo(channelUrl, apiToken, sendBirdUpdateAnOpenChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateAnOpenChannelWithHttpInfo(channelUrl, apiToken, updateAnOpenChannelRequest); } } diff --git a/src/main/java/org/sendbird/client/api/StatisticsApi.java b/src/main/java/org/sendbird/client/api/StatisticsApi.java index 7f17b815..f4e9dcb7 100644 --- a/src/main/java/org/sendbird/client/api/StatisticsApi.java +++ b/src/main/java/org/sendbird/client/api/StatisticsApi.java @@ -8,15 +8,15 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.SendBirdViewNumberOfDailyActiveUsersResponse; -import org.openapitools.client.model.SendBirdViewNumberOfMonthlyActiveUsersResponse; +import org.openapitools.client.model.ViewNumberOfDailyActiveUsersResponse; +import org.openapitools.client.model.ViewNumberOfMonthlyActiveUsersResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class StatisticsApi { private ApiClient apiClient; @@ -47,7 +47,7 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse viewNumberOfDailyActiveUsersWithHttpInfo(String date, String apiToken) throws ApiException { +private ApiResponse viewNumberOfDailyActiveUsersWithHttpInfo(String date, String apiToken) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -78,7 +78,7 @@ private ApiResponse viewNumberOfDa String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("StatisticsApi.viewNumberOfDailyActiveUsers", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -114,7 +114,7 @@ public APIviewNumberOfDailyActiveUsersRequest apiToken(String apiToken) { /** * Execute viewNumberOfDailyActiveUsers request - * @return SendBirdViewNumberOfDailyActiveUsersResponse + * @return ViewNumberOfDailyActiveUsersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -124,13 +124,13 @@ public APIviewNumberOfDailyActiveUsersRequest apiToken(String apiToken) { */ - public SendBirdViewNumberOfDailyActiveUsersResponse execute() throws ApiException { + public ViewNumberOfDailyActiveUsersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewNumberOfDailyActiveUsers request with HTTP info returned - * @return ApiResponse<SendBirdViewNumberOfDailyActiveUsersResponse> + * @return ApiResponse<ViewNumberOfDailyActiveUsersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -139,7 +139,7 @@ public SendBirdViewNumberOfDailyActiveUsersResponse execute() throws ApiExceptio
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewNumberOfDailyActiveUsersWithHttpInfo(date, apiToken); } } @@ -156,7 +156,7 @@ public APIviewNumberOfDailyActiveUsersRequest viewNumberOfDailyActiveUsers() thr return new APIviewNumberOfDailyActiveUsersRequest(); } -private ApiResponse viewNumberOfMonthlyActiveUsersWithHttpInfo(String date, String apiToken) throws ApiException { +private ApiResponse viewNumberOfMonthlyActiveUsersWithHttpInfo(String date, String apiToken) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -187,7 +187,7 @@ private ApiResponse viewNumberOf String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("StatisticsApi.viewNumberOfMonthlyActiveUsers", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -223,7 +223,7 @@ public APIviewNumberOfMonthlyActiveUsersRequest apiToken(String apiToken) { /** * Execute viewNumberOfMonthlyActiveUsers request - * @return SendBirdViewNumberOfMonthlyActiveUsersResponse + * @return ViewNumberOfMonthlyActiveUsersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -233,13 +233,13 @@ public APIviewNumberOfMonthlyActiveUsersRequest apiToken(String apiToken) { */ - public SendBirdViewNumberOfMonthlyActiveUsersResponse execute() throws ApiException { + public ViewNumberOfMonthlyActiveUsersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewNumberOfMonthlyActiveUsers request with HTTP info returned - * @return ApiResponse<SendBirdViewNumberOfMonthlyActiveUsersResponse> + * @return ApiResponse<ViewNumberOfMonthlyActiveUsersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -248,7 +248,7 @@ public SendBirdViewNumberOfMonthlyActiveUsersResponse execute() throws ApiExcept
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewNumberOfMonthlyActiveUsersWithHttpInfo(date, apiToken); } } diff --git a/src/main/java/org/sendbird/client/api/UserApi.java b/src/main/java/org/sendbird/client/api/UserApi.java index ba8d2655..64c88a47 100644 --- a/src/main/java/org/sendbird/client/api/UserApi.java +++ b/src/main/java/org/sendbird/client/api/UserApi.java @@ -8,44 +8,44 @@ import javax.ws.rs.core.GenericType; -import org.openapitools.client.model.SendBirdAddARegistrationOrDeviceTokenRequest; -import org.openapitools.client.model.SendBirdAddARegistrationOrDeviceTokenResponse; -import org.openapitools.client.model.SendBirdChooseAPushNotificationContentTemplateRequest; -import org.openapitools.client.model.SendBirdChooseAPushNotificationContentTemplateResponse; -import org.openapitools.client.model.SendBirdCreateAUserRequest; -import org.openapitools.client.model.SendBirdCreateUserTokenRequest; -import org.openapitools.client.model.SendBirdCreateUserTokenResponse; -import org.openapitools.client.model.SendBirdGetChannelInvitationPreferenceResponse; -import org.openapitools.client.model.SendBirdLeaveMyGroupChannelsRequest; -import org.openapitools.client.model.SendBirdListMyGroupChannelsResponse; -import org.openapitools.client.model.SendBirdListRegistrationOrDeviceTokensResponse; -import org.openapitools.client.model.SendBirdListUsersResponse; -import org.openapitools.client.model.SendBirdMarkAllMessagesAsReadRequest; -import org.openapitools.client.model.SendBirdMarkChannelMessagesAsReadRequest; -import org.openapitools.client.model.SendBirdRemoveARegistrationOrDeviceTokenResponse; -import org.openapitools.client.model.SendBirdRemoveAllRegistrationOrDeviceTokenResponse; -import org.openapitools.client.model.SendBirdSendBirdUser; -import org.openapitools.client.model.SendBirdUpdateAUserRequest; -import org.openapitools.client.model.SendBirdUpdateChannelInvitationPreferenceRequest; -import org.openapitools.client.model.SendBirdUpdateChannelInvitationPreferenceResponse; -import org.openapitools.client.model.SendBirdUpdateCountPreferenceOfAChannelRequest; -import org.openapitools.client.model.SendBirdUpdateCountPreferenceOfChannelByUrlResponse; -import org.openapitools.client.model.SendBirdUpdatePushPreferencesForAChannelRequest; -import org.openapitools.client.model.SendBirdUpdatePushPreferencesForAChannelResponse; -import org.openapitools.client.model.SendBirdUpdatePushPreferencesRequest; -import org.openapitools.client.model.SendBirdUpdatePushPreferencesResponse; -import org.openapitools.client.model.SendBirdViewCountPreferenceOfAChannelResponse; -import org.openapitools.client.model.SendBirdViewNumberOfChannelsWithUnreadMessagesResponse; -import org.openapitools.client.model.SendBirdViewNumberOfUnreadMessagesResponse; -import org.openapitools.client.model.SendBirdViewPushPreferencesForAChannelResponse; -import org.openapitools.client.model.SendBirdViewPushPreferencesResponse; +import org.openapitools.client.model.AddARegistrationOrDeviceTokenRequest; +import org.openapitools.client.model.AddARegistrationOrDeviceTokenResponse; +import org.openapitools.client.model.ChooseAPushNotificationContentTemplateRequest; +import org.openapitools.client.model.ChooseAPushNotificationContentTemplateResponse; +import org.openapitools.client.model.CreateAUserRequest; +import org.openapitools.client.model.CreateUserTokenRequest; +import org.openapitools.client.model.CreateUserTokenResponse; +import org.openapitools.client.model.GetChannelInvitationPreferenceResponse; +import org.openapitools.client.model.LeaveMyGroupChannelsRequest; +import org.openapitools.client.model.ListMyGroupChannelsResponse; +import org.openapitools.client.model.ListRegistrationOrDeviceTokensResponse; +import org.openapitools.client.model.ListUsersResponse; +import org.openapitools.client.model.MarkAllMessagesAsReadRequest; +import org.openapitools.client.model.MarkChannelMessagesAsReadRequest; +import org.openapitools.client.model.RemoveARegistrationOrDeviceTokenResponse; +import org.openapitools.client.model.RemoveAllRegistrationOrDeviceTokenResponse; +import org.openapitools.client.model.SendBirdUser; +import org.openapitools.client.model.UpdateAUserRequest; +import org.openapitools.client.model.UpdateChannelInvitationPreferenceRequest; +import org.openapitools.client.model.UpdateChannelInvitationPreferenceResponse; +import org.openapitools.client.model.UpdateCountPreferenceOfAChannelRequest; +import org.openapitools.client.model.UpdateCountPreferenceOfChannelByUrlResponse; +import org.openapitools.client.model.UpdatePushPreferencesForAChannelRequest; +import org.openapitools.client.model.UpdatePushPreferencesForAChannelResponse; +import org.openapitools.client.model.UpdatePushPreferencesRequest; +import org.openapitools.client.model.UpdatePushPreferencesResponse; +import org.openapitools.client.model.ViewCountPreferenceOfAChannelResponse; +import org.openapitools.client.model.ViewNumberOfChannelsWithUnreadMessagesResponse; +import org.openapitools.client.model.ViewNumberOfUnreadMessagesResponse; +import org.openapitools.client.model.ViewPushPreferencesForAChannelResponse; +import org.openapitools.client.model.ViewPushPreferencesResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class UserApi { private ApiClient apiClient; @@ -76,8 +76,8 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse addARegistrationOrDeviceTokenWithHttpInfo(String userId, String tokenType, String apiToken, SendBirdAddARegistrationOrDeviceTokenRequest sendBirdAddARegistrationOrDeviceTokenRequest) throws ApiException { - Object localVarPostBody = sendBirdAddARegistrationOrDeviceTokenRequest; +private ApiResponse addARegistrationOrDeviceTokenWithHttpInfo(String userId, String tokenType, String apiToken, AddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest) throws ApiException { + Object localVarPostBody = addARegistrationOrDeviceTokenRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -118,7 +118,7 @@ private ApiResponse addARegistrat String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.addARegistrationOrDeviceToken", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -129,7 +129,7 @@ public class APIaddARegistrationOrDeviceTokenRequest { private String userId; private String tokenType; private String apiToken; - private SendBirdAddARegistrationOrDeviceTokenRequest sendBirdAddARegistrationOrDeviceTokenRequest; + private AddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest; private APIaddARegistrationOrDeviceTokenRequest(String userId, String tokenType) { this.userId = userId; @@ -147,18 +147,18 @@ public APIaddARegistrationOrDeviceTokenRequest apiToken(String apiToken) { } /** - * Set sendBirdAddARegistrationOrDeviceTokenRequest - * @param sendBirdAddARegistrationOrDeviceTokenRequest (optional) + * Set addARegistrationOrDeviceTokenRequest + * @param addARegistrationOrDeviceTokenRequest (optional) * @return APIaddARegistrationOrDeviceTokenRequest */ - public APIaddARegistrationOrDeviceTokenRequest sendBirdAddARegistrationOrDeviceTokenRequest(SendBirdAddARegistrationOrDeviceTokenRequest sendBirdAddARegistrationOrDeviceTokenRequest) { - this.sendBirdAddARegistrationOrDeviceTokenRequest = sendBirdAddARegistrationOrDeviceTokenRequest; + public APIaddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest(AddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest) { + this.addARegistrationOrDeviceTokenRequest = addARegistrationOrDeviceTokenRequest; return this; } /** * Execute addARegistrationOrDeviceToken request - * @return SendBirdAddARegistrationOrDeviceTokenResponse + * @return AddARegistrationOrDeviceTokenResponse * @throws ApiException if fails to make API call * @http.response.details @@ -168,13 +168,13 @@ public APIaddARegistrationOrDeviceTokenRequest sendBirdAddARegistrationOrDeviceT */ - public SendBirdAddARegistrationOrDeviceTokenResponse execute() throws ApiException { + public AddARegistrationOrDeviceTokenResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute addARegistrationOrDeviceToken request with HTTP info returned - * @return ApiResponse<SendBirdAddARegistrationOrDeviceTokenResponse> + * @return ApiResponse<AddARegistrationOrDeviceTokenResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -183,8 +183,8 @@ public SendBirdAddARegistrationOrDeviceTokenResponse execute() throws ApiExcepti
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return addARegistrationOrDeviceTokenWithHttpInfo(userId, tokenType, apiToken, sendBirdAddARegistrationOrDeviceTokenRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return addARegistrationOrDeviceTokenWithHttpInfo(userId, tokenType, apiToken, addARegistrationOrDeviceTokenRequest); } } @@ -202,8 +202,8 @@ public APIaddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceToken(Str return new APIaddARegistrationOrDeviceTokenRequest(userId, tokenType); } -private ApiResponse chooseAPushNotificationContentTemplateWithHttpInfo(String userId, String apiToken, SendBirdChooseAPushNotificationContentTemplateRequest sendBirdChooseAPushNotificationContentTemplateRequest) throws ApiException { - Object localVarPostBody = sendBirdChooseAPushNotificationContentTemplateRequest; +private ApiResponse chooseAPushNotificationContentTemplateWithHttpInfo(String userId, String apiToken, ChooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest) throws ApiException { + Object localVarPostBody = chooseAPushNotificationContentTemplateRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -238,7 +238,7 @@ private ApiResponse choo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.chooseAPushNotificationContentTemplate", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -248,7 +248,7 @@ private ApiResponse choo public class APIchooseAPushNotificationContentTemplateRequest { private String userId; private String apiToken; - private SendBirdChooseAPushNotificationContentTemplateRequest sendBirdChooseAPushNotificationContentTemplateRequest; + private ChooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest; private APIchooseAPushNotificationContentTemplateRequest(String userId) { this.userId = userId; @@ -265,18 +265,18 @@ public APIchooseAPushNotificationContentTemplateRequest apiToken(String apiToken } /** - * Set sendBirdChooseAPushNotificationContentTemplateRequest - * @param sendBirdChooseAPushNotificationContentTemplateRequest (optional) + * Set chooseAPushNotificationContentTemplateRequest + * @param chooseAPushNotificationContentTemplateRequest (optional) * @return APIchooseAPushNotificationContentTemplateRequest */ - public APIchooseAPushNotificationContentTemplateRequest sendBirdChooseAPushNotificationContentTemplateRequest(SendBirdChooseAPushNotificationContentTemplateRequest sendBirdChooseAPushNotificationContentTemplateRequest) { - this.sendBirdChooseAPushNotificationContentTemplateRequest = sendBirdChooseAPushNotificationContentTemplateRequest; + public APIchooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest(ChooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest) { + this.chooseAPushNotificationContentTemplateRequest = chooseAPushNotificationContentTemplateRequest; return this; } /** * Execute chooseAPushNotificationContentTemplate request - * @return SendBirdChooseAPushNotificationContentTemplateResponse + * @return ChooseAPushNotificationContentTemplateResponse * @throws ApiException if fails to make API call * @http.response.details @@ -286,13 +286,13 @@ public APIchooseAPushNotificationContentTemplateRequest sendBirdChooseAPushNotif */ - public SendBirdChooseAPushNotificationContentTemplateResponse execute() throws ApiException { + public ChooseAPushNotificationContentTemplateResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute chooseAPushNotificationContentTemplate request with HTTP info returned - * @return ApiResponse<SendBirdChooseAPushNotificationContentTemplateResponse> + * @return ApiResponse<ChooseAPushNotificationContentTemplateResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -301,8 +301,8 @@ public SendBirdChooseAPushNotificationContentTemplateResponse execute() throws A
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return chooseAPushNotificationContentTemplateWithHttpInfo(userId, apiToken, sendBirdChooseAPushNotificationContentTemplateRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return chooseAPushNotificationContentTemplateWithHttpInfo(userId, apiToken, chooseAPushNotificationContentTemplateRequest); } } @@ -319,8 +319,8 @@ public APIchooseAPushNotificationContentTemplateRequest chooseAPushNotificationC return new APIchooseAPushNotificationContentTemplateRequest(userId); } -private ApiResponse createAUserWithHttpInfo(String apiToken, SendBirdCreateAUserRequest sendBirdCreateAUserRequest) throws ApiException { - Object localVarPostBody = sendBirdCreateAUserRequest; +private ApiResponse createAUserWithHttpInfo(String apiToken, CreateAUserRequest createAUserRequest) throws ApiException { + Object localVarPostBody = createAUserRequest; // create path and map variables String localVarPath = "/v3/users"; @@ -349,7 +349,7 @@ private ApiResponse createAUserWithHttpInfo(String apiToke String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.createAUser", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -358,7 +358,7 @@ private ApiResponse createAUserWithHttpInfo(String apiToke public class APIcreateAUserRequest { private String apiToken; - private SendBirdCreateAUserRequest sendBirdCreateAUserRequest; + private CreateAUserRequest createAUserRequest; private APIcreateAUserRequest() { } @@ -374,18 +374,18 @@ public APIcreateAUserRequest apiToken(String apiToken) { } /** - * Set sendBirdCreateAUserRequest - * @param sendBirdCreateAUserRequest (optional) + * Set createAUserRequest + * @param createAUserRequest (optional) * @return APIcreateAUserRequest */ - public APIcreateAUserRequest sendBirdCreateAUserRequest(SendBirdCreateAUserRequest sendBirdCreateAUserRequest) { - this.sendBirdCreateAUserRequest = sendBirdCreateAUserRequest; + public APIcreateAUserRequest createAUserRequest(CreateAUserRequest createAUserRequest) { + this.createAUserRequest = createAUserRequest; return this; } /** * Execute createAUser request - * @return SendBirdSendBirdUser + * @return SendBirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -395,13 +395,13 @@ public APIcreateAUserRequest sendBirdCreateAUserRequest(SendBirdCreateAUserReque */ - public SendBirdSendBirdUser execute() throws ApiException { + public SendBirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAUser request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdUser> + * @return ApiResponse<SendBirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -410,8 +410,8 @@ public SendBirdSendBirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createAUserWithHttpInfo(apiToken, sendBirdCreateAUserRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createAUserWithHttpInfo(apiToken, createAUserRequest); } } @@ -427,8 +427,8 @@ public APIcreateAUserRequest createAUser() throws ApiException { return new APIcreateAUserRequest(); } -private ApiResponse createUserTokenWithHttpInfo(String userId, String apiToken, SendBirdCreateUserTokenRequest sendBirdCreateUserTokenRequest) throws ApiException { - Object localVarPostBody = sendBirdCreateUserTokenRequest; +private ApiResponse createUserTokenWithHttpInfo(String userId, String apiToken, CreateUserTokenRequest createUserTokenRequest) throws ApiException { + Object localVarPostBody = createUserTokenRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -463,7 +463,7 @@ private ApiResponse createUserTokenWithHttpInfo String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.createUserToken", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -473,7 +473,7 @@ private ApiResponse createUserTokenWithHttpInfo public class APIcreateUserTokenRequest { private String userId; private String apiToken; - private SendBirdCreateUserTokenRequest sendBirdCreateUserTokenRequest; + private CreateUserTokenRequest createUserTokenRequest; private APIcreateUserTokenRequest(String userId) { this.userId = userId; @@ -490,18 +490,18 @@ public APIcreateUserTokenRequest apiToken(String apiToken) { } /** - * Set sendBirdCreateUserTokenRequest - * @param sendBirdCreateUserTokenRequest (optional) + * Set createUserTokenRequest + * @param createUserTokenRequest (optional) * @return APIcreateUserTokenRequest */ - public APIcreateUserTokenRequest sendBirdCreateUserTokenRequest(SendBirdCreateUserTokenRequest sendBirdCreateUserTokenRequest) { - this.sendBirdCreateUserTokenRequest = sendBirdCreateUserTokenRequest; + public APIcreateUserTokenRequest createUserTokenRequest(CreateUserTokenRequest createUserTokenRequest) { + this.createUserTokenRequest = createUserTokenRequest; return this; } /** * Execute createUserToken request - * @return SendBirdCreateUserTokenResponse + * @return CreateUserTokenResponse * @throws ApiException if fails to make API call * @http.response.details @@ -511,13 +511,13 @@ public APIcreateUserTokenRequest sendBirdCreateUserTokenRequest(SendBirdCreateUs */ - public SendBirdCreateUserTokenResponse execute() throws ApiException { + public CreateUserTokenResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createUserToken request with HTTP info returned - * @return ApiResponse<SendBirdCreateUserTokenResponse> + * @return ApiResponse<CreateUserTokenResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -526,8 +526,8 @@ public SendBirdCreateUserTokenResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createUserTokenWithHttpInfo(userId, apiToken, sendBirdCreateUserTokenRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createUserTokenWithHttpInfo(userId, apiToken, createUserTokenRequest); } } @@ -650,7 +650,7 @@ public APIdeleteAUserRequest deleteAUser(String userId) throws ApiException { return new APIdeleteAUserRequest(userId); } -private ApiResponse getChannelInvitationPreferenceWithHttpInfo(String userId, String apiToken) throws ApiException { +private ApiResponse getChannelInvitationPreferenceWithHttpInfo(String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -686,7 +686,7 @@ private ApiResponse getChannelIn String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.getChannelInvitationPreference", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -713,7 +713,7 @@ public APIgetChannelInvitationPreferenceRequest apiToken(String apiToken) { /** * Execute getChannelInvitationPreference request - * @return SendBirdGetChannelInvitationPreferenceResponse + * @return GetChannelInvitationPreferenceResponse * @throws ApiException if fails to make API call * @http.response.details @@ -723,13 +723,13 @@ public APIgetChannelInvitationPreferenceRequest apiToken(String apiToken) { */ - public SendBirdGetChannelInvitationPreferenceResponse execute() throws ApiException { + public GetChannelInvitationPreferenceResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getChannelInvitationPreference request with HTTP info returned - * @return ApiResponse<SendBirdGetChannelInvitationPreferenceResponse> + * @return ApiResponse<GetChannelInvitationPreferenceResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -738,7 +738,7 @@ public SendBirdGetChannelInvitationPreferenceResponse execute() throws ApiExcept
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getChannelInvitationPreferenceWithHttpInfo(userId, apiToken); } } @@ -756,8 +756,8 @@ public APIgetChannelInvitationPreferenceRequest getChannelInvitationPreference(S return new APIgetChannelInvitationPreferenceRequest(userId); } -private ApiResponse leaveMyGroupChannelsWithHttpInfo(String userId, String apiToken, SendBirdLeaveMyGroupChannelsRequest sendBirdLeaveMyGroupChannelsRequest) throws ApiException { - Object localVarPostBody = sendBirdLeaveMyGroupChannelsRequest; +private ApiResponse leaveMyGroupChannelsWithHttpInfo(String userId, String apiToken, LeaveMyGroupChannelsRequest leaveMyGroupChannelsRequest) throws ApiException { + Object localVarPostBody = leaveMyGroupChannelsRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -802,7 +802,7 @@ private ApiResponse leaveMyGroupChannelsWithHttpInfo(String userId, Stri public class APIleaveMyGroupChannelsRequest { private String userId; private String apiToken; - private SendBirdLeaveMyGroupChannelsRequest sendBirdLeaveMyGroupChannelsRequest; + private LeaveMyGroupChannelsRequest leaveMyGroupChannelsRequest; private APIleaveMyGroupChannelsRequest(String userId) { this.userId = userId; @@ -819,12 +819,12 @@ public APIleaveMyGroupChannelsRequest apiToken(String apiToken) { } /** - * Set sendBirdLeaveMyGroupChannelsRequest - * @param sendBirdLeaveMyGroupChannelsRequest (optional) + * Set leaveMyGroupChannelsRequest + * @param leaveMyGroupChannelsRequest (optional) * @return APIleaveMyGroupChannelsRequest */ - public APIleaveMyGroupChannelsRequest sendBirdLeaveMyGroupChannelsRequest(SendBirdLeaveMyGroupChannelsRequest sendBirdLeaveMyGroupChannelsRequest) { - this.sendBirdLeaveMyGroupChannelsRequest = sendBirdLeaveMyGroupChannelsRequest; + public APIleaveMyGroupChannelsRequest leaveMyGroupChannelsRequest(LeaveMyGroupChannelsRequest leaveMyGroupChannelsRequest) { + this.leaveMyGroupChannelsRequest = leaveMyGroupChannelsRequest; return this; } @@ -856,7 +856,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return leaveMyGroupChannelsWithHttpInfo(userId, apiToken, sendBirdLeaveMyGroupChannelsRequest); + return leaveMyGroupChannelsWithHttpInfo(userId, apiToken, leaveMyGroupChannelsRequest); } } @@ -873,7 +873,7 @@ public APIleaveMyGroupChannelsRequest leaveMyGroupChannels(String userId) throws return new APIleaveMyGroupChannelsRequest(userId); } -private ApiResponse listMyGroupChannelsWithHttpInfo(String userId, String apiToken, String token, Integer limit, String distinctMode, String publicMode, String superMode, Long createdAfter, Long createdBefore, Boolean showEmpty, Boolean showMember, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMetadata, Boolean showFrozen, String order, String metadataOrderKey, String customTypes, String customTypeStartswith, String channelUrls, String name, String nameContains, String nameStartswith, String membersExactlyIn, String membersIncludeIn, String queryType, String membersNickname, String membersNicknameContains, String membersNicknameStartswith, String searchQuery, String searchFields, String metadataKey, String metadataValues, String metadataValueStartswith, String metacounterKey, String metacounterValues, String metacounterValueGt, String metacounterValueGte, String metacounterValueLt, String metacounterValueLte, Boolean includeSortedMetaarrayInLastMessage, String hiddenMode, String unreadFilter, String memberStateFilter) throws ApiException { +private ApiResponse listMyGroupChannelsWithHttpInfo(String userId, String apiToken, String token, Integer limit, String distinctMode, String publicMode, String superMode, Long createdAfter, Long createdBefore, Boolean showEmpty, Boolean showMember, Boolean showDeliveryReceipt, Boolean showReadReceipt, Boolean showMetadata, Boolean showFrozen, String order, String metadataOrderKey, String customTypes, String customTypeStartswith, String channelUrls, String name, String nameContains, String nameStartswith, String membersExactlyIn, String membersIncludeIn, String queryType, String membersNickname, String membersNicknameContains, String membersNicknameStartswith, String searchQuery, String searchFields, String metadataKey, String metadataValues, String metadataValueStartswith, String metacounterKey, String metacounterValues, String metacounterValueGt, String metacounterValueGte, String metacounterValueLt, String metacounterValueLte, Boolean includeSortedMetaarrayInLastMessage, String hiddenMode, String unreadFilter, String memberStateFilter) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -956,7 +956,7 @@ private ApiResponse listMyGroupChannelsWith String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.listMyGroupChannels", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1445,7 +1445,7 @@ public APIlistMyGroupChannelsRequest memberStateFilter(String memberStateFilter) /** * Execute listMyGroupChannels request - * @return SendBirdListMyGroupChannelsResponse + * @return ListMyGroupChannelsResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1455,13 +1455,13 @@ public APIlistMyGroupChannelsRequest memberStateFilter(String memberStateFilter) */ - public SendBirdListMyGroupChannelsResponse execute() throws ApiException { + public ListMyGroupChannelsResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listMyGroupChannels request with HTTP info returned - * @return ApiResponse<SendBirdListMyGroupChannelsResponse> + * @return ApiResponse<ListMyGroupChannelsResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1470,7 +1470,7 @@ public SendBirdListMyGroupChannelsResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listMyGroupChannelsWithHttpInfo(userId, apiToken, token, limit, distinctMode, publicMode, superMode, createdAfter, createdBefore, showEmpty, showMember, showDeliveryReceipt, showReadReceipt, showMetadata, showFrozen, order, metadataOrderKey, customTypes, customTypeStartswith, channelUrls, name, nameContains, nameStartswith, membersExactlyIn, membersIncludeIn, queryType, membersNickname, membersNicknameContains, membersNicknameStartswith, searchQuery, searchFields, metadataKey, metadataValues, metadataValueStartswith, metacounterKey, metacounterValues, metacounterValueGt, metacounterValueGte, metacounterValueLt, metacounterValueLte, includeSortedMetaarrayInLastMessage, hiddenMode, unreadFilter, memberStateFilter); } } @@ -1488,7 +1488,7 @@ public APIlistMyGroupChannelsRequest listMyGroupChannels(String userId) throws A return new APIlistMyGroupChannelsRequest(userId); } -private ApiResponse listRegistrationOrDeviceTokensWithHttpInfo(String userId, String tokenType, String apiToken) throws ApiException { +private ApiResponse listRegistrationOrDeviceTokensWithHttpInfo(String userId, String tokenType, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -1530,7 +1530,7 @@ private ApiResponse listRegistra String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.listRegistrationOrDeviceTokens", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1559,7 +1559,7 @@ public APIlistRegistrationOrDeviceTokensRequest apiToken(String apiToken) { /** * Execute listRegistrationOrDeviceTokens request - * @return SendBirdListRegistrationOrDeviceTokensResponse + * @return ListRegistrationOrDeviceTokensResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1569,13 +1569,13 @@ public APIlistRegistrationOrDeviceTokensRequest apiToken(String apiToken) { */ - public SendBirdListRegistrationOrDeviceTokensResponse execute() throws ApiException { + public ListRegistrationOrDeviceTokensResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listRegistrationOrDeviceTokens request with HTTP info returned - * @return ApiResponse<SendBirdListRegistrationOrDeviceTokensResponse> + * @return ApiResponse<ListRegistrationOrDeviceTokensResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1584,7 +1584,7 @@ public SendBirdListRegistrationOrDeviceTokensResponse execute() throws ApiExcept
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listRegistrationOrDeviceTokensWithHttpInfo(userId, tokenType, apiToken); } } @@ -1603,7 +1603,7 @@ public APIlistRegistrationOrDeviceTokensRequest listRegistrationOrDeviceTokens(S return new APIlistRegistrationOrDeviceTokensRequest(userId, tokenType); } -private ApiResponse listUsersWithHttpInfo(String token, Integer limit, String activeMode, Boolean showBot, String userIds, String nickname, String nicknameStartswith, String metadatakey, String metadatavaluesIn, String apiToken) throws ApiException { +private ApiResponse listUsersWithHttpInfo(String token, Integer limit, String activeMode, Boolean showBot, String userIds, String nickname, String nicknameStartswith, String metadatakey, String metadatavaluesIn, String apiToken) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1642,7 +1642,7 @@ private ApiResponse listUsersWithHttpInfo(String toke String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.listUsers", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1766,7 +1766,7 @@ public APIlistUsersRequest apiToken(String apiToken) { /** * Execute listUsers request - * @return SendBirdListUsersResponse + * @return ListUsersResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1776,13 +1776,13 @@ public APIlistUsersRequest apiToken(String apiToken) { */ - public SendBirdListUsersResponse execute() throws ApiException { + public ListUsersResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute listUsers request with HTTP info returned - * @return ApiResponse<SendBirdListUsersResponse> + * @return ApiResponse<ListUsersResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1791,7 +1791,7 @@ public SendBirdListUsersResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return listUsersWithHttpInfo(token, limit, activeMode, showBot, userIds, nickname, nicknameStartswith, metadatakey, metadatavaluesIn, apiToken); } } @@ -1808,8 +1808,8 @@ public APIlistUsersRequest listUsers() throws ApiException { return new APIlistUsersRequest(); } -private ApiResponse markAllMessagesAsReadWithHttpInfo(String userId, String apiToken, SendBirdMarkAllMessagesAsReadRequest sendBirdMarkAllMessagesAsReadRequest) throws ApiException { - Object localVarPostBody = sendBirdMarkAllMessagesAsReadRequest; +private ApiResponse markAllMessagesAsReadWithHttpInfo(String userId, String apiToken, MarkAllMessagesAsReadRequest markAllMessagesAsReadRequest) throws ApiException { + Object localVarPostBody = markAllMessagesAsReadRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -1854,7 +1854,7 @@ private ApiResponse markAllMessagesAsReadWithHttpInfo(String userId, Str public class APImarkAllMessagesAsReadRequest { private String userId; private String apiToken; - private SendBirdMarkAllMessagesAsReadRequest sendBirdMarkAllMessagesAsReadRequest; + private MarkAllMessagesAsReadRequest markAllMessagesAsReadRequest; private APImarkAllMessagesAsReadRequest(String userId) { this.userId = userId; @@ -1871,12 +1871,12 @@ public APImarkAllMessagesAsReadRequest apiToken(String apiToken) { } /** - * Set sendBirdMarkAllMessagesAsReadRequest - * @param sendBirdMarkAllMessagesAsReadRequest (optional) + * Set markAllMessagesAsReadRequest + * @param markAllMessagesAsReadRequest (optional) * @return APImarkAllMessagesAsReadRequest */ - public APImarkAllMessagesAsReadRequest sendBirdMarkAllMessagesAsReadRequest(SendBirdMarkAllMessagesAsReadRequest sendBirdMarkAllMessagesAsReadRequest) { - this.sendBirdMarkAllMessagesAsReadRequest = sendBirdMarkAllMessagesAsReadRequest; + public APImarkAllMessagesAsReadRequest markAllMessagesAsReadRequest(MarkAllMessagesAsReadRequest markAllMessagesAsReadRequest) { + this.markAllMessagesAsReadRequest = markAllMessagesAsReadRequest; return this; } @@ -1908,7 +1908,7 @@ public Object execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return markAllMessagesAsReadWithHttpInfo(userId, apiToken, sendBirdMarkAllMessagesAsReadRequest); + return markAllMessagesAsReadWithHttpInfo(userId, apiToken, markAllMessagesAsReadRequest); } } @@ -1925,7 +1925,7 @@ public APImarkAllMessagesAsReadRequest markAllMessagesAsRead(String userId) thro return new APImarkAllMessagesAsReadRequest(userId); } -private ApiResponse removeARegistrationOrDeviceTokenWithHttpInfo(String userId, String tokenType, String token, String apiToken) throws ApiException { +private ApiResponse removeARegistrationOrDeviceTokenWithHttpInfo(String userId, String tokenType, String token, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -1973,7 +1973,7 @@ private ApiResponse removeAReg String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.removeARegistrationOrDeviceToken", localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2004,7 +2004,7 @@ public APIremoveARegistrationOrDeviceTokenRequest apiToken(String apiToken) { /** * Execute removeARegistrationOrDeviceToken request - * @return SendBirdRemoveARegistrationOrDeviceTokenResponse + * @return RemoveARegistrationOrDeviceTokenResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2014,13 +2014,13 @@ public APIremoveARegistrationOrDeviceTokenRequest apiToken(String apiToken) { */ - public SendBirdRemoveARegistrationOrDeviceTokenResponse execute() throws ApiException { + public RemoveARegistrationOrDeviceTokenResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute removeARegistrationOrDeviceToken request with HTTP info returned - * @return ApiResponse<SendBirdRemoveARegistrationOrDeviceTokenResponse> + * @return ApiResponse<RemoveARegistrationOrDeviceTokenResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2029,7 +2029,7 @@ public SendBirdRemoveARegistrationOrDeviceTokenResponse execute() throws ApiExce
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return removeARegistrationOrDeviceTokenWithHttpInfo(userId, tokenType, token, apiToken); } } @@ -2049,7 +2049,7 @@ public APIremoveARegistrationOrDeviceTokenRequest removeARegistrationOrDeviceTok return new APIremoveARegistrationOrDeviceTokenRequest(userId, tokenType, token); } -private ApiResponse> removeARegistrationOrDeviceTokenFromAnOwnerWithHttpInfo(String tokenType, String token, String apiToken) throws ApiException { +private ApiResponse> removeARegistrationOrDeviceTokenFromAnOwnerWithHttpInfo(String tokenType, String token, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'tokenType' is set @@ -2091,7 +2091,7 @@ private ApiResponse> removeARegis String[] localVarAuthNames = new String[] { }; - GenericType> localVarReturnType = new GenericType>() {}; + GenericType> localVarReturnType = new GenericType>() {}; return apiClient.invokeAPI("UserApi.removeARegistrationOrDeviceTokenFromAnOwner", localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2120,7 +2120,7 @@ public APIremoveARegistrationOrDeviceTokenFromAnOwnerRequest apiToken(String api /** * Execute removeARegistrationOrDeviceTokenFromAnOwner request - * @return List<SendBirdMarkChannelMessagesAsReadRequest> + * @return List<MarkChannelMessagesAsReadRequest> * @throws ApiException if fails to make API call * @http.response.details @@ -2130,13 +2130,13 @@ public APIremoveARegistrationOrDeviceTokenFromAnOwnerRequest apiToken(String api */ - public List execute() throws ApiException { + public List execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute removeARegistrationOrDeviceTokenFromAnOwner request with HTTP info returned - * @return ApiResponse<List<SendBirdMarkChannelMessagesAsReadRequest>> + * @return ApiResponse<List<MarkChannelMessagesAsReadRequest>> * @throws ApiException if fails to make API call * @http.response.details
@@ -2145,7 +2145,7 @@ public List execute() throws ApiExcept
*/ - public ApiResponse> executeWithHttpInfo() throws ApiException { + public ApiResponse> executeWithHttpInfo() throws ApiException { return removeARegistrationOrDeviceTokenFromAnOwnerWithHttpInfo(tokenType, token, apiToken); } } @@ -2164,7 +2164,7 @@ public APIremoveARegistrationOrDeviceTokenFromAnOwnerRequest removeARegistration return new APIremoveARegistrationOrDeviceTokenFromAnOwnerRequest(tokenType, token); } -private ApiResponse removeAllRegistrationOrDeviceTokenWithHttpInfo(String userId, String apiToken) throws ApiException { +private ApiResponse removeAllRegistrationOrDeviceTokenWithHttpInfo(String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -2200,7 +2200,7 @@ private ApiResponse removeAl String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.removeAllRegistrationOrDeviceToken", localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2227,7 +2227,7 @@ public APIremoveAllRegistrationOrDeviceTokenRequest apiToken(String apiToken) { /** * Execute removeAllRegistrationOrDeviceToken request - * @return SendBirdRemoveAllRegistrationOrDeviceTokenResponse + * @return RemoveAllRegistrationOrDeviceTokenResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2237,13 +2237,13 @@ public APIremoveAllRegistrationOrDeviceTokenRequest apiToken(String apiToken) { */ - public SendBirdRemoveAllRegistrationOrDeviceTokenResponse execute() throws ApiException { + public RemoveAllRegistrationOrDeviceTokenResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute removeAllRegistrationOrDeviceToken request with HTTP info returned - * @return ApiResponse<SendBirdRemoveAllRegistrationOrDeviceTokenResponse> + * @return ApiResponse<RemoveAllRegistrationOrDeviceTokenResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2252,7 +2252,7 @@ public SendBirdRemoveAllRegistrationOrDeviceTokenResponse execute() throws ApiEx
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return removeAllRegistrationOrDeviceTokenWithHttpInfo(userId, apiToken); } } @@ -2376,8 +2376,8 @@ public APIresetPushPreferencesRequest resetPushPreferences(String userId) throws return new APIresetPushPreferencesRequest(userId); } -private ApiResponse updateAUserWithHttpInfo(String userId, String apiToken, SendBirdUpdateAUserRequest sendBirdUpdateAUserRequest) throws ApiException { - Object localVarPostBody = sendBirdUpdateAUserRequest; +private ApiResponse updateAUserWithHttpInfo(String userId, String apiToken, UpdateAUserRequest updateAUserRequest) throws ApiException { + Object localVarPostBody = updateAUserRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -2412,7 +2412,7 @@ private ApiResponse updateAUserWithHttpInfo(String userId, String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updateAUser", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2422,7 +2422,7 @@ private ApiResponse updateAUserWithHttpInfo(String userId, public class APIupdateAUserRequest { private String userId; private String apiToken; - private SendBirdUpdateAUserRequest sendBirdUpdateAUserRequest; + private UpdateAUserRequest updateAUserRequest; private APIupdateAUserRequest(String userId) { this.userId = userId; @@ -2439,18 +2439,18 @@ public APIupdateAUserRequest apiToken(String apiToken) { } /** - * Set sendBirdUpdateAUserRequest - * @param sendBirdUpdateAUserRequest (optional) + * Set updateAUserRequest + * @param updateAUserRequest (optional) * @return APIupdateAUserRequest */ - public APIupdateAUserRequest sendBirdUpdateAUserRequest(SendBirdUpdateAUserRequest sendBirdUpdateAUserRequest) { - this.sendBirdUpdateAUserRequest = sendBirdUpdateAUserRequest; + public APIupdateAUserRequest updateAUserRequest(UpdateAUserRequest updateAUserRequest) { + this.updateAUserRequest = updateAUserRequest; return this; } /** * Execute updateAUser request - * @return SendBirdSendBirdUser + * @return SendBirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -2460,13 +2460,13 @@ public APIupdateAUserRequest sendBirdUpdateAUserRequest(SendBirdUpdateAUserReque */ - public SendBirdSendBirdUser execute() throws ApiException { + public SendBirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAUser request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdUser> + * @return ApiResponse<SendBirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -2475,8 +2475,8 @@ public SendBirdSendBirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateAUserWithHttpInfo(userId, apiToken, sendBirdUpdateAUserRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateAUserWithHttpInfo(userId, apiToken, updateAUserRequest); } } @@ -2493,8 +2493,8 @@ public APIupdateAUserRequest updateAUser(String userId) throws ApiException { return new APIupdateAUserRequest(userId); } -private ApiResponse updateChannelInvitationPreferenceWithHttpInfo(String userId, String apiToken, SendBirdUpdateChannelInvitationPreferenceRequest sendBirdUpdateChannelInvitationPreferenceRequest) throws ApiException { - Object localVarPostBody = sendBirdUpdateChannelInvitationPreferenceRequest; +private ApiResponse updateChannelInvitationPreferenceWithHttpInfo(String userId, String apiToken, UpdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest) throws ApiException { + Object localVarPostBody = updateChannelInvitationPreferenceRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -2529,7 +2529,7 @@ private ApiResponse updateCha String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updateChannelInvitationPreference", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2539,7 +2539,7 @@ private ApiResponse updateCha public class APIupdateChannelInvitationPreferenceRequest { private String userId; private String apiToken; - private SendBirdUpdateChannelInvitationPreferenceRequest sendBirdUpdateChannelInvitationPreferenceRequest; + private UpdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest; private APIupdateChannelInvitationPreferenceRequest(String userId) { this.userId = userId; @@ -2556,18 +2556,18 @@ public APIupdateChannelInvitationPreferenceRequest apiToken(String apiToken) { } /** - * Set sendBirdUpdateChannelInvitationPreferenceRequest - * @param sendBirdUpdateChannelInvitationPreferenceRequest (optional) + * Set updateChannelInvitationPreferenceRequest + * @param updateChannelInvitationPreferenceRequest (optional) * @return APIupdateChannelInvitationPreferenceRequest */ - public APIupdateChannelInvitationPreferenceRequest sendBirdUpdateChannelInvitationPreferenceRequest(SendBirdUpdateChannelInvitationPreferenceRequest sendBirdUpdateChannelInvitationPreferenceRequest) { - this.sendBirdUpdateChannelInvitationPreferenceRequest = sendBirdUpdateChannelInvitationPreferenceRequest; + public APIupdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest(UpdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest) { + this.updateChannelInvitationPreferenceRequest = updateChannelInvitationPreferenceRequest; return this; } /** * Execute updateChannelInvitationPreference request - * @return SendBirdUpdateChannelInvitationPreferenceResponse + * @return UpdateChannelInvitationPreferenceResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2577,13 +2577,13 @@ public APIupdateChannelInvitationPreferenceRequest sendBirdUpdateChannelInvitati */ - public SendBirdUpdateChannelInvitationPreferenceResponse execute() throws ApiException { + public UpdateChannelInvitationPreferenceResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateChannelInvitationPreference request with HTTP info returned - * @return ApiResponse<SendBirdUpdateChannelInvitationPreferenceResponse> + * @return ApiResponse<UpdateChannelInvitationPreferenceResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2592,8 +2592,8 @@ public SendBirdUpdateChannelInvitationPreferenceResponse execute() throws ApiExc
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateChannelInvitationPreferenceWithHttpInfo(userId, apiToken, sendBirdUpdateChannelInvitationPreferenceRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateChannelInvitationPreferenceWithHttpInfo(userId, apiToken, updateChannelInvitationPreferenceRequest); } } @@ -2610,8 +2610,8 @@ public APIupdateChannelInvitationPreferenceRequest updateChannelInvitationPrefer return new APIupdateChannelInvitationPreferenceRequest(userId); } -private ApiResponse updateCountPreferenceOfAChannelWithHttpInfo(String userId, String channelUrl, String apiToken, SendBirdUpdateCountPreferenceOfAChannelRequest sendBirdUpdateCountPreferenceOfAChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdUpdateCountPreferenceOfAChannelRequest; +private ApiResponse updateCountPreferenceOfAChannelWithHttpInfo(String userId, String channelUrl, String apiToken, UpdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest) throws ApiException { + Object localVarPostBody = updateCountPreferenceOfAChannelRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -2652,7 +2652,7 @@ private ApiResponse updateC String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updateCountPreferenceOfAChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2663,7 +2663,7 @@ public class APIupdateCountPreferenceOfAChannelRequest { private String userId; private String channelUrl; private String apiToken; - private SendBirdUpdateCountPreferenceOfAChannelRequest sendBirdUpdateCountPreferenceOfAChannelRequest; + private UpdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest; private APIupdateCountPreferenceOfAChannelRequest(String userId, String channelUrl) { this.userId = userId; @@ -2681,18 +2681,18 @@ public APIupdateCountPreferenceOfAChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdUpdateCountPreferenceOfAChannelRequest - * @param sendBirdUpdateCountPreferenceOfAChannelRequest (optional) + * Set updateCountPreferenceOfAChannelRequest + * @param updateCountPreferenceOfAChannelRequest (optional) * @return APIupdateCountPreferenceOfAChannelRequest */ - public APIupdateCountPreferenceOfAChannelRequest sendBirdUpdateCountPreferenceOfAChannelRequest(SendBirdUpdateCountPreferenceOfAChannelRequest sendBirdUpdateCountPreferenceOfAChannelRequest) { - this.sendBirdUpdateCountPreferenceOfAChannelRequest = sendBirdUpdateCountPreferenceOfAChannelRequest; + public APIupdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest(UpdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest) { + this.updateCountPreferenceOfAChannelRequest = updateCountPreferenceOfAChannelRequest; return this; } /** * Execute updateCountPreferenceOfAChannel request - * @return SendBirdUpdateCountPreferenceOfChannelByUrlResponse + * @return UpdateCountPreferenceOfChannelByUrlResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2702,13 +2702,13 @@ public APIupdateCountPreferenceOfAChannelRequest sendBirdUpdateCountPreferenceOf */ - public SendBirdUpdateCountPreferenceOfChannelByUrlResponse execute() throws ApiException { + public UpdateCountPreferenceOfChannelByUrlResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateCountPreferenceOfAChannel request with HTTP info returned - * @return ApiResponse<SendBirdUpdateCountPreferenceOfChannelByUrlResponse> + * @return ApiResponse<UpdateCountPreferenceOfChannelByUrlResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2717,8 +2717,8 @@ public SendBirdUpdateCountPreferenceOfChannelByUrlResponse execute() throws ApiE
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updateCountPreferenceOfAChannelWithHttpInfo(userId, channelUrl, apiToken, sendBirdUpdateCountPreferenceOfAChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updateCountPreferenceOfAChannelWithHttpInfo(userId, channelUrl, apiToken, updateCountPreferenceOfAChannelRequest); } } @@ -2736,8 +2736,8 @@ public APIupdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannel return new APIupdateCountPreferenceOfAChannelRequest(userId, channelUrl); } -private ApiResponse updatePushPreferencesWithHttpInfo(String userId, String apiToken, SendBirdUpdatePushPreferencesRequest sendBirdUpdatePushPreferencesRequest) throws ApiException { - Object localVarPostBody = sendBirdUpdatePushPreferencesRequest; +private ApiResponse updatePushPreferencesWithHttpInfo(String userId, String apiToken, UpdatePushPreferencesRequest updatePushPreferencesRequest) throws ApiException { + Object localVarPostBody = updatePushPreferencesRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -2772,7 +2772,7 @@ private ApiResponse updatePushPreferences String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updatePushPreferences", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2782,7 +2782,7 @@ private ApiResponse updatePushPreferences public class APIupdatePushPreferencesRequest { private String userId; private String apiToken; - private SendBirdUpdatePushPreferencesRequest sendBirdUpdatePushPreferencesRequest; + private UpdatePushPreferencesRequest updatePushPreferencesRequest; private APIupdatePushPreferencesRequest(String userId) { this.userId = userId; @@ -2799,18 +2799,18 @@ public APIupdatePushPreferencesRequest apiToken(String apiToken) { } /** - * Set sendBirdUpdatePushPreferencesRequest - * @param sendBirdUpdatePushPreferencesRequest (optional) + * Set updatePushPreferencesRequest + * @param updatePushPreferencesRequest (optional) * @return APIupdatePushPreferencesRequest */ - public APIupdatePushPreferencesRequest sendBirdUpdatePushPreferencesRequest(SendBirdUpdatePushPreferencesRequest sendBirdUpdatePushPreferencesRequest) { - this.sendBirdUpdatePushPreferencesRequest = sendBirdUpdatePushPreferencesRequest; + public APIupdatePushPreferencesRequest updatePushPreferencesRequest(UpdatePushPreferencesRequest updatePushPreferencesRequest) { + this.updatePushPreferencesRequest = updatePushPreferencesRequest; return this; } /** * Execute updatePushPreferences request - * @return SendBirdUpdatePushPreferencesResponse + * @return UpdatePushPreferencesResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2820,13 +2820,13 @@ public APIupdatePushPreferencesRequest sendBirdUpdatePushPreferencesRequest(Send */ - public SendBirdUpdatePushPreferencesResponse execute() throws ApiException { + public UpdatePushPreferencesResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updatePushPreferences request with HTTP info returned - * @return ApiResponse<SendBirdUpdatePushPreferencesResponse> + * @return ApiResponse<UpdatePushPreferencesResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2835,8 +2835,8 @@ public SendBirdUpdatePushPreferencesResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updatePushPreferencesWithHttpInfo(userId, apiToken, sendBirdUpdatePushPreferencesRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updatePushPreferencesWithHttpInfo(userId, apiToken, updatePushPreferencesRequest); } } @@ -2853,8 +2853,8 @@ public APIupdatePushPreferencesRequest updatePushPreferences(String userId) thro return new APIupdatePushPreferencesRequest(userId); } -private ApiResponse updatePushPreferencesForAChannelWithHttpInfo(String userId, String channelUrl, String apiToken, SendBirdUpdatePushPreferencesForAChannelRequest sendBirdUpdatePushPreferencesForAChannelRequest) throws ApiException { - Object localVarPostBody = sendBirdUpdatePushPreferencesForAChannelRequest; +private ApiResponse updatePushPreferencesForAChannelWithHttpInfo(String userId, String channelUrl, String apiToken, UpdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest) throws ApiException { + Object localVarPostBody = updatePushPreferencesForAChannelRequest; // verify the required parameter 'userId' is set if (userId == null) { @@ -2895,7 +2895,7 @@ private ApiResponse updatePush String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updatePushPreferencesForAChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2906,7 +2906,7 @@ public class APIupdatePushPreferencesForAChannelRequest { private String userId; private String channelUrl; private String apiToken; - private SendBirdUpdatePushPreferencesForAChannelRequest sendBirdUpdatePushPreferencesForAChannelRequest; + private UpdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest; private APIupdatePushPreferencesForAChannelRequest(String userId, String channelUrl) { this.userId = userId; @@ -2924,18 +2924,18 @@ public APIupdatePushPreferencesForAChannelRequest apiToken(String apiToken) { } /** - * Set sendBirdUpdatePushPreferencesForAChannelRequest - * @param sendBirdUpdatePushPreferencesForAChannelRequest (optional) + * Set updatePushPreferencesForAChannelRequest + * @param updatePushPreferencesForAChannelRequest (optional) * @return APIupdatePushPreferencesForAChannelRequest */ - public APIupdatePushPreferencesForAChannelRequest sendBirdUpdatePushPreferencesForAChannelRequest(SendBirdUpdatePushPreferencesForAChannelRequest sendBirdUpdatePushPreferencesForAChannelRequest) { - this.sendBirdUpdatePushPreferencesForAChannelRequest = sendBirdUpdatePushPreferencesForAChannelRequest; + public APIupdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest(UpdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest) { + this.updatePushPreferencesForAChannelRequest = updatePushPreferencesForAChannelRequest; return this; } /** * Execute updatePushPreferencesForAChannel request - * @return SendBirdUpdatePushPreferencesForAChannelResponse + * @return UpdatePushPreferencesForAChannelResponse * @throws ApiException if fails to make API call * @http.response.details @@ -2945,13 +2945,13 @@ public APIupdatePushPreferencesForAChannelRequest sendBirdUpdatePushPreferencesF */ - public SendBirdUpdatePushPreferencesForAChannelResponse execute() throws ApiException { + public UpdatePushPreferencesForAChannelResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updatePushPreferencesForAChannel request with HTTP info returned - * @return ApiResponse<SendBirdUpdatePushPreferencesForAChannelResponse> + * @return ApiResponse<UpdatePushPreferencesForAChannelResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -2960,8 +2960,8 @@ public SendBirdUpdatePushPreferencesForAChannelResponse execute() throws ApiExce
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return updatePushPreferencesForAChannelWithHttpInfo(userId, channelUrl, apiToken, sendBirdUpdatePushPreferencesForAChannelRequest); + public ApiResponse executeWithHttpInfo() throws ApiException { + return updatePushPreferencesForAChannelWithHttpInfo(userId, channelUrl, apiToken, updatePushPreferencesForAChannelRequest); } } @@ -2979,7 +2979,7 @@ public APIupdatePushPreferencesForAChannelRequest updatePushPreferencesForAChann return new APIupdatePushPreferencesForAChannelRequest(userId, channelUrl); } -private ApiResponse viewAUserWithHttpInfo(String userId, Boolean includeUnreadCount, String customTypes, String superMode, String apiToken) throws ApiException { +private ApiResponse viewAUserWithHttpInfo(String userId, Boolean includeUnreadCount, String customTypes, String superMode, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3018,7 +3018,7 @@ private ApiResponse viewAUserWithHttpInfo(String userId, B String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewAUser", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3078,7 +3078,7 @@ public APIviewAUserRequest apiToken(String apiToken) { /** * Execute viewAUser request - * @return SendBirdSendBirdUser + * @return SendBirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -3088,13 +3088,13 @@ public APIviewAUserRequest apiToken(String apiToken) { */ - public SendBirdSendBirdUser execute() throws ApiException { + public SendBirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewAUser request with HTTP info returned - * @return ApiResponse<SendBirdSendBirdUser> + * @return ApiResponse<SendBirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -3103,7 +3103,7 @@ public SendBirdSendBirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewAUserWithHttpInfo(userId, includeUnreadCount, customTypes, superMode, apiToken); } } @@ -3121,7 +3121,7 @@ public APIviewAUserRequest viewAUser(String userId) throws ApiException { return new APIviewAUserRequest(userId); } -private ApiResponse viewCountPreferenceOfAChannelWithHttpInfo(String userId, String channelUrl, String apiToken) throws ApiException { +private ApiResponse viewCountPreferenceOfAChannelWithHttpInfo(String userId, String channelUrl, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3163,7 +3163,7 @@ private ApiResponse viewCountPref String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewCountPreferenceOfAChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3192,7 +3192,7 @@ public APIviewCountPreferenceOfAChannelRequest apiToken(String apiToken) { /** * Execute viewCountPreferenceOfAChannel request - * @return SendBirdViewCountPreferenceOfAChannelResponse + * @return ViewCountPreferenceOfAChannelResponse * @throws ApiException if fails to make API call * @http.response.details @@ -3202,13 +3202,13 @@ public APIviewCountPreferenceOfAChannelRequest apiToken(String apiToken) { */ - public SendBirdViewCountPreferenceOfAChannelResponse execute() throws ApiException { + public ViewCountPreferenceOfAChannelResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewCountPreferenceOfAChannel request with HTTP info returned - * @return ApiResponse<SendBirdViewCountPreferenceOfAChannelResponse> + * @return ApiResponse<ViewCountPreferenceOfAChannelResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -3217,7 +3217,7 @@ public SendBirdViewCountPreferenceOfAChannelResponse execute() throws ApiExcepti
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewCountPreferenceOfAChannelWithHttpInfo(userId, channelUrl, apiToken); } } @@ -3236,7 +3236,7 @@ public APIviewCountPreferenceOfAChannelRequest viewCountPreferenceOfAChannel(Str return new APIviewCountPreferenceOfAChannelRequest(userId, channelUrl); } -private ApiResponse viewNumberOfChannelsWithUnreadMessagesWithHttpInfo(String userId, String customTypes, String superMode, String apiToken) throws ApiException { +private ApiResponse viewNumberOfChannelsWithUnreadMessagesWithHttpInfo(String userId, String customTypes, String superMode, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3274,7 +3274,7 @@ private ApiResponse view String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewNumberOfChannelsWithUnreadMessages", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3323,7 +3323,7 @@ public APIviewNumberOfChannelsWithUnreadMessagesRequest apiToken(String apiToken /** * Execute viewNumberOfChannelsWithUnreadMessages request - * @return SendBirdViewNumberOfChannelsWithUnreadMessagesResponse + * @return ViewNumberOfChannelsWithUnreadMessagesResponse * @throws ApiException if fails to make API call * @http.response.details @@ -3333,13 +3333,13 @@ public APIviewNumberOfChannelsWithUnreadMessagesRequest apiToken(String apiToken */ - public SendBirdViewNumberOfChannelsWithUnreadMessagesResponse execute() throws ApiException { + public ViewNumberOfChannelsWithUnreadMessagesResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewNumberOfChannelsWithUnreadMessages request with HTTP info returned - * @return ApiResponse<SendBirdViewNumberOfChannelsWithUnreadMessagesResponse> + * @return ApiResponse<ViewNumberOfChannelsWithUnreadMessagesResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -3348,7 +3348,7 @@ public SendBirdViewNumberOfChannelsWithUnreadMessagesResponse execute() throws A
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewNumberOfChannelsWithUnreadMessagesWithHttpInfo(userId, customTypes, superMode, apiToken); } } @@ -3366,7 +3366,7 @@ public APIviewNumberOfChannelsWithUnreadMessagesRequest viewNumberOfChannelsWith return new APIviewNumberOfChannelsWithUnreadMessagesRequest(userId); } -private ApiResponse viewNumberOfUnreadMessagesWithHttpInfo(String userId, String customTypes, String superMode, String apiToken) throws ApiException { +private ApiResponse viewNumberOfUnreadMessagesWithHttpInfo(String userId, String customTypes, String superMode, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3404,7 +3404,7 @@ private ApiResponse viewNumberOfUnre String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewNumberOfUnreadMessages", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3453,7 +3453,7 @@ public APIviewNumberOfUnreadMessagesRequest apiToken(String apiToken) { /** * Execute viewNumberOfUnreadMessages request - * @return SendBirdViewNumberOfUnreadMessagesResponse + * @return ViewNumberOfUnreadMessagesResponse * @throws ApiException if fails to make API call * @http.response.details @@ -3463,13 +3463,13 @@ public APIviewNumberOfUnreadMessagesRequest apiToken(String apiToken) { */ - public SendBirdViewNumberOfUnreadMessagesResponse execute() throws ApiException { + public ViewNumberOfUnreadMessagesResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewNumberOfUnreadMessages request with HTTP info returned - * @return ApiResponse<SendBirdViewNumberOfUnreadMessagesResponse> + * @return ApiResponse<ViewNumberOfUnreadMessagesResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -3478,7 +3478,7 @@ public SendBirdViewNumberOfUnreadMessagesResponse execute() throws ApiException
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewNumberOfUnreadMessagesWithHttpInfo(userId, customTypes, superMode, apiToken); } } @@ -3496,7 +3496,7 @@ public APIviewNumberOfUnreadMessagesRequest viewNumberOfUnreadMessages(String us return new APIviewNumberOfUnreadMessagesRequest(userId); } -private ApiResponse viewPushPreferencesWithHttpInfo(String userId, String apiToken) throws ApiException { +private ApiResponse viewPushPreferencesWithHttpInfo(String userId, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3532,7 +3532,7 @@ private ApiResponse viewPushPreferencesWith String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewPushPreferences", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3559,7 +3559,7 @@ public APIviewPushPreferencesRequest apiToken(String apiToken) { /** * Execute viewPushPreferences request - * @return SendBirdViewPushPreferencesResponse + * @return ViewPushPreferencesResponse * @throws ApiException if fails to make API call * @http.response.details @@ -3569,13 +3569,13 @@ public APIviewPushPreferencesRequest apiToken(String apiToken) { */ - public SendBirdViewPushPreferencesResponse execute() throws ApiException { + public ViewPushPreferencesResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewPushPreferences request with HTTP info returned - * @return ApiResponse<SendBirdViewPushPreferencesResponse> + * @return ApiResponse<ViewPushPreferencesResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -3584,7 +3584,7 @@ public SendBirdViewPushPreferencesResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewPushPreferencesWithHttpInfo(userId, apiToken); } } @@ -3602,7 +3602,7 @@ public APIviewPushPreferencesRequest viewPushPreferences(String userId) throws A return new APIviewPushPreferencesRequest(userId); } -private ApiResponse viewPushPreferencesForAChannelWithHttpInfo(String userId, String channelUrl, String apiToken) throws ApiException { +private ApiResponse viewPushPreferencesForAChannelWithHttpInfo(String userId, String channelUrl, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3644,7 +3644,7 @@ private ApiResponse viewPushPref String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewPushPreferencesForAChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3673,7 +3673,7 @@ public APIviewPushPreferencesForAChannelRequest apiToken(String apiToken) { /** * Execute viewPushPreferencesForAChannel request - * @return SendBirdViewPushPreferencesForAChannelResponse + * @return ViewPushPreferencesForAChannelResponse * @throws ApiException if fails to make API call * @http.response.details @@ -3683,13 +3683,13 @@ public APIviewPushPreferencesForAChannelRequest apiToken(String apiToken) { */ - public SendBirdViewPushPreferencesForAChannelResponse execute() throws ApiException { + public ViewPushPreferencesForAChannelResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewPushPreferencesForAChannel request with HTTP info returned - * @return ApiResponse<SendBirdViewPushPreferencesForAChannelResponse> + * @return ApiResponse<ViewPushPreferencesForAChannelResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -3698,7 +3698,7 @@ public SendBirdViewPushPreferencesForAChannelResponse execute() throws ApiExcept
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewPushPreferencesForAChannelWithHttpInfo(userId, channelUrl, apiToken); } } @@ -3717,7 +3717,7 @@ public APIviewPushPreferencesForAChannelRequest viewPushPreferencesForAChannel(S return new APIviewPushPreferencesForAChannelRequest(userId, channelUrl); } -private ApiResponse> viewWhoOwnsARegistrationOrDeviceTokenWithHttpInfo(String tokenType, String token, String apiToken) throws ApiException { +private ApiResponse> viewWhoOwnsARegistrationOrDeviceTokenWithHttpInfo(String tokenType, String token, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'tokenType' is set @@ -3759,7 +3759,7 @@ private ApiResponse> viewWhoOwnsA String[] localVarAuthNames = new String[] { }; - GenericType> localVarReturnType = new GenericType>() {}; + GenericType> localVarReturnType = new GenericType>() {}; return apiClient.invokeAPI("UserApi.viewWhoOwnsARegistrationOrDeviceToken", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3788,7 +3788,7 @@ public APIviewWhoOwnsARegistrationOrDeviceTokenRequest apiToken(String apiToken) /** * Execute viewWhoOwnsARegistrationOrDeviceToken request - * @return List<SendBirdMarkChannelMessagesAsReadRequest> + * @return List<MarkChannelMessagesAsReadRequest> * @throws ApiException if fails to make API call * @http.response.details @@ -3798,13 +3798,13 @@ public APIviewWhoOwnsARegistrationOrDeviceTokenRequest apiToken(String apiToken) */ - public List execute() throws ApiException { + public List execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewWhoOwnsARegistrationOrDeviceToken request with HTTP info returned - * @return ApiResponse<List<SendBirdMarkChannelMessagesAsReadRequest>> + * @return ApiResponse<List<MarkChannelMessagesAsReadRequest>> * @throws ApiException if fails to make API call * @http.response.details
@@ -3813,7 +3813,7 @@ public List execute() throws ApiExcept
*/ - public ApiResponse> executeWithHttpInfo() throws ApiException { + public ApiResponse> executeWithHttpInfo() throws ApiException { return viewWhoOwnsARegistrationOrDeviceTokenWithHttpInfo(tokenType, token, apiToken); } } diff --git a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java index 51a6fcbc..2bf1810c 100644 --- a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java +++ b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java index dcb104c9..a52fde7c 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java @@ -23,7 +23,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java index e513ad29..373a82b5 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; From 93c5779f1211fa382ae5bd9219c415c977f3f234 Mon Sep 17 00:00:00 2001 From: danney-chun <63285271+danney-chun@users.noreply.github.com> Date: Fri, 17 Oct 2025 09:11:57 +0900 Subject: [PATCH 07/10] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0ecc9f85..c29a13d2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,6 +25,6 @@ jobs: with: java-version: ${{ matrix.java }} distribution: 'temurin' - cache: maven + # cache: maven - name: Build with Maven run: mvn -B package --no-transfer-progress --file pom.xml From 0734ccb82e240c3113f4d6bd88101271fc9e6360 Mon Sep 17 00:00:00 2001 From: danney-chun <63285271+danney-chun@users.noreply.github.com> Date: Fri, 17 Oct 2025 09:46:01 +0900 Subject: [PATCH 08/10] fixed build bug --- .openapi-generator/FILES | 213 +- api/openapi.yaml | 206 +- docs/AddARegistrationOrDeviceTokenResponse.md | 2 +- docs/AddExtraDataToAMessageRequest.md | 2 +- docs/AddExtraDataToAMessageResponse.md | 2 +- docs/BlockAUserResponse.md | 2 +- docs/BotApi.md | 14 +- docs/CreateAGroupChannelRequest.md | 2 +- docs/GetAGroupChannelResponse.md | 16 +- docs/GetAGroupChannelResponseAllOf.md | 2 +- docs/GroupChannelApi.md | 24 +- docs/GroupChannelListMembersResponse.md | 2 +- docs/GroupChatListChannelsResponse.md | 2 +- docs/InviteAsMembersResponse.md | 16 +- docs/InviteAsMembersResponseAllOf.md | 2 +- docs/ListBlockedUsersResponse.md | 2 +- docs/ListMessagesResponse.md | 2 +- docs/ListMyGroupChannelsResponse.md | 2 +- docs/ListOpenChannelsResponse.md | 2 +- docs/ListOperatorsResponse.md | 2 +- .../ListRegistrationOrDeviceTokensResponse.md | 2 +- docs/ListUsersResponse.md | 2 +- docs/MessageApi.md | 18 +- docs/ModerationApi.md | 12 +- docs/OpenChannelApi.md | 18 +- ...emoveARegistrationOrDeviceTokenResponse.md | 2 +- ...oveAllRegistrationOrDeviceTokenResponse.md | 2 +- docs/SendABotMessageResponse.md | 2 +- docs/SendAMessageRequest.md | 4 +- docs/SendAdminMessageRequestBody.md | 2 +- docs/SendBirdFile.md | 4 +- docs/SendBirdGroupChannel.md | 16 +- docs/SendBirdMember.md | 4 +- docs/SendBirdMessageResponse.md | 18 +- docs/SendBirdOpenChannel.md | 4 +- docs/SendBirdParentMessageInfo.md | 8 +- docs/SendBirdReaction.md | 2 +- docs/SendBirdUser.md | 2 +- docs/SendFileMessageRequestBody.md | 4 +- docs/SendTextMessageRequestBody.md | 2 +- docs/SendbirdBasicUserInfo.md | 2 +- docs/SendbirdDisappearingMessage.md | 2 +- docs/SendbirdExtendedMessagePayload.md | 2 +- docs/SendbirdGroupChannelDetail.md | 16 +- docs/SendbirdGroupChannelDetailChannel.md | 2 +- docs/SendbirdGroupChannelLastMessage.md | 24 +- ...rdMessageResponseExtendedMessagePayload.md | 24 +- docs/SendbirdMessageResponseMessageEvents.md | 2 +- docs/SendbirdPushTriggerOption.md | 2 +- docs/SendbirdSmsFallback.md | 2 +- docs/SendbirdSortedMetaarrayInner.md | 2 +- docs/SendbirdThumbnail.md | 2 +- docs/UpdateExtraDataInAMessageRequest.md | 2 +- docs/UpdateExtraDataInAMessageResponse.md | 2 +- ...pdatePushPreferencesForAChannelResponse.md | 2 +- docs/UpdatePushPreferencesRequest.md | 2 +- docs/UpdatePushPreferencesResponse.md | 2 +- docs/UserApi.md | 18 +- .../ViewPushPreferencesForAChannelResponse.md | 2 +- docs/ViewPushPreferencesResponse.md | 2 +- .../client/model/AbstractOpenApiSchema.java | 2 +- .../model/AcceptAnInvitationRequest.java | 2 +- .../AddARegistrationOrDeviceTokenRequest.java | 2 +- ...AddARegistrationOrDeviceTokenResponse.java | 12 +- .../model/AddExtraDataToAMessageRequest.java | 14 +- .../model/AddExtraDataToAMessageResponse.java | 14 +- .../client/model/BlockAUserRequest.java | 2 +- .../client/model/BlockAUserResponse.java | 14 +- .../client/model/CheckIfMemberResponse.java | 2 +- ...ushNotificationContentTemplateRequest.java | 2 +- ...shNotificationContentTemplateResponse.java | 2 +- .../client/model/CreateABotRequest.java | 2 +- .../client/model/CreateABotResponse.java | 2 +- .../client/model/CreateABotResponseBot.java | 2 +- .../model/CreateAChannelMetadataRequest.java | 2 +- .../model/CreateAChannelMetadataResponse.java | 2 +- .../model/CreateAGroupChannelRequest.java | 14 +- .../client/model/CreateAUserRequest.java | 2 +- .../model/CreateAnOpenChannelRequest.java | 2 +- .../client/model/CreateUserTokenRequest.java | 2 +- .../client/model/CreateUserTokenResponse.java | 2 +- .../model/FreezeAGroupChannelRequest.java | 2 +- .../model/FreezeAnOpenChannelRequest.java | 2 +- .../model/GetAGroupChannelResponse.java | 84 +- .../model/GetAGroupChannelResponseAllOf.java | 12 +- ...etChannelInvitationPreferenceResponse.java | 2 +- ...talNumberOfMessagesInAChannelResponse.java | 2 +- .../GroupChannelListMembersResponse.java | 14 +- .../model/GroupChatListChannelsResponse.java | 14 +- .../client/model/HideAChannelRequest.java | 2 +- .../client/model/InviteAsMembersRequest.java | 2 +- .../client/model/InviteAsMembersResponse.java | 86 +- .../model/InviteAsMembersResponseAllOf.java | 14 +- .../client/model/JoinAChannelRequest.java | 2 +- .../client/model/JoinChannelsRequest.java | 2 +- .../client/model/LeaveAChannelRequest.java | 2 +- .../model/LeaveMyGroupChannelsRequest.java | 2 +- .../model/ListBlockedUsersResponse.java | 14 +- .../client/model/ListBotsResponse.java | 2 +- .../model/ListBotsResponseBotsInner.java | 2 +- .../model/ListBotsResponseBotsInnerBot.java | 2 +- .../ListBotsResponseBotsInnerBotStyle.java | 2 +- ...istBotsResponseBotsInnerBotStyleColor.java | 2 +- ...tsResponseBotsInnerFirstMessagesInner.java | 2 +- ...sponseBotsInnerFirstMessagesInnerData.java | 2 +- .../ListBotsResponseBotsInnerSafeguard.java | 2 +- .../client/model/ListMessagesResponse.java | 14 +- .../model/ListMyGroupChannelsResponse.java | 14 +- .../model/ListOpenChannelsResponse.java | 14 +- .../client/model/ListOperatorsResponse.java | 14 +- ...istRegistrationOrDeviceTokensResponse.java | 12 +- .../client/model/ListUsersResponse.java | 14 +- .../model/MarkAllMessagesAsReadRequest.java | 2 +- .../MarkChannelMessagesAsReadRequest.java | 2 +- .../MigrateMessagesAdminMessageRequest.java | 2 +- .../MigrateMessagesFileMessageRequest.java | 2 +- ...agesFileMessageRequestThumbnailsInner.java | 2 +- .../client/model/MigrateMessagesRequest.java | 2 +- .../MigrateMessagesRequestMessagesInner.java | 2 +- .../MigrateMessagesTextMessageRequest.java | 2 +- ...gisterOperatorsToAGroupChannelRequest.java | 2 +- ...oveARegistrationOrDeviceTokenResponse.java | 12 +- ...eAllRegistrationOrDeviceTokenResponse.java | 12 +- .../client/model/ResetChatHistoryRequest.java | 2 +- .../model/ResetChatHistoryResponse.java | 2 +- .../model/ScheduleAnAnnouncementRequest.java | 2 +- ...nouncementRequestCreateChannelOptions.java | 2 +- .../ScheduleAnAnnouncementRequestMessage.java | 2 +- .../model/ScheduleAnAnnouncementResponse.java | 2 +- ...ScheduleAnAnnouncementResponseMessage.java | 2 +- .../client/model/SendABotMessageResponse.java | 12 +- .../client/model/SendAMessageRequest.java | 24 +- ...endAMessageRequestPushMessageTemplate.java | 2 +- ...essageRequestPushMessageTemplateOneOf.java | 2 +- .../model/SendAdminMessageRequestBody.java | 14 +- .../SendBirdAcceptAnInvitationRequest.java | 168 -- ...dAddARegistrationOrDeviceTokenRequest.java | 177 -- ...AddARegistrationOrDeviceTokenResponse.java | 178 -- ...SendBirdAddExtraDataToAMessageRequest.java | 121 -- ...endBirdAddExtraDataToAMessageResponse.java | 124 -- .../model/SendBirdBlockAUserRequest.java | 155 -- .../model/SendBirdBlockAUserResponse.java | 156 -- .../model/SendBirdCheckIfMemberResponse.java | 182 -- ...ushNotificationContentTemplateRequest.java | 148 -- ...shNotificationContentTemplateResponse.java | 113 -- .../model/SendBirdCreateABotRequest.java | 369 ---- .../model/SendBirdCreateABotResponse.java | 339 ---- .../model/SendBirdCreateABotResponseBot.java | 369 ---- ...SendBirdCreateAChannelMetadataRequest.java | 145 -- ...endBirdCreateAChannelMetadataResponse.java | 145 -- .../SendBirdCreateAGroupChannelRequest.java | 745 ------- .../model/SendBirdCreateAUserRequest.java | 351 ---- .../SendBirdCreateAnOpenChannelRequest.java | 380 ---- .../model/SendBirdCreateUserTokenRequest.java | 113 -- .../SendBirdCreateUserTokenResponse.java | 145 -- .../client/model/SendBirdFile.java | 62 +- .../SendBirdFreezeAGroupChannelRequest.java | 113 -- .../SendBirdFreezeAnOpenChannelRequest.java | 113 -- .../SendBirdGetAGroupChannelResponse.java | 1771 ---------------- ...SendBirdGetAGroupChannelResponseAllOf.java | 114 -- ...etChannelInvitationPreferenceResponse.java | 113 -- ...talNumberOfMessagesInAChannelResponse.java | 113 -- .../client/model/SendBirdGroupChannel.java | 344 ++-- ...ndBirdGroupChannelListMembersResponse.java | 153 -- ...SendBirdGroupChatListChannelsResponse.java | 188 -- .../model/SendBirdHideAChannelRequest.java | 209 -- .../model/SendBirdInviteAsMembersRequest.java | 216 -- .../SendBirdInviteAsMembersResponse.java | 1779 ----------------- .../SendBirdInviteAsMembersResponseAllOf.java | 124 -- .../model/SendBirdJoinAChannelRequest.java | 168 -- .../model/SendBirdJoinChannelsRequest.java | 120 -- .../model/SendBirdLeaveAChannelRequest.java | 257 --- .../SendBirdLeaveMyGroupChannelsRequest.java | 113 -- .../SendBirdListBlockedUsersResponse.java | 156 -- .../model/SendBirdListBotsResponse.java | 156 -- .../SendBirdListBotsResponseBotsInner.java | 415 ---- .../SendBirdListBotsResponseBotsInnerBot.java | 337 ---- ...BirdListBotsResponseBotsInnerBotStyle.java | 241 --- ...istBotsResponseBotsInnerBotStyleColor.java | 177 -- ...tsResponseBotsInnerFirstMessagesInner.java | 146 -- ...sponseBotsInnerFirstMessagesInnerData.java | 123 -- ...irdListBotsResponseBotsInnerSafeguard.java | 219 -- .../model/SendBirdListMessagesResponse.java | 124 -- .../SendBirdListMyGroupChannelsResponse.java | 188 -- .../SendBirdListOpenChannelsResponse.java | 188 -- .../model/SendBirdListOperatorsResponse.java | 156 -- ...istRegistrationOrDeviceTokensResponse.java | 228 --- .../model/SendBirdListUsersResponse.java | 156 -- .../SendBirdMarkAllMessagesAsReadRequest.java | 123 -- ...dBirdMarkChannelMessagesAsReadRequest.java | 113 -- .../client/model/SendBirdMember.java | 158 +- .../client/model/SendBirdMessageResponse.java | 274 +-- ...irdMigrateMessagesAdminMessageRequest.java | 420 ---- ...BirdMigrateMessagesFileMessageRequest.java | 589 ------ ...agesFileMessageRequestThumbnailsInner.java | 243 --- .../model/SendBirdMigrateMessagesRequest.java | 188 -- ...rdMigrateMessagesRequestMessagesInner.java | 305 --- ...BirdMigrateMessagesTextMessageRequest.java | 420 ---- .../client/model/SendBirdOpenChannel.java | 104 +- .../model/SendBirdParentMessageInfo.java | 82 +- .../client/model/SendBirdReaction.java | 36 +- ...gisterOperatorsToAGroupChannelRequest.java | 120 -- ...oveARegistrationOrDeviceTokenResponse.java | 146 -- ...eAllRegistrationOrDeviceTokenResponse.java | 156 -- .../SendBirdResetChatHistoryRequest.java | 145 -- .../SendBirdResetChatHistoryResponse.java | 113 -- ...SendBirdScheduleAnAnnouncementRequest.java | 669 ------- ...nouncementRequestCreateChannelOptions.java | 241 --- ...dScheduleAnAnnouncementRequestMessage.java | 241 --- ...endBirdScheduleAnAnnouncementResponse.java | 852 -------- ...ScheduleAnAnnouncementResponseMessage.java | 273 --- .../SendBirdSendABotMessageResponse.java | 114 -- .../model/SendBirdSendAMessageRequest.java | 1015 ---------- ...endAMessageRequestPushMessageTemplate.java | 251 --- ...essageRequestPushMessageTemplateOneOf.java | 145 -- .../SendBirdSendAdminMessageRequestBody.java | 553 ----- .../SendBirdSendFileMessageRequestBody.java | 850 -------- .../SendBirdSendTextMessageRequestBody.java | 778 ------- ...MessageRequestBodyPushMessageTemplate.java | 251 --- .../model/SendBirdSendbirdBasicUserInfo.java | 405 ---- .../SendBirdSendbirdDisappearingMessage.java | 145 -- ...endBirdSendbirdExtendedMessagePayload.java | 156 -- .../client/model/SendBirdSendbirdFile.java | 284 --- .../model/SendBirdSendbirdGroupChannel.java | 1736 ---------------- .../SendBirdSendbirdGroupChannelDetail.java | 1180 ----------- ...BirdSendbirdGroupChannelDetailChannel.java | 337 ---- ...ndBirdSendbirdGroupChannelLastMessage.java | 215 -- .../client/model/SendBirdSendbirdMember.java | 937 --------- .../SendBirdSendbirdMessageResponse.java | 1105 ---------- ...MessageResponseExtendedMessagePayload.java | 204 -- ...dSendbirdMessageResponseMessageEvents.java | 209 -- .../model/SendBirdSendbirdOpenChannel.java | 531 ----- .../SendBirdSendbirdParentMessageInfo.java | 317 --- .../SendBirdSendbirdPushTriggerOption.java | 64 - .../model/SendBirdSendbirdReaction.java | 187 -- .../model/SendBirdSendbirdSmsFallback.java | 155 -- .../SendBirdSendbirdSortedMetaarrayInner.java | 155 -- .../model/SendBirdSendbirdThumbnail.java | 273 --- .../client/model/SendBirdSendbirdUser.java | 872 -------- .../SendBirdStartTypingIndicatorsRequest.java | 120 -- ...SendBirdUpdateAChannelMetadataRequest.java | 145 -- .../SendBirdUpdateAGroupChannelRequest.java | 435 ---- .../model/SendBirdUpdateAMessageRequest.java | 352 ---- .../model/SendBirdUpdateAUserRequest.java | 443 ---- .../SendBirdUpdateAnOpenChannelRequest.java | 284 --- .../model/SendBirdUpdateBotByIdData.java | 337 ---- .../model/SendBirdUpdateBotByIdResponse.java | 274 --- ...ateChannelInvitationPreferenceRequest.java | 113 -- ...teChannelInvitationPreferenceResponse.java | 113 -- ...pdateCountPreferenceOfAChannelRequest.java | 152 -- ...CountPreferenceOfChannelByUrlResponse.java | 152 -- ...dBirdUpdateExtraDataInAMessageRequest.java | 188 -- ...BirdUpdateExtraDataInAMessageResponse.java | 124 -- ...datePushPreferencesForAChannelRequest.java | 184 -- ...atePushPreferencesForAChannelResponse.java | 178 -- .../SendBirdUpdatePushPreferencesRequest.java | 540 ----- ...SendBirdUpdatePushPreferencesResponse.java | 540 ----- .../client/model/SendBirdUser.java | 144 +- .../model/SendBirdViewBotByIdResponse.java | 274 --- .../model/SendBirdViewBotByIdResponseBot.java | 273 --- ...ViewCountPreferenceOfAChannelResponse.java | 152 -- ...rOfChannelsWithUnreadMessagesResponse.java | 113 -- ...dViewNumberOfDailyActiveUsersResponse.java | 113 -- ...iewNumberOfMonthlyActiveUsersResponse.java | 113 -- ...irdViewNumberOfUnreadMessagesResponse.java | 113 -- ...iewPushPreferencesForAChannelResponse.java | 178 -- .../SendBirdViewPushPreferencesResponse.java | 540 ----- .../model/SendFileMessageRequestBody.java | 24 +- .../model/SendTextMessageRequestBody.java | 14 +- ...MessageRequestBodyPushMessageTemplate.java | 2 +- .../client/model/SendbirdBasicUserInfo.java | 64 +- .../model/SendbirdDisappearingMessage.java | 28 +- .../model/SendbirdExtendedMessagePayload.java | 28 +- .../model/SendbirdGroupChannelDetail.java | 278 +-- .../SendbirdGroupChannelDetailChannel.java | 64 +- .../SendbirdGroupChannelLastMessage.java | 100 +- ...MessageResponseExtendedMessagePayload.java | 86 +- .../SendbirdMessageResponseMessageEvents.java | 40 +- .../model/SendbirdPushTriggerOption.java | 10 +- .../client/model/SendbirdSmsFallback.java | 30 +- .../model/SendbirdSortedMetaarrayInner.java | 30 +- .../client/model/SendbirdThumbnail.java | 52 +- .../model/StartTypingIndicatorsRequest.java | 2 +- .../model/UpdateAChannelMetadataRequest.java | 2 +- .../model/UpdateAGroupChannelRequest.java | 2 +- .../client/model/UpdateAMessageRequest.java | 2 +- .../client/model/UpdateAUserRequest.java | 2 +- .../model/UpdateAnOpenChannelRequest.java | 2 +- .../client/model/UpdateBotByIdData.java | 2 +- .../client/model/UpdateBotByIdResponse.java | 2 +- ...ateChannelInvitationPreferenceRequest.java | 2 +- ...teChannelInvitationPreferenceResponse.java | 2 +- ...pdateCountPreferenceOfAChannelRequest.java | 2 +- ...CountPreferenceOfChannelByUrlResponse.java | 2 +- .../UpdateExtraDataInAMessageRequest.java | 14 +- .../UpdateExtraDataInAMessageResponse.java | 14 +- ...datePushPreferencesForAChannelRequest.java | 2 +- ...atePushPreferencesForAChannelResponse.java | 12 +- .../model/UpdatePushPreferencesRequest.java | 12 +- .../model/UpdatePushPreferencesResponse.java | 12 +- .../client/model/ViewBotByIdResponse.java | 2 +- .../client/model/ViewBotByIdResponseBot.java | 2 +- ...ViewCountPreferenceOfAChannelResponse.java | 2 +- ...rOfChannelsWithUnreadMessagesResponse.java | 2 +- .../ViewNumberOfDailyActiveUsersResponse.java | 2 +- ...iewNumberOfMonthlyActiveUsersResponse.java | 2 +- .../ViewNumberOfUnreadMessagesResponse.java | 2 +- ...iewPushPreferencesForAChannelResponse.java | 12 +- .../model/ViewPushPreferencesResponse.java | 12 +- .../java/org/sendbird/client/ApiClient.java | 2 +- .../org/sendbird/client/ApiException.java | 2 +- .../org/sendbird/client/Configuration.java | 2 +- src/main/java/org/sendbird/client/JSON.java | 2 +- .../sendbird/client/JavaTimeFormatter.java | 2 +- src/main/java/org/sendbird/client/Pair.java | 2 +- .../java/org/sendbird/client/StringUtil.java | 2 +- .../sendbird/client/api/AnnouncementApi.java | 2 +- .../java/org/sendbird/client/api/BotApi.java | 30 +- .../sendbird/client/api/GroupChannelApi.java | 52 +- .../org/sendbird/client/api/MessageApi.java | 40 +- .../org/sendbird/client/api/MetadataApi.java | 2 +- .../sendbird/client/api/ModerationApi.java | 30 +- .../sendbird/client/api/OpenChannelApi.java | 40 +- .../sendbird/client/api/StatisticsApi.java | 2 +- .../java/org/sendbird/client/api/UserApi.java | 40 +- .../org/sendbird/client/auth/ApiKeyAuth.java | 2 +- .../sendbird/client/auth/HttpBasicAuth.java | 2 +- .../sendbird/client/auth/HttpBearerAuth.java | 2 +- ...SendBirdAcceptAnInvitationRequestTest.java | 62 - ...ARegistrationOrDeviceTokenRequestTest.java | 66 - ...RegistrationOrDeviceTokenResponseTest.java | 67 - ...BirdAddExtraDataToAMessageRequestTest.java | 53 - ...irdAddExtraDataToAMessageResponseTest.java | 53 - .../model/SendBirdBlockAUserRequestTest.java | 60 - .../model/SendBirdBlockAUserResponseTest.java | 61 - .../SendBirdCheckIfMemberResponseTest.java | 58 - ...otificationContentTemplateRequestTest.java | 50 - ...tificationContentTemplateResponseTest.java | 50 - .../model/SendBirdCreateABotRequestTest.java | 114 -- .../SendBirdCreateABotResponseBotTest.java | 114 -- .../model/SendBirdCreateABotResponseTest.java | 108 - ...BirdCreateAChannelMetadataRequestTest.java | 58 - ...irdCreateAChannelMetadataResponseTest.java | 58 - ...endBirdCreateAGroupChannelRequestTest.java | 202 -- .../model/SendBirdCreateAUserRequestTest.java | 105 - ...endBirdCreateAnOpenChannelRequestTest.java | 117 -- .../SendBirdCreateUserTokenRequestTest.java | 50 - .../SendBirdCreateUserTokenResponseTest.java | 58 - ...endBirdFreezeAGroupChannelRequestTest.java | 50 - ...endBirdFreezeAnOpenChannelRequestTest.java | 50 - ...BirdGetAGroupChannelResponseAllOfTest.java | 51 - .../SendBirdGetAGroupChannelResponseTest.java | 427 ---- ...annelInvitationPreferenceResponseTest.java | 50 - ...umberOfMessagesInAChannelResponseTest.java | 50 - ...rdGroupChannelListMembersResponseTest.java | 61 - ...BirdGroupChatListChannelsResponseTest.java | 69 - .../SendBirdHideAChannelRequestTest.java | 74 - .../SendBirdInviteAsMembersRequestTest.java | 76 - ...dBirdInviteAsMembersResponseAllOfTest.java | 53 - .../SendBirdInviteAsMembersResponseTest.java | 427 ---- .../SendBirdJoinAChannelRequestTest.java | 62 - .../SendBirdJoinChannelsRequestTest.java | 52 - .../SendBirdLeaveAChannelRequestTest.java | 76 - ...ndBirdLeaveMyGroupChannelsRequestTest.java | 50 - .../SendBirdListBlockedUsersResponseTest.java | 61 - ...otsResponseBotsInnerBotStyleColorTest.java | 66 - ...ListBotsResponseBotsInnerBotStyleTest.java | 79 - ...dBirdListBotsResponseBotsInnerBotTest.java | 106 - ...seBotsInnerFirstMessagesInnerDataTest.java | 52 - ...sponseBotsInnerFirstMessagesInnerTest.java | 59 - ...istBotsResponseBotsInnerSafeguardTest.java | 76 - ...SendBirdListBotsResponseBotsInnerTest.java | 128 -- .../model/SendBirdListBotsResponseTest.java | 61 - .../SendBirdListMessagesResponseTest.java | 53 - ...ndBirdListMyGroupChannelsResponseTest.java | 69 - .../SendBirdListOpenChannelsResponseTest.java | 69 - .../SendBirdListOperatorsResponseTest.java | 61 - ...egistrationOrDeviceTokensResponseTest.java | 77 - .../model/SendBirdListUsersResponseTest.java | 61 - ...dBirdMarkAllMessagesAsReadRequestTest.java | 52 - ...dMarkChannelMessagesAsReadRequestTest.java | 50 - ...igrateMessagesAdminMessageRequestTest.java | 116 -- ...MigrateMessagesFileMessageRequestTest.java | 157 -- ...FileMessageRequestThumbnailsInnerTest.java | 35 - ...grateMessagesRequestMessagesInnerTest.java | 184 -- .../SendBirdMigrateMessagesRequestTest.java | 69 - ...MigrateMessagesTextMessageRequestTest.java | 116 -- ...erOperatorsToAGroupChannelRequestTest.java | 52 - ...RegistrationOrDeviceTokenResponseTest.java | 59 - ...RegistrationOrDeviceTokenResponseTest.java | 61 - .../SendBirdResetChatHistoryRequestTest.java | 58 - .../SendBirdResetChatHistoryResponseTest.java | 50 - ...cementRequestCreateChannelOptionsTest.java | 82 - ...eduleAnAnnouncementRequestMessageTest.java | 82 - ...BirdScheduleAnAnnouncementRequestTest.java | 190 -- ...duleAnAnnouncementResponseMessageTest.java | 90 - ...irdScheduleAnAnnouncementResponseTest.java | 237 --- .../SendBirdSendABotMessageResponseTest.java | 51 - ...geRequestPushMessageTemplateOneOfTest.java | 58 - ...MessageRequestPushMessageTemplateTest.java | 59 - .../SendBirdSendAMessageRequestTest.java | 256 --- ...ndBirdSendAdminMessageRequestBodyTest.java | 142 -- ...endBirdSendFileMessageRequestBodyTest.java | 215 -- ...ageRequestBodyPushMessageTemplateTest.java | 59 - ...endBirdSendTextMessageRequestBodyTest.java | 199 -- .../SendBirdSendbirdBasicUserInfoTest.java | 110 - ...ndBirdSendbirdDisappearingMessageTest.java | 58 - ...irdSendbirdExtendedMessagePayloadTest.java | 60 - .../model/SendBirdSendbirdFileTest.java | 93 - ...SendbirdGroupChannelDetailChannelTest.java | 106 - ...endBirdSendbirdGroupChannelDetailTest.java | 317 --- ...rdSendbirdGroupChannelLastMessageTest.java | 296 --- .../SendBirdSendbirdGroupChannelTest.java | 416 ---- .../model/SendBirdSendbirdMemberTest.java | 225 --- ...ageResponseExtendedMessagePayloadTest.java | 61 - ...dbirdMessageResponseMessageEventsTest.java | 74 - .../SendBirdSendbirdMessageResponseTest.java | 295 --- .../SendBirdSendbirdOpenChannelTest.java | 153 -- ...SendBirdSendbirdParentMessageInfoTest.java | 102 - ...SendBirdSendbirdPushTriggerOptionTest.java | 33 - .../model/SendBirdSendbirdReactionTest.java | 68 - .../SendBirdSendbirdSmsFallbackTest.java | 60 - ...dBirdSendbirdSortedMetaarrayInnerTest.java | 60 - .../model/SendBirdSendbirdThumbnailTest.java | 90 - .../model/SendBirdSendbirdUserTest.java | 216 -- ...dBirdStartTypingIndicatorsRequestTest.java | 52 - ...BirdUpdateAChannelMetadataRequestTest.java | 58 - ...endBirdUpdateAGroupChannelRequestTest.java | 129 -- .../SendBirdUpdateAMessageRequestTest.java | 100 - .../model/SendBirdUpdateAUserRequestTest.java | 121 -- ...endBirdUpdateAnOpenChannelRequestTest.java | 93 - .../model/SendBirdUpdateBotByIdDataTest.java | 106 - .../SendBirdUpdateBotByIdResponseTest.java | 91 - ...hannelInvitationPreferenceRequestTest.java | 50 - ...annelInvitationPreferenceResponseTest.java | 50 - ...eCountPreferenceOfAChannelRequestTest.java | 50 - ...tPreferenceOfChannelByUrlResponseTest.java | 50 - ...dUpdateExtraDataInAMessageRequestTest.java | 69 - ...UpdateExtraDataInAMessageResponseTest.java | 53 - ...PushPreferencesForAChannelRequestTest.java | 58 - ...ushPreferencesForAChannelResponseTest.java | 67 - ...dBirdUpdatePushPreferencesRequestTest.java | 157 -- ...BirdUpdatePushPreferencesResponseTest.java | 157 -- .../SendBirdViewBotByIdResponseBotTest.java | 90 - .../SendBirdViewBotByIdResponseTest.java | 91 - ...CountPreferenceOfAChannelResponseTest.java | 50 - ...hannelsWithUnreadMessagesResponseTest.java | 50 - ...wNumberOfDailyActiveUsersResponseTest.java | 50 - ...umberOfMonthlyActiveUsersResponseTest.java | 50 - ...iewNumberOfUnreadMessagesResponseTest.java | 50 - ...ushPreferencesForAChannelResponseTest.java | 67 - ...ndBirdViewPushPreferencesResponseTest.java | 157 -- 452 files changed, 1949 insertions(+), 52595 deletions(-) delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java delete mode 100644 src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdBlockAUserRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdBlockAUserResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdCheckIfMemberResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateABotRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseBotTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateAUserRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOfTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdHideAChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOfTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdJoinAChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdJoinChannelsRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdLeaveAChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBlockedUsersResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColorTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguardTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListBotsResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListMessagesResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListOpenChannelsResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListOperatorsResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdListUsersResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessageTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessageTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendABotMessageResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOfTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBodyTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBodyTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplateTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfoTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessageTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayloadTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdFileTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannelTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessageTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdMemberTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayloadTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEventsTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdOpenChannelTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfoTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOptionTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdReactionTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdSmsFallbackTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInnerTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdThumbnailTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdSendbirdUserTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateAMessageRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateAUserRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdDataTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequestTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBotTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponseTest.java delete mode 100644 src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponseTest.java diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index f42f4e5a..c0ea3e49 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -85,29 +85,29 @@ docs/SendAMessageRequest.md docs/SendAMessageRequestPushMessageTemplate.md docs/SendAMessageRequestPushMessageTemplateOneOf.md docs/SendAdminMessageRequestBody.md -docs/SendBirdBasicUserInfo.md -docs/SendBirdDisappearingMessage.md -docs/SendBirdExtendedMessagePayload.md -docs/SendBirdFile.md -docs/SendBirdGroupChannel.md -docs/SendBirdGroupChannelDetail.md -docs/SendBirdGroupChannelDetailChannel.md -docs/SendBirdGroupChannelLastMessage.md -docs/SendBirdMember.md -docs/SendBirdMessageResponse.md -docs/SendBirdMessageResponseExtendedMessagePayload.md -docs/SendBirdMessageResponseMessageEvents.md -docs/SendBirdOpenChannel.md -docs/SendBirdParentMessageInfo.md -docs/SendBirdPushTriggerOption.md -docs/SendBirdReaction.md -docs/SendBirdSmsFallback.md -docs/SendBirdSortedMetaarrayInner.md -docs/SendBirdThumbnail.md -docs/SendBirdUser.md docs/SendFileMessageRequestBody.md docs/SendTextMessageRequestBody.md docs/SendTextMessageRequestBodyPushMessageTemplate.md +docs/SendbirdBasicUserInfo.md +docs/SendbirdDisappearingMessage.md +docs/SendbirdExtendedMessagePayload.md +docs/SendbirdFile.md +docs/SendbirdGroupChannel.md +docs/SendbirdGroupChannelDetail.md +docs/SendbirdGroupChannelDetailChannel.md +docs/SendbirdGroupChannelLastMessage.md +docs/SendbirdMember.md +docs/SendbirdMessageResponse.md +docs/SendbirdMessageResponseExtendedMessagePayload.md +docs/SendbirdMessageResponseMessageEvents.md +docs/SendbirdOpenChannel.md +docs/SendbirdParentMessageInfo.md +docs/SendbirdPushTriggerOption.md +docs/SendbirdReaction.md +docs/SendbirdSmsFallback.md +docs/SendbirdSortedMetaarrayInner.md +docs/SendbirdThumbnail.md +docs/SendbirdUser.md docs/StartTypingIndicatorsRequest.md docs/StatisticsApi.md docs/UpdateAChannelMetadataRequest.md @@ -221,29 +221,29 @@ src/main/java/org/openapitools/client/model/SendAMessageRequest.java src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java -src/main/java/org/openapitools/client/model/SendBirdBasicUserInfo.java -src/main/java/org/openapitools/client/model/SendBirdDisappearingMessage.java -src/main/java/org/openapitools/client/model/SendBirdExtendedMessagePayload.java -src/main/java/org/openapitools/client/model/SendBirdFile.java -src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java -src/main/java/org/openapitools/client/model/SendBirdGroupChannelDetail.java -src/main/java/org/openapitools/client/model/SendBirdGroupChannelDetailChannel.java -src/main/java/org/openapitools/client/model/SendBirdGroupChannelLastMessage.java -src/main/java/org/openapitools/client/model/SendBirdMember.java -src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java -src/main/java/org/openapitools/client/model/SendBirdMessageResponseExtendedMessagePayload.java -src/main/java/org/openapitools/client/model/SendBirdMessageResponseMessageEvents.java -src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java -src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java -src/main/java/org/openapitools/client/model/SendBirdPushTriggerOption.java -src/main/java/org/openapitools/client/model/SendBirdReaction.java -src/main/java/org/openapitools/client/model/SendBirdSmsFallback.java -src/main/java/org/openapitools/client/model/SendBirdSortedMetaarrayInner.java -src/main/java/org/openapitools/client/model/SendBirdThumbnail.java -src/main/java/org/openapitools/client/model/SendBirdUser.java src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java +src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java +src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java +src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java +src/main/java/org/openapitools/client/model/SendbirdFile.java +src/main/java/org/openapitools/client/model/SendbirdGroupChannel.java +src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java +src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java +src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java +src/main/java/org/openapitools/client/model/SendbirdMember.java +src/main/java/org/openapitools/client/model/SendbirdMessageResponse.java +src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java +src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java +src/main/java/org/openapitools/client/model/SendbirdOpenChannel.java +src/main/java/org/openapitools/client/model/SendbirdParentMessageInfo.java +src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java +src/main/java/org/openapitools/client/model/SendbirdReaction.java +src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java +src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java +src/main/java/org/openapitools/client/model/SendbirdThumbnail.java +src/main/java/org/openapitools/client/model/SendbirdUser.java src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java @@ -295,3 +295,136 @@ src/main/java/org/sendbird/client/auth/ApiKeyAuth.java src/main/java/org/sendbird/client/auth/Authentication.java src/main/java/org/sendbird/client/auth/HttpBasicAuth.java src/main/java/org/sendbird/client/auth/HttpBearerAuth.java +src/test/java/org/openapitools/client/model/AcceptAnInvitationRequestTest.java +src/test/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequestTest.java +src/test/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponseTest.java +src/test/java/org/openapitools/client/model/AddExtraDataToAMessageRequestTest.java +src/test/java/org/openapitools/client/model/AddExtraDataToAMessageResponseTest.java +src/test/java/org/openapitools/client/model/BlockAUserRequestTest.java +src/test/java/org/openapitools/client/model/BlockAUserResponseTest.java +src/test/java/org/openapitools/client/model/CheckIfMemberResponseTest.java +src/test/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequestTest.java +src/test/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponseTest.java +src/test/java/org/openapitools/client/model/CreateABotRequestTest.java +src/test/java/org/openapitools/client/model/CreateABotResponseBotTest.java +src/test/java/org/openapitools/client/model/CreateABotResponseTest.java +src/test/java/org/openapitools/client/model/CreateAChannelMetadataRequestTest.java +src/test/java/org/openapitools/client/model/CreateAChannelMetadataResponseTest.java +src/test/java/org/openapitools/client/model/CreateAGroupChannelRequestTest.java +src/test/java/org/openapitools/client/model/CreateAUserRequestTest.java +src/test/java/org/openapitools/client/model/CreateAnOpenChannelRequestTest.java +src/test/java/org/openapitools/client/model/CreateUserTokenRequestTest.java +src/test/java/org/openapitools/client/model/CreateUserTokenResponseTest.java +src/test/java/org/openapitools/client/model/FreezeAGroupChannelRequestTest.java +src/test/java/org/openapitools/client/model/FreezeAnOpenChannelRequestTest.java +src/test/java/org/openapitools/client/model/GetAGroupChannelResponseAllOfTest.java +src/test/java/org/openapitools/client/model/GetAGroupChannelResponseTest.java +src/test/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponseTest.java +src/test/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponseTest.java +src/test/java/org/openapitools/client/model/GroupChannelListMembersResponseTest.java +src/test/java/org/openapitools/client/model/GroupChatListChannelsResponseTest.java +src/test/java/org/openapitools/client/model/HideAChannelRequestTest.java +src/test/java/org/openapitools/client/model/InviteAsMembersRequestTest.java +src/test/java/org/openapitools/client/model/InviteAsMembersResponseAllOfTest.java +src/test/java/org/openapitools/client/model/InviteAsMembersResponseTest.java +src/test/java/org/openapitools/client/model/JoinAChannelRequestTest.java +src/test/java/org/openapitools/client/model/JoinChannelsRequestTest.java +src/test/java/org/openapitools/client/model/LeaveAChannelRequestTest.java +src/test/java/org/openapitools/client/model/LeaveMyGroupChannelsRequestTest.java +src/test/java/org/openapitools/client/model/ListBlockedUsersResponseTest.java +src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColorTest.java +src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleTest.java +src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotTest.java +src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerDataTest.java +src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerTest.java +src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguardTest.java +src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerTest.java +src/test/java/org/openapitools/client/model/ListBotsResponseTest.java +src/test/java/org/openapitools/client/model/ListMessagesResponseTest.java +src/test/java/org/openapitools/client/model/ListMyGroupChannelsResponseTest.java +src/test/java/org/openapitools/client/model/ListOpenChannelsResponseTest.java +src/test/java/org/openapitools/client/model/ListOperatorsResponseTest.java +src/test/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponseTest.java +src/test/java/org/openapitools/client/model/ListUsersResponseTest.java +src/test/java/org/openapitools/client/model/MarkAllMessagesAsReadRequestTest.java +src/test/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequestTest.java +src/test/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequestTest.java +src/test/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestTest.java +src/test/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInnerTest.java +src/test/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInnerTest.java +src/test/java/org/openapitools/client/model/MigrateMessagesRequestTest.java +src/test/java/org/openapitools/client/model/MigrateMessagesTextMessageRequestTest.java +src/test/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequestTest.java +src/test/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponseTest.java +src/test/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponseTest.java +src/test/java/org/openapitools/client/model/ResetChatHistoryRequestTest.java +src/test/java/org/openapitools/client/model/ResetChatHistoryResponseTest.java +src/test/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptionsTest.java +src/test/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessageTest.java +src/test/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestTest.java +src/test/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessageTest.java +src/test/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseTest.java +src/test/java/org/openapitools/client/model/SendABotMessageResponseTest.java +src/test/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOfTest.java +src/test/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateTest.java +src/test/java/org/openapitools/client/model/SendAMessageRequestTest.java +src/test/java/org/openapitools/client/model/SendAdminMessageRequestBodyTest.java +src/test/java/org/openapitools/client/model/SendFileMessageRequestBodyTest.java +src/test/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateTest.java +src/test/java/org/openapitools/client/model/SendTextMessageRequestBodyTest.java +src/test/java/org/openapitools/client/model/SendbirdBasicUserInfoTest.java +src/test/java/org/openapitools/client/model/SendbirdDisappearingMessageTest.java +src/test/java/org/openapitools/client/model/SendbirdExtendedMessagePayloadTest.java +src/test/java/org/openapitools/client/model/SendbirdFileTest.java +src/test/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannelTest.java +src/test/java/org/openapitools/client/model/SendbirdGroupChannelDetailTest.java +src/test/java/org/openapitools/client/model/SendbirdGroupChannelLastMessageTest.java +src/test/java/org/openapitools/client/model/SendbirdGroupChannelTest.java +src/test/java/org/openapitools/client/model/SendbirdMemberTest.java +src/test/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayloadTest.java +src/test/java/org/openapitools/client/model/SendbirdMessageResponseMessageEventsTest.java +src/test/java/org/openapitools/client/model/SendbirdMessageResponseTest.java +src/test/java/org/openapitools/client/model/SendbirdOpenChannelTest.java +src/test/java/org/openapitools/client/model/SendbirdParentMessageInfoTest.java +src/test/java/org/openapitools/client/model/SendbirdPushTriggerOptionTest.java +src/test/java/org/openapitools/client/model/SendbirdReactionTest.java +src/test/java/org/openapitools/client/model/SendbirdSmsFallbackTest.java +src/test/java/org/openapitools/client/model/SendbirdSortedMetaarrayInnerTest.java +src/test/java/org/openapitools/client/model/SendbirdThumbnailTest.java +src/test/java/org/openapitools/client/model/SendbirdUserTest.java +src/test/java/org/openapitools/client/model/StartTypingIndicatorsRequestTest.java +src/test/java/org/openapitools/client/model/UpdateAChannelMetadataRequestTest.java +src/test/java/org/openapitools/client/model/UpdateAGroupChannelRequestTest.java +src/test/java/org/openapitools/client/model/UpdateAMessageRequestTest.java +src/test/java/org/openapitools/client/model/UpdateAUserRequestTest.java +src/test/java/org/openapitools/client/model/UpdateAnOpenChannelRequestTest.java +src/test/java/org/openapitools/client/model/UpdateBotByIdDataTest.java +src/test/java/org/openapitools/client/model/UpdateBotByIdResponseTest.java +src/test/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequestTest.java +src/test/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponseTest.java +src/test/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequestTest.java +src/test/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponseTest.java +src/test/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequestTest.java +src/test/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponseTest.java +src/test/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequestTest.java +src/test/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponseTest.java +src/test/java/org/openapitools/client/model/UpdatePushPreferencesRequestTest.java +src/test/java/org/openapitools/client/model/UpdatePushPreferencesResponseTest.java +src/test/java/org/openapitools/client/model/ViewBotByIdResponseBotTest.java +src/test/java/org/openapitools/client/model/ViewBotByIdResponseTest.java +src/test/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponseTest.java +src/test/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponseTest.java +src/test/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponseTest.java +src/test/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponseTest.java +src/test/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponseTest.java +src/test/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponseTest.java +src/test/java/org/openapitools/client/model/ViewPushPreferencesResponseTest.java +src/test/java/org/sendbird/client/api/AnnouncementApiTest.java +src/test/java/org/sendbird/client/api/BotApiTest.java +src/test/java/org/sendbird/client/api/GroupChannelApiTest.java +src/test/java/org/sendbird/client/api/MessageApiTest.java +src/test/java/org/sendbird/client/api/MetadataApiTest.java +src/test/java/org/sendbird/client/api/ModerationApiTest.java +src/test/java/org/sendbird/client/api/OpenChannelApiTest.java +src/test/java/org/sendbird/client/api/StatisticsApiTest.java +src/test/java/org/sendbird/client/api/UserApiTest.java diff --git a/api/openapi.yaml b/api/openapi.yaml index 13a7bfd1..7b8289f8 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -5405,17 +5405,17 @@ paths: x-accepts: application/json components: schemas: - SendBird.SortedMetaarray: + Sendbird.SortedMetaarray: items: - $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' + $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' type: array - SendBird.PushTriggerOption: + Sendbird.PushTriggerOption: enum: - all - mention_only - "off" type: string - SendBird.Thumbnail: + Sendbird.Thumbnail: example: real_width: 1 width: 1 @@ -5437,7 +5437,7 @@ components: width: type: integer type: object - SendBird.File: + Sendbird.File: example: file_name: file_name file_type: file_type @@ -5468,12 +5468,12 @@ components: type: string thumbnails: items: - $ref: '#/components/schemas/SendBird.Thumbnail' + $ref: '#/components/schemas/Sendbird.Thumbnail' type: array require_auth: type: boolean type: object - SendBird.SmsFallback: + Sendbird.SmsFallback: example: exclude_user_ids: - exclude_user_ids @@ -5487,7 +5487,7 @@ components: type: string type: array type: object - SendBird.DisappearingMessage: + Sendbird.DisappearingMessage: example: is_triggered_by_message_read: true message_survival_seconds: 6 @@ -5497,7 +5497,7 @@ components: is_triggered_by_message_read: type: boolean type: object - SendBird.BasicUserInfo: + Sendbird.BasicUserInfo: example: metadata: "{}" require_auth_for_profile_image: true @@ -5534,7 +5534,7 @@ components: required: - user_id type: object - SendBird.User: + Sendbird.User: description: User example: metadata: "{}" @@ -5625,7 +5625,7 @@ components: required: - user_id type: object - SendBird.Member: + Sendbird.Member: example: metadata: "{}" is_active: true @@ -5693,7 +5693,7 @@ components: push_enabled: type: boolean push_trigger_option: - $ref: '#/components/schemas/SendBird.PushTriggerOption' + $ref: '#/components/schemas/Sendbird.PushTriggerOption' profile_url: default: "" type: string @@ -5721,7 +5721,7 @@ components: required: - user_id type: object - SendBird.ExtendedMessagePayload: + Sendbird.ExtendedMessagePayload: description: Specifies the extended message payload which is used to send a message with a custom message type. properties: @@ -5736,7 +5736,7 @@ components: type: string type: array type: object - SendBird.ParentMessageInfo: + Sendbird.ParentMessageInfo: example: file: file_name: file_name @@ -5835,15 +5835,15 @@ components: format: int64 type: integer user: - $ref: '#/components/schemas/SendBird.User' + $ref: '#/components/schemas/Sendbird.User' file: - $ref: '#/components/schemas/SendBird.File' + $ref: '#/components/schemas/Sendbird.File' files: items: - $ref: '#/components/schemas/SendBird.File' + $ref: '#/components/schemas/Sendbird.File' type: array type: object - SendBird.Reaction: + Sendbird.Reaction: example: updated_at: 2 user_ids: @@ -5861,7 +5861,7 @@ components: type: string type: array type: object - SendBird.MessageResponse: + Sendbird.MessageResponse: example: data: data message_events: @@ -6070,7 +6070,7 @@ components: type: string mentioned_users: items: - $ref: '#/components/schemas/SendBird.BasicUserInfo' + $ref: '#/components/schemas/Sendbird.BasicUserInfo' type: array translations: type: object @@ -6081,17 +6081,17 @@ components: type: boolean reactions: items: - $ref: '#/components/schemas/SendBird.Reaction' + $ref: '#/components/schemas/Sendbird.Reaction' type: array is_removed: type: boolean user: - $ref: '#/components/schemas/SendBird.BasicUserInfo' + $ref: '#/components/schemas/Sendbird.BasicUserInfo' file: type: object files: items: - $ref: '#/components/schemas/SendBird.File' + $ref: '#/components/schemas/Sendbird.File' type: array message: type: string @@ -6119,22 +6119,22 @@ components: type: integer sorted_metaarray: items: - $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' + $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' type: array thread_info: type: object parent_message_id: type: integer parent_message_info: - $ref: '#/components/schemas/SendBird.ParentMessageInfo' + $ref: '#/components/schemas/Sendbird.ParentMessageInfo' is_reply_to_channel: type: boolean message_events: - $ref: '#/components/schemas/SendBird_MessageResponse_message_events' + $ref: '#/components/schemas/Sendbird_MessageResponse_message_events' extended_message_payload: - $ref: '#/components/schemas/SendBird_MessageResponse_extended_message_payload' + $ref: '#/components/schemas/Sendbird_MessageResponse_extended_message_payload' type: object - SendBird.GroupChannel: + Sendbird.GroupChannel: example: metadata: "{}" count_preference: "false" @@ -6268,7 +6268,7 @@ components: format: int64 type: integer created_by: - $ref: '#/components/schemas/SendBird.BasicUserInfo' + $ref: '#/components/schemas/Sendbird.BasicUserInfo' custom_type: type: string data: @@ -6276,7 +6276,7 @@ components: delivery_receipt: type: object disappearing_message: - $ref: '#/components/schemas/SendBird.DisappearingMessage' + $ref: '#/components/schemas/Sendbird.DisappearingMessage' freeze: type: boolean has_ai_bot: @@ -6295,7 +6295,7 @@ components: format: int64 type: integer inviter: - $ref: '#/components/schemas/SendBird.BasicUserInfo' + $ref: '#/components/schemas/Sendbird.BasicUserInfo' is_access_code_required: nullable: true type: boolean @@ -6326,7 +6326,7 @@ components: nullable: true type: integer last_message: - $ref: '#/components/schemas/SendBird_GroupChannel_last_message' + $ref: '#/components/schemas/Sendbird_GroupChannel_last_message' max_length_message: type: integer member_count: @@ -6339,7 +6339,7 @@ components: type: string members: items: - $ref: '#/components/schemas/SendBird.Member' + $ref: '#/components/schemas/Sendbird.Member' type: array message_survival_seconds: type: integer @@ -6355,14 +6355,14 @@ components: name: type: string push_trigger_option: - $ref: '#/components/schemas/SendBird.PushTriggerOption' + $ref: '#/components/schemas/Sendbird.PushTriggerOption' read_receipt: additionalProperties: format: int64 type: integer type: object sms_fallback: - $ref: '#/components/schemas/SendBird.SmsFallback' + $ref: '#/components/schemas/Sendbird.SmsFallback' ts_message_offset: format: int64 type: integer @@ -6376,7 +6376,7 @@ components: required: - channel_url type: object - SendBird.GroupChannelDetail: + Sendbird.GroupChannelDetail: example: data: data custom_type: custom_type @@ -6733,7 +6733,7 @@ components: is_access_code_required: true properties: channel: - $ref: '#/components/schemas/SendBird_GroupChannelDetail_channel' + $ref: '#/components/schemas/Sendbird_GroupChannelDetail_channel' channel_url: type: string cover_url: @@ -6742,7 +6742,7 @@ components: format: int64 type: integer created_by: - $ref: '#/components/schemas/SendBird.BasicUserInfo' + $ref: '#/components/schemas/Sendbird.BasicUserInfo' custom_type: type: string data: @@ -6753,7 +6753,7 @@ components: type: integer type: object disappearing_message: - $ref: '#/components/schemas/SendBird.DisappearingMessage' + $ref: '#/components/schemas/Sendbird.DisappearingMessage' freeze: type: boolean has_ai_bot: @@ -6781,14 +6781,14 @@ components: joined_member_count: type: integer last_message: - $ref: '#/components/schemas/SendBird.MessageResponse' + $ref: '#/components/schemas/Sendbird.MessageResponse' max_length_message: type: integer member_count: type: integer members: items: - $ref: '#/components/schemas/SendBird.Member' + $ref: '#/components/schemas/Sendbird.Member' type: array message_survival_seconds: type: integer @@ -6796,7 +6796,7 @@ components: type: string operators: items: - $ref: '#/components/schemas/SendBird.User' + $ref: '#/components/schemas/Sendbird.User' type: array read_receipt: additionalProperties: @@ -6804,7 +6804,7 @@ components: type: integer type: object sms_fallback: - $ref: '#/components/schemas/SendBird.SmsFallback' + $ref: '#/components/schemas/Sendbird.SmsFallback' unread_mention_count: type: integer unread_message_count: @@ -6812,7 +6812,7 @@ components: required: - channel_url type: object - SendBird.OpenChannel: + Sendbird.OpenChannel: example: cover_url: cover_url metadata: "{}" @@ -6867,7 +6867,7 @@ components: type: string operators: items: - $ref: '#/components/schemas/SendBird.BasicUserInfo' + $ref: '#/components/schemas/Sendbird.BasicUserInfo' type: array participant_count: type: integer @@ -6878,7 +6878,7 @@ components: - channel_url type: object createAGroupChannelResponse: - $ref: '#/components/schemas/SendBird.GroupChannelDetail' + $ref: '#/components/schemas/Sendbird.GroupChannelDetail' groupChatListChannelsResponse: example: next: next @@ -7119,7 +7119,7 @@ components: properties: channels: items: - $ref: '#/components/schemas/SendBird.GroupChannel' + $ref: '#/components/schemas/Sendbird.GroupChannel' type: array next: type: string @@ -7130,19 +7130,19 @@ components: getAGroupChannelResponse: allOf: - $ref: '#/components/schemas/getAGroupChannelResponse_allOf' - - $ref: '#/components/schemas/SendBird.GroupChannel' + - $ref: '#/components/schemas/Sendbird.GroupChannel' updateAGroupChannelResponse: - $ref: '#/components/schemas/SendBird.GroupChannelDetail' + $ref: '#/components/schemas/Sendbird.GroupChannelDetail' acceptAnInvitationResponse: - $ref: '#/components/schemas/SendBird.GroupChannelDetail' + $ref: '#/components/schemas/Sendbird.GroupChannelDetail' inviteAsMembersResponse: allOf: - - $ref: '#/components/schemas/SendBird.GroupChannel' + - $ref: '#/components/schemas/Sendbird.GroupChannel' - $ref: '#/components/schemas/inviteAsMembersResponse_allOf' joinAChannelResponse: - $ref: '#/components/schemas/SendBird.GroupChannelDetail' + $ref: '#/components/schemas/Sendbird.GroupChannelDetail' freezeAGroupChannelResponse: - $ref: '#/components/schemas/SendBird.GroupChannelDetail' + $ref: '#/components/schemas/Sendbird.GroupChannelDetail' groupChannelListMembersResponse: example: next: next @@ -7198,7 +7198,7 @@ components: properties: members: items: - $ref: '#/components/schemas/SendBird.Member' + $ref: '#/components/schemas/Sendbird.Member' type: array next: type: string @@ -7269,7 +7269,7 @@ components: type: string operators: items: - $ref: '#/components/schemas/SendBird.BasicUserInfo' + $ref: '#/components/schemas/Sendbird.BasicUserInfo' type: array type: object listBotsResponse: @@ -7625,7 +7625,7 @@ components: is_blocked_by_me: true properties: message: - $ref: '#/components/schemas/SendBird.MessageResponse' + $ref: '#/components/schemas/Sendbird.MessageResponse' type: object createABotResponse: example: @@ -7765,11 +7765,11 @@ components: type: string type: object createAnOpenChannelResponse: - $ref: '#/components/schemas/SendBird.OpenChannel' + $ref: '#/components/schemas/Sendbird.OpenChannel' getAnOpenChannelResponse: - $ref: '#/components/schemas/SendBird.OpenChannel' + $ref: '#/components/schemas/Sendbird.OpenChannel' updateAnOpenChannelResponse: - $ref: '#/components/schemas/SendBird.OpenChannel' + $ref: '#/components/schemas/Sendbird.OpenChannel' listOpenChannelsResponse: example: next: next @@ -7836,7 +7836,7 @@ components: properties: channels: items: - $ref: '#/components/schemas/SendBird.OpenChannel' + $ref: '#/components/schemas/Sendbird.OpenChannel' type: array next: type: string @@ -7845,7 +7845,7 @@ components: type: integer type: object freezeAnOpenChannelResponse: - $ref: '#/components/schemas/SendBird.OpenChannel' + $ref: '#/components/schemas/Sendbird.OpenChannel' listBlockedUsersResponse: example: next: next @@ -7903,7 +7903,7 @@ components: properties: users: items: - $ref: '#/components/schemas/SendBird.User' + $ref: '#/components/schemas/Sendbird.User' type: array next: type: string @@ -7965,7 +7965,7 @@ components: properties: users: items: - $ref: '#/components/schemas/SendBird.User' + $ref: '#/components/schemas/Sendbird.User' type: array next: type: string @@ -7978,9 +7978,9 @@ components: type: integer type: object viewAUserResponse: - $ref: '#/components/schemas/SendBird.User' + $ref: '#/components/schemas/Sendbird.User' updateAUserResponse: - $ref: '#/components/schemas/SendBird.User' + $ref: '#/components/schemas/Sendbird.User' listUsersResponse: example: next: next @@ -8040,7 +8040,7 @@ components: type: string users: items: - $ref: '#/components/schemas/SendBird.User' + $ref: '#/components/schemas/Sendbird.User' type: array type: object chooseAPushNotificationContentTemplateResponse: @@ -8051,7 +8051,7 @@ components: type: string type: object createAUserResponse: - $ref: '#/components/schemas/SendBird.User' + $ref: '#/components/schemas/Sendbird.User' listRegistrationOrDeviceTokensResponse: example: tokens: @@ -8082,7 +8082,7 @@ components: type: type: string user: - $ref: '#/components/schemas/SendBird.BasicUserInfo' + $ref: '#/components/schemas/Sendbird.BasicUserInfo' type: object addARegistrationOrDeviceTokenResponse: example: @@ -8103,7 +8103,7 @@ components: type: type: string user: - $ref: '#/components/schemas/SendBird.BasicUserInfo' + $ref: '#/components/schemas/Sendbird.BasicUserInfo' type: object viewPushPreferencesResponse: example: @@ -8141,7 +8141,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/SendBird.PushTriggerOption' + $ref: '#/components/schemas/Sendbird.PushTriggerOption' snooze_enabled: type: boolean snooze_end_ts: @@ -8193,7 +8193,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/SendBird.PushTriggerOption' + $ref: '#/components/schemas/Sendbird.PushTriggerOption' snooze_enabled: type: boolean snooze_end_ts: @@ -8229,7 +8229,7 @@ components: type: string type: array user: - $ref: '#/components/schemas/SendBird.BasicUserInfo' + $ref: '#/components/schemas/Sendbird.BasicUserInfo' type: object createUserTokenResponse: example: @@ -8253,7 +8253,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/SendBird.PushTriggerOption' + $ref: '#/components/schemas/Sendbird.PushTriggerOption' type: object updatePushPreferencesForAChannelResponse: example: @@ -8266,7 +8266,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/SendBird.PushTriggerOption' + $ref: '#/components/schemas/Sendbird.PushTriggerOption' type: object viewWhoOwnsARegistrationOrDeviceTokenResponse: items: @@ -8523,7 +8523,7 @@ components: properties: channels: items: - $ref: '#/components/schemas/SendBird.GroupChannel' + $ref: '#/components/schemas/Sendbird.GroupChannel' type: array next: type: string @@ -8547,7 +8547,7 @@ components: token: type: string user: - $ref: '#/components/schemas/SendBird.BasicUserInfo' + $ref: '#/components/schemas/Sendbird.BasicUserInfo' type: object viewCountPreferenceOfAChannelResponse: example: @@ -9004,7 +9004,7 @@ components: properties: messages: items: - $ref: '#/components/schemas/SendBird.MessageResponse' + $ref: '#/components/schemas/Sendbird.MessageResponse' type: array type: object sendTextMessageRequestBody: @@ -9053,7 +9053,7 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' + $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' type: array sound: type: string @@ -9080,7 +9080,7 @@ components: dedup_id: type: string files: - $ref: '#/components/schemas/SendBird.File' + $ref: '#/components/schemas/Sendbird.File' is_silent: type: boolean mark_as_read: @@ -9121,7 +9121,7 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' + $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' type: array sound: type: string @@ -9177,14 +9177,14 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' + $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' type: array required: - message - message_type type: object sendAMessageResponse: - $ref: '#/components/schemas/SendBird.MessageResponse' + $ref: '#/components/schemas/Sendbird.MessageResponse' getTotalNumberOfMessagesInAChannelResponse: example: total: 0 @@ -9206,7 +9206,7 @@ components: properties: sorted_metaarray: items: - $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' + $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' type: array type: object addExtraDataToAMessageResponse: @@ -9223,13 +9223,13 @@ components: properties: sorted_metaarray: items: - $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' + $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' type: array type: object getAMessageResponse: - $ref: '#/components/schemas/SendBird.MessageResponse' + $ref: '#/components/schemas/Sendbird.MessageResponse' updateAMessageResponse: - $ref: '#/components/schemas/SendBird.MessageResponse' + $ref: '#/components/schemas/Sendbird.MessageResponse' emptyObjectResponse: properties: {} type: object @@ -9385,7 +9385,7 @@ components: type: string type: array extended_message_payload: - $ref: '#/components/schemas/SendBird.ExtendedMessagePayload' + $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload' file: description: "When sending a single file with a message, specifies the data\ \ of the file to upload to the Sendbird server in raw binary format. When\ @@ -9430,7 +9430,7 @@ components: description: '* This property is available when message_type is FILE.' type: boolean sorted_metaarray: - $ref: '#/components/schemas/SendBird.SortedMetaarray' + $ref: '#/components/schemas/Sendbird.SortedMetaarray' apns_bundle_id: description: '* This property is available when message_type is FILE.' type: string @@ -9595,7 +9595,7 @@ components: type: array users: items: - $ref: '#/components/schemas/SendBird.User' + $ref: '#/components/schemas/Sendbird.User' type: array required: - users @@ -10058,7 +10058,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/SendBird.PushTriggerOption' + $ref: '#/components/schemas/Sendbird.PushTriggerOption' snooze_enabled: type: boolean snooze_end_ts: @@ -10199,7 +10199,7 @@ components: * This property is only available for group channels and message_type is MESG. type: integer files: - $ref: '#/components/schemas/SendBird.File' + $ref: '#/components/schemas/Sendbird.File' require_auth: description: "Determines whether to require an authentication key to verify\ \ if the file is being properly accessed. Only the user who uploaded the\ @@ -10271,7 +10271,7 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' + $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' type: array sound: type: string @@ -10287,7 +10287,7 @@ components: type: string sorted_metaarray: items: - $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' + $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' type: array upsert: type: boolean @@ -10296,7 +10296,7 @@ components: properties: sorted_metaarray: items: - $ref: '#/components/schemas/SendBird_SortedMetaarray_inner' + $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' type: array required: - sorted_metaarray @@ -10326,7 +10326,7 @@ components: required: - message_type type: object - SendBird_SortedMetaarray_inner: + Sendbird_SortedMetaarray_inner: example: value: - value @@ -10340,7 +10340,7 @@ components: type: string type: array type: object - SendBird_MessageResponse_message_events: + Sendbird_MessageResponse_message_events: example: update_last_message: true update_mention_count: true @@ -10357,13 +10357,13 @@ components: update_last_message: type: boolean type: object - SendBird_MessageResponse_extended_message_payload: + Sendbird_MessageResponse_extended_message_payload: oneOf: - - $ref: '#/components/schemas/SendBird.ExtendedMessagePayload' - SendBird_GroupChannel_last_message: + - $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload' + Sendbird_GroupChannel_last_message: oneOf: - - $ref: '#/components/schemas/SendBird.MessageResponse' - SendBird_GroupChannelDetail_channel: + - $ref: '#/components/schemas/Sendbird.MessageResponse' + Sendbird_GroupChannelDetail_channel: example: cover_url: cover_url data: data @@ -10395,13 +10395,13 @@ components: getAGroupChannelResponse_allOf: properties: channel: - $ref: '#/components/schemas/SendBird_GroupChannelDetail_channel' + $ref: '#/components/schemas/Sendbird_GroupChannelDetail_channel' type: object inviteAsMembersResponse_allOf: properties: operators: items: - $ref: '#/components/schemas/SendBird.User' + $ref: '#/components/schemas/Sendbird.User' type: array type: object listBotsResponse_bots_inner_bot: diff --git a/docs/AddARegistrationOrDeviceTokenResponse.md b/docs/AddARegistrationOrDeviceTokenResponse.md index ecb7203e..8834e8d9 100644 --- a/docs/AddARegistrationOrDeviceTokenResponse.md +++ b/docs/AddARegistrationOrDeviceTokenResponse.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**token** | **String** | | [optional] | |**type** | **String** | | [optional] | -|**user** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | diff --git a/docs/AddExtraDataToAMessageRequest.md b/docs/AddExtraDataToAMessageRequest.md index 33949e5e..e063c96c 100644 --- a/docs/AddExtraDataToAMessageRequest.md +++ b/docs/AddExtraDataToAMessageRequest.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | | +|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | | diff --git a/docs/AddExtraDataToAMessageResponse.md b/docs/AddExtraDataToAMessageResponse.md index 02ba31bf..db45bff6 100644 --- a/docs/AddExtraDataToAMessageResponse.md +++ b/docs/AddExtraDataToAMessageResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | diff --git a/docs/BlockAUserResponse.md b/docs/BlockAUserResponse.md index 3e8ce6e1..91f6110d 100644 --- a/docs/BlockAUserResponse.md +++ b/docs/BlockAUserResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**users** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | +|**users** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | |**next** | **String** | | [optional] | diff --git a/docs/BotApi.md b/docs/BotApi.md index 2e1aebf6..ceea5ed3 100644 --- a/docs/BotApi.md +++ b/docs/BotApi.md @@ -169,7 +169,7 @@ No authorization required ## joinChannels -> SendBirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).joinChannelsRequest(joinChannelsRequest).execute(); +> SendbirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).joinChannelsRequest(joinChannelsRequest).execute(); Join channels @@ -199,7 +199,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | JoinChannelsRequest joinChannelsRequest = new JoinChannelsRequest(); // JoinChannelsRequest | try { - SendBirdGroupChannelDetail result = api.joinChannels(botUserid) + SendbirdGroupChannelDetail result = api.joinChannels(botUserid) .apiToken(apiToken) .joinChannelsRequest(joinChannelsRequest) .execute(); @@ -226,7 +226,7 @@ public class Example { ### Return type -[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) +[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) ### Authorization @@ -508,13 +508,13 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | String message = "message_example"; // String | Specifies the content of the message. * This property is required when message_type is MESG. List mentioned = Arrays.asList(); // List | * This property is available when message_type is MESG. - SendBirdExtendedMessagePayload extendedMessagePayload = new SendBirdExtendedMessagePayload(); // SendBirdExtendedMessagePayload | + SendbirdExtendedMessagePayload extendedMessagePayload = new SendbirdExtendedMessagePayload(); // SendbirdExtendedMessagePayload | File _file = new File("/path/to/file"); // File | When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. Boolean requireAuth = true; // Boolean | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. String mentionType = "users"; // String | * This property is available when message_type is FILE. List mentionedUserIds = Arrays.asList(); // List | * This property is available when message_type is FILE. Boolean isSilent = true; // Boolean | * This property is available when message_type is FILE. - List sortedMetaarray = Arrays.asList(); // List | + List sortedMetaarray = Arrays.asList(); // List | String apnsBundleId = "apnsBundleId_example"; // String | * This property is available when message_type is FILE. Object appleCriticalAlertOptions = null; // Object | * This property is available when message_type is FILE. String sound = "sound_example"; // String | * This property is available when message_type is FILE. @@ -573,13 +573,13 @@ public class Example { | **apiToken** | **String**| | [optional] | | **message** | **String**| Specifies the content of the message. * This property is required when message_type is MESG. | [optional] | | **mentioned** | **List<String>**| * This property is available when message_type is MESG. | [optional] | -| **extendedMessagePayload** | [**SendBirdExtendedMessagePayload**](SendBirdExtendedMessagePayload.md)| | [optional] | +| **extendedMessagePayload** | [**SendbirdExtendedMessagePayload**](SendbirdExtendedMessagePayload.md)| | [optional] | | **_file** | **File**| When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. | [optional] | | **requireAuth** | **Boolean**| Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. | [optional] | | **mentionType** | **String**| * This property is available when message_type is FILE. | [optional] [enum: users, channel] | | **mentionedUserIds** | **List<String>**| * This property is available when message_type is FILE. | [optional] | | **isSilent** | **Boolean**| * This property is available when message_type is FILE. | [optional] | -| **sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md)| | [optional] | +| **sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md)| | [optional] | | **apnsBundleId** | **String**| * This property is available when message_type is FILE. | [optional] | | **appleCriticalAlertOptions** | **Object**| * This property is available when message_type is FILE. | [optional] | | **sound** | **String**| * This property is available when message_type is FILE. | [optional] | diff --git a/docs/CreateAGroupChannelRequest.md b/docs/CreateAGroupChannelRequest.md index 69320bd4..566ac103 100644 --- a/docs/CreateAGroupChannelRequest.md +++ b/docs/CreateAGroupChannelRequest.md @@ -25,7 +25,7 @@ |**operatorIds** | **List<String>** | | [optional] | |**strict** | **Boolean** | | [optional] | |**userIds** | **List<String>** | | [optional] | -|**users** | [**List<SendBirdUser>**](SendBirdUser.md) | | | +|**users** | [**List<SendbirdUser>**](SendbirdUser.md) | | | diff --git a/docs/GetAGroupChannelResponse.md b/docs/GetAGroupChannelResponse.md index c8bb059e..3fb5998f 100644 --- a/docs/GetAGroupChannelResponse.md +++ b/docs/GetAGroupChannelResponse.md @@ -7,23 +7,23 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channel** | [**SendBirdGroupChannelDetailChannel**](SendBirdGroupChannelDetailChannel.md) | | [optional] | +|**channel** | [**SendbirdGroupChannelDetailChannel**](SendbirdGroupChannelDetailChannel.md) | | [optional] | |**channelUrl** | **String** | | | |**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Object** | | [optional] | -|**disappearingMessage** | [**SendBirdDisappearingMessage**](SendBirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendbirdDisappearingMessage**](SendbirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | |**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | |**ignoreProfanityFilter** | **Boolean** | | [optional] | |**invitedAt** | **Long** | | [optional] | -|**inviter** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**inviter** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | |**isAccessCodeRequired** | **Boolean** | | [optional] | |**isBroadcast** | **Boolean** | | [optional] | |**isDiscoverable** | **Boolean** | | [optional] | @@ -37,18 +37,18 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendBirdGroupChannelLastMessage**](SendBirdGroupChannelLastMessage.md) | | [optional] | +|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | -|**members** | [**List<SendBirdMember>**](SendBirdMember.md) | | [optional] | +|**members** | [**List<SendbirdMember>**](SendbirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | |**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | |**name** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendBirdSmsFallback**](SendBirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendbirdSmsFallback**](SendbirdSmsFallback.md) | | [optional] | |**tsMessageOffset** | **Long** | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | diff --git a/docs/GetAGroupChannelResponseAllOf.md b/docs/GetAGroupChannelResponseAllOf.md index e460c93d..e74f29d1 100644 --- a/docs/GetAGroupChannelResponseAllOf.md +++ b/docs/GetAGroupChannelResponseAllOf.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channel** | [**SendBirdGroupChannelDetailChannel**](SendBirdGroupChannelDetailChannel.md) | | [optional] | +|**channel** | [**SendbirdGroupChannelDetailChannel**](SendbirdGroupChannelDetailChannel.md) | | [optional] | diff --git a/docs/GroupChannelApi.md b/docs/GroupChannelApi.md index 9c43dad4..ffbc34cf 100644 --- a/docs/GroupChannelApi.md +++ b/docs/GroupChannelApi.md @@ -28,7 +28,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## acceptAnInvitation -> SendBirdGroupChannelDetail acceptAnInvitation(channelUrl).apiToken(apiToken).acceptAnInvitationRequest(acceptAnInvitationRequest).execute(); +> SendbirdGroupChannelDetail acceptAnInvitation(channelUrl).apiToken(apiToken).acceptAnInvitationRequest(acceptAnInvitationRequest).execute(); Accept an invitation @@ -61,7 +61,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | AcceptAnInvitationRequest acceptAnInvitationRequest = new AcceptAnInvitationRequest(); // AcceptAnInvitationRequest | try { - SendBirdGroupChannelDetail result = api.acceptAnInvitation(channelUrl) + SendbirdGroupChannelDetail result = api.acceptAnInvitation(channelUrl) .apiToken(apiToken) .acceptAnInvitationRequest(acceptAnInvitationRequest) .execute(); @@ -88,7 +88,7 @@ public class Example { ### Return type -[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) +[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) ### Authorization @@ -268,7 +268,7 @@ No authorization required ## createAGroupChannel -> SendBirdGroupChannelDetail createAGroupChannel().apiToken(apiToken).createAGroupChannelRequest(createAGroupChannelRequest).execute(); +> SendbirdGroupChannelDetail createAGroupChannel().apiToken(apiToken).createAGroupChannelRequest(createAGroupChannelRequest).execute(); Create a group channel @@ -299,7 +299,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | CreateAGroupChannelRequest createAGroupChannelRequest = new CreateAGroupChannelRequest(); // CreateAGroupChannelRequest | try { - SendBirdGroupChannelDetail result = api.createAGroupChannel() + SendbirdGroupChannelDetail result = api.createAGroupChannel() .apiToken(apiToken) .createAGroupChannelRequest(createAGroupChannelRequest) .execute(); @@ -325,7 +325,7 @@ public class Example { ### Return type -[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) +[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) ### Authorization @@ -666,7 +666,7 @@ No authorization required ## joinAChannel -> SendBirdGroupChannelDetail joinAChannel(channelUrl).apiToken(apiToken).joinAChannelRequest(joinAChannelRequest).execute(); +> SendbirdGroupChannelDetail joinAChannel(channelUrl).apiToken(apiToken).joinAChannelRequest(joinAChannelRequest).execute(); Join a channel @@ -696,7 +696,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | JoinAChannelRequest joinAChannelRequest = new JoinAChannelRequest(); // JoinAChannelRequest | try { - SendBirdGroupChannelDetail result = api.joinAChannel(channelUrl) + SendbirdGroupChannelDetail result = api.joinAChannel(channelUrl) .apiToken(apiToken) .joinAChannelRequest(joinAChannelRequest) .execute(); @@ -723,7 +723,7 @@ public class Example { ### Return type -[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) +[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) ### Authorization @@ -1603,7 +1603,7 @@ No authorization required ## updateAGroupChannel -> SendBirdGroupChannelDetail updateAGroupChannel(channelUrl).apiToken(apiToken).updateAGroupChannelRequest(updateAGroupChannelRequest).execute(); +> SendbirdGroupChannelDetail updateAGroupChannel(channelUrl).apiToken(apiToken).updateAGroupChannelRequest(updateAGroupChannelRequest).execute(); Update a group channel @@ -1633,7 +1633,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | UpdateAGroupChannelRequest updateAGroupChannelRequest = new UpdateAGroupChannelRequest(); // UpdateAGroupChannelRequest | try { - SendBirdGroupChannelDetail result = api.updateAGroupChannel(channelUrl) + SendbirdGroupChannelDetail result = api.updateAGroupChannel(channelUrl) .apiToken(apiToken) .updateAGroupChannelRequest(updateAGroupChannelRequest) .execute(); @@ -1660,7 +1660,7 @@ public class Example { ### Return type -[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) +[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) ### Authorization diff --git a/docs/GroupChannelListMembersResponse.md b/docs/GroupChannelListMembersResponse.md index 086b5508..3c2ad2df 100644 --- a/docs/GroupChannelListMembersResponse.md +++ b/docs/GroupChannelListMembersResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**members** | [**List<SendBirdMember>**](SendBirdMember.md) | | | +|**members** | [**List<SendbirdMember>**](SendbirdMember.md) | | | |**next** | **String** | | [optional] | diff --git a/docs/GroupChatListChannelsResponse.md b/docs/GroupChatListChannelsResponse.md index 6156840d..417e868e 100644 --- a/docs/GroupChatListChannelsResponse.md +++ b/docs/GroupChatListChannelsResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channels** | [**List<SendBirdGroupChannel>**](SendBirdGroupChannel.md) | | [optional] | +|**channels** | [**List<SendbirdGroupChannel>**](SendbirdGroupChannel.md) | | [optional] | |**next** | **String** | | [optional] | |**ts** | **Long** | | [optional] | diff --git a/docs/InviteAsMembersResponse.md b/docs/InviteAsMembersResponse.md index caf62d92..a27a9e1b 100644 --- a/docs/InviteAsMembersResponse.md +++ b/docs/InviteAsMembersResponse.md @@ -11,18 +11,18 @@ |**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Object** | | [optional] | -|**disappearingMessage** | [**SendBirdDisappearingMessage**](SendBirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendbirdDisappearingMessage**](SendbirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | |**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | |**ignoreProfanityFilter** | **Boolean** | | [optional] | |**invitedAt** | **Long** | | [optional] | -|**inviter** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**inviter** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | |**isAccessCodeRequired** | **Boolean** | | [optional] | |**isBroadcast** | **Boolean** | | [optional] | |**isDiscoverable** | **Boolean** | | [optional] | @@ -36,23 +36,23 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendBirdGroupChannelLastMessage**](SendBirdGroupChannelLastMessage.md) | | [optional] | +|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | -|**members** | [**List<SendBirdMember>**](SendBirdMember.md) | | [optional] | +|**members** | [**List<SendbirdMember>**](SendbirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | |**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | |**name** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendBirdSmsFallback**](SendBirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendbirdSmsFallback**](SendbirdSmsFallback.md) | | [optional] | |**tsMessageOffset** | **Long** | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | |**userLastRead** | **Long** | | [optional] | -|**operators** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | +|**operators** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | diff --git a/docs/InviteAsMembersResponseAllOf.md b/docs/InviteAsMembersResponseAllOf.md index 4d34fc8c..76549406 100644 --- a/docs/InviteAsMembersResponseAllOf.md +++ b/docs/InviteAsMembersResponseAllOf.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**operators** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | +|**operators** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | diff --git a/docs/ListBlockedUsersResponse.md b/docs/ListBlockedUsersResponse.md index 60aae202..cfffc844 100644 --- a/docs/ListBlockedUsersResponse.md +++ b/docs/ListBlockedUsersResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**users** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | +|**users** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | |**next** | **String** | | [optional] | diff --git a/docs/ListMessagesResponse.md b/docs/ListMessagesResponse.md index 35ff3063..6a27629c 100644 --- a/docs/ListMessagesResponse.md +++ b/docs/ListMessagesResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**messages** | [**List<SendBirdMessageResponse>**](SendBirdMessageResponse.md) | | [optional] | +|**messages** | [**List<SendbirdMessageResponse>**](SendbirdMessageResponse.md) | | [optional] | diff --git a/docs/ListMyGroupChannelsResponse.md b/docs/ListMyGroupChannelsResponse.md index 7c1bc63c..9283431d 100644 --- a/docs/ListMyGroupChannelsResponse.md +++ b/docs/ListMyGroupChannelsResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channels** | [**List<SendBirdGroupChannel>**](SendBirdGroupChannel.md) | | [optional] | +|**channels** | [**List<SendbirdGroupChannel>**](SendbirdGroupChannel.md) | | [optional] | |**next** | **String** | | [optional] | |**ts** | **Long** | | [optional] | diff --git a/docs/ListOpenChannelsResponse.md b/docs/ListOpenChannelsResponse.md index c20e8cfb..6d4dfd10 100644 --- a/docs/ListOpenChannelsResponse.md +++ b/docs/ListOpenChannelsResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channels** | [**List<SendBirdOpenChannel>**](SendBirdOpenChannel.md) | | [optional] | +|**channels** | [**List<SendbirdOpenChannel>**](SendbirdOpenChannel.md) | | [optional] | |**next** | **String** | | [optional] | |**ts** | **Long** | | [optional] | diff --git a/docs/ListOperatorsResponse.md b/docs/ListOperatorsResponse.md index 49e4c7e3..3e7c8585 100644 --- a/docs/ListOperatorsResponse.md +++ b/docs/ListOperatorsResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**next** | **String** | | [optional] | -|**operators** | [**List<SendBirdBasicUserInfo>**](SendBirdBasicUserInfo.md) | | [optional] | +|**operators** | [**List<SendbirdBasicUserInfo>**](SendbirdBasicUserInfo.md) | | [optional] | diff --git a/docs/ListRegistrationOrDeviceTokensResponse.md b/docs/ListRegistrationOrDeviceTokensResponse.md index 7a41610d..4a05ff17 100644 --- a/docs/ListRegistrationOrDeviceTokensResponse.md +++ b/docs/ListRegistrationOrDeviceTokensResponse.md @@ -10,7 +10,7 @@ |**token** | **List<String>** | | [optional] | |**tokens** | **List<String>** | | [optional] | |**type** | **String** | | [optional] | -|**user** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | diff --git a/docs/ListUsersResponse.md b/docs/ListUsersResponse.md index 7bd53d4d..c3c0db08 100644 --- a/docs/ListUsersResponse.md +++ b/docs/ListUsersResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**next** | **String** | | [optional] | -|**users** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | +|**users** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | diff --git a/docs/MessageApi.md b/docs/MessageApi.md index 80de5192..3a76fd5c 100644 --- a/docs/MessageApi.md +++ b/docs/MessageApi.md @@ -179,7 +179,7 @@ No authorization required ## getAMessage -> SendBirdMessageResponse getAMessage(channelType, channelUrl, messageId).includeReactions(includeReactions).includeThreadInfo(includeThreadInfo).includeParentMessageInfo(includeParentMessageInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).apiToken(apiToken).execute(); +> SendbirdMessageResponse getAMessage(channelType, channelUrl, messageId).includeReactions(includeReactions).includeThreadInfo(includeThreadInfo).includeParentMessageInfo(includeParentMessageInfo).includePollDetails(includePollDetails).withSortedMetaArray(withSortedMetaArray).apiToken(apiToken).execute(); Get a message @@ -226,7 +226,7 @@ public class Example { Boolean withSortedMetaArray = true; // Boolean | String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdMessageResponse result = api.getAMessage(channelType, channelUrl, messageId) + SendbirdMessageResponse result = api.getAMessage(channelType, channelUrl, messageId) .includeReactions(includeReactions) .includeThreadInfo(includeThreadInfo) .includeParentMessageInfo(includeParentMessageInfo) @@ -263,7 +263,7 @@ public class Example { ### Return type -[**SendBirdMessageResponse**](SendBirdMessageResponse.md) +[**SendbirdMessageResponse**](SendbirdMessageResponse.md) ### Authorization @@ -747,7 +747,7 @@ No authorization required ## sendAMessage -> SendBirdMessageResponse sendAMessage(channelType, channelUrl).apiToken(apiToken).sendAMessageRequest(sendAMessageRequest).execute(); +> SendbirdMessageResponse sendAMessage(channelType, channelUrl).apiToken(apiToken).sendAMessageRequest(sendAMessageRequest).execute(); Send a message @@ -780,7 +780,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | SendAMessageRequest sendAMessageRequest = new SendAMessageRequest(); // SendAMessageRequest | try { - SendBirdMessageResponse result = api.sendAMessage(channelType, channelUrl) + SendbirdMessageResponse result = api.sendAMessage(channelType, channelUrl) .apiToken(apiToken) .sendAMessageRequest(sendAMessageRequest) .execute(); @@ -808,7 +808,7 @@ public class Example { ### Return type -[**SendBirdMessageResponse**](SendBirdMessageResponse.md) +[**SendbirdMessageResponse**](SendbirdMessageResponse.md) ### Authorization @@ -827,7 +827,7 @@ No authorization required ## updateAMessage -> SendBirdMessageResponse updateAMessage(channelType, channelUrl, messageId).apiToken(apiToken).updateAMessageRequest(updateAMessageRequest).execute(); +> SendbirdMessageResponse updateAMessage(channelType, channelUrl, messageId).apiToken(apiToken).updateAMessageRequest(updateAMessageRequest).execute(); Update a message @@ -860,7 +860,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | UpdateAMessageRequest updateAMessageRequest = new UpdateAMessageRequest(); // UpdateAMessageRequest | try { - SendBirdMessageResponse result = api.updateAMessage(channelType, channelUrl, messageId) + SendbirdMessageResponse result = api.updateAMessage(channelType, channelUrl, messageId) .apiToken(apiToken) .updateAMessageRequest(updateAMessageRequest) .execute(); @@ -889,7 +889,7 @@ public class Example { ### Return type -[**SendBirdMessageResponse**](SendBirdMessageResponse.md) +[**SendbirdMessageResponse**](SendbirdMessageResponse.md) ### Authorization diff --git a/docs/ModerationApi.md b/docs/ModerationApi.md index cc2222b4..b5213647 100644 --- a/docs/ModerationApi.md +++ b/docs/ModerationApi.md @@ -98,7 +98,7 @@ No authorization required ## freezeAGroupChannel -> SendBirdGroupChannelDetail freezeAGroupChannel(channelUrl).apiToken(apiToken).freezeAGroupChannelRequest(freezeAGroupChannelRequest).execute(); +> SendbirdGroupChannelDetail freezeAGroupChannel(channelUrl).apiToken(apiToken).freezeAGroupChannelRequest(freezeAGroupChannelRequest).execute(); Freeze a group channel @@ -131,7 +131,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | FreezeAGroupChannelRequest freezeAGroupChannelRequest = new FreezeAGroupChannelRequest(); // FreezeAGroupChannelRequest | try { - SendBirdGroupChannelDetail result = api.freezeAGroupChannel(channelUrl) + SendbirdGroupChannelDetail result = api.freezeAGroupChannel(channelUrl) .apiToken(apiToken) .freezeAGroupChannelRequest(freezeAGroupChannelRequest) .execute(); @@ -158,7 +158,7 @@ public class Example { ### Return type -[**SendBirdGroupChannelDetail**](SendBirdGroupChannelDetail.md) +[**SendbirdGroupChannelDetail**](SendbirdGroupChannelDetail.md) ### Authorization @@ -177,7 +177,7 @@ No authorization required ## freezeAnOpenChannel -> SendBirdOpenChannel freezeAnOpenChannel(channelUrl).apiToken(apiToken).freezeAnOpenChannelRequest(freezeAnOpenChannelRequest).execute(); +> SendbirdOpenChannel freezeAnOpenChannel(channelUrl).apiToken(apiToken).freezeAnOpenChannelRequest(freezeAnOpenChannelRequest).execute(); Freeze an open channel @@ -210,7 +210,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | FreezeAnOpenChannelRequest freezeAnOpenChannelRequest = new FreezeAnOpenChannelRequest(); // FreezeAnOpenChannelRequest | try { - SendBirdOpenChannel result = api.freezeAnOpenChannel(channelUrl) + SendbirdOpenChannel result = api.freezeAnOpenChannel(channelUrl) .apiToken(apiToken) .freezeAnOpenChannelRequest(freezeAnOpenChannelRequest) .execute(); @@ -237,7 +237,7 @@ public class Example { ### Return type -[**SendBirdOpenChannel**](SendBirdOpenChannel.md) +[**SendbirdOpenChannel**](SendbirdOpenChannel.md) ### Authorization diff --git a/docs/OpenChannelApi.md b/docs/OpenChannelApi.md index a49bd270..f376e44e 100644 --- a/docs/OpenChannelApi.md +++ b/docs/OpenChannelApi.md @@ -17,7 +17,7 @@ All URIs are relative to *https://api-APP_ID.sendbird.com* ## createAnOpenChannel -> SendBirdOpenChannel createAnOpenChannel().apiToken(apiToken).createAnOpenChannelRequest(createAnOpenChannelRequest).execute(); +> SendbirdOpenChannel createAnOpenChannel().apiToken(apiToken).createAnOpenChannelRequest(createAnOpenChannelRequest).execute(); Create an open channel @@ -48,7 +48,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | CreateAnOpenChannelRequest createAnOpenChannelRequest = new CreateAnOpenChannelRequest(); // CreateAnOpenChannelRequest | try { - SendBirdOpenChannel result = api.createAnOpenChannel() + SendbirdOpenChannel result = api.createAnOpenChannel() .apiToken(apiToken) .createAnOpenChannelRequest(createAnOpenChannelRequest) .execute(); @@ -74,7 +74,7 @@ public class Example { ### Return type -[**SendBirdOpenChannel**](SendBirdOpenChannel.md) +[**SendbirdOpenChannel**](SendbirdOpenChannel.md) ### Authorization @@ -166,7 +166,7 @@ No authorization required ## getAnOpenChannel -> SendBirdOpenChannel getAnOpenChannel(channelUrl).apiToken(apiToken).includeOperators(includeOperators).execute(); +> SendbirdOpenChannel getAnOpenChannel(channelUrl).apiToken(apiToken).includeOperators(includeOperators).execute(); Get an open channel @@ -196,7 +196,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | Boolean includeOperators = true; // Boolean | Determines whether to include a list of operators in the response. (Default: false) try { - SendBirdOpenChannel result = api.getAnOpenChannel(channelUrl) + SendbirdOpenChannel result = api.getAnOpenChannel(channelUrl) .apiToken(apiToken) .includeOperators(includeOperators) .execute(); @@ -223,7 +223,7 @@ public class Example { ### Return type -[**SendBirdOpenChannel**](SendBirdOpenChannel.md) +[**SendbirdOpenChannel**](SendbirdOpenChannel.md) ### Authorization @@ -579,7 +579,7 @@ No authorization required ## updateAnOpenChannel -> SendBirdOpenChannel updateAnOpenChannel(channelUrl).apiToken(apiToken).updateAnOpenChannelRequest(updateAnOpenChannelRequest).execute(); +> SendbirdOpenChannel updateAnOpenChannel(channelUrl).apiToken(apiToken).updateAnOpenChannelRequest(updateAnOpenChannelRequest).execute(); Update an open channel @@ -609,7 +609,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | UpdateAnOpenChannelRequest updateAnOpenChannelRequest = new UpdateAnOpenChannelRequest(); // UpdateAnOpenChannelRequest | try { - SendBirdOpenChannel result = api.updateAnOpenChannel(channelUrl) + SendbirdOpenChannel result = api.updateAnOpenChannel(channelUrl) .apiToken(apiToken) .updateAnOpenChannelRequest(updateAnOpenChannelRequest) .execute(); @@ -636,7 +636,7 @@ public class Example { ### Return type -[**SendBirdOpenChannel**](SendBirdOpenChannel.md) +[**SendbirdOpenChannel**](SendbirdOpenChannel.md) ### Authorization diff --git a/docs/RemoveARegistrationOrDeviceTokenResponse.md b/docs/RemoveARegistrationOrDeviceTokenResponse.md index 4e373058..ad00e530 100644 --- a/docs/RemoveARegistrationOrDeviceTokenResponse.md +++ b/docs/RemoveARegistrationOrDeviceTokenResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**token** | **String** | | [optional] | -|**user** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | diff --git a/docs/RemoveAllRegistrationOrDeviceTokenResponse.md b/docs/RemoveAllRegistrationOrDeviceTokenResponse.md index 32b1d43e..e3d99838 100644 --- a/docs/RemoveAllRegistrationOrDeviceTokenResponse.md +++ b/docs/RemoveAllRegistrationOrDeviceTokenResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**token** | **List<String>** | | [optional] | -|**user** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | diff --git a/docs/SendABotMessageResponse.md b/docs/SendABotMessageResponse.md index 5ad4d0b5..4b4decb2 100644 --- a/docs/SendABotMessageResponse.md +++ b/docs/SendABotMessageResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**message** | [**SendBirdMessageResponse**](SendBirdMessageResponse.md) | | [optional] | +|**message** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] | diff --git a/docs/SendAMessageRequest.md b/docs/SendAMessageRequest.md index 5099d8f8..d11a9434 100644 --- a/docs/SendAMessageRequest.md +++ b/docs/SendAMessageRequest.md @@ -12,7 +12,7 @@ |**message** | **String** | Specifies the content of the message. * This property is required when message_type is MESG or ADMM. | [optional] | |**pushMessageTemplate** | [**SendAMessageRequestPushMessageTemplate**](SendAMessageRequestPushMessageTemplate.md) | | [optional] | |**pollId** | **Integer** | Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG. | [optional] | -|**files** | [**SendBirdFile**](SendBirdFile.md) | | [optional] | +|**files** | [**SendbirdFile**](SendbirdFile.md) | | [optional] | |**requireAuth** | **Boolean** | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. | [optional] | |**thumbnail1** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | |**thumbnail2** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] | @@ -30,7 +30,7 @@ |**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] | |**mentionedUserIds** | **List<String>** | | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | |**sound** | **String** | | [optional] | |**volume** | **BigDecimal** | | [optional] | diff --git a/docs/SendAdminMessageRequestBody.md b/docs/SendAdminMessageRequestBody.md index 66703d05..bfdaba34 100644 --- a/docs/SendAdminMessageRequestBody.md +++ b/docs/SendAdminMessageRequestBody.md @@ -18,7 +18,7 @@ |**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | Specifies the type of the message. The value of ADMM represents an admin message. | | |**pushMessageTemplate** | [**SendTextMessageRequestBodyPushMessageTemplate**](SendTextMessageRequestBodyPushMessageTemplate.md) | | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | diff --git a/docs/SendBirdFile.md b/docs/SendBirdFile.md index fa47dde7..b82bf2e7 100644 --- a/docs/SendBirdFile.md +++ b/docs/SendBirdFile.md @@ -1,6 +1,6 @@ -# SendBirdFile +# SendbirdFile ## Properties @@ -11,7 +11,7 @@ |**fileName** | **String** | | [optional] | |**fileSize** | **Integer** | | [optional] | |**fileType** | **String** | | [optional] | -|**thumbnails** | [**List<SendBirdThumbnail>**](SendBirdThumbnail.md) | | [optional] | +|**thumbnails** | [**List<SendbirdThumbnail>**](SendbirdThumbnail.md) | | [optional] | |**requireAuth** | **Boolean** | | [optional] | diff --git a/docs/SendBirdGroupChannel.md b/docs/SendBirdGroupChannel.md index 49c1633e..b650ee1c 100644 --- a/docs/SendBirdGroupChannel.md +++ b/docs/SendBirdGroupChannel.md @@ -1,6 +1,6 @@ -# SendBirdGroupChannel +# SendbirdGroupChannel ## Properties @@ -11,18 +11,18 @@ |**countPreference** | [**CountPreferenceEnum**](#CountPreferenceEnum) | | [optional] | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Object** | | [optional] | -|**disappearingMessage** | [**SendBirdDisappearingMessage**](SendBirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendbirdDisappearingMessage**](SendbirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | |**hiddenState** | [**HiddenStateEnum**](#HiddenStateEnum) | | [optional] | |**ignoreProfanityFilter** | **Boolean** | | [optional] | |**invitedAt** | **Long** | | [optional] | -|**inviter** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**inviter** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | |**isAccessCodeRequired** | **Boolean** | | [optional] | |**isBroadcast** | **Boolean** | | [optional] | |**isDiscoverable** | **Boolean** | | [optional] | @@ -36,18 +36,18 @@ |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | |**joinedTs** | **Long** | | [optional] | -|**lastMessage** | [**SendBirdGroupChannelLastMessage**](SendBirdGroupChannelLastMessage.md) | | [optional] | +|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | |**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] | -|**members** | [**List<SendBirdMember>**](SendBirdMember.md) | | [optional] | +|**members** | [**List<SendbirdMember>**](SendbirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | |**myRole** | [**MyRoleEnum**](#MyRoleEnum) | | [optional] | |**name** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendBirdSmsFallback**](SendBirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendbirdSmsFallback**](SendbirdSmsFallback.md) | | [optional] | |**tsMessageOffset** | **Long** | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | diff --git a/docs/SendBirdMember.md b/docs/SendBirdMember.md index 2d23893b..1b7d9c68 100644 --- a/docs/SendBirdMember.md +++ b/docs/SendBirdMember.md @@ -1,6 +1,6 @@ -# SendBirdMember +# SendbirdMember ## Properties @@ -22,7 +22,7 @@ |**mutedEndAt** | **Long** | | [optional] | |**nickname** | **String** | | [optional] | |**pushEnabled** | **Boolean** | | [optional] | -|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | |**profileUrl** | **String** | | [optional] | |**requireAuthForProfileImage** | **Boolean** | | [optional] | |**readTs** | **Long** | | [optional] | diff --git a/docs/SendBirdMessageResponse.md b/docs/SendBirdMessageResponse.md index b0395153..64496613 100644 --- a/docs/SendBirdMessageResponse.md +++ b/docs/SendBirdMessageResponse.md @@ -1,6 +1,6 @@ -# SendBirdMessageResponse +# SendbirdMessageResponse ## Properties @@ -10,15 +10,15 @@ |**requireAuth** | **Boolean** | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**customType** | **String** | | [optional] | -|**mentionedUsers** | [**List<SendBirdBasicUserInfo>**](SendBirdBasicUserInfo.md) | | [optional] | +|**mentionedUsers** | [**List<SendbirdBasicUserInfo>**](SendbirdBasicUserInfo.md) | | [optional] | |**translations** | **Object** | | [optional] | |**updatedAt** | **Long** | | [optional] | |**isOpMsg** | **Boolean** | | [optional] | -|**reactions** | [**List<SendBirdReaction>**](SendBirdReaction.md) | | [optional] | +|**reactions** | [**List<SendbirdReaction>**](SendbirdReaction.md) | | [optional] | |**isRemoved** | **Boolean** | | [optional] | -|**user** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**user** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | |**_file** | **Object** | | [optional] | -|**files** | [**List<SendBirdFile>**](SendBirdFile.md) | | [optional] | +|**files** | [**List<SendbirdFile>**](SendbirdFile.md) | | [optional] | |**message** | **String** | | [optional] | |**data** | **String** | | [optional] | |**messageRetentionHour** | **Integer** | | [optional] | @@ -30,13 +30,13 @@ |**mentionType** | **String** | | [optional] | |**channelUrl** | **String** | | [optional] | |**messageId** | **Long** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | |**threadInfo** | **Object** | | [optional] | |**parentMessageId** | **Integer** | | [optional] | -|**parentMessageInfo** | [**SendBirdParentMessageInfo**](SendBirdParentMessageInfo.md) | | [optional] | +|**parentMessageInfo** | [**SendbirdParentMessageInfo**](SendbirdParentMessageInfo.md) | | [optional] | |**isReplyToChannel** | **Boolean** | | [optional] | -|**messageEvents** | [**SendBirdMessageResponseMessageEvents**](SendBirdMessageResponseMessageEvents.md) | | [optional] | -|**extendedMessagePayload** | [**SendBirdMessageResponseExtendedMessagePayload**](SendBirdMessageResponseExtendedMessagePayload.md) | | [optional] | +|**messageEvents** | [**SendbirdMessageResponseMessageEvents**](SendbirdMessageResponseMessageEvents.md) | | [optional] | +|**extendedMessagePayload** | [**SendbirdMessageResponseExtendedMessagePayload**](SendbirdMessageResponseExtendedMessagePayload.md) | | [optional] | diff --git a/docs/SendBirdOpenChannel.md b/docs/SendBirdOpenChannel.md index 4f655105..fc183859 100644 --- a/docs/SendBirdOpenChannel.md +++ b/docs/SendBirdOpenChannel.md @@ -1,6 +1,6 @@ -# SendBirdOpenChannel +# SendbirdOpenChannel ## Properties @@ -17,7 +17,7 @@ |**isEphemeral** | **Boolean** | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**name** | **String** | | [optional] | -|**operators** | [**List<SendBirdBasicUserInfo>**](SendBirdBasicUserInfo.md) | | [optional] | +|**operators** | [**List<SendbirdBasicUserInfo>**](SendbirdBasicUserInfo.md) | | [optional] | |**participantCount** | **Integer** | | [optional] | |**metadata** | **Object** | | [optional] | diff --git a/docs/SendBirdParentMessageInfo.md b/docs/SendBirdParentMessageInfo.md index ef280d07..c13ea2c0 100644 --- a/docs/SendBirdParentMessageInfo.md +++ b/docs/SendBirdParentMessageInfo.md @@ -1,6 +1,6 @@ -# SendBirdParentMessageInfo +# SendbirdParentMessageInfo ## Properties @@ -11,9 +11,9 @@ |**message** | **String** | | [optional] | |**type** | **String** | | [optional] | |**ts** | **Long** | | [optional] | -|**user** | [**SendBirdUser**](SendBirdUser.md) | | [optional] | -|**_file** | [**SendBirdFile**](SendBirdFile.md) | | [optional] | -|**files** | [**List<SendBirdFile>**](SendBirdFile.md) | | [optional] | +|**user** | [**SendbirdUser**](SendbirdUser.md) | | [optional] | +|**_file** | [**SendbirdFile**](SendbirdFile.md) | | [optional] | +|**files** | [**List<SendbirdFile>**](SendbirdFile.md) | | [optional] | diff --git a/docs/SendBirdReaction.md b/docs/SendBirdReaction.md index d16141f7..8187c13d 100644 --- a/docs/SendBirdReaction.md +++ b/docs/SendBirdReaction.md @@ -1,6 +1,6 @@ -# SendBirdReaction +# SendbirdReaction ## Properties diff --git a/docs/SendBirdUser.md b/docs/SendBirdUser.md index 96918313..8b589ea3 100644 --- a/docs/SendBirdUser.md +++ b/docs/SendBirdUser.md @@ -1,6 +1,6 @@ -# SendBirdUser +# SendbirdUser User diff --git a/docs/SendFileMessageRequestBody.md b/docs/SendFileMessageRequestBody.md index 2ef85b46..0e6e3aac 100644 --- a/docs/SendFileMessageRequestBody.md +++ b/docs/SendFileMessageRequestBody.md @@ -13,7 +13,7 @@ |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**dedupId** | **String** | | [optional] | -|**files** | [**SendBirdFile**](SendBirdFile.md) | | | +|**files** | [**SendbirdFile**](SendbirdFile.md) | | | |**isSilent** | **Boolean** | | [optional] | |**markAsRead** | **Boolean** | | [optional] | |**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] | @@ -21,7 +21,7 @@ |**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | Specifies the type of the message. The value of FILE represents a file message. | | |**requireAuth** | **Boolean** | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | |**sound** | **String** | | [optional] | |**thumbnail1** | **String** | | [optional] | |**thumbnail2** | **String** | | [optional] | diff --git a/docs/SendTextMessageRequestBody.md b/docs/SendTextMessageRequestBody.md index 9047d89b..42653d15 100644 --- a/docs/SendTextMessageRequestBody.md +++ b/docs/SendTextMessageRequestBody.md @@ -23,7 +23,7 @@ |**pollId** | **Integer** | | [optional] | |**pushMessageTemplate** | [**SendTextMessageRequestBodyPushMessageTemplate**](SendTextMessageRequestBodyPushMessageTemplate.md) | | [optional] | |**sendPush** | **Boolean** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | |**sound** | **String** | | [optional] | |**volume** | **BigDecimal** | | [optional] | diff --git a/docs/SendbirdBasicUserInfo.md b/docs/SendbirdBasicUserInfo.md index af2eed53..c673bef6 100644 --- a/docs/SendbirdBasicUserInfo.md +++ b/docs/SendbirdBasicUserInfo.md @@ -1,6 +1,6 @@ -# SendBirdBasicUserInfo +# SendbirdBasicUserInfo ## Properties diff --git a/docs/SendbirdDisappearingMessage.md b/docs/SendbirdDisappearingMessage.md index 847a3abf..79b1a41b 100644 --- a/docs/SendbirdDisappearingMessage.md +++ b/docs/SendbirdDisappearingMessage.md @@ -1,6 +1,6 @@ -# SendBirdDisappearingMessage +# SendbirdDisappearingMessage ## Properties diff --git a/docs/SendbirdExtendedMessagePayload.md b/docs/SendbirdExtendedMessagePayload.md index 33f48e93..08ee80e5 100644 --- a/docs/SendbirdExtendedMessagePayload.md +++ b/docs/SendbirdExtendedMessagePayload.md @@ -1,6 +1,6 @@ -# SendBirdExtendedMessagePayload +# SendbirdExtendedMessagePayload Specifies the extended message payload which is used to send a message with a custom message type. diff --git a/docs/SendbirdGroupChannelDetail.md b/docs/SendbirdGroupChannelDetail.md index 5de037bb..1558f942 100644 --- a/docs/SendbirdGroupChannelDetail.md +++ b/docs/SendbirdGroupChannelDetail.md @@ -1,21 +1,21 @@ -# SendBirdGroupChannelDetail +# SendbirdGroupChannelDetail ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**channel** | [**SendBirdGroupChannelDetailChannel**](SendBirdGroupChannelDetailChannel.md) | | [optional] | +|**channel** | [**SendbirdGroupChannelDetailChannel**](SendbirdGroupChannelDetailChannel.md) | | [optional] | |**channelUrl** | **String** | | | |**coverUrl** | **String** | | [optional] | |**createdAt** | **Long** | | [optional] | -|**createdBy** | [**SendBirdBasicUserInfo**](SendBirdBasicUserInfo.md) | | [optional] | +|**createdBy** | [**SendbirdBasicUserInfo**](SendbirdBasicUserInfo.md) | | [optional] | |**customType** | **String** | | [optional] | |**data** | **String** | | [optional] | |**deliveryReceipt** | **Map<String, Long>** | | [optional] | -|**disappearingMessage** | [**SendBirdDisappearingMessage**](SendBirdDisappearingMessage.md) | | [optional] | +|**disappearingMessage** | [**SendbirdDisappearingMessage**](SendbirdDisappearingMessage.md) | | [optional] | |**freeze** | **Boolean** | | [optional] | |**hasAiBot** | **Boolean** | | [optional] | |**hasBot** | **Boolean** | | [optional] | @@ -29,15 +29,15 @@ |**isPublic** | **Boolean** | | [optional] | |**isSuper** | **Boolean** | | [optional] | |**joinedMemberCount** | **Integer** | | [optional] | -|**lastMessage** | [**SendBirdMessageResponse**](SendBirdMessageResponse.md) | | [optional] | +|**lastMessage** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] | |**maxLengthMessage** | **Integer** | | [optional] | |**memberCount** | **Integer** | | [optional] | -|**members** | [**List<SendBirdMember>**](SendBirdMember.md) | | [optional] | +|**members** | [**List<SendbirdMember>**](SendbirdMember.md) | | [optional] | |**messageSurvivalSeconds** | **Integer** | | [optional] | |**name** | **String** | | [optional] | -|**operators** | [**List<SendBirdUser>**](SendBirdUser.md) | | [optional] | +|**operators** | [**List<SendbirdUser>**](SendbirdUser.md) | | [optional] | |**readReceipt** | **Map<String, Long>** | | [optional] | -|**smsFallback** | [**SendBirdSmsFallback**](SendBirdSmsFallback.md) | | [optional] | +|**smsFallback** | [**SendbirdSmsFallback**](SendbirdSmsFallback.md) | | [optional] | |**unreadMentionCount** | **Integer** | | [optional] | |**unreadMessageCount** | **Integer** | | [optional] | diff --git a/docs/SendbirdGroupChannelDetailChannel.md b/docs/SendbirdGroupChannelDetailChannel.md index ce4d9cf9..6e18c240 100644 --- a/docs/SendbirdGroupChannelDetailChannel.md +++ b/docs/SendbirdGroupChannelDetailChannel.md @@ -1,6 +1,6 @@ -# SendBirdGroupChannelDetailChannel +# SendbirdGroupChannelDetailChannel ## Properties diff --git a/docs/SendbirdGroupChannelLastMessage.md b/docs/SendbirdGroupChannelLastMessage.md index fab73852..adf5fc09 100644 --- a/docs/SendbirdGroupChannelLastMessage.md +++ b/docs/SendbirdGroupChannelLastMessage.md @@ -1,26 +1,26 @@ -# SendBirdGroupChannelLastMessage +# SendbirdGroupChannelLastMessage ## oneOf schemas -* [SendBirdMessageResponse](SendBirdMessageResponse.md) +* [SendbirdMessageResponse](SendbirdMessageResponse.md) ## Example ```java // Import classes: -import org.openapitools.client.model.SendBirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdMessageResponse; +import org.openapitools.client.model.SendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendbirdMessageResponse; public class Example { public static void main(String[] args) { - SendBirdGroupChannelLastMessage exampleSendBirdGroupChannelLastMessage = new SendBirdGroupChannelLastMessage(); - - // create a new SendBirdMessageResponse - SendBirdMessageResponse exampleSendBirdMessageResponse = new SendBirdMessageResponse(); - // set SendBirdGroupChannelLastMessage to SendBirdMessageResponse - exampleSendBirdGroupChannelLastMessage.setActualInstance(exampleSendBirdMessageResponse); - // to get back the SendBirdMessageResponse set earlier - SendBirdMessageResponse testSendBirdMessageResponse = (SendBirdMessageResponse) exampleSendBirdGroupChannelLastMessage.getActualInstance(); + SendbirdGroupChannelLastMessage exampleSendbirdGroupChannelLastMessage = new SendbirdGroupChannelLastMessage(); + + // create a new SendbirdMessageResponse + SendbirdMessageResponse exampleSendbirdMessageResponse = new SendbirdMessageResponse(); + // set SendbirdGroupChannelLastMessage to SendbirdMessageResponse + exampleSendbirdGroupChannelLastMessage.setActualInstance(exampleSendbirdMessageResponse); + // to get back the SendbirdMessageResponse set earlier + SendbirdMessageResponse testSendbirdMessageResponse = (SendbirdMessageResponse) exampleSendbirdGroupChannelLastMessage.getActualInstance(); } } ``` diff --git a/docs/SendbirdMessageResponseExtendedMessagePayload.md b/docs/SendbirdMessageResponseExtendedMessagePayload.md index 3f110b07..43f3e7f4 100644 --- a/docs/SendbirdMessageResponseExtendedMessagePayload.md +++ b/docs/SendbirdMessageResponseExtendedMessagePayload.md @@ -1,26 +1,26 @@ -# SendBirdMessageResponseExtendedMessagePayload +# SendbirdMessageResponseExtendedMessagePayload ## oneOf schemas -* [SendBirdExtendedMessagePayload](SendBirdExtendedMessagePayload.md) +* [SendbirdExtendedMessagePayload](SendbirdExtendedMessagePayload.md) ## Example ```java // Import classes: -import org.openapitools.client.model.SendBirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendBirdExtendedMessagePayload; +import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendbirdExtendedMessagePayload; public class Example { public static void main(String[] args) { - SendBirdMessageResponseExtendedMessagePayload exampleSendBirdMessageResponseExtendedMessagePayload = new SendBirdMessageResponseExtendedMessagePayload(); - - // create a new SendBirdExtendedMessagePayload - SendBirdExtendedMessagePayload exampleSendBirdExtendedMessagePayload = new SendBirdExtendedMessagePayload(); - // set SendBirdMessageResponseExtendedMessagePayload to SendBirdExtendedMessagePayload - exampleSendBirdMessageResponseExtendedMessagePayload.setActualInstance(exampleSendBirdExtendedMessagePayload); - // to get back the SendBirdExtendedMessagePayload set earlier - SendBirdExtendedMessagePayload testSendBirdExtendedMessagePayload = (SendBirdExtendedMessagePayload) exampleSendBirdMessageResponseExtendedMessagePayload.getActualInstance(); + SendbirdMessageResponseExtendedMessagePayload exampleSendbirdMessageResponseExtendedMessagePayload = new SendbirdMessageResponseExtendedMessagePayload(); + + // create a new SendbirdExtendedMessagePayload + SendbirdExtendedMessagePayload exampleSendbirdExtendedMessagePayload = new SendbirdExtendedMessagePayload(); + // set SendbirdMessageResponseExtendedMessagePayload to SendbirdExtendedMessagePayload + exampleSendbirdMessageResponseExtendedMessagePayload.setActualInstance(exampleSendbirdExtendedMessagePayload); + // to get back the SendbirdExtendedMessagePayload set earlier + SendbirdExtendedMessagePayload testSendbirdExtendedMessagePayload = (SendbirdExtendedMessagePayload) exampleSendbirdMessageResponseExtendedMessagePayload.getActualInstance(); } } ``` diff --git a/docs/SendbirdMessageResponseMessageEvents.md b/docs/SendbirdMessageResponseMessageEvents.md index 9ba8f7b2..c90de8c1 100644 --- a/docs/SendbirdMessageResponseMessageEvents.md +++ b/docs/SendbirdMessageResponseMessageEvents.md @@ -1,6 +1,6 @@ -# SendBirdMessageResponseMessageEvents +# SendbirdMessageResponseMessageEvents ## Properties diff --git a/docs/SendbirdPushTriggerOption.md b/docs/SendbirdPushTriggerOption.md index 38c52e68..27943876 100644 --- a/docs/SendbirdPushTriggerOption.md +++ b/docs/SendbirdPushTriggerOption.md @@ -1,6 +1,6 @@ -# SendBirdPushTriggerOption +# SendbirdPushTriggerOption ## Enum diff --git a/docs/SendbirdSmsFallback.md b/docs/SendbirdSmsFallback.md index e78e05e1..7d1758e7 100644 --- a/docs/SendbirdSmsFallback.md +++ b/docs/SendbirdSmsFallback.md @@ -1,6 +1,6 @@ -# SendBirdSmsFallback +# SendbirdSmsFallback ## Properties diff --git a/docs/SendbirdSortedMetaarrayInner.md b/docs/SendbirdSortedMetaarrayInner.md index 5d4d925e..50d2116c 100644 --- a/docs/SendbirdSortedMetaarrayInner.md +++ b/docs/SendbirdSortedMetaarrayInner.md @@ -1,6 +1,6 @@ -# SendBirdSortedMetaarrayInner +# SendbirdSortedMetaarrayInner ## Properties diff --git a/docs/SendbirdThumbnail.md b/docs/SendbirdThumbnail.md index 411f0281..a0caf93d 100644 --- a/docs/SendbirdThumbnail.md +++ b/docs/SendbirdThumbnail.md @@ -1,6 +1,6 @@ -# SendBirdThumbnail +# SendbirdThumbnail ## Properties diff --git a/docs/UpdateExtraDataInAMessageRequest.md b/docs/UpdateExtraDataInAMessageRequest.md index 15727c61..6531c2bd 100644 --- a/docs/UpdateExtraDataInAMessageRequest.md +++ b/docs/UpdateExtraDataInAMessageRequest.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**mode** | **String** | | [optional] | -|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | |**upsert** | **Boolean** | | [optional] | diff --git a/docs/UpdateExtraDataInAMessageResponse.md b/docs/UpdateExtraDataInAMessageResponse.md index 7fd8d3bd..c767b0d8 100644 --- a/docs/UpdateExtraDataInAMessageResponse.md +++ b/docs/UpdateExtraDataInAMessageResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**sortedMetaarray** | [**List<SendBirdSortedMetaarrayInner>**](SendBirdSortedMetaarrayInner.md) | | [optional] | +|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] | diff --git a/docs/UpdatePushPreferencesForAChannelResponse.md b/docs/UpdatePushPreferencesForAChannelResponse.md index 3ad542ba..6886d065 100644 --- a/docs/UpdatePushPreferencesForAChannelResponse.md +++ b/docs/UpdatePushPreferencesForAChannelResponse.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**enable** | **Boolean** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | diff --git a/docs/UpdatePushPreferencesRequest.md b/docs/UpdatePushPreferencesRequest.md index 6c6afdec..e8877009 100644 --- a/docs/UpdatePushPreferencesRequest.md +++ b/docs/UpdatePushPreferencesRequest.md @@ -14,7 +14,7 @@ |**endMin** | **Integer** | | [optional] | |**pushBlockedBotIds** | **List<String>** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | |**snoozeEnabled** | **Boolean** | | [optional] | |**snoozeEndTs** | **Long** | | [optional] | |**snoozeStartTs** | **Long** | | [optional] | diff --git a/docs/UpdatePushPreferencesResponse.md b/docs/UpdatePushPreferencesResponse.md index ce5fc158..1f972cc6 100644 --- a/docs/UpdatePushPreferencesResponse.md +++ b/docs/UpdatePushPreferencesResponse.md @@ -14,7 +14,7 @@ |**endMin** | **Integer** | | [optional] | |**pushBlockedBotIds** | **List<String>** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | |**snoozeEnabled** | **Boolean** | | [optional] | |**snoozeEndTs** | **Long** | | [optional] | |**snoozeStartTs** | **Long** | | [optional] | diff --git a/docs/UserApi.md b/docs/UserApi.md index 78f849bf..33193832 100644 --- a/docs/UserApi.md +++ b/docs/UserApi.md @@ -202,7 +202,7 @@ No authorization required ## createAUser -> SendBirdUser createAUser().apiToken(apiToken).createAUserRequest(createAUserRequest).execute(); +> SendbirdUser createAUser().apiToken(apiToken).createAUserRequest(createAUserRequest).execute(); Create a user @@ -231,7 +231,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | CreateAUserRequest createAUserRequest = new CreateAUserRequest(); // CreateAUserRequest | try { - SendBirdUser result = api.createAUser() + SendbirdUser result = api.createAUser() .apiToken(apiToken) .createAUserRequest(createAUserRequest) .execute(); @@ -257,7 +257,7 @@ public class Example { ### Return type -[**SendBirdUser**](SendBirdUser.md) +[**SendbirdUser**](SendbirdUser.md) ### Authorization @@ -1350,7 +1350,7 @@ No authorization required ## updateAUser -> SendBirdUser updateAUser(userId).apiToken(apiToken).updateAUserRequest(updateAUserRequest).execute(); +> SendbirdUser updateAUser(userId).apiToken(apiToken).updateAUserRequest(updateAUserRequest).execute(); Update a user @@ -1385,7 +1385,7 @@ public class Example { String apiToken = "{{API_TOKEN}}"; // String | UpdateAUserRequest updateAUserRequest = new UpdateAUserRequest(); // UpdateAUserRequest | try { - SendBirdUser result = api.updateAUser(userId) + SendbirdUser result = api.updateAUser(userId) .apiToken(apiToken) .updateAUserRequest(updateAUserRequest) .execute(); @@ -1412,7 +1412,7 @@ public class Example { ### Return type -[**SendBirdUser**](SendBirdUser.md) +[**SendbirdUser**](SendbirdUser.md) ### Authorization @@ -1747,7 +1747,7 @@ No authorization required ## viewAUser -> SendBirdUser viewAUser(userId).includeUnreadCount(includeUnreadCount).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); +> SendbirdUser viewAUser(userId).includeUnreadCount(includeUnreadCount).customTypes(customTypes).superMode(superMode).apiToken(apiToken).execute(); View a user @@ -1783,7 +1783,7 @@ public class Example { String superMode = "all"; // String | Restricts the search scope to retrieve only Supergroup or non-Supergroup channels. Acceptable values are `all`, `super`, and `nonsuper`. This parameter should be specified in conjunction with `include_unread_count` above. (Default: `all`) String apiToken = "{{API_TOKEN}}"; // String | try { - SendBirdUser result = api.viewAUser(userId) + SendbirdUser result = api.viewAUser(userId) .includeUnreadCount(includeUnreadCount) .customTypes(customTypes) .superMode(superMode) @@ -1814,7 +1814,7 @@ public class Example { ### Return type -[**SendBirdUser**](SendBirdUser.md) +[**SendbirdUser**](SendbirdUser.md) ### Authorization diff --git a/docs/ViewPushPreferencesForAChannelResponse.md b/docs/ViewPushPreferencesForAChannelResponse.md index 24d9045d..fe85b8b8 100644 --- a/docs/ViewPushPreferencesForAChannelResponse.md +++ b/docs/ViewPushPreferencesForAChannelResponse.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**enable** | **Boolean** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | diff --git a/docs/ViewPushPreferencesResponse.md b/docs/ViewPushPreferencesResponse.md index fc220388..94fc9afa 100644 --- a/docs/ViewPushPreferencesResponse.md +++ b/docs/ViewPushPreferencesResponse.md @@ -14,7 +14,7 @@ |**endMin** | **Integer** | | [optional] | |**pushBlockedBotIds** | **List<String>** | | [optional] | |**pushSound** | **String** | | [optional] | -|**pushTriggerOption** | **SendBirdPushTriggerOption** | | [optional] | +|**pushTriggerOption** | **SendbirdPushTriggerOption** | | [optional] | |**snoozeEnabled** | **Boolean** | | [optional] | |**snoozeEndTs** | **Long** | | [optional] | |**snoozeStartTs** | **Long** | | [optional] | diff --git a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 763c3981..2fa125f6 100644 --- a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -24,7 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java b/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java index 1d427c54..a961a843 100644 --- a/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java +++ b/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java @@ -40,7 +40,7 @@ AcceptAnInvitationRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("acceptAnInvitation_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class AcceptAnInvitationRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java index a958146a..cb9e564d 100644 --- a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java +++ b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java @@ -37,7 +37,7 @@ AddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_HUAWEI_DEVICE_TOKEN }) @JsonTypeName("addARegistrationOrDeviceToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class AddARegistrationOrDeviceTokenRequest { public static final String JSON_PROPERTY_APNS_DEVICE_TOKEN = "apns_device_token"; private String apnsDeviceToken; diff --git a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java index 201b1f49..f62025b7 100644 --- a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendbirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,7 +38,7 @@ AddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("addARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class AddARegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private String token; @@ -47,7 +47,7 @@ public class AddARegistrationOrDeviceTokenResponse { private String type; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdBasicUserInfo user; + private SendbirdBasicUserInfo user; public AddARegistrationOrDeviceTokenResponse() { } @@ -104,7 +104,7 @@ public void setType(String type) { } - public AddARegistrationOrDeviceTokenResponse user(SendBirdBasicUserInfo user) { + public AddARegistrationOrDeviceTokenResponse user(SendbirdBasicUserInfo user) { this.user = user; return this; } @@ -118,14 +118,14 @@ public AddARegistrationOrDeviceTokenResponse user(SendBirdBasicUserInfo user) { @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getUser() { + public SendbirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdBasicUserInfo user) { + public void setUser(SendbirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java index d0112d82..85efe4c8 100644 --- a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSortedMetaarrayInner; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ AddExtraDataToAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("addExtraDataToAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class AddExtraDataToAMessageRequest { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = new ArrayList<>(); + private List sortedMetaarray = new ArrayList<>(); public AddExtraDataToAMessageRequest() { } - public AddExtraDataToAMessageRequest sortedMetaarray(List sortedMetaarray) { + public AddExtraDataToAMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public AddExtraDataToAMessageRequest addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { + public AddExtraDataToAMessageRequest addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { this.sortedMetaarray.add(sortedMetaarrayItem); return this; } @@ -65,14 +65,14 @@ public AddExtraDataToAMessageRequest addSortedMetaarrayItem(SendBirdSortedMetaar @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java index ca9597ce..d4d0eb50 100644 --- a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSortedMetaarrayInner; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ AddExtraDataToAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("addExtraDataToAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class AddExtraDataToAMessageResponse { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public AddExtraDataToAMessageResponse() { } - public AddExtraDataToAMessageResponse sortedMetaarray(List sortedMetaarray) { + public AddExtraDataToAMessageResponse sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public AddExtraDataToAMessageResponse addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { + public AddExtraDataToAMessageResponse addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -68,14 +68,14 @@ public AddExtraDataToAMessageResponse addSortedMetaarrayItem(SendBirdSortedMetaa @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/BlockAUserRequest.java b/src/main/java/org/openapitools/client/model/BlockAUserRequest.java index 5ee2d493..911b31fd 100644 --- a/src/main/java/org/openapitools/client/model/BlockAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/BlockAUserRequest.java @@ -38,7 +38,7 @@ BlockAUserRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("blockAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class BlockAUserRequest { public static final String JSON_PROPERTY_TARGET_ID = "target_id"; private String targetId; diff --git a/src/main/java/org/openapitools/client/model/BlockAUserResponse.java b/src/main/java/org/openapitools/client/model/BlockAUserResponse.java index ddbd8d7b..5d3755b1 100644 --- a/src/main/java/org/openapitools/client/model/BlockAUserResponse.java +++ b/src/main/java/org/openapitools/client/model/BlockAUserResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdUser; +import org.openapitools.client.model.SendbirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,10 +39,10 @@ BlockAUserResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("blockAUserResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class BlockAUserResponse { public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; + private List users = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -50,12 +50,12 @@ public class BlockAUserResponse { public BlockAUserResponse() { } - public BlockAUserResponse users(List users) { + public BlockAUserResponse users(List users) { this.users = users; return this; } - public BlockAUserResponse addUsersItem(SendBirdUser usersItem) { + public BlockAUserResponse addUsersItem(SendbirdUser usersItem) { if (this.users == null) { this.users = new ArrayList<>(); } @@ -72,14 +72,14 @@ public BlockAUserResponse addUsersItem(SendBirdUser usersItem) { @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java b/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java index 8aaeba1c..a7eeb456 100644 --- a/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java +++ b/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java @@ -36,7 +36,7 @@ CheckIfMemberResponse.JSON_PROPERTY_STATE }) @JsonTypeName("checkIfMemberResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class CheckIfMemberResponse { public static final String JSON_PROPERTY_IS_MEMBER = "is_member"; private Boolean isMember; diff --git a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java index 59e47596..d5516027 100644 --- a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java +++ b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java @@ -35,7 +35,7 @@ ChooseAPushNotificationContentTemplateRequest.JSON_PROPERTY_NAME }) @JsonTypeName("chooseAPushNotificationContentTemplate_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ChooseAPushNotificationContentTemplateRequest { /** * Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default) diff --git a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java index 28fcb1ec..096b129a 100644 --- a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java +++ b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java @@ -35,7 +35,7 @@ ChooseAPushNotificationContentTemplateResponse.JSON_PROPERTY_NAME }) @JsonTypeName("chooseAPushNotificationContentTemplateResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ChooseAPushNotificationContentTemplateResponse { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/CreateABotRequest.java b/src/main/java/org/openapitools/client/model/CreateABotRequest.java index 3e6666a6..d994b49b 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateABotRequest.java @@ -43,7 +43,7 @@ CreateABotRequest.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("createABot_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class CreateABotRequest { public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; private String botCallbackUrl; diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponse.java b/src/main/java/org/openapitools/client/model/CreateABotResponse.java index 493514df..2925f6bc 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateABotResponse.java @@ -44,7 +44,7 @@ CreateABotResponse.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("createABotResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class CreateABotResponse { public static final String JSON_PROPERTY_BOT = "bot"; private CreateABotResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java b/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java index 235dd4ec..f1dd64f5 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java +++ b/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java @@ -43,7 +43,7 @@ CreateABotResponseBot.JSON_PROPERTY_FEEDBACK }) @JsonTypeName("createABotResponse_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class CreateABotResponseBot { public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; private String aiAgentType; diff --git a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java index 46a8cfcb..60d4ae0e 100644 --- a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java @@ -36,7 +36,7 @@ CreateAChannelMetadataRequest.JSON_PROPERTY_METADATA }) @JsonTypeName("createAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class CreateAChannelMetadataRequest { public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; private Boolean includeTs; diff --git a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java index 0dcfafaa..d93faa55 100644 --- a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java @@ -36,7 +36,7 @@ CreateAChannelMetadataResponse.JSON_PROPERTY_METADATA }) @JsonTypeName("createAChannelMetadataResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class CreateAChannelMetadataResponse { public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; private Long includeTs; diff --git a/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java index a6997493..edcbbb11 100644 --- a/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java @@ -27,7 +27,7 @@ import java.io.File; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdUser; +import org.openapitools.client.model.SendbirdUser; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -61,7 +61,7 @@ CreateAGroupChannelRequest.JSON_PROPERTY_USERS }) @JsonTypeName("createAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class CreateAGroupChannelRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); @@ -118,7 +118,7 @@ public class CreateAGroupChannelRequest { private List userIds = null; public static final String JSON_PROPERTY_USERS = "users"; - private List users = new ArrayList<>(); + private List users = new ArrayList<>(); public CreateAGroupChannelRequest() { } @@ -623,12 +623,12 @@ public void setUserIds(List userIds) { } - public CreateAGroupChannelRequest users(List users) { + public CreateAGroupChannelRequest users(List users) { this.users = users; return this; } - public CreateAGroupChannelRequest addUsersItem(SendBirdUser usersItem) { + public CreateAGroupChannelRequest addUsersItem(SendbirdUser usersItem) { this.users.add(usersItem); return this; } @@ -642,14 +642,14 @@ public CreateAGroupChannelRequest addUsersItem(SendBirdUser usersItem) { @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/CreateAUserRequest.java b/src/main/java/org/openapitools/client/model/CreateAUserRequest.java index 672ff423..c20034e0 100644 --- a/src/main/java/org/openapitools/client/model/CreateAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAUserRequest.java @@ -48,7 +48,7 @@ CreateAUserRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("createAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class CreateAUserRequest { public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; private JsonNullable> discoveryKeys = JsonNullable.>undefined(); diff --git a/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java index 25ebc4bb..7e496330 100644 --- a/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java @@ -46,7 +46,7 @@ CreateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("createAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class CreateAnOpenChannelRequest { public static final String JSON_PROPERTY_IS_DYNAMIC_PARTITIONED = "is_dynamic_partitioned"; private Boolean isDynamicPartitioned; diff --git a/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java b/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java index ce4b24c0..c55c959a 100644 --- a/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java @@ -35,7 +35,7 @@ CreateUserTokenRequest.JSON_PROPERTY_EXPIRES_AT }) @JsonTypeName("createUserToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class CreateUserTokenRequest { public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; private Long expiresAt; diff --git a/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java b/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java index db1d35bc..567f45ff 100644 --- a/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java @@ -36,7 +36,7 @@ CreateUserTokenResponse.JSON_PROPERTY_TOKEN }) @JsonTypeName("createUserTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class CreateUserTokenResponse { public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; private Long expiresAt; diff --git a/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java index e5013558..2c274099 100644 --- a/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java @@ -35,7 +35,7 @@ FreezeAGroupChannelRequest.JSON_PROPERTY_FREEZE }) @JsonTypeName("freezeAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class FreezeAGroupChannelRequest { public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; diff --git a/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java index 907b9d53..0f907d47 100644 --- a/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java @@ -35,7 +35,7 @@ FreezeAnOpenChannelRequest.JSON_PROPERTY_FREEZE }) @JsonTypeName("freezeAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class FreezeAnOpenChannelRequest { public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; diff --git a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java index f85d120a..801a48e8 100644 --- a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java @@ -29,14 +29,14 @@ import java.util.List; import java.util.Map; import org.openapitools.client.model.GetAGroupChannelResponseAllOf; -import org.openapitools.client.model.SendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdDisappearingMessage; -import org.openapitools.client.model.SendBirdGroupChannel; -import org.openapitools.client.model.SendBirdGroupChannelDetailChannel; -import org.openapitools.client.model.SendBirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdMember; -import org.openapitools.client.model.SendBirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSmsFallback; +import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendbirdDisappearingMessage; +import org.openapitools.client.model.SendbirdGroupChannel; +import org.openapitools.client.model.SendbirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendbirdMember; +import org.openapitools.client.model.SendbirdPushTriggerOption; +import org.openapitools.client.model.SendbirdSmsFallback; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -97,10 +97,10 @@ GetAGroupChannelResponse.JSON_PROPERTY_USER_LAST_READ }) @JsonTypeName("getAGroupChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class GetAGroupChannelResponse { public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendBirdGroupChannelDetailChannel channel; + private SendbirdGroupChannelDetailChannel channel; public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -154,7 +154,7 @@ public static CountPreferenceEnum fromValue(String value) { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdBasicUserInfo createdBy; + private SendbirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -166,7 +166,7 @@ public static CountPreferenceEnum fromValue(String value) { private Object deliveryReceipt; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdDisappearingMessage disappearingMessage; + private SendbirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -224,7 +224,7 @@ public static HiddenStateEnum fromValue(String value) { private Long invitedAt; public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendBirdBasicUserInfo inviter; + private SendbirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); @@ -266,7 +266,7 @@ public static HiddenStateEnum fromValue(String value) { private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdGroupChannelLastMessage lastMessage; + private SendbirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -315,7 +315,7 @@ public static MemberStateEnum fromValue(String value) { private MemberStateEnum memberState; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -367,13 +367,13 @@ public static MyRoleEnum fromValue(String value) { private String name; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdPushTriggerOption pushTriggerOption; + private SendbirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSmsFallback smsFallback; + private SendbirdSmsFallback smsFallback; public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; @@ -390,7 +390,7 @@ public static MyRoleEnum fromValue(String value) { public GetAGroupChannelResponse() { } - public GetAGroupChannelResponse channel(SendBirdGroupChannelDetailChannel channel) { + public GetAGroupChannelResponse channel(SendbirdGroupChannelDetailChannel channel) { this.channel = channel; return this; } @@ -404,14 +404,14 @@ public GetAGroupChannelResponse channel(SendBirdGroupChannelDetailChannel channe @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdGroupChannelDetailChannel getChannel() { + public SendbirdGroupChannelDetailChannel getChannel() { return channel; } @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendBirdGroupChannelDetailChannel channel) { + public void setChannel(SendbirdGroupChannelDetailChannel channel) { this.channel = channel; } @@ -520,7 +520,7 @@ public void setCreatedAt(Long createdAt) { } - public GetAGroupChannelResponse createdBy(SendBirdBasicUserInfo createdBy) { + public GetAGroupChannelResponse createdBy(SendbirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -534,14 +534,14 @@ public GetAGroupChannelResponse createdBy(SendBirdBasicUserInfo createdBy) { @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getCreatedBy() { + public SendbirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdBasicUserInfo createdBy) { + public void setCreatedBy(SendbirdBasicUserInfo createdBy) { this.createdBy = createdBy; } @@ -624,7 +624,7 @@ public void setDeliveryReceipt(Object deliveryReceipt) { } - public GetAGroupChannelResponse disappearingMessage(SendBirdDisappearingMessage disappearingMessage) { + public GetAGroupChannelResponse disappearingMessage(SendbirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -638,14 +638,14 @@ public GetAGroupChannelResponse disappearingMessage(SendBirdDisappearingMessage @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdDisappearingMessage getDisappearingMessage() { + public SendbirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendbirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } @@ -806,7 +806,7 @@ public void setInvitedAt(Long invitedAt) { } - public GetAGroupChannelResponse inviter(SendBirdBasicUserInfo inviter) { + public GetAGroupChannelResponse inviter(SendbirdBasicUserInfo inviter) { this.inviter = inviter; return this; } @@ -820,14 +820,14 @@ public GetAGroupChannelResponse inviter(SendBirdBasicUserInfo inviter) { @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getInviter() { + public SendbirdBasicUserInfo getInviter() { return inviter; } @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendBirdBasicUserInfo inviter) { + public void setInviter(SendbirdBasicUserInfo inviter) { this.inviter = inviter; } @@ -1186,7 +1186,7 @@ public void setJoinedTs(Long joinedTs) { } - public GetAGroupChannelResponse lastMessage(SendBirdGroupChannelLastMessage lastMessage) { + public GetAGroupChannelResponse lastMessage(SendbirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; return this; } @@ -1200,14 +1200,14 @@ public GetAGroupChannelResponse lastMessage(SendBirdGroupChannelLastMessage last @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdGroupChannelLastMessage getLastMessage() { + public SendbirdGroupChannelLastMessage getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdGroupChannelLastMessage lastMessage) { + public void setLastMessage(SendbirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } @@ -1290,12 +1290,12 @@ public void setMemberState(MemberStateEnum memberState) { } - public GetAGroupChannelResponse members(List members) { + public GetAGroupChannelResponse members(List members) { this.members = members; return this; } - public GetAGroupChannelResponse addMembersItem(SendBirdMember membersItem) { + public GetAGroupChannelResponse addMembersItem(SendbirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -1312,14 +1312,14 @@ public GetAGroupChannelResponse addMembersItem(SendBirdMember membersItem) { @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } @@ -1436,7 +1436,7 @@ public void setName(String name) { } - public GetAGroupChannelResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public GetAGroupChannelResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -1450,14 +1450,14 @@ public GetAGroupChannelResponse pushTriggerOption(SendBirdPushTriggerOption push @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdPushTriggerOption getPushTriggerOption() { + public SendbirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } @@ -1496,7 +1496,7 @@ public void setReadReceipt(Map readReceipt) { } - public GetAGroupChannelResponse smsFallback(SendBirdSmsFallback smsFallback) { + public GetAGroupChannelResponse smsFallback(SendbirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1510,14 +1510,14 @@ public GetAGroupChannelResponse smsFallback(SendBirdSmsFallback smsFallback) { @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSmsFallback getSmsFallback() { + public SendbirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSmsFallback smsFallback) { + public void setSmsFallback(SendbirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } diff --git a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java index f9b328ab..a2b33955 100644 --- a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java +++ b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendbirdGroupChannelDetailChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -36,15 +36,15 @@ GetAGroupChannelResponseAllOf.JSON_PROPERTY_CHANNEL }) @JsonTypeName("getAGroupChannelResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class GetAGroupChannelResponseAllOf { public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendBirdGroupChannelDetailChannel channel; + private SendbirdGroupChannelDetailChannel channel; public GetAGroupChannelResponseAllOf() { } - public GetAGroupChannelResponseAllOf channel(SendBirdGroupChannelDetailChannel channel) { + public GetAGroupChannelResponseAllOf channel(SendbirdGroupChannelDetailChannel channel) { this.channel = channel; return this; } @@ -58,14 +58,14 @@ public GetAGroupChannelResponseAllOf channel(SendBirdGroupChannelDetailChannel c @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdGroupChannelDetailChannel getChannel() { + public SendbirdGroupChannelDetailChannel getChannel() { return channel; } @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendBirdGroupChannelDetailChannel channel) { + public void setChannel(SendbirdGroupChannelDetailChannel channel) { this.channel = channel; } diff --git a/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java index 32b06659..398e5eff 100644 --- a/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java +++ b/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java @@ -35,7 +35,7 @@ GetChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("getChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class GetChannelInvitationPreferenceResponse { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java b/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java index 4facb776..addce546 100644 --- a/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java @@ -35,7 +35,7 @@ GetTotalNumberOfMessagesInAChannelResponse.JSON_PROPERTY_TOTAL }) @JsonTypeName("getTotalNumberOfMessagesInAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class GetTotalNumberOfMessagesInAChannelResponse { public static final String JSON_PROPERTY_TOTAL = "total"; private Integer total; diff --git a/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java b/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java index 6d974337..7a770a24 100644 --- a/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java +++ b/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdMember; +import org.openapitools.client.model.SendbirdMember; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,10 +39,10 @@ GroupChannelListMembersResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("groupChannelListMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class GroupChannelListMembersResponse { public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = new ArrayList<>(); + private List members = new ArrayList<>(); public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -50,12 +50,12 @@ public class GroupChannelListMembersResponse { public GroupChannelListMembersResponse() { } - public GroupChannelListMembersResponse members(List members) { + public GroupChannelListMembersResponse members(List members) { this.members = members; return this; } - public GroupChannelListMembersResponse addMembersItem(SendBirdMember membersItem) { + public GroupChannelListMembersResponse addMembersItem(SendbirdMember membersItem) { this.members.add(membersItem); return this; } @@ -69,14 +69,14 @@ public GroupChannelListMembersResponse addMembersItem(SendBirdMember membersItem @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } diff --git a/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java b/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java index 2669cc31..1edbbb94 100644 --- a/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdGroupChannel; +import org.openapitools.client.model.SendbirdGroupChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,10 +40,10 @@ GroupChatListChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("groupChatListChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class GroupChatListChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; + private List channels = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -54,12 +54,12 @@ public class GroupChatListChannelsResponse { public GroupChatListChannelsResponse() { } - public GroupChatListChannelsResponse channels(List channels) { + public GroupChatListChannelsResponse channels(List channels) { this.channels = channels; return this; } - public GroupChatListChannelsResponse addChannelsItem(SendBirdGroupChannel channelsItem) { + public GroupChatListChannelsResponse addChannelsItem(SendbirdGroupChannel channelsItem) { if (this.channels == null) { this.channels = new ArrayList<>(); } @@ -76,14 +76,14 @@ public GroupChatListChannelsResponse addChannelsItem(SendBirdGroupChannel channe @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getChannels() { + public List getChannels() { return channels; } @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { + public void setChannels(List channels) { this.channels = channels; } diff --git a/src/main/java/org/openapitools/client/model/HideAChannelRequest.java b/src/main/java/org/openapitools/client/model/HideAChannelRequest.java index 09da160d..98bb6cc2 100644 --- a/src/main/java/org/openapitools/client/model/HideAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/HideAChannelRequest.java @@ -38,7 +38,7 @@ HideAChannelRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("hideAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class HideAChannelRequest { public static final String JSON_PROPERTY_ALLOW_AUTO_UNHIDE = "allow_auto_unhide"; private Boolean allowAutoUnhide; diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java b/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java index 504cb91f..8b984488 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java @@ -40,7 +40,7 @@ InviteAsMembersRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("inviteAsMembers_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class InviteAsMembersRequest { public static final String JSON_PROPERTY_HIDDEN_STATUS = "hidden_status"; private Object hiddenStatus; diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java b/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java index 3d2d4633..e74623fe 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java @@ -29,14 +29,14 @@ import java.util.List; import java.util.Map; import org.openapitools.client.model.InviteAsMembersResponseAllOf; -import org.openapitools.client.model.SendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdDisappearingMessage; -import org.openapitools.client.model.SendBirdGroupChannel; -import org.openapitools.client.model.SendBirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdMember; -import org.openapitools.client.model.SendBirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSmsFallback; -import org.openapitools.client.model.SendBirdUser; +import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendbirdDisappearingMessage; +import org.openapitools.client.model.SendbirdGroupChannel; +import org.openapitools.client.model.SendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendbirdMember; +import org.openapitools.client.model.SendbirdPushTriggerOption; +import org.openapitools.client.model.SendbirdSmsFallback; +import org.openapitools.client.model.SendbirdUser; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -97,7 +97,7 @@ InviteAsMembersResponse.JSON_PROPERTY_OPERATORS }) @JsonTypeName("inviteAsMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class InviteAsMembersResponse { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -151,7 +151,7 @@ public static CountPreferenceEnum fromValue(String value) { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdBasicUserInfo createdBy; + private SendbirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -163,7 +163,7 @@ public static CountPreferenceEnum fromValue(String value) { private Object deliveryReceipt; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdDisappearingMessage disappearingMessage; + private SendbirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -221,7 +221,7 @@ public static HiddenStateEnum fromValue(String value) { private Long invitedAt; public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendBirdBasicUserInfo inviter; + private SendbirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); @@ -263,7 +263,7 @@ public static HiddenStateEnum fromValue(String value) { private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdGroupChannelLastMessage lastMessage; + private SendbirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -312,7 +312,7 @@ public static MemberStateEnum fromValue(String value) { private MemberStateEnum memberState; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -364,13 +364,13 @@ public static MyRoleEnum fromValue(String value) { private String name; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdPushTriggerOption pushTriggerOption; + private SendbirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSmsFallback smsFallback; + private SendbirdSmsFallback smsFallback; public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; @@ -385,7 +385,7 @@ public static MyRoleEnum fromValue(String value) { private Long userLastRead; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public InviteAsMembersResponse() { } @@ -494,7 +494,7 @@ public void setCreatedAt(Long createdAt) { } - public InviteAsMembersResponse createdBy(SendBirdBasicUserInfo createdBy) { + public InviteAsMembersResponse createdBy(SendbirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -508,14 +508,14 @@ public InviteAsMembersResponse createdBy(SendBirdBasicUserInfo createdBy) { @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getCreatedBy() { + public SendbirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdBasicUserInfo createdBy) { + public void setCreatedBy(SendbirdBasicUserInfo createdBy) { this.createdBy = createdBy; } @@ -598,7 +598,7 @@ public void setDeliveryReceipt(Object deliveryReceipt) { } - public InviteAsMembersResponse disappearingMessage(SendBirdDisappearingMessage disappearingMessage) { + public InviteAsMembersResponse disappearingMessage(SendbirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -612,14 +612,14 @@ public InviteAsMembersResponse disappearingMessage(SendBirdDisappearingMessage d @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdDisappearingMessage getDisappearingMessage() { + public SendbirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendbirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } @@ -780,7 +780,7 @@ public void setInvitedAt(Long invitedAt) { } - public InviteAsMembersResponse inviter(SendBirdBasicUserInfo inviter) { + public InviteAsMembersResponse inviter(SendbirdBasicUserInfo inviter) { this.inviter = inviter; return this; } @@ -794,14 +794,14 @@ public InviteAsMembersResponse inviter(SendBirdBasicUserInfo inviter) { @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getInviter() { + public SendbirdBasicUserInfo getInviter() { return inviter; } @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendBirdBasicUserInfo inviter) { + public void setInviter(SendbirdBasicUserInfo inviter) { this.inviter = inviter; } @@ -1160,7 +1160,7 @@ public void setJoinedTs(Long joinedTs) { } - public InviteAsMembersResponse lastMessage(SendBirdGroupChannelLastMessage lastMessage) { + public InviteAsMembersResponse lastMessage(SendbirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; return this; } @@ -1174,14 +1174,14 @@ public InviteAsMembersResponse lastMessage(SendBirdGroupChannelLastMessage lastM @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdGroupChannelLastMessage getLastMessage() { + public SendbirdGroupChannelLastMessage getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdGroupChannelLastMessage lastMessage) { + public void setLastMessage(SendbirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } @@ -1264,12 +1264,12 @@ public void setMemberState(MemberStateEnum memberState) { } - public InviteAsMembersResponse members(List members) { + public InviteAsMembersResponse members(List members) { this.members = members; return this; } - public InviteAsMembersResponse addMembersItem(SendBirdMember membersItem) { + public InviteAsMembersResponse addMembersItem(SendbirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -1286,14 +1286,14 @@ public InviteAsMembersResponse addMembersItem(SendBirdMember membersItem) { @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } @@ -1410,7 +1410,7 @@ public void setName(String name) { } - public InviteAsMembersResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public InviteAsMembersResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -1424,14 +1424,14 @@ public InviteAsMembersResponse pushTriggerOption(SendBirdPushTriggerOption pushT @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdPushTriggerOption getPushTriggerOption() { + public SendbirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } @@ -1470,7 +1470,7 @@ public void setReadReceipt(Map readReceipt) { } - public InviteAsMembersResponse smsFallback(SendBirdSmsFallback smsFallback) { + public InviteAsMembersResponse smsFallback(SendbirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1484,14 +1484,14 @@ public InviteAsMembersResponse smsFallback(SendBirdSmsFallback smsFallback) { @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSmsFallback getSmsFallback() { + public SendbirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSmsFallback smsFallback) { + public void setSmsFallback(SendbirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } @@ -1600,12 +1600,12 @@ public void setUserLastRead(Long userLastRead) { } - public InviteAsMembersResponse operators(List operators) { + public InviteAsMembersResponse operators(List operators) { this.operators = operators; return this; } - public InviteAsMembersResponse addOperatorsItem(SendBirdUser operatorsItem) { + public InviteAsMembersResponse addOperatorsItem(SendbirdUser operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -1622,14 +1622,14 @@ public InviteAsMembersResponse addOperatorsItem(SendBirdUser operatorsItem) { @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java b/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java index 90a34432..6999fd5c 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdUser; +import org.openapitools.client.model.SendbirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ InviteAsMembersResponseAllOf.JSON_PROPERTY_OPERATORS }) @JsonTypeName("inviteAsMembersResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class InviteAsMembersResponseAllOf { public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public InviteAsMembersResponseAllOf() { } - public InviteAsMembersResponseAllOf operators(List operators) { + public InviteAsMembersResponseAllOf operators(List operators) { this.operators = operators; return this; } - public InviteAsMembersResponseAllOf addOperatorsItem(SendBirdUser operatorsItem) { + public InviteAsMembersResponseAllOf addOperatorsItem(SendbirdUser operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -68,14 +68,14 @@ public InviteAsMembersResponseAllOf addOperatorsItem(SendBirdUser operatorsItem) @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } diff --git a/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java b/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java index 45ac04c3..6ac9b1d5 100644 --- a/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java @@ -40,7 +40,7 @@ JoinAChannelRequest.JSON_PROPERTY_ACCESS_CODE }) @JsonTypeName("joinAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class JoinAChannelRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java b/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java index 09fe7763..78af7e77 100644 --- a/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java +++ b/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java @@ -37,7 +37,7 @@ JoinChannelsRequest.JSON_PROPERTY_CHANNEL_URLS }) @JsonTypeName("joinChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class JoinChannelsRequest { public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; private List channelUrls = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java b/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java index dcbef54c..a0f82d68 100644 --- a/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java @@ -40,7 +40,7 @@ LeaveAChannelRequest.JSON_PROPERTY_REASON }) @JsonTypeName("leaveAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class LeaveAChannelRequest { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java b/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java index 1221bca2..32d75cd3 100644 --- a/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java +++ b/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java @@ -35,7 +35,7 @@ LeaveMyGroupChannelsRequest.JSON_PROPERTY_CUSTOM_TYPE }) @JsonTypeName("leaveMyGroupChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class LeaveMyGroupChannelsRequest { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; diff --git a/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java b/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java index df057167..fdecf94b 100644 --- a/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdUser; +import org.openapitools.client.model.SendbirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,10 +39,10 @@ ListBlockedUsersResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("listBlockedUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListBlockedUsersResponse { public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; + private List users = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -50,12 +50,12 @@ public class ListBlockedUsersResponse { public ListBlockedUsersResponse() { } - public ListBlockedUsersResponse users(List users) { + public ListBlockedUsersResponse users(List users) { this.users = users; return this; } - public ListBlockedUsersResponse addUsersItem(SendBirdUser usersItem) { + public ListBlockedUsersResponse addUsersItem(SendbirdUser usersItem) { if (this.users == null) { this.users = new ArrayList<>(); } @@ -72,14 +72,14 @@ public ListBlockedUsersResponse addUsersItem(SendBirdUser usersItem) { @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponse.java b/src/main/java/org/openapitools/client/model/ListBotsResponse.java index e45a7230..445fa268 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponse.java @@ -39,7 +39,7 @@ ListBotsResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("listBotsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListBotsResponse { public static final String JSON_PROPERTY_BOTS = "bots"; private List bots = null; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java index 36ccb932..0b1de7e5 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java @@ -50,7 +50,7 @@ ListBotsResponseBotsInner.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("listBotsResponse_bots_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListBotsResponseBotsInner { public static final String JSON_PROPERTY_BOT = "bot"; private ListBotsResponseBotsInnerBot bot; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java index 13b756b9..9b1920a9 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java @@ -42,7 +42,7 @@ ListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_USERID }) @JsonTypeName("listBotsResponse_bots_inner_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBot { public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; private String aiAgentType; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java index 297d28a8..f28d6de9 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java @@ -43,7 +43,7 @@ ListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_URL }) @JsonTypeName("listBotsResponse_bots_inner_bot_style") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBotStyle { public static final String JSON_PROPERTY_AUTO_OPEN = "auto_open"; private Boolean autoOpen; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java index 5178b62a..8a0df60d 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerBotStyleColor.JSON_PROPERTY_THEME }) @JsonTypeName("listBotsResponse_bots_inner_bot_style_color") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBotStyleColor { public static final String JSON_PROPERTY_ACCENT_COLOR = "accent_color"; private String accentColor; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java index 6526dc3a..c5d6c675 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerFirstMessagesInner.JSON_PROPERTY_MESSAGE }) @JsonTypeName("listBotsResponse_bots_inner_first_messages_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerFirstMessagesInner { public static final String JSON_PROPERTY_DATA = "data"; private ListBotsResponseBotsInnerFirstMessagesInnerData data; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java index e4dad670..0657fc18 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerFirstMessagesInnerData.JSON_PROPERTY_SUGGESTED_REPLIES }) @JsonTypeName("listBotsResponse_bots_inner_first_messages_inner_data") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerFirstMessagesInnerData { public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; private List suggestedReplies = null; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java index 7c9fc582..7823ddd0 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java @@ -40,7 +40,7 @@ ListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_PII_MASKING }) @JsonTypeName("listBotsResponse_bots_inner_safeguard") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerSafeguard { public static final String JSON_PROPERTY_BANNED_PHRASES = "banned_phrases"; private List bannedPhrases = null; diff --git a/src/main/java/org/openapitools/client/model/ListMessagesResponse.java b/src/main/java/org/openapitools/client/model/ListMessagesResponse.java index 614b7521..bb7d965d 100644 --- a/src/main/java/org/openapitools/client/model/ListMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ListMessagesResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdMessageResponse; +import org.openapitools.client.model.SendbirdMessageResponse; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ ListMessagesResponse.JSON_PROPERTY_MESSAGES }) @JsonTypeName("listMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListMessagesResponse { public static final String JSON_PROPERTY_MESSAGES = "messages"; - private List messages = null; + private List messages = null; public ListMessagesResponse() { } - public ListMessagesResponse messages(List messages) { + public ListMessagesResponse messages(List messages) { this.messages = messages; return this; } - public ListMessagesResponse addMessagesItem(SendBirdMessageResponse messagesItem) { + public ListMessagesResponse addMessagesItem(SendbirdMessageResponse messagesItem) { if (this.messages == null) { this.messages = new ArrayList<>(); } @@ -68,14 +68,14 @@ public ListMessagesResponse addMessagesItem(SendBirdMessageResponse messagesItem @JsonProperty(JSON_PROPERTY_MESSAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMessages() { + public List getMessages() { return messages; } @JsonProperty(JSON_PROPERTY_MESSAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessages(List messages) { + public void setMessages(List messages) { this.messages = messages; } diff --git a/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java b/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java index 0d982d35..81063425 100644 --- a/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdGroupChannel; +import org.openapitools.client.model.SendbirdGroupChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,10 +40,10 @@ ListMyGroupChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("listMyGroupChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListMyGroupChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; + private List channels = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -54,12 +54,12 @@ public class ListMyGroupChannelsResponse { public ListMyGroupChannelsResponse() { } - public ListMyGroupChannelsResponse channels(List channels) { + public ListMyGroupChannelsResponse channels(List channels) { this.channels = channels; return this; } - public ListMyGroupChannelsResponse addChannelsItem(SendBirdGroupChannel channelsItem) { + public ListMyGroupChannelsResponse addChannelsItem(SendbirdGroupChannel channelsItem) { if (this.channels == null) { this.channels = new ArrayList<>(); } @@ -76,14 +76,14 @@ public ListMyGroupChannelsResponse addChannelsItem(SendBirdGroupChannel channels @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getChannels() { + public List getChannels() { return channels; } @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { + public void setChannels(List channels) { this.channels = channels; } diff --git a/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java b/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java index ff06c1be..cea3eb6d 100644 --- a/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdOpenChannel; +import org.openapitools.client.model.SendbirdOpenChannel; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,10 +40,10 @@ ListOpenChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("listOpenChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListOpenChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; + private List channels = null; public static final String JSON_PROPERTY_NEXT = "next"; private String next; @@ -54,12 +54,12 @@ public class ListOpenChannelsResponse { public ListOpenChannelsResponse() { } - public ListOpenChannelsResponse channels(List channels) { + public ListOpenChannelsResponse channels(List channels) { this.channels = channels; return this; } - public ListOpenChannelsResponse addChannelsItem(SendBirdOpenChannel channelsItem) { + public ListOpenChannelsResponse addChannelsItem(SendbirdOpenChannel channelsItem) { if (this.channels == null) { this.channels = new ArrayList<>(); } @@ -76,14 +76,14 @@ public ListOpenChannelsResponse addChannelsItem(SendBirdOpenChannel channelsItem @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getChannels() { + public List getChannels() { return channels; } @JsonProperty(JSON_PROPERTY_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { + public void setChannels(List channels) { this.channels = channels; } diff --git a/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java b/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java index 1f233d94..5a7ac51f 100644 --- a/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendbirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,13 +39,13 @@ ListOperatorsResponse.JSON_PROPERTY_OPERATORS }) @JsonTypeName("listOperatorsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListOperatorsResponse { public static final String JSON_PROPERTY_NEXT = "next"; private String next; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public ListOperatorsResponse() { } @@ -76,12 +76,12 @@ public void setNext(String next) { } - public ListOperatorsResponse operators(List operators) { + public ListOperatorsResponse operators(List operators) { this.operators = operators; return this; } - public ListOperatorsResponse addOperatorsItem(SendBirdBasicUserInfo operatorsItem) { + public ListOperatorsResponse addOperatorsItem(SendbirdBasicUserInfo operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -98,14 +98,14 @@ public ListOperatorsResponse addOperatorsItem(SendBirdBasicUserInfo operatorsIte @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } diff --git a/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java b/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java index 6ded4a80..7d4ccf45 100644 --- a/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java +++ b/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendbirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -41,7 +41,7 @@ ListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_USER }) @JsonTypeName("listRegistrationOrDeviceTokensResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListRegistrationOrDeviceTokensResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private List token = null; @@ -53,7 +53,7 @@ public class ListRegistrationOrDeviceTokensResponse { private String type; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdBasicUserInfo user; + private SendbirdBasicUserInfo user; public ListRegistrationOrDeviceTokensResponse() { } @@ -152,7 +152,7 @@ public void setType(String type) { } - public ListRegistrationOrDeviceTokensResponse user(SendBirdBasicUserInfo user) { + public ListRegistrationOrDeviceTokensResponse user(SendbirdBasicUserInfo user) { this.user = user; return this; } @@ -166,14 +166,14 @@ public ListRegistrationOrDeviceTokensResponse user(SendBirdBasicUserInfo user) { @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getUser() { + public SendbirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdBasicUserInfo user) { + public void setUser(SendbirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/ListUsersResponse.java b/src/main/java/org/openapitools/client/model/ListUsersResponse.java index 54bccf84..b6d3fb53 100644 --- a/src/main/java/org/openapitools/client/model/ListUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ListUsersResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdUser; +import org.openapitools.client.model.SendbirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,13 +39,13 @@ ListUsersResponse.JSON_PROPERTY_USERS }) @JsonTypeName("listUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ListUsersResponse { public static final String JSON_PROPERTY_NEXT = "next"; private String next; public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; + private List users = null; public ListUsersResponse() { } @@ -76,12 +76,12 @@ public void setNext(String next) { } - public ListUsersResponse users(List users) { + public ListUsersResponse users(List users) { this.users = users; return this; } - public ListUsersResponse addUsersItem(SendBirdUser usersItem) { + public ListUsersResponse addUsersItem(SendbirdUser usersItem) { if (this.users == null) { this.users = new ArrayList<>(); } @@ -98,14 +98,14 @@ public ListUsersResponse addUsersItem(SendBirdUser usersItem) { @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUsers() { + public List getUsers() { return users; } @JsonProperty(JSON_PROPERTY_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { + public void setUsers(List users) { this.users = users; } diff --git a/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java index 2cd180e8..69233cbf 100644 --- a/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java +++ b/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java @@ -37,7 +37,7 @@ MarkAllMessagesAsReadRequest.JSON_PROPERTY_CHANNEL_URLS }) @JsonTypeName("markAllMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class MarkAllMessagesAsReadRequest { public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; private List channelUrls = null; diff --git a/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java index f005711f..46e2f3b1 100644 --- a/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java +++ b/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java @@ -35,7 +35,7 @@ MarkChannelMessagesAsReadRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("markChannelMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class MarkChannelMessagesAsReadRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java index 99555ad2..b85e74d7 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java @@ -44,7 +44,7 @@ MigrateMessagesAdminMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesAdminMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class MigrateMessagesAdminMessageRequest { /** * Gets or Sets messageType diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java index 5066dc7a..60e91254 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java @@ -50,7 +50,7 @@ MigrateMessagesFileMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesFileMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class MigrateMessagesFileMessageRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java index 7d04fe1b..38674275 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java @@ -47,7 +47,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") @JsonDeserialize(using = MigrateMessagesFileMessageRequestThumbnailsInner.MigrateMessagesFileMessageRequestThumbnailsInnerDeserializer.class) @JsonSerialize(using = MigrateMessagesFileMessageRequestThumbnailsInner.MigrateMessagesFileMessageRequestThumbnailsInnerSerializer.class) public class MigrateMessagesFileMessageRequestThumbnailsInner extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java index 614a8c8f..bd91bde9 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java @@ -39,7 +39,7 @@ MigrateMessagesRequest.JSON_PROPERTY_UPDATE_READ_TS, MigrateMessagesRequest.JSON_PROPERTY_REWIND_READ_TS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class MigrateMessagesRequest { public static final String JSON_PROPERTY_MESSAGES = "messages"; private List messages = null; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java b/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java index 12de3fa1..cbbdb33d 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java @@ -60,7 +60,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") @JsonDeserialize(using = MigrateMessagesRequestMessagesInner.MigrateMessagesRequestMessagesInnerDeserializer.class) @JsonSerialize(using = MigrateMessagesRequestMessagesInner.MigrateMessagesRequestMessagesInnerSerializer.class) public class MigrateMessagesRequestMessagesInner extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java index 89078a86..58b25a9f 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java @@ -44,7 +44,7 @@ MigrateMessagesTextMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesTextMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class MigrateMessagesTextMessageRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java index 940a4c5b..843ed68d 100644 --- a/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java @@ -37,7 +37,7 @@ RegisterOperatorsToAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("registerOperatorsToAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class RegisterOperatorsToAGroupChannelRequest { public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; private List operatorIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java index bd5c747e..04fe4066 100644 --- a/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendbirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -37,13 +37,13 @@ RemoveARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("removeARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class RemoveARegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private String token; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdBasicUserInfo user; + private SendbirdBasicUserInfo user; public RemoveARegistrationOrDeviceTokenResponse() { } @@ -74,7 +74,7 @@ public void setToken(String token) { } - public RemoveARegistrationOrDeviceTokenResponse user(SendBirdBasicUserInfo user) { + public RemoveARegistrationOrDeviceTokenResponse user(SendbirdBasicUserInfo user) { this.user = user; return this; } @@ -88,14 +88,14 @@ public RemoveARegistrationOrDeviceTokenResponse user(SendBirdBasicUserInfo user) @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getUser() { + public SendbirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdBasicUserInfo user) { + public void setUser(SendbirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java index 50b5b75f..07ed69eb 100644 --- a/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendbirdBasicUserInfo; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -39,13 +39,13 @@ RemoveAllRegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("removeAllRegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class RemoveAllRegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private List token = null; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdBasicUserInfo user; + private SendbirdBasicUserInfo user; public RemoveAllRegistrationOrDeviceTokenResponse() { } @@ -84,7 +84,7 @@ public void setToken(List token) { } - public RemoveAllRegistrationOrDeviceTokenResponse user(SendBirdBasicUserInfo user) { + public RemoveAllRegistrationOrDeviceTokenResponse user(SendbirdBasicUserInfo user) { this.user = user; return this; } @@ -98,14 +98,14 @@ public RemoveAllRegistrationOrDeviceTokenResponse user(SendBirdBasicUserInfo use @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getUser() { + public SendbirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdBasicUserInfo user) { + public void setUser(SendbirdBasicUserInfo user) { this.user = user; } diff --git a/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java b/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java index 0401cff8..d7b128d9 100644 --- a/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java +++ b/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java @@ -36,7 +36,7 @@ ResetChatHistoryRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("resetChatHistory_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ResetChatHistoryRequest { public static final String JSON_PROPERTY_RESET_ALL = "reset_all"; private Boolean resetAll; diff --git a/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java b/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java index 2a54d877..a87acd88 100644 --- a/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java +++ b/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java @@ -35,7 +35,7 @@ ResetChatHistoryResponse.JSON_PROPERTY_TS_MESSAGE_OFFSET }) @JsonTypeName("resetChatHistoryResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ResetChatHistoryResponse { public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java index 145b4a51..a2117fe4 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java @@ -56,7 +56,7 @@ ScheduleAnAnnouncementRequest.JSON_PROPERTY_UNIQUE_ID }) @JsonTypeName("scheduleAnAnnouncement_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequest { public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; private String announcementGroup; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java index 18ac33d8..a5f892b8 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java @@ -39,7 +39,7 @@ ScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_NAME }) @JsonTypeName("scheduleAnAnnouncement_request_create_channel_options") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequestCreateChannelOptions { public static final String JSON_PROPERTY_COVER_URL = "cover_url"; private String coverUrl; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java index a61ee57c..f2f6301c 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java @@ -39,7 +39,7 @@ ScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_USER_ID }) @JsonTypeName("scheduleAnAnnouncement_request_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequestMessage { public static final String JSON_PROPERTY_CONTENT = "content"; private String content; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java index af530ee0..59a2be78 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java @@ -61,7 +61,7 @@ ScheduleAnAnnouncementResponse.JSON_PROPERTY_UNIQUE_ID }) @JsonTypeName("scheduleAnAnnouncementResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementResponse { public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; private String announcementGroup; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java index 0d959bbd..3cca13e9 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java @@ -40,7 +40,7 @@ ScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_USER_ID }) @JsonTypeName("scheduleAnAnnouncementResponse_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementResponseMessage { public static final String JSON_PROPERTY_CONTENT = "content"; private String content; diff --git a/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java b/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java index ba96ae9c..51a7996e 100644 --- a/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdMessageResponse; +import org.openapitools.client.model.SendbirdMessageResponse; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -36,15 +36,15 @@ SendABotMessageResponse.JSON_PROPERTY_MESSAGE }) @JsonTypeName("sendABotMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class SendABotMessageResponse { public static final String JSON_PROPERTY_MESSAGE = "message"; - private SendBirdMessageResponse message; + private SendbirdMessageResponse message; public SendABotMessageResponse() { } - public SendABotMessageResponse message(SendBirdMessageResponse message) { + public SendABotMessageResponse message(SendbirdMessageResponse message) { this.message = message; return this; } @@ -58,14 +58,14 @@ public SendABotMessageResponse message(SendBirdMessageResponse message) { @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdMessageResponse getMessage() { + public SendbirdMessageResponse getMessage() { return message; } @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(SendBirdMessageResponse message) { + public void setMessage(SendbirdMessageResponse message) { this.message = message; } diff --git a/src/main/java/org/openapitools/client/model/SendAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendAMessageRequest.java index 8968d480..92582bab 100644 --- a/src/main/java/org/openapitools/client/model/SendAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequest.java @@ -28,8 +28,8 @@ import java.util.ArrayList; import java.util.List; import org.openapitools.client.model.SendAMessageRequestPushMessageTemplate; -import org.openapitools.client.model.SendBirdFile; -import org.openapitools.client.model.SendBirdSortedMetaarrayInner; +import org.openapitools.client.model.SendbirdFile; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -66,7 +66,7 @@ SendAMessageRequest.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class SendAMessageRequest { /** * Gets or Sets messageType @@ -121,7 +121,7 @@ public static MessageTypeEnum fromValue(String value) { private Integer pollId; public static final String JSON_PROPERTY_FILES = "files"; - private SendBirdFile files; + private SendbirdFile files; public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; private Boolean requireAuth; @@ -210,7 +210,7 @@ public static MentionTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_SOUND = "sound"; private String sound; @@ -351,7 +351,7 @@ public void setPollId(Integer pollId) { } - public SendAMessageRequest files(SendBirdFile files) { + public SendAMessageRequest files(SendbirdFile files) { this.files = files; return this; } @@ -365,14 +365,14 @@ public SendAMessageRequest files(SendBirdFile files) { @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdFile getFiles() { + public SendbirdFile getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(SendBirdFile files) { + public void setFiles(SendbirdFile files) { this.files = files; } @@ -835,12 +835,12 @@ public void setSendPush(Boolean sendPush) { } - public SendAMessageRequest sortedMetaarray(List sortedMetaarray) { + public SendAMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendAMessageRequest addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendAMessageRequest addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -857,14 +857,14 @@ public SendAMessageRequest addSortedMetaarrayItem(SendBirdSortedMetaarrayInner s @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java index 142ab30f..85574bf3 100644 --- a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java @@ -55,7 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") @JsonDeserialize(using = SendAMessageRequestPushMessageTemplate.SendAMessageRequestPushMessageTemplateDeserializer.class) @JsonSerialize(using = SendAMessageRequestPushMessageTemplate.SendAMessageRequestPushMessageTemplateSerializer.class) public class SendAMessageRequestPushMessageTemplate extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java index 88e89a96..0b28703b 100644 --- a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java @@ -36,7 +36,7 @@ SendAMessageRequestPushMessageTemplateOneOf.JSON_PROPERTY_BODY }) @JsonTypeName("sendAMessage_request_push_message_template_oneOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class SendAMessageRequestPushMessageTemplateOneOf { public static final String JSON_PROPERTY_TITLE = "title"; private String title; diff --git a/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java index 2f2cee35..bbb9bce4 100644 --- a/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java @@ -26,8 +26,8 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplate; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -50,7 +50,7 @@ SendAdminMessageRequestBody.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("sendAdminMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class SendAdminMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; @@ -154,7 +154,7 @@ public static MessageTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public SendAdminMessageRequestBody() { } @@ -453,12 +453,12 @@ public void setSendPush(Boolean sendPush) { } - public SendAdminMessageRequestBody sortedMetaarray(List sortedMetaarray) { + public SendAdminMessageRequestBody sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendAdminMessageRequestBody addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendAdminMessageRequestBody addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -475,14 +475,14 @@ public SendAdminMessageRequestBody addSortedMetaarrayItem(SendBirdSortedMetaarra @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java b/src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java deleted file mode 100644 index 1293459c..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequest.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdAcceptAnInvitationRequest - */ -@JsonPropertyOrder({ - SendBirdAcceptAnInvitationRequest.JSON_PROPERTY_ACCESS_CODE, - SendBirdAcceptAnInvitationRequest.JSON_PROPERTY_USER_ID -}) -@JsonTypeName("acceptAnInvitation_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdAcceptAnInvitationRequest { - public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; - private JsonNullable accessCode = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - public SendBirdAcceptAnInvitationRequest() { - } - - public SendBirdAcceptAnInvitationRequest accessCode(String accessCode) { - this.accessCode = JsonNullable.of(accessCode); - return this; - } - - /** - * Get accessCode - * @return accessCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getAccessCode() { - return accessCode.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getAccessCode_JsonNullable() { - return accessCode; - } - - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - public void setAccessCode_JsonNullable(JsonNullable accessCode) { - this.accessCode = accessCode; - } - - public void setAccessCode(String accessCode) { - this.accessCode = JsonNullable.of(accessCode); - } - - - public SendBirdAcceptAnInvitationRequest userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserId(String userId) { - this.userId = userId; - } - - - /** - * Return true if this acceptAnInvitation_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdAcceptAnInvitationRequest acceptAnInvitationRequest = (SendBirdAcceptAnInvitationRequest) o; - return equalsNullable(this.accessCode, acceptAnInvitationRequest.accessCode) && - Objects.equals(this.userId, acceptAnInvitationRequest.userId); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(hashCodeNullable(accessCode), userId); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdAcceptAnInvitationRequest {\n"); - sb.append(" accessCode: ").append(toIndentedString(accessCode)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java b/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java deleted file mode 100644 index 70a4b001..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequest.java +++ /dev/null @@ -1,177 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdAddARegistrationOrDeviceTokenRequest - */ -@JsonPropertyOrder({ - SendBirdAddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_APNS_DEVICE_TOKEN, - SendBirdAddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_GCM_REG_TOKEN, - SendBirdAddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_HUAWEI_DEVICE_TOKEN -}) -@JsonTypeName("addARegistrationOrDeviceToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdAddARegistrationOrDeviceTokenRequest { - public static final String JSON_PROPERTY_APNS_DEVICE_TOKEN = "apns_device_token"; - private String apnsDeviceToken; - - public static final String JSON_PROPERTY_GCM_REG_TOKEN = "gcm_reg_token"; - private String gcmRegToken; - - public static final String JSON_PROPERTY_HUAWEI_DEVICE_TOKEN = "huawei_device_token"; - private String huaweiDeviceToken; - - public SendBirdAddARegistrationOrDeviceTokenRequest() { - } - - public SendBirdAddARegistrationOrDeviceTokenRequest apnsDeviceToken(String apnsDeviceToken) { - this.apnsDeviceToken = apnsDeviceToken; - return this; - } - - /** - * Get apnsDeviceToken - * @return apnsDeviceToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_APNS_DEVICE_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getApnsDeviceToken() { - return apnsDeviceToken; - } - - - @JsonProperty(JSON_PROPERTY_APNS_DEVICE_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setApnsDeviceToken(String apnsDeviceToken) { - this.apnsDeviceToken = apnsDeviceToken; - } - - - public SendBirdAddARegistrationOrDeviceTokenRequest gcmRegToken(String gcmRegToken) { - this.gcmRegToken = gcmRegToken; - return this; - } - - /** - * Get gcmRegToken - * @return gcmRegToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_GCM_REG_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getGcmRegToken() { - return gcmRegToken; - } - - - @JsonProperty(JSON_PROPERTY_GCM_REG_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setGcmRegToken(String gcmRegToken) { - this.gcmRegToken = gcmRegToken; - } - - - public SendBirdAddARegistrationOrDeviceTokenRequest huaweiDeviceToken(String huaweiDeviceToken) { - this.huaweiDeviceToken = huaweiDeviceToken; - return this; - } - - /** - * Get huaweiDeviceToken - * @return huaweiDeviceToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HUAWEI_DEVICE_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getHuaweiDeviceToken() { - return huaweiDeviceToken; - } - - - @JsonProperty(JSON_PROPERTY_HUAWEI_DEVICE_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHuaweiDeviceToken(String huaweiDeviceToken) { - this.huaweiDeviceToken = huaweiDeviceToken; - } - - - /** - * Return true if this addARegistrationOrDeviceToken_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdAddARegistrationOrDeviceTokenRequest addARegistrationOrDeviceTokenRequest = (SendBirdAddARegistrationOrDeviceTokenRequest) o; - return Objects.equals(this.apnsDeviceToken, addARegistrationOrDeviceTokenRequest.apnsDeviceToken) && - Objects.equals(this.gcmRegToken, addARegistrationOrDeviceTokenRequest.gcmRegToken) && - Objects.equals(this.huaweiDeviceToken, addARegistrationOrDeviceTokenRequest.huaweiDeviceToken); - } - - @Override - public int hashCode() { - return Objects.hash(apnsDeviceToken, gcmRegToken, huaweiDeviceToken); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdAddARegistrationOrDeviceTokenRequest {\n"); - sb.append(" apnsDeviceToken: ").append(toIndentedString(apnsDeviceToken)).append("\n"); - sb.append(" gcmRegToken: ").append(toIndentedString(gcmRegToken)).append("\n"); - sb.append(" huaweiDeviceToken: ").append(toIndentedString(huaweiDeviceToken)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java deleted file mode 100644 index e92a793b..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponse.java +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdAddARegistrationOrDeviceTokenResponse - */ -@JsonPropertyOrder({ - SendBirdAddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_TOKEN, - SendBirdAddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_TYPE, - SendBirdAddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER -}) -@JsonTypeName("addARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdAddARegistrationOrDeviceTokenResponse { - public static final String JSON_PROPERTY_TOKEN = "token"; - private String token; - - public static final String JSON_PROPERTY_TYPE = "type"; - private String type; - - public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendBirdBasicUserInfo user; - - public SendBirdAddARegistrationOrDeviceTokenResponse() { - } - - public SendBirdAddARegistrationOrDeviceTokenResponse token(String token) { - this.token = token; - return this; - } - - /** - * Get token - * @return token - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getToken() { - return token; - } - - - @JsonProperty(JSON_PROPERTY_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setToken(String token) { - this.token = token; - } - - - public SendBirdAddARegistrationOrDeviceTokenResponse type(String type) { - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getType() { - return type; - } - - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setType(String type) { - this.type = type; - } - - - public SendBirdAddARegistrationOrDeviceTokenResponse user(SendBirdSendBirdBasicUserInfo user) { - this.user = user; - return this; - } - - /** - * Get user - * @return user - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getUser() { - return user; - } - - - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendBirdBasicUserInfo user) { - this.user = user; - } - - - /** - * Return true if this addARegistrationOrDeviceTokenResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdAddARegistrationOrDeviceTokenResponse addARegistrationOrDeviceTokenResponse = (SendBirdAddARegistrationOrDeviceTokenResponse) o; - return Objects.equals(this.token, addARegistrationOrDeviceTokenResponse.token) && - Objects.equals(this.type, addARegistrationOrDeviceTokenResponse.type) && - Objects.equals(this.user, addARegistrationOrDeviceTokenResponse.user); - } - - @Override - public int hashCode() { - return Objects.hash(token, type, user); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdAddARegistrationOrDeviceTokenResponse {\n"); - sb.append(" token: ").append(toIndentedString(token)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" user: ").append(toIndentedString(user)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java deleted file mode 100644 index b4ec1e7e..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequest.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdAddExtraDataToAMessageRequest - */ -@JsonPropertyOrder({ - SendBirdAddExtraDataToAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY -}) -@JsonTypeName("addExtraDataToAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdAddExtraDataToAMessageRequest { - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = new ArrayList<>(); - - public SendBirdAddExtraDataToAMessageRequest() { - } - - public SendBirdAddExtraDataToAMessageRequest sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdAddExtraDataToAMessageRequest addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - /** - * Return true if this addExtraDataToAMessage_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdAddExtraDataToAMessageRequest addExtraDataToAMessageRequest = (SendBirdAddExtraDataToAMessageRequest) o; - return Objects.equals(this.sortedMetaarray, addExtraDataToAMessageRequest.sortedMetaarray); - } - - @Override - public int hashCode() { - return Objects.hash(sortedMetaarray); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdAddExtraDataToAMessageRequest {\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java deleted file mode 100644 index f14baaef..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponse.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdAddExtraDataToAMessageResponse - */ -@JsonPropertyOrder({ - SendBirdAddExtraDataToAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY -}) -@JsonTypeName("addExtraDataToAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdAddExtraDataToAMessageResponse { - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; - - public SendBirdAddExtraDataToAMessageResponse() { - } - - public SendBirdAddExtraDataToAMessageResponse sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdAddExtraDataToAMessageResponse addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { - if (this.sortedMetaarray == null) { - this.sortedMetaarray = new ArrayList<>(); - } - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - /** - * Return true if this addExtraDataToAMessageResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdAddExtraDataToAMessageResponse addExtraDataToAMessageResponse = (SendBirdAddExtraDataToAMessageResponse) o; - return Objects.equals(this.sortedMetaarray, addExtraDataToAMessageResponse.sortedMetaarray); - } - - @Override - public int hashCode() { - return Objects.hash(sortedMetaarray); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdAddExtraDataToAMessageResponse {\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java b/src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java deleted file mode 100644 index a707dd9a..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdBlockAUserRequest.java +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdBlockAUserRequest - */ -@JsonPropertyOrder({ - SendBirdBlockAUserRequest.JSON_PROPERTY_TARGET_ID, - SendBirdBlockAUserRequest.JSON_PROPERTY_USER_IDS -}) -@JsonTypeName("blockAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdBlockAUserRequest { - public static final String JSON_PROPERTY_TARGET_ID = "target_id"; - private String targetId; - - public static final String JSON_PROPERTY_USER_IDS = "user_ids"; - private List userIds = null; - - public SendBirdBlockAUserRequest() { - } - - public SendBirdBlockAUserRequest targetId(String targetId) { - this.targetId = targetId; - return this; - } - - /** - * Get targetId - * @return targetId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TARGET_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTargetId() { - return targetId; - } - - - @JsonProperty(JSON_PROPERTY_TARGET_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTargetId(String targetId) { - this.targetId = targetId; - } - - - public SendBirdBlockAUserRequest userIds(List userIds) { - this.userIds = userIds; - return this; - } - - public SendBirdBlockAUserRequest addUserIdsItem(String userIdsItem) { - if (this.userIds == null) { - this.userIds = new ArrayList<>(); - } - this.userIds.add(userIdsItem); - return this; - } - - /** - * Specifies an array of IDs of all the users to block. This property can be used interchangeably with the users[] property when blocking multiple users at once. - * @return userIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies an array of IDs of all the users to block. This property can be used interchangeably with the users[] property when blocking multiple users at once.") - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getUserIds() { - return userIds; - } - - - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUserIds(List userIds) { - this.userIds = userIds; - } - - - /** - * Return true if this blockAUser_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdBlockAUserRequest blockAUserRequest = (SendBirdBlockAUserRequest) o; - return Objects.equals(this.targetId, blockAUserRequest.targetId) && - Objects.equals(this.userIds, blockAUserRequest.userIds); - } - - @Override - public int hashCode() { - return Objects.hash(targetId, userIds); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdBlockAUserRequest {\n"); - sb.append(" targetId: ").append(toIndentedString(targetId)).append("\n"); - sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java b/src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java deleted file mode 100644 index 7a098cc5..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdBlockAUserResponse.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdUser; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdBlockAUserResponse - */ -@JsonPropertyOrder({ - SendBirdBlockAUserResponse.JSON_PROPERTY_USERS, - SendBirdBlockAUserResponse.JSON_PROPERTY_NEXT -}) -@JsonTypeName("blockAUserResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdBlockAUserResponse { - public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; - - public static final String JSON_PROPERTY_NEXT = "next"; - private String next; - - public SendBirdBlockAUserResponse() { - } - - public SendBirdBlockAUserResponse users(List users) { - this.users = users; - return this; - } - - public SendBirdBlockAUserResponse addUsersItem(SendBirdSendBirdUser usersItem) { - if (this.users == null) { - this.users = new ArrayList<>(); - } - this.users.add(usersItem); - return this; - } - - /** - * Get users - * @return users - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getUsers() { - return users; - } - - - @JsonProperty(JSON_PROPERTY_USERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { - this.users = users; - } - - - public SendBirdBlockAUserResponse next(String next) { - this.next = next; - return this; - } - - /** - * Get next - * @return next - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getNext() { - return next; - } - - - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNext(String next) { - this.next = next; - } - - - /** - * Return true if this blockAUserResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdBlockAUserResponse blockAUserResponse = (SendBirdBlockAUserResponse) o; - return Objects.equals(this.users, blockAUserResponse.users) && - Objects.equals(this.next, blockAUserResponse.next); - } - - @Override - public int hashCode() { - return Objects.hash(users, next); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdBlockAUserResponse {\n"); - sb.append(" users: ").append(toIndentedString(users)).append("\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java deleted file mode 100644 index 8e4cb972..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdCheckIfMemberResponse.java +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdCheckIfMemberResponse - */ -@JsonPropertyOrder({ - SendBirdCheckIfMemberResponse.JSON_PROPERTY_IS_MEMBER, - SendBirdCheckIfMemberResponse.JSON_PROPERTY_STATE -}) -@JsonTypeName("checkIfMemberResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdCheckIfMemberResponse { - public static final String JSON_PROPERTY_IS_MEMBER = "is_member"; - private Boolean isMember; - - /** - * Gets or Sets state - */ - public enum StateEnum { - INVITED("invited"), - - JOINED("joined"), - - NONE("none"); - - private String value; - - StateEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static StateEnum fromValue(String value) { - for (StateEnum b : StateEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_STATE = "state"; - private StateEnum state; - - public SendBirdCheckIfMemberResponse() { - } - - public SendBirdCheckIfMemberResponse isMember(Boolean isMember) { - this.isMember = isMember; - return this; - } - - /** - * Get isMember - * @return isMember - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsMember() { - return isMember; - } - - - @JsonProperty(JSON_PROPERTY_IS_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsMember(Boolean isMember) { - this.isMember = isMember; - } - - - public SendBirdCheckIfMemberResponse state(StateEnum state) { - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public StateEnum getState() { - return state; - } - - - @JsonProperty(JSON_PROPERTY_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setState(StateEnum state) { - this.state = state; - } - - - /** - * Return true if this checkIfMemberResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdCheckIfMemberResponse checkIfMemberResponse = (SendBirdCheckIfMemberResponse) o; - return Objects.equals(this.isMember, checkIfMemberResponse.isMember) && - Objects.equals(this.state, checkIfMemberResponse.state); - } - - @Override - public int hashCode() { - return Objects.hash(isMember, state); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdCheckIfMemberResponse {\n"); - sb.append(" isMember: ").append(toIndentedString(isMember)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java b/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java deleted file mode 100644 index 8417e665..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequest.java +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdChooseAPushNotificationContentTemplateRequest - */ -@JsonPropertyOrder({ - SendBirdChooseAPushNotificationContentTemplateRequest.JSON_PROPERTY_NAME -}) -@JsonTypeName("chooseAPushNotificationContentTemplate_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdChooseAPushNotificationContentTemplateRequest { - /** - * Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default) - */ - public enum NameEnum { - DEFAULT("default"), - - ALTERNATIVE("alternative"); - - private String value; - - NameEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static NameEnum fromValue(String value) { - for (NameEnum b : NameEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_NAME = "name"; - private NameEnum name; - - public SendBirdChooseAPushNotificationContentTemplateRequest() { - } - - public SendBirdChooseAPushNotificationContentTemplateRequest name(NameEnum name) { - this.name = name; - return this; - } - - /** - * Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default) - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default)") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public NameEnum getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setName(NameEnum name) { - this.name = name; - } - - - /** - * Return true if this chooseAPushNotificationContentTemplate_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdChooseAPushNotificationContentTemplateRequest chooseAPushNotificationContentTemplateRequest = (SendBirdChooseAPushNotificationContentTemplateRequest) o; - return Objects.equals(this.name, chooseAPushNotificationContentTemplateRequest.name); - } - - @Override - public int hashCode() { - return Objects.hash(name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdChooseAPushNotificationContentTemplateRequest {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java b/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java deleted file mode 100644 index b9564dba..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponse.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdChooseAPushNotificationContentTemplateResponse - */ -@JsonPropertyOrder({ - SendBirdChooseAPushNotificationContentTemplateResponse.JSON_PROPERTY_NAME -}) -@JsonTypeName("chooseAPushNotificationContentTemplateResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdChooseAPushNotificationContentTemplateResponse { - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public SendBirdChooseAPushNotificationContentTemplateResponse() { - } - - public SendBirdChooseAPushNotificationContentTemplateResponse name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - /** - * Return true if this chooseAPushNotificationContentTemplateResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdChooseAPushNotificationContentTemplateResponse chooseAPushNotificationContentTemplateResponse = (SendBirdChooseAPushNotificationContentTemplateResponse) o; - return Objects.equals(this.name, chooseAPushNotificationContentTemplateResponse.name); - } - - @Override - public int hashCode() { - return Objects.hash(name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdChooseAPushNotificationContentTemplateResponse {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java deleted file mode 100644 index f7515625..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateABotRequest.java +++ /dev/null @@ -1,369 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdCreateABotRequest - */ -@JsonPropertyOrder({ - SendBirdCreateABotRequest.JSON_PROPERTY_BOT_CALLBACK_URL, - SendBirdCreateABotRequest.JSON_PROPERTY_BOT_NICKNAME, - SendBirdCreateABotRequest.JSON_PROPERTY_BOT_PROFILE_URL, - SendBirdCreateABotRequest.JSON_PROPERTY_BOT_TYPE, - SendBirdCreateABotRequest.JSON_PROPERTY_BOT_USERID, - SendBirdCreateABotRequest.JSON_PROPERTY_IS_PRIVACY_MODE, - SendBirdCreateABotRequest.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE, - SendBirdCreateABotRequest.JSON_PROPERTY_ENABLE_MARK_AS_READ, - SendBirdCreateABotRequest.JSON_PROPERTY_SHOW_MEMBER -}) -@JsonTypeName("createABot_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdCreateABotRequest { - public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; - private String botCallbackUrl; - - public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; - private String botNickname; - - public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; - private String botProfileUrl; - - public static final String JSON_PROPERTY_BOT_TYPE = "bot_type"; - private String botType; - - public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; - private String botUserid; - - public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; - private Boolean isPrivacyMode; - - public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; - private Integer channelInvitationPreference; - - public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; - private Boolean enableMarkAsRead; - - public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; - private Boolean showMember; - - public SendBirdCreateABotRequest() { - } - - public SendBirdCreateABotRequest botCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - return this; - } - - /** - * Get botCallbackUrl - * @return botCallbackUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getBotCallbackUrl() { - return botCallbackUrl; - } - - - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBotCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - } - - - public SendBirdCreateABotRequest botNickname(String botNickname) { - this.botNickname = botNickname; - return this; - } - - /** - * Specifies the bot's nickname. The length is limited to 80 characters. - * @return botNickname - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the bot's nickname. The length is limited to 80 characters.") - @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getBotNickname() { - return botNickname; - } - - - @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBotNickname(String botNickname) { - this.botNickname = botNickname; - } - - - public SendBirdCreateABotRequest botProfileUrl(String botProfileUrl) { - this.botProfileUrl = botProfileUrl; - return this; - } - - /** - * Get botProfileUrl - * @return botProfileUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getBotProfileUrl() { - return botProfileUrl; - } - - - @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBotProfileUrl(String botProfileUrl) { - this.botProfileUrl = botProfileUrl; - } - - - public SendBirdCreateABotRequest botType(String botType) { - this.botType = botType; - return this; - } - - /** - * Get botType - * @return botType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_BOT_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getBotType() { - return botType; - } - - - @JsonProperty(JSON_PROPERTY_BOT_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBotType(String botType) { - this.botType = botType; - } - - - public SendBirdCreateABotRequest botUserid(String botUserid) { - this.botUserid = botUserid; - return this; - } - - /** - * Specifies the unique ID of a bot. The length is limited to 80 characters. - * @return botUserid - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the unique ID of a bot. The length is limited to 80 characters.") - @JsonProperty(JSON_PROPERTY_BOT_USERID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getBotUserid() { - return botUserid; - } - - - @JsonProperty(JSON_PROPERTY_BOT_USERID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBotUserid(String botUserid) { - this.botUserid = botUserid; - } - - - public SendBirdCreateABotRequest isPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - return this; - } - - /** - * Determines whether to forward all or specific messages to the bot in channels where the bot is a member. If set to true, only messages starting with a \"/\" or mentioning the bot_userid are forwarded to the bot. If set to false, all messages are forwarded. This property can help protect the privacy of users' chat logs by configuring the bot to only receive messages addressed to the bot. - * @return isPrivacyMode - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Determines whether to forward all or specific messages to the bot in channels where the bot is a member. If set to true, only messages starting with a \"/\" or mentioning the bot_userid are forwarded to the bot. If set to false, all messages are forwarded. This property can help protect the privacy of users' chat logs by configuring the bot to only receive messages addressed to the bot.") - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Boolean getIsPrivacyMode() { - return isPrivacyMode; - } - - - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setIsPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - } - - - public SendBirdCreateABotRequest channelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - return this; - } - - /** - * Get channelInvitationPreference - * @return channelInvitationPreference - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getChannelInvitationPreference() { - return channelInvitationPreference; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - } - - - public SendBirdCreateABotRequest enableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - return this; - } - - /** - * Get enableMarkAsRead - * @return enableMarkAsRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnableMarkAsRead() { - return enableMarkAsRead; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - } - - - public SendBirdCreateABotRequest showMember(Boolean showMember) { - this.showMember = showMember; - return this; - } - - /** - * Get showMember - * @return showMember - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getShowMember() { - return showMember; - } - - - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setShowMember(Boolean showMember) { - this.showMember = showMember; - } - - - /** - * Return true if this createABot_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdCreateABotRequest createABotRequest = (SendBirdCreateABotRequest) o; - return Objects.equals(this.botCallbackUrl, createABotRequest.botCallbackUrl) && - Objects.equals(this.botNickname, createABotRequest.botNickname) && - Objects.equals(this.botProfileUrl, createABotRequest.botProfileUrl) && - Objects.equals(this.botType, createABotRequest.botType) && - Objects.equals(this.botUserid, createABotRequest.botUserid) && - Objects.equals(this.isPrivacyMode, createABotRequest.isPrivacyMode) && - Objects.equals(this.channelInvitationPreference, createABotRequest.channelInvitationPreference) && - Objects.equals(this.enableMarkAsRead, createABotRequest.enableMarkAsRead) && - Objects.equals(this.showMember, createABotRequest.showMember); - } - - @Override - public int hashCode() { - return Objects.hash(botCallbackUrl, botNickname, botProfileUrl, botType, botUserid, isPrivacyMode, channelInvitationPreference, enableMarkAsRead, showMember); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdCreateABotRequest {\n"); - sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); - sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); - sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); - sb.append(" botType: ").append(toIndentedString(botType)).append("\n"); - sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); - sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); - sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); - sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); - sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java deleted file mode 100644 index 31ba2d77..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponse.java +++ /dev/null @@ -1,339 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdCreateABotResponseBot; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyle; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdCreateABotResponse - */ -@JsonPropertyOrder({ - SendBirdCreateABotResponse.JSON_PROPERTY_BOT, - SendBirdCreateABotResponse.JSON_PROPERTY_BOT_CALLBACK_URL, - SendBirdCreateABotResponse.JSON_PROPERTY_BOT_STYLE, - SendBirdCreateABotResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE, - SendBirdCreateABotResponse.JSON_PROPERTY_CREATED_AT, - SendBirdCreateABotResponse.JSON_PROPERTY_ENABLE_MARK_AS_READ, - SendBirdCreateABotResponse.JSON_PROPERTY_IS_PRIVACY_MODE, - SendBirdCreateABotResponse.JSON_PROPERTY_SHOW_MEMBER -}) -@JsonTypeName("createABotResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdCreateABotResponse { - public static final String JSON_PROPERTY_BOT = "bot"; - private SendBirdCreateABotResponseBot bot; - - public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; - private String botCallbackUrl; - - public static final String JSON_PROPERTY_BOT_STYLE = "bot_style"; - private SendBirdListBotsResponseBotsInnerBotStyle botStyle; - - public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; - private Integer channelInvitationPreference; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; - private Boolean enableMarkAsRead; - - public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; - private Boolean isPrivacyMode; - - public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; - private Boolean showMember; - - public SendBirdCreateABotResponse() { - } - - public SendBirdCreateABotResponse bot(SendBirdCreateABotResponseBot bot) { - this.bot = bot; - return this; - } - - /** - * Get bot - * @return bot - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_BOT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public SendBirdCreateABotResponseBot getBot() { - return bot; - } - - - @JsonProperty(JSON_PROPERTY_BOT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBot(SendBirdCreateABotResponseBot bot) { - this.bot = bot; - } - - - public SendBirdCreateABotResponse botCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - return this; - } - - /** - * Get botCallbackUrl - * @return botCallbackUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotCallbackUrl() { - return botCallbackUrl; - } - - - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - } - - - public SendBirdCreateABotResponse botStyle(SendBirdListBotsResponseBotsInnerBotStyle botStyle) { - this.botStyle = botStyle; - return this; - } - - /** - * Get botStyle - * @return botStyle - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_STYLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdListBotsResponseBotsInnerBotStyle getBotStyle() { - return botStyle; - } - - - @JsonProperty(JSON_PROPERTY_BOT_STYLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotStyle(SendBirdListBotsResponseBotsInnerBotStyle botStyle) { - this.botStyle = botStyle; - } - - - public SendBirdCreateABotResponse channelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - return this; - } - - /** - * Get channelInvitationPreference - * @return channelInvitationPreference - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getChannelInvitationPreference() { - return channelInvitationPreference; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - } - - - public SendBirdCreateABotResponse createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdCreateABotResponse enableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - return this; - } - - /** - * Get enableMarkAsRead - * @return enableMarkAsRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnableMarkAsRead() { - return enableMarkAsRead; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - } - - - public SendBirdCreateABotResponse isPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - return this; - } - - /** - * Get isPrivacyMode - * @return isPrivacyMode - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPrivacyMode() { - return isPrivacyMode; - } - - - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - } - - - public SendBirdCreateABotResponse showMember(Boolean showMember) { - this.showMember = showMember; - return this; - } - - /** - * Get showMember - * @return showMember - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getShowMember() { - return showMember; - } - - - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setShowMember(Boolean showMember) { - this.showMember = showMember; - } - - - /** - * Return true if this createABotResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdCreateABotResponse createABotResponse = (SendBirdCreateABotResponse) o; - return Objects.equals(this.bot, createABotResponse.bot) && - Objects.equals(this.botCallbackUrl, createABotResponse.botCallbackUrl) && - Objects.equals(this.botStyle, createABotResponse.botStyle) && - Objects.equals(this.channelInvitationPreference, createABotResponse.channelInvitationPreference) && - Objects.equals(this.createdAt, createABotResponse.createdAt) && - Objects.equals(this.enableMarkAsRead, createABotResponse.enableMarkAsRead) && - Objects.equals(this.isPrivacyMode, createABotResponse.isPrivacyMode) && - Objects.equals(this.showMember, createABotResponse.showMember); - } - - @Override - public int hashCode() { - return Objects.hash(bot, botCallbackUrl, botStyle, channelInvitationPreference, createdAt, enableMarkAsRead, isPrivacyMode, showMember); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdCreateABotResponse {\n"); - sb.append(" bot: ").append(toIndentedString(bot)).append("\n"); - sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); - sb.append(" botStyle: ").append(toIndentedString(botStyle)).append("\n"); - sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); - sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); - sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java b/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java deleted file mode 100644 index c575111f..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateABotResponseBot.java +++ /dev/null @@ -1,369 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdCreateABotResponseBot - */ -@JsonPropertyOrder({ - SendBirdCreateABotResponseBot.JSON_PROPERTY_AI_AGENT_TYPE, - SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_METADATA, - SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_NICKNAME, - SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_PROFILE_URL, - SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_TOKEN, - SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_TYPE, - SendBirdCreateABotResponseBot.JSON_PROPERTY_BOT_USERID, - SendBirdCreateABotResponseBot.JSON_PROPERTY_FEEDBACK -}) -@JsonTypeName("createABotResponse_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdCreateABotResponseBot { - public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; - private String aiAgentType; - - public static final String JSON_PROPERTY_BOT_METADATA = "bot_metadata"; - private Object botMetadata; - - public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; - private String botNickname; - - public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; - private String botProfileUrl; - - public static final String JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "bot_require_auth_for_profile_image"; - private Boolean botRequireAuthForProfileImage; - - public static final String JSON_PROPERTY_BOT_TOKEN = "bot_token"; - private String botToken; - - public static final String JSON_PROPERTY_BOT_TYPE = "bot_type"; - private String botType; - - public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; - private String botUserid; - - public static final String JSON_PROPERTY_FEEDBACK = "feedback"; - private Boolean feedback; - - public SendBirdCreateABotResponseBot() { - } - - public SendBirdCreateABotResponseBot aiAgentType(String aiAgentType) { - this.aiAgentType = aiAgentType; - return this; - } - - /** - * Get aiAgentType - * @return aiAgentType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_AI_AGENT_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getAiAgentType() { - return aiAgentType; - } - - - @JsonProperty(JSON_PROPERTY_AI_AGENT_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAiAgentType(String aiAgentType) { - this.aiAgentType = aiAgentType; - } - - - public SendBirdCreateABotResponseBot botMetadata(Object botMetadata) { - this.botMetadata = botMetadata; - return this; - } - - /** - * Get botMetadata - * @return botMetadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getBotMetadata() { - return botMetadata; - } - - - @JsonProperty(JSON_PROPERTY_BOT_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotMetadata(Object botMetadata) { - this.botMetadata = botMetadata; - } - - - public SendBirdCreateABotResponseBot botNickname(String botNickname) { - this.botNickname = botNickname; - return this; - } - - /** - * Get botNickname - * @return botNickname - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotNickname() { - return botNickname; - } - - - @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotNickname(String botNickname) { - this.botNickname = botNickname; - } - - - public SendBirdCreateABotResponseBot botProfileUrl(String botProfileUrl) { - this.botProfileUrl = botProfileUrl; - return this; - } - - /** - * Get botProfileUrl - * @return botProfileUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotProfileUrl() { - return botProfileUrl; - } - - - @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotProfileUrl(String botProfileUrl) { - this.botProfileUrl = botProfileUrl; - } - - - public SendBirdCreateABotResponseBot botRequireAuthForProfileImage(Boolean botRequireAuthForProfileImage) { - this.botRequireAuthForProfileImage = botRequireAuthForProfileImage; - return this; - } - - /** - * Get botRequireAuthForProfileImage - * @return botRequireAuthForProfileImage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getBotRequireAuthForProfileImage() { - return botRequireAuthForProfileImage; - } - - - @JsonProperty(JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotRequireAuthForProfileImage(Boolean botRequireAuthForProfileImage) { - this.botRequireAuthForProfileImage = botRequireAuthForProfileImage; - } - - - public SendBirdCreateABotResponseBot botToken(String botToken) { - this.botToken = botToken; - return this; - } - - /** - * Get botToken - * @return botToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotToken() { - return botToken; - } - - - @JsonProperty(JSON_PROPERTY_BOT_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotToken(String botToken) { - this.botToken = botToken; - } - - - public SendBirdCreateABotResponseBot botType(String botType) { - this.botType = botType; - return this; - } - - /** - * Get botType - * @return botType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotType() { - return botType; - } - - - @JsonProperty(JSON_PROPERTY_BOT_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotType(String botType) { - this.botType = botType; - } - - - public SendBirdCreateABotResponseBot botUserid(String botUserid) { - this.botUserid = botUserid; - return this; - } - - /** - * Get botUserid - * @return botUserid - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_BOT_USERID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getBotUserid() { - return botUserid; - } - - - @JsonProperty(JSON_PROPERTY_BOT_USERID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBotUserid(String botUserid) { - this.botUserid = botUserid; - } - - - public SendBirdCreateABotResponseBot feedback(Boolean feedback) { - this.feedback = feedback; - return this; - } - - /** - * Get feedback - * @return feedback - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FEEDBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getFeedback() { - return feedback; - } - - - @JsonProperty(JSON_PROPERTY_FEEDBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFeedback(Boolean feedback) { - this.feedback = feedback; - } - - - /** - * Return true if this createABotResponse_bot object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdCreateABotResponseBot createABotResponseBot = (SendBirdCreateABotResponseBot) o; - return Objects.equals(this.aiAgentType, createABotResponseBot.aiAgentType) && - Objects.equals(this.botMetadata, createABotResponseBot.botMetadata) && - Objects.equals(this.botNickname, createABotResponseBot.botNickname) && - Objects.equals(this.botProfileUrl, createABotResponseBot.botProfileUrl) && - Objects.equals(this.botRequireAuthForProfileImage, createABotResponseBot.botRequireAuthForProfileImage) && - Objects.equals(this.botToken, createABotResponseBot.botToken) && - Objects.equals(this.botType, createABotResponseBot.botType) && - Objects.equals(this.botUserid, createABotResponseBot.botUserid) && - Objects.equals(this.feedback, createABotResponseBot.feedback); - } - - @Override - public int hashCode() { - return Objects.hash(aiAgentType, botMetadata, botNickname, botProfileUrl, botRequireAuthForProfileImage, botToken, botType, botUserid, feedback); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdCreateABotResponseBot {\n"); - sb.append(" aiAgentType: ").append(toIndentedString(aiAgentType)).append("\n"); - sb.append(" botMetadata: ").append(toIndentedString(botMetadata)).append("\n"); - sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); - sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); - sb.append(" botRequireAuthForProfileImage: ").append(toIndentedString(botRequireAuthForProfileImage)).append("\n"); - sb.append(" botToken: ").append(toIndentedString(botToken)).append("\n"); - sb.append(" botType: ").append(toIndentedString(botType)).append("\n"); - sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); - sb.append(" feedback: ").append(toIndentedString(feedback)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java deleted file mode 100644 index ad206f9a..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequest.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdCreateAChannelMetadataRequest - */ -@JsonPropertyOrder({ - SendBirdCreateAChannelMetadataRequest.JSON_PROPERTY_INCLUDE_TS, - SendBirdCreateAChannelMetadataRequest.JSON_PROPERTY_METADATA -}) -@JsonTypeName("createAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdCreateAChannelMetadataRequest { - public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; - private Boolean includeTs; - - public static final String JSON_PROPERTY_METADATA = "metadata"; - private Object metadata; - - public SendBirdCreateAChannelMetadataRequest() { - } - - public SendBirdCreateAChannelMetadataRequest includeTs(Boolean includeTs) { - this.includeTs = includeTs; - return this; - } - - /** - * Get includeTs - * @return includeTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INCLUDE_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIncludeTs() { - return includeTs; - } - - - @JsonProperty(JSON_PROPERTY_INCLUDE_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIncludeTs(Boolean includeTs) { - this.includeTs = includeTs; - } - - - public SendBirdCreateAChannelMetadataRequest metadata(Object metadata) { - this.metadata = metadata; - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Object getMetadata() { - return metadata; - } - - - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMetadata(Object metadata) { - this.metadata = metadata; - } - - - /** - * Return true if this createAChannelMetadata_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdCreateAChannelMetadataRequest createAChannelMetadataRequest = (SendBirdCreateAChannelMetadataRequest) o; - return Objects.equals(this.includeTs, createAChannelMetadataRequest.includeTs) && - Objects.equals(this.metadata, createAChannelMetadataRequest.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(includeTs, metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdCreateAChannelMetadataRequest {\n"); - sb.append(" includeTs: ").append(toIndentedString(includeTs)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java deleted file mode 100644 index 16faf676..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponse.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdCreateAChannelMetadataResponse - */ -@JsonPropertyOrder({ - SendBirdCreateAChannelMetadataResponse.JSON_PROPERTY_INCLUDE_TS, - SendBirdCreateAChannelMetadataResponse.JSON_PROPERTY_METADATA -}) -@JsonTypeName("createAChannelMetadataResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdCreateAChannelMetadataResponse { - public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; - private Long includeTs; - - public static final String JSON_PROPERTY_METADATA = "metadata"; - private Object metadata; - - public SendBirdCreateAChannelMetadataResponse() { - } - - public SendBirdCreateAChannelMetadataResponse includeTs(Long includeTs) { - this.includeTs = includeTs; - return this; - } - - /** - * Get includeTs - * @return includeTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INCLUDE_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getIncludeTs() { - return includeTs; - } - - - @JsonProperty(JSON_PROPERTY_INCLUDE_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIncludeTs(Long includeTs) { - this.includeTs = includeTs; - } - - - public SendBirdCreateAChannelMetadataResponse metadata(Object metadata) { - this.metadata = metadata; - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getMetadata() { - return metadata; - } - - - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMetadata(Object metadata) { - this.metadata = metadata; - } - - - /** - * Return true if this createAChannelMetadataResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdCreateAChannelMetadataResponse createAChannelMetadataResponse = (SendBirdCreateAChannelMetadataResponse) o; - return Objects.equals(this.includeTs, createAChannelMetadataResponse.includeTs) && - Objects.equals(this.metadata, createAChannelMetadataResponse.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(includeTs, metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdCreateAChannelMetadataResponse {\n"); - sb.append(" includeTs: ").append(toIndentedString(includeTs)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java deleted file mode 100644 index 0015cdd2..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequest.java +++ /dev/null @@ -1,745 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdUser; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdCreateAGroupChannelRequest - */ -@JsonPropertyOrder({ - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_ACCESS_CODE, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_CHANNEL_URL, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_COVER_FILE, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_COVER_URL, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_DATA, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_HIDDEN_STATUS, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_INVITATION_STATUS, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_INVITER_ID, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_IS_DISTINCT, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_IS_PUBLIC, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_IS_SUPER, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_NAME, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_STRICT, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_USER_IDS, - SendBirdCreateAGroupChannelRequest.JSON_PROPERTY_USERS -}) -@JsonTypeName("createAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdCreateAGroupChannelRequest { - public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; - private JsonNullable accessCode = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN = "block_sdk_user_channel_join"; - private JsonNullable blockSdkUserChannelJoin = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; - private String channelUrl; - - public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; - private File coverFile; - - public static final String JSON_PROPERTY_COVER_URL = "cover_url"; - private String coverUrl; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_HIDDEN_STATUS = "hidden_status"; - private Object hiddenStatus; - - public static final String JSON_PROPERTY_INVITATION_STATUS = "invitation_status"; - private Object invitationStatus; - - public static final String JSON_PROPERTY_INVITER_ID = "inviter_id"; - private String inviterId; - - public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; - private Boolean isDistinct; - - public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; - private Boolean isEphemeral; - - public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; - private Boolean isPublic; - - public static final String JSON_PROPERTY_IS_SUPER = "is_super"; - private Boolean isSuper; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; - private List operatorIds = null; - - public static final String JSON_PROPERTY_STRICT = "strict"; - private Boolean strict; - - public static final String JSON_PROPERTY_USER_IDS = "user_ids"; - private List userIds = null; - - public static final String JSON_PROPERTY_USERS = "users"; - private List users = new ArrayList<>(); - - public SendBirdCreateAGroupChannelRequest() { - } - - public SendBirdCreateAGroupChannelRequest accessCode(String accessCode) { - this.accessCode = JsonNullable.of(accessCode); - return this; - } - - /** - * Get accessCode - * @return accessCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getAccessCode() { - return accessCode.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getAccessCode_JsonNullable() { - return accessCode; - } - - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - public void setAccessCode_JsonNullable(JsonNullable accessCode) { - this.accessCode = accessCode; - } - - public void setAccessCode(String accessCode) { - this.accessCode = JsonNullable.of(accessCode); - } - - - public SendBirdCreateAGroupChannelRequest blockSdkUserChannelJoin(Boolean blockSdkUserChannelJoin) { - this.blockSdkUserChannelJoin = JsonNullable.of(blockSdkUserChannelJoin); - return this; - } - - /** - * Get blockSdkUserChannelJoin - * @return blockSdkUserChannelJoin - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Boolean getBlockSdkUserChannelJoin() { - return blockSdkUserChannelJoin.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getBlockSdkUserChannelJoin_JsonNullable() { - return blockSdkUserChannelJoin; - } - - @JsonProperty(JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN) - public void setBlockSdkUserChannelJoin_JsonNullable(JsonNullable blockSdkUserChannelJoin) { - this.blockSdkUserChannelJoin = blockSdkUserChannelJoin; - } - - public void setBlockSdkUserChannelJoin(Boolean blockSdkUserChannelJoin) { - this.blockSdkUserChannelJoin = JsonNullable.of(blockSdkUserChannelJoin); - } - - - public SendBirdCreateAGroupChannelRequest channelUrl(String channelUrl) { - this.channelUrl = channelUrl; - return this; - } - - /** - * Get channelUrl - * @return channelUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getChannelUrl() { - return channelUrl; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannelUrl(String channelUrl) { - this.channelUrl = channelUrl; - } - - - public SendBirdCreateAGroupChannelRequest coverFile(File coverFile) { - this.coverFile = coverFile; - return this; - } - - /** - * Uploads a file for the channel cover image. - * @return coverFile - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Uploads a file for the channel cover image.") - @JsonProperty(JSON_PROPERTY_COVER_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public File getCoverFile() { - return coverFile; - } - - - @JsonProperty(JSON_PROPERTY_COVER_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverFile(File coverFile) { - this.coverFile = coverFile; - } - - - public SendBirdCreateAGroupChannelRequest coverUrl(String coverUrl) { - this.coverUrl = coverUrl; - return this; - } - - /** - * Get coverUrl - * @return coverUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCoverUrl() { - return coverUrl; - } - - - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverUrl(String coverUrl) { - this.coverUrl = coverUrl; - } - - - public SendBirdCreateAGroupChannelRequest customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdCreateAGroupChannelRequest data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdCreateAGroupChannelRequest hiddenStatus(Object hiddenStatus) { - this.hiddenStatus = hiddenStatus; - return this; - } - - /** - * Specifies one or more key-value pair items which set the channel's hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:<br />- unhidden (default): the channel is included in when retrieving a list of group channels.<br />- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.<br />- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message. - * @return hiddenStatus - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies one or more key-value pair items which set the channel's hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:
- unhidden (default): the channel is included in when retrieving a list of group channels.
- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.
- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message.") - @JsonProperty(JSON_PROPERTY_HIDDEN_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getHiddenStatus() { - return hiddenStatus; - } - - - @JsonProperty(JSON_PROPERTY_HIDDEN_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHiddenStatus(Object hiddenStatus) { - this.hiddenStatus = hiddenStatus; - } - - - public SendBirdCreateAGroupChannelRequest invitationStatus(Object invitationStatus) { - this.invitationStatus = invitationStatus; - return this; - } - - /** - * Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined) - * @return invitationStatus - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined)") - @JsonProperty(JSON_PROPERTY_INVITATION_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getInvitationStatus() { - return invitationStatus; - } - - - @JsonProperty(JSON_PROPERTY_INVITATION_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInvitationStatus(Object invitationStatus) { - this.invitationStatus = invitationStatus; - } - - - public SendBirdCreateAGroupChannelRequest inviterId(String inviterId) { - this.inviterId = inviterId; - return this; - } - - /** - * Get inviterId - * @return inviterId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INVITER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getInviterId() { - return inviterId; - } - - - @JsonProperty(JSON_PROPERTY_INVITER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviterId(String inviterId) { - this.inviterId = inviterId; - } - - - public SendBirdCreateAGroupChannelRequest isDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - return this; - } - - /** - * Get isDistinct - * @return isDistinct - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDistinct() { - return isDistinct; - } - - - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - } - - - public SendBirdCreateAGroupChannelRequest isEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - return this; - } - - /** - * Get isEphemeral - * @return isEphemeral - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsEphemeral() { - return isEphemeral; - } - - - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - } - - - public SendBirdCreateAGroupChannelRequest isPublic(Boolean isPublic) { - this.isPublic = isPublic; - return this; - } - - /** - * Get isPublic - * @return isPublic - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPublic() { - return isPublic; - } - - - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPublic(Boolean isPublic) { - this.isPublic = isPublic; - } - - - public SendBirdCreateAGroupChannelRequest isSuper(Boolean isSuper) { - this.isSuper = isSuper; - return this; - } - - /** - * Get isSuper - * @return isSuper - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsSuper() { - return isSuper; - } - - - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsSuper(Boolean isSuper) { - this.isSuper = isSuper; - } - - - public SendBirdCreateAGroupChannelRequest name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - public SendBirdCreateAGroupChannelRequest operatorIds(List operatorIds) { - this.operatorIds = operatorIds; - return this; - } - - public SendBirdCreateAGroupChannelRequest addOperatorIdsItem(String operatorIdsItem) { - if (this.operatorIds == null) { - this.operatorIds = new ArrayList<>(); - } - this.operatorIds.add(operatorIdsItem); - return this; - } - - /** - * Get operatorIds - * @return operatorIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getOperatorIds() { - return operatorIds; - } - - - @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperatorIds(List operatorIds) { - this.operatorIds = operatorIds; - } - - - public SendBirdCreateAGroupChannelRequest strict(Boolean strict) { - this.strict = strict; - return this; - } - - /** - * Get strict - * @return strict - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_STRICT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getStrict() { - return strict; - } - - - @JsonProperty(JSON_PROPERTY_STRICT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setStrict(Boolean strict) { - this.strict = strict; - } - - - public SendBirdCreateAGroupChannelRequest userIds(List userIds) { - this.userIds = userIds; - return this; - } - - public SendBirdCreateAGroupChannelRequest addUserIdsItem(String userIdsItem) { - if (this.userIds == null) { - this.userIds = new ArrayList<>(); - } - this.userIds.add(userIdsItem); - return this; - } - - /** - * Get userIds - * @return userIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getUserIds() { - return userIds; - } - - - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUserIds(List userIds) { - this.userIds = userIds; - } - - - public SendBirdCreateAGroupChannelRequest users(List users) { - this.users = users; - return this; - } - - public SendBirdCreateAGroupChannelRequest addUsersItem(SendBirdSendBirdUser usersItem) { - this.users.add(usersItem); - return this; - } - - /** - * Get users - * @return users - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USERS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public List getUsers() { - return users; - } - - - @JsonProperty(JSON_PROPERTY_USERS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUsers(List users) { - this.users = users; - } - - - /** - * Return true if this createAGroupChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdCreateAGroupChannelRequest createAGroupChannelRequest = (SendBirdCreateAGroupChannelRequest) o; - return equalsNullable(this.accessCode, createAGroupChannelRequest.accessCode) && - equalsNullable(this.blockSdkUserChannelJoin, createAGroupChannelRequest.blockSdkUserChannelJoin) && - Objects.equals(this.channelUrl, createAGroupChannelRequest.channelUrl) && - Objects.equals(this.coverFile, createAGroupChannelRequest.coverFile) && - Objects.equals(this.coverUrl, createAGroupChannelRequest.coverUrl) && - Objects.equals(this.customType, createAGroupChannelRequest.customType) && - Objects.equals(this.data, createAGroupChannelRequest.data) && - Objects.equals(this.hiddenStatus, createAGroupChannelRequest.hiddenStatus) && - Objects.equals(this.invitationStatus, createAGroupChannelRequest.invitationStatus) && - Objects.equals(this.inviterId, createAGroupChannelRequest.inviterId) && - Objects.equals(this.isDistinct, createAGroupChannelRequest.isDistinct) && - Objects.equals(this.isEphemeral, createAGroupChannelRequest.isEphemeral) && - Objects.equals(this.isPublic, createAGroupChannelRequest.isPublic) && - Objects.equals(this.isSuper, createAGroupChannelRequest.isSuper) && - Objects.equals(this.name, createAGroupChannelRequest.name) && - Objects.equals(this.operatorIds, createAGroupChannelRequest.operatorIds) && - Objects.equals(this.strict, createAGroupChannelRequest.strict) && - Objects.equals(this.userIds, createAGroupChannelRequest.userIds) && - Objects.equals(this.users, createAGroupChannelRequest.users); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(hashCodeNullable(accessCode), hashCodeNullable(blockSdkUserChannelJoin), channelUrl, coverFile, coverUrl, customType, data, hiddenStatus, invitationStatus, inviterId, isDistinct, isEphemeral, isPublic, isSuper, name, operatorIds, strict, userIds, users); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdCreateAGroupChannelRequest {\n"); - sb.append(" accessCode: ").append(toIndentedString(accessCode)).append("\n"); - sb.append(" blockSdkUserChannelJoin: ").append(toIndentedString(blockSdkUserChannelJoin)).append("\n"); - sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); - sb.append(" coverFile: ").append(toIndentedString(coverFile)).append("\n"); - sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" hiddenStatus: ").append(toIndentedString(hiddenStatus)).append("\n"); - sb.append(" invitationStatus: ").append(toIndentedString(invitationStatus)).append("\n"); - sb.append(" inviterId: ").append(toIndentedString(inviterId)).append("\n"); - sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); - sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); - sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); - sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" operatorIds: ").append(toIndentedString(operatorIds)).append("\n"); - sb.append(" strict: ").append(toIndentedString(strict)).append("\n"); - sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); - sb.append(" users: ").append(toIndentedString(users)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java deleted file mode 100644 index 700ea632..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateAUserRequest.java +++ /dev/null @@ -1,351 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdCreateAUserRequest - */ -@JsonPropertyOrder({ - SendBirdCreateAUserRequest.JSON_PROPERTY_DISCOVERY_KEYS, - SendBirdCreateAUserRequest.JSON_PROPERTY_ISSUE_ACCESS_TOKEN, - SendBirdCreateAUserRequest.JSON_PROPERTY_METADATA, - SendBirdCreateAUserRequest.JSON_PROPERTY_NICKNAME, - SendBirdCreateAUserRequest.JSON_PROPERTY_PROFILE_FILE, - SendBirdCreateAUserRequest.JSON_PROPERTY_PROFILE_URL, - SendBirdCreateAUserRequest.JSON_PROPERTY_USER_ID -}) -@JsonTypeName("createAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdCreateAUserRequest { - public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; - private JsonNullable> discoveryKeys = JsonNullable.>undefined(); - - public static final String JSON_PROPERTY_ISSUE_ACCESS_TOKEN = "issue_access_token"; - private Boolean issueAccessToken; - - public static final String JSON_PROPERTY_METADATA = "metadata"; - private JsonNullable metadata = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_NICKNAME = "nickname"; - private String nickname; - - public static final String JSON_PROPERTY_PROFILE_FILE = "profile_file"; - private File profileFile; - - public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; - private String profileUrl = ""; - - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - public SendBirdCreateAUserRequest() { - } - - public SendBirdCreateAUserRequest discoveryKeys(List discoveryKeys) { - this.discoveryKeys = JsonNullable.>of(discoveryKeys); - return this; - } - - public SendBirdCreateAUserRequest addDiscoveryKeysItem(String discoveryKeysItem) { - if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { - this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); - } - try { - this.discoveryKeys.get().add(discoveryKeysItem); - } catch (java.util.NoSuchElementException e) { - // this can never happen, as we make sure above that the value is present - } - return this; - } - - /** - * Get discoveryKeys - * @return discoveryKeys - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public List getDiscoveryKeys() { - return discoveryKeys.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable> getDiscoveryKeys_JsonNullable() { - return discoveryKeys; - } - - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) - public void setDiscoveryKeys_JsonNullable(JsonNullable> discoveryKeys) { - this.discoveryKeys = discoveryKeys; - } - - public void setDiscoveryKeys(List discoveryKeys) { - this.discoveryKeys = JsonNullable.>of(discoveryKeys); - } - - - public SendBirdCreateAUserRequest issueAccessToken(Boolean issueAccessToken) { - this.issueAccessToken = issueAccessToken; - return this; - } - - /** - * Get issueAccessToken - * @return issueAccessToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ISSUE_ACCESS_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIssueAccessToken() { - return issueAccessToken; - } - - - @JsonProperty(JSON_PROPERTY_ISSUE_ACCESS_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIssueAccessToken(Boolean issueAccessToken) { - this.issueAccessToken = issueAccessToken; - } - - - public SendBirdCreateAUserRequest metadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Object getMetadata() { - return metadata.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getMetadata_JsonNullable() { - return metadata; - } - - @JsonProperty(JSON_PROPERTY_METADATA) - public void setMetadata_JsonNullable(JsonNullable metadata) { - this.metadata = metadata; - } - - public void setMetadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - } - - - public SendBirdCreateAUserRequest nickname(String nickname) { - this.nickname = nickname; - return this; - } - - /** - * Get nickname - * @return nickname - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_NICKNAME) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getNickname() { - return nickname; - } - - - @JsonProperty(JSON_PROPERTY_NICKNAME) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setNickname(String nickname) { - this.nickname = nickname; - } - - - public SendBirdCreateAUserRequest profileFile(File profileFile) { - this.profileFile = profileFile; - return this; - } - - /** - * Specifies the file of the user's profile image. An acceptable image is limited to a JPG, JPEG, or PNG file of up to 5 MB. When passing a file, you should send a multipart request. If the profile_file property is specified, the profile_url property is not required. - * @return profileFile - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies the file of the user's profile image. An acceptable image is limited to a JPG, JPEG, or PNG file of up to 5 MB. When passing a file, you should send a multipart request. If the profile_file property is specified, the profile_url property is not required.") - @JsonProperty(JSON_PROPERTY_PROFILE_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public File getProfileFile() { - return profileFile; - } - - - @JsonProperty(JSON_PROPERTY_PROFILE_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setProfileFile(File profileFile) { - this.profileFile = profileFile; - } - - - public SendBirdCreateAUserRequest profileUrl(String profileUrl) { - this.profileUrl = profileUrl; - return this; - } - - /** - * Get profileUrl - * @return profileUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getProfileUrl() { - return profileUrl; - } - - - @JsonProperty(JSON_PROPERTY_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setProfileUrl(String profileUrl) { - this.profileUrl = profileUrl; - } - - - public SendBirdCreateAUserRequest userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserId(String userId) { - this.userId = userId; - } - - - /** - * Return true if this createAUser_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdCreateAUserRequest createAUserRequest = (SendBirdCreateAUserRequest) o; - return equalsNullable(this.discoveryKeys, createAUserRequest.discoveryKeys) && - Objects.equals(this.issueAccessToken, createAUserRequest.issueAccessToken) && - equalsNullable(this.metadata, createAUserRequest.metadata) && - Objects.equals(this.nickname, createAUserRequest.nickname) && - Objects.equals(this.profileFile, createAUserRequest.profileFile) && - Objects.equals(this.profileUrl, createAUserRequest.profileUrl) && - Objects.equals(this.userId, createAUserRequest.userId); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(hashCodeNullable(discoveryKeys), issueAccessToken, hashCodeNullable(metadata), nickname, profileFile, profileUrl, userId); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdCreateAUserRequest {\n"); - sb.append(" discoveryKeys: ").append(toIndentedString(discoveryKeys)).append("\n"); - sb.append(" issueAccessToken: ").append(toIndentedString(issueAccessToken)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" nickname: ").append(toIndentedString(nickname)).append("\n"); - sb.append(" profileFile: ").append(toIndentedString(profileFile)).append("\n"); - sb.append(" profileUrl: ").append(toIndentedString(profileUrl)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java deleted file mode 100644 index 019f3863..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequest.java +++ /dev/null @@ -1,380 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdCreateAnOpenChannelRequest - */ -@JsonPropertyOrder({ - SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_IS_DYNAMIC_PARTITIONED, - SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_CHANNEL_URL, - SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_COVER_FILE, - SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_COVER_URL, - SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_DATA, - SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_NAME, - SendBirdCreateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS -}) -@JsonTypeName("createAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdCreateAnOpenChannelRequest { - public static final String JSON_PROPERTY_IS_DYNAMIC_PARTITIONED = "is_dynamic_partitioned"; - private Boolean isDynamicPartitioned; - - public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; - private String channelUrl; - - public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; - private File coverFile; - - public static final String JSON_PROPERTY_COVER_URL = "cover_url"; - private String coverUrl; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; - private Boolean isEphemeral; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; - private List operatorIds = null; - - public SendBirdCreateAnOpenChannelRequest() { - } - - public SendBirdCreateAnOpenChannelRequest isDynamicPartitioned(Boolean isDynamicPartitioned) { - this.isDynamicPartitioned = isDynamicPartitioned; - return this; - } - - /** - * Get isDynamicPartitioned - * @return isDynamicPartitioned - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DYNAMIC_PARTITIONED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDynamicPartitioned() { - return isDynamicPartitioned; - } - - - @JsonProperty(JSON_PROPERTY_IS_DYNAMIC_PARTITIONED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDynamicPartitioned(Boolean isDynamicPartitioned) { - this.isDynamicPartitioned = isDynamicPartitioned; - } - - - public SendBirdCreateAnOpenChannelRequest channelUrl(String channelUrl) { - this.channelUrl = channelUrl; - return this; - } - - /** - * Get channelUrl - * @return channelUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getChannelUrl() { - return channelUrl; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannelUrl(String channelUrl) { - this.channelUrl = channelUrl; - } - - - public SendBirdCreateAnOpenChannelRequest coverFile(File coverFile) { - this.coverFile = coverFile; - return this; - } - - /** - * Get coverFile - * @return coverFile - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public File getCoverFile() { - return coverFile; - } - - - @JsonProperty(JSON_PROPERTY_COVER_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverFile(File coverFile) { - this.coverFile = coverFile; - } - - - public SendBirdCreateAnOpenChannelRequest coverUrl(String coverUrl) { - this.coverUrl = coverUrl; - return this; - } - - /** - * Get coverUrl - * @return coverUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCoverUrl() { - return coverUrl; - } - - - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverUrl(String coverUrl) { - this.coverUrl = coverUrl; - } - - - public SendBirdCreateAnOpenChannelRequest customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdCreateAnOpenChannelRequest data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdCreateAnOpenChannelRequest isEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - return this; - } - - /** - * Get isEphemeral - * @return isEphemeral - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsEphemeral() { - return isEphemeral; - } - - - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - } - - - public SendBirdCreateAnOpenChannelRequest name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - public SendBirdCreateAnOpenChannelRequest operatorIds(List operatorIds) { - this.operatorIds = operatorIds; - return this; - } - - public SendBirdCreateAnOpenChannelRequest addOperatorIdsItem(String operatorIdsItem) { - if (this.operatorIds == null) { - this.operatorIds = new ArrayList<>(); - } - this.operatorIds.add(operatorIdsItem); - return this; - } - - /** - * Get operatorIds - * @return operatorIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getOperatorIds() { - return operatorIds; - } - - - @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperatorIds(List operatorIds) { - this.operatorIds = operatorIds; - } - - - /** - * Return true if this createAnOpenChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdCreateAnOpenChannelRequest createAnOpenChannelRequest = (SendBirdCreateAnOpenChannelRequest) o; - return Objects.equals(this.isDynamicPartitioned, createAnOpenChannelRequest.isDynamicPartitioned) && - Objects.equals(this.channelUrl, createAnOpenChannelRequest.channelUrl) && - Objects.equals(this.coverFile, createAnOpenChannelRequest.coverFile) && - Objects.equals(this.coverUrl, createAnOpenChannelRequest.coverUrl) && - Objects.equals(this.customType, createAnOpenChannelRequest.customType) && - Objects.equals(this.data, createAnOpenChannelRequest.data) && - Objects.equals(this.isEphemeral, createAnOpenChannelRequest.isEphemeral) && - Objects.equals(this.name, createAnOpenChannelRequest.name) && - Objects.equals(this.operatorIds, createAnOpenChannelRequest.operatorIds); - } - - @Override - public int hashCode() { - return Objects.hash(isDynamicPartitioned, channelUrl, coverFile, coverUrl, customType, data, isEphemeral, name, operatorIds); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdCreateAnOpenChannelRequest {\n"); - sb.append(" isDynamicPartitioned: ").append(toIndentedString(isDynamicPartitioned)).append("\n"); - sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); - sb.append(" coverFile: ").append(toIndentedString(coverFile)).append("\n"); - sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" operatorIds: ").append(toIndentedString(operatorIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java b/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java deleted file mode 100644 index 908fc25d..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenRequest.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdCreateUserTokenRequest - */ -@JsonPropertyOrder({ - SendBirdCreateUserTokenRequest.JSON_PROPERTY_EXPIRES_AT -}) -@JsonTypeName("createUserToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdCreateUserTokenRequest { - public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; - private Long expiresAt; - - public SendBirdCreateUserTokenRequest() { - } - - public SendBirdCreateUserTokenRequest expiresAt(Long expiresAt) { - this.expiresAt = expiresAt; - return this; - } - - /** - * Get expiresAt - * @return expiresAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_EXPIRES_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getExpiresAt() { - return expiresAt; - } - - - @JsonProperty(JSON_PROPERTY_EXPIRES_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExpiresAt(Long expiresAt) { - this.expiresAt = expiresAt; - } - - - /** - * Return true if this createUserToken_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdCreateUserTokenRequest createUserTokenRequest = (SendBirdCreateUserTokenRequest) o; - return Objects.equals(this.expiresAt, createUserTokenRequest.expiresAt); - } - - @Override - public int hashCode() { - return Objects.hash(expiresAt); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdCreateUserTokenRequest {\n"); - sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java deleted file mode 100644 index 231f579a..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdCreateUserTokenResponse.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdCreateUserTokenResponse - */ -@JsonPropertyOrder({ - SendBirdCreateUserTokenResponse.JSON_PROPERTY_EXPIRES_AT, - SendBirdCreateUserTokenResponse.JSON_PROPERTY_TOKEN -}) -@JsonTypeName("createUserTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdCreateUserTokenResponse { - public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; - private Long expiresAt; - - public static final String JSON_PROPERTY_TOKEN = "token"; - private String token; - - public SendBirdCreateUserTokenResponse() { - } - - public SendBirdCreateUserTokenResponse expiresAt(Long expiresAt) { - this.expiresAt = expiresAt; - return this; - } - - /** - * Get expiresAt - * @return expiresAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_EXPIRES_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getExpiresAt() { - return expiresAt; - } - - - @JsonProperty(JSON_PROPERTY_EXPIRES_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExpiresAt(Long expiresAt) { - this.expiresAt = expiresAt; - } - - - public SendBirdCreateUserTokenResponse token(String token) { - this.token = token; - return this; - } - - /** - * Get token - * @return token - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getToken() { - return token; - } - - - @JsonProperty(JSON_PROPERTY_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setToken(String token) { - this.token = token; - } - - - /** - * Return true if this createUserTokenResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdCreateUserTokenResponse createUserTokenResponse = (SendBirdCreateUserTokenResponse) o; - return Objects.equals(this.expiresAt, createUserTokenResponse.expiresAt) && - Objects.equals(this.token, createUserTokenResponse.token); - } - - @Override - public int hashCode() { - return Objects.hash(expiresAt, token); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdCreateUserTokenResponse {\n"); - sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); - sb.append(" token: ").append(toIndentedString(token)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdFile.java b/src/main/java/org/openapitools/client/model/SendBirdFile.java index b9e4beed..162f84d7 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdFile.java +++ b/src/main/java/org/openapitools/client/model/SendBirdFile.java @@ -26,25 +26,25 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdThumbnail; +import org.openapitools.client.model.SendbirdThumbnail; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; /** - * SendBirdFile + * SendbirdFile */ @JsonPropertyOrder({ - SendBirdFile.JSON_PROPERTY_URL, - SendBirdFile.JSON_PROPERTY_FILE_NAME, - SendBirdFile.JSON_PROPERTY_FILE_SIZE, - SendBirdFile.JSON_PROPERTY_FILE_TYPE, - SendBirdFile.JSON_PROPERTY_THUMBNAILS, - SendBirdFile.JSON_PROPERTY_REQUIRE_AUTH + SendbirdFile.JSON_PROPERTY_URL, + SendbirdFile.JSON_PROPERTY_FILE_NAME, + SendbirdFile.JSON_PROPERTY_FILE_SIZE, + SendbirdFile.JSON_PROPERTY_FILE_TYPE, + SendbirdFile.JSON_PROPERTY_THUMBNAILS, + SendbirdFile.JSON_PROPERTY_REQUIRE_AUTH }) -@JsonTypeName("SendBird.File") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdFile { +@JsonTypeName("Sendbird.File") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdFile { public static final String JSON_PROPERTY_URL = "url"; private String url; @@ -58,15 +58,15 @@ public class SendBirdFile { private String fileType; public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; - private List thumbnails = null; + private List thumbnails = null; public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; private Boolean requireAuth; - public SendBirdFile() { + public SendbirdFile() { } - public SendBirdFile url(String url) { + public SendbirdFile url(String url) { this.url = url; return this; } @@ -92,7 +92,7 @@ public void setUrl(String url) { } - public SendBirdFile fileName(String fileName) { + public SendbirdFile fileName(String fileName) { this.fileName = fileName; return this; } @@ -118,7 +118,7 @@ public void setFileName(String fileName) { } - public SendBirdFile fileSize(Integer fileSize) { + public SendbirdFile fileSize(Integer fileSize) { this.fileSize = fileSize; return this; } @@ -144,7 +144,7 @@ public void setFileSize(Integer fileSize) { } - public SendBirdFile fileType(String fileType) { + public SendbirdFile fileType(String fileType) { this.fileType = fileType; return this; } @@ -170,12 +170,12 @@ public void setFileType(String fileType) { } - public SendBirdFile thumbnails(List thumbnails) { + public SendbirdFile thumbnails(List thumbnails) { this.thumbnails = thumbnails; return this; } - public SendBirdFile addThumbnailsItem(SendBirdThumbnail thumbnailsItem) { + public SendbirdFile addThumbnailsItem(SendbirdThumbnail thumbnailsItem) { if (this.thumbnails == null) { this.thumbnails = new ArrayList<>(); } @@ -192,19 +192,19 @@ public SendBirdFile addThumbnailsItem(SendBirdThumbnail thumbnailsItem) { @JsonProperty(JSON_PROPERTY_THUMBNAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getThumbnails() { + public List getThumbnails() { return thumbnails; } @JsonProperty(JSON_PROPERTY_THUMBNAILS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnails(List thumbnails) { + public void setThumbnails(List thumbnails) { this.thumbnails = thumbnails; } - public SendBirdFile requireAuth(Boolean requireAuth) { + public SendbirdFile requireAuth(Boolean requireAuth) { this.requireAuth = requireAuth; return this; } @@ -231,7 +231,7 @@ public void setRequireAuth(Boolean requireAuth) { /** - * Return true if this SendBird.File object is equal to o. + * Return true if this Sendbird.File object is equal to o. */ @Override public boolean equals(Object o) { @@ -241,13 +241,13 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdFile sendBirdFile = (SendBirdFile) o; - return Objects.equals(this.url, sendBirdFile.url) && - Objects.equals(this.fileName, sendBirdFile.fileName) && - Objects.equals(this.fileSize, sendBirdFile.fileSize) && - Objects.equals(this.fileType, sendBirdFile.fileType) && - Objects.equals(this.thumbnails, sendBirdFile.thumbnails) && - Objects.equals(this.requireAuth, sendBirdFile.requireAuth); + SendbirdFile sendbirdFile = (SendbirdFile) o; + return Objects.equals(this.url, sendbirdFile.url) && + Objects.equals(this.fileName, sendbirdFile.fileName) && + Objects.equals(this.fileSize, sendbirdFile.fileSize) && + Objects.equals(this.fileType, sendbirdFile.fileType) && + Objects.equals(this.thumbnails, sendbirdFile.thumbnails) && + Objects.equals(this.requireAuth, sendbirdFile.requireAuth); } @Override @@ -258,7 +258,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdFile {\n"); + sb.append("class SendbirdFile {\n"); sb.append(" url: ").append(toIndentedString(url)).append("\n"); sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n"); sb.append(" fileSize: ").append(toIndentedString(fileSize)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java deleted file mode 100644 index 7c67e7f6..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequest.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdFreezeAGroupChannelRequest - */ -@JsonPropertyOrder({ - SendBirdFreezeAGroupChannelRequest.JSON_PROPERTY_FREEZE -}) -@JsonTypeName("freezeAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdFreezeAGroupChannelRequest { - public static final String JSON_PROPERTY_FREEZE = "freeze"; - private Boolean freeze; - - public SendBirdFreezeAGroupChannelRequest() { - } - - public SendBirdFreezeAGroupChannelRequest freeze(Boolean freeze) { - this.freeze = freeze; - return this; - } - - /** - * Get freeze - * @return freeze - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Boolean getFreeze() { - return freeze; - } - - - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setFreeze(Boolean freeze) { - this.freeze = freeze; - } - - - /** - * Return true if this freezeAGroupChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdFreezeAGroupChannelRequest freezeAGroupChannelRequest = (SendBirdFreezeAGroupChannelRequest) o; - return Objects.equals(this.freeze, freezeAGroupChannelRequest.freeze); - } - - @Override - public int hashCode() { - return Objects.hash(freeze); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdFreezeAGroupChannelRequest {\n"); - sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java deleted file mode 100644 index f858753c..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequest.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdFreezeAnOpenChannelRequest - */ -@JsonPropertyOrder({ - SendBirdFreezeAnOpenChannelRequest.JSON_PROPERTY_FREEZE -}) -@JsonTypeName("freezeAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdFreezeAnOpenChannelRequest { - public static final String JSON_PROPERTY_FREEZE = "freeze"; - private Boolean freeze; - - public SendBirdFreezeAnOpenChannelRequest() { - } - - public SendBirdFreezeAnOpenChannelRequest freeze(Boolean freeze) { - this.freeze = freeze; - return this; - } - - /** - * Determines whether to freeze the channel. (Default: true) - * @return freeze - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Determines whether to freeze the channel. (Default: true)") - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Boolean getFreeze() { - return freeze; - } - - - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setFreeze(Boolean freeze) { - this.freeze = freeze; - } - - - /** - * Return true if this freezeAnOpenChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdFreezeAnOpenChannelRequest freezeAnOpenChannelRequest = (SendBirdFreezeAnOpenChannelRequest) o; - return Objects.equals(this.freeze, freezeAnOpenChannelRequest.freeze); - } - - @Override - public int hashCode() { - return Objects.hash(freeze); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdFreezeAnOpenChannelRequest {\n"); - sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java deleted file mode 100644 index fc1f1542..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponse.java +++ /dev/null @@ -1,1771 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.openapitools.client.model.SendBirdGetAGroupChannelResponseAllOf; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendBirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendBirdGroupChannel; -import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetailChannel; -import org.openapitools.client.model.SendBirdSendBirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdSendBirdMember; -import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSendBirdSmsFallback; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdGetAGroupChannelResponse - */ -@JsonPropertyOrder({ - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_CHANNEL, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_CHANNEL_URL, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_COUNT_PREFERENCE, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_COVER_URL, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_CREATED_AT, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_CREATED_BY, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_DATA, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_DELIVERY_RECEIPT, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_DISAPPEARING_MESSAGE, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_FREEZE, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_HAS_AI_BOT, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_HAS_BOT, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_HIDDEN_STATE, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_INVITED_AT, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_INVITER, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_BROADCAST, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_DISCOVERABLE, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_DISTINCT, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_EXCLUSIVE, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_HIDDEN, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_MUTED, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_PUBLIC, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_PUSH_ENABLED, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_IS_SUPER, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_JOINED_MEMBER_COUNT, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_JOINED_TS, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_LAST_MESSAGE, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MEMBER_COUNT, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MEMBER_STATE, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MEMBERS, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_METADATA, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_MY_ROLE, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_NAME, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_READ_RECEIPT, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_SMS_FALLBACK, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_TS_MESSAGE_OFFSET, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_UNREAD_MENTION_COUNT, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, - SendBirdGetAGroupChannelResponse.JSON_PROPERTY_USER_LAST_READ -}) -@JsonTypeName("getAGroupChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdGetAGroupChannelResponse { - public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendBirdSendBirdGroupChannelDetailChannel channel; - - public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; - private String channelUrl; - - /** - * Gets or Sets countPreference - */ - public enum CountPreferenceEnum { - FALSE("false"), - - ALL("all"), - - UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), - - UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); - - private String value; - - CountPreferenceEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static CountPreferenceEnum fromValue(String value) { - for (CountPreferenceEnum b : CountPreferenceEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; - private CountPreferenceEnum countPreference; - - public static final String JSON_PROPERTY_COVER_URL = "cover_url"; - private String coverUrl; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdSendBirdBasicUserInfo createdBy; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DELIVERY_RECEIPT = "delivery_receipt"; - private Object deliveryReceipt; - - public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdSendBirdDisappearingMessage disappearingMessage; - - public static final String JSON_PROPERTY_FREEZE = "freeze"; - private Boolean freeze; - - public static final String JSON_PROPERTY_HAS_AI_BOT = "has_ai_bot"; - private Boolean hasAiBot; - - public static final String JSON_PROPERTY_HAS_BOT = "has_bot"; - private Boolean hasBot; - - /** - * Gets or Sets hiddenState - */ - public enum HiddenStateEnum { - HIDDEN_ALLOW_AUTO_UNHIDE("hidden_allow_auto_unhide"), - - HIDDEN_PREVENT_AUTO_UNHIDE("hidden_prevent_auto_unhide"), - - UNHIDDEN("unhidden"); - - private String value; - - HiddenStateEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static HiddenStateEnum fromValue(String value) { - for (HiddenStateEnum b : HiddenStateEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_HIDDEN_STATE = "hidden_state"; - private HiddenStateEnum hiddenState; - - public static final String JSON_PROPERTY_IGNORE_PROFANITY_FILTER = "ignore_profanity_filter"; - private Boolean ignoreProfanityFilter; - - public static final String JSON_PROPERTY_INVITED_AT = "invited_at"; - private Long invitedAt; - - public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendBirdSendBirdBasicUserInfo inviter; - - public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; - private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_IS_BROADCAST = "is_broadcast"; - private Boolean isBroadcast; - - public static final String JSON_PROPERTY_IS_DISCOVERABLE = "is_discoverable"; - private Boolean isDiscoverable; - - public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; - private Boolean isDistinct; - - public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; - private Boolean isEphemeral; - - public static final String JSON_PROPERTY_IS_EXCLUSIVE = "is_exclusive"; - private Boolean isExclusive; - - public static final String JSON_PROPERTY_IS_HIDDEN = "is_hidden"; - private Boolean isHidden; - - public static final String JSON_PROPERTY_IS_MUTED = "is_muted"; - private Boolean isMuted; - - public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; - private Boolean isPublic; - - public static final String JSON_PROPERTY_IS_PUSH_ENABLED = "is_push_enabled"; - private Boolean isPushEnabled; - - public static final String JSON_PROPERTY_IS_SUPER = "is_super"; - private Boolean isSuper; - - public static final String JSON_PROPERTY_JOINED_MEMBER_COUNT = "joined_member_count"; - private Integer joinedMemberCount; - - public static final String JSON_PROPERTY_JOINED_TS = "joined_ts"; - private JsonNullable joinedTs = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdSendBirdGroupChannelLastMessage lastMessage; - - public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; - private Integer maxLengthMessage; - - public static final String JSON_PROPERTY_MEMBER_COUNT = "member_count"; - private Integer memberCount; - - /** - * Gets or Sets memberState - */ - public enum MemberStateEnum { - INVITED("invited"), - - JOINED("joined"), - - NONE("none"); - - private String value; - - MemberStateEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MemberStateEnum fromValue(String value) { - for (MemberStateEnum b : MemberStateEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MEMBER_STATE = "member_state"; - private MemberStateEnum memberState; - - public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; - - public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; - private Integer messageSurvivalSeconds; - - public static final String JSON_PROPERTY_METADATA = "metadata"; - private JsonNullable metadata = JsonNullable.undefined(); - - /** - * Gets or Sets myRole - */ - public enum MyRoleEnum { - EMPTY(""), - - NONE("none"), - - OPERATOR("operator"); - - private String value; - - MyRoleEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MyRoleEnum fromValue(String value) { - for (MyRoleEnum b : MyRoleEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MY_ROLE = "my_role"; - private MyRoleEnum myRole; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendBirdPushTriggerOption pushTriggerOption; - - public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; - private Map readReceipt = null; - - public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSendBirdSmsFallback smsFallback; - - public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; - private Long tsMessageOffset; - - public static final String JSON_PROPERTY_UNREAD_MENTION_COUNT = "unread_mention_count"; - private Integer unreadMentionCount; - - public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; - private Integer unreadMessageCount; - - public static final String JSON_PROPERTY_USER_LAST_READ = "user_last_read"; - private Long userLastRead; - - public SendBirdGetAGroupChannelResponse() { - } - - public SendBirdGetAGroupChannelResponse channel(SendBirdSendBirdGroupChannelDetailChannel channel) { - this.channel = channel; - return this; - } - - /** - * Get channel - * @return channel - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdGroupChannelDetailChannel getChannel() { - return channel; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendBirdSendBirdGroupChannelDetailChannel channel) { - this.channel = channel; - } - - - public SendBirdGetAGroupChannelResponse channelUrl(String channelUrl) { - this.channelUrl = channelUrl; - return this; - } - - /** - * Get channelUrl - * @return channelUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getChannelUrl() { - return channelUrl; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setChannelUrl(String channelUrl) { - this.channelUrl = channelUrl; - } - - - public SendBirdGetAGroupChannelResponse countPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - return this; - } - - /** - * Get countPreference - * @return countPreference - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public CountPreferenceEnum getCountPreference() { - return countPreference; - } - - - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCountPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - } - - - public SendBirdGetAGroupChannelResponse coverUrl(String coverUrl) { - this.coverUrl = coverUrl; - return this; - } - - /** - * Get coverUrl - * @return coverUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCoverUrl() { - return coverUrl; - } - - - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverUrl(String coverUrl) { - this.coverUrl = coverUrl; - } - - - public SendBirdGetAGroupChannelResponse createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdGetAGroupChannelResponse createdBy(SendBirdSendBirdBasicUserInfo createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * Get createdBy - * @return createdBy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_BY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getCreatedBy() { - return createdBy; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_BY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdSendBirdBasicUserInfo createdBy) { - this.createdBy = createdBy; - } - - - public SendBirdGetAGroupChannelResponse customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdGetAGroupChannelResponse data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdGetAGroupChannelResponse deliveryReceipt(Object deliveryReceipt) { - this.deliveryReceipt = deliveryReceipt; - return this; - } - - /** - * Get deliveryReceipt - * @return deliveryReceipt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getDeliveryReceipt() { - return deliveryReceipt; - } - - - @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDeliveryReceipt(Object deliveryReceipt) { - this.deliveryReceipt = deliveryReceipt; - } - - - public SendBirdGetAGroupChannelResponse disappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { - this.disappearingMessage = disappearingMessage; - return this; - } - - /** - * Get disappearingMessage - * @return disappearingMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdDisappearingMessage getDisappearingMessage() { - return disappearingMessage; - } - - - @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { - this.disappearingMessage = disappearingMessage; - } - - - public SendBirdGetAGroupChannelResponse freeze(Boolean freeze) { - this.freeze = freeze; - return this; - } - - /** - * Get freeze - * @return freeze - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getFreeze() { - return freeze; - } - - - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFreeze(Boolean freeze) { - this.freeze = freeze; - } - - - public SendBirdGetAGroupChannelResponse hasAiBot(Boolean hasAiBot) { - this.hasAiBot = hasAiBot; - return this; - } - - /** - * Get hasAiBot - * @return hasAiBot - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getHasAiBot() { - return hasAiBot; - } - - - @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHasAiBot(Boolean hasAiBot) { - this.hasAiBot = hasAiBot; - } - - - public SendBirdGetAGroupChannelResponse hasBot(Boolean hasBot) { - this.hasBot = hasBot; - return this; - } - - /** - * Get hasBot - * @return hasBot - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HAS_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getHasBot() { - return hasBot; - } - - - @JsonProperty(JSON_PROPERTY_HAS_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHasBot(Boolean hasBot) { - this.hasBot = hasBot; - } - - - public SendBirdGetAGroupChannelResponse hiddenState(HiddenStateEnum hiddenState) { - this.hiddenState = hiddenState; - return this; - } - - /** - * Get hiddenState - * @return hiddenState - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public HiddenStateEnum getHiddenState() { - return hiddenState; - } - - - @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHiddenState(HiddenStateEnum hiddenState) { - this.hiddenState = hiddenState; - } - - - public SendBirdGetAGroupChannelResponse ignoreProfanityFilter(Boolean ignoreProfanityFilter) { - this.ignoreProfanityFilter = ignoreProfanityFilter; - return this; - } - - /** - * Get ignoreProfanityFilter - * @return ignoreProfanityFilter - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIgnoreProfanityFilter() { - return ignoreProfanityFilter; - } - - - @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { - this.ignoreProfanityFilter = ignoreProfanityFilter; - } - - - public SendBirdGetAGroupChannelResponse invitedAt(Long invitedAt) { - this.invitedAt = invitedAt; - return this; - } - - /** - * Get invitedAt - * @return invitedAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INVITED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getInvitedAt() { - return invitedAt; - } - - - @JsonProperty(JSON_PROPERTY_INVITED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInvitedAt(Long invitedAt) { - this.invitedAt = invitedAt; - } - - - public SendBirdGetAGroupChannelResponse inviter(SendBirdSendBirdBasicUserInfo inviter) { - this.inviter = inviter; - return this; - } - - /** - * Get inviter - * @return inviter - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INVITER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getInviter() { - return inviter; - } - - - @JsonProperty(JSON_PROPERTY_INVITER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendBirdSendBirdBasicUserInfo inviter) { - this.inviter = inviter; - } - - - public SendBirdGetAGroupChannelResponse isAccessCodeRequired(Boolean isAccessCodeRequired) { - this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); - return this; - } - - /** - * Get isAccessCodeRequired - * @return isAccessCodeRequired - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Boolean getIsAccessCodeRequired() { - return isAccessCodeRequired.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getIsAccessCodeRequired_JsonNullable() { - return isAccessCodeRequired; - } - - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) - public void setIsAccessCodeRequired_JsonNullable(JsonNullable isAccessCodeRequired) { - this.isAccessCodeRequired = isAccessCodeRequired; - } - - public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { - this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); - } - - - public SendBirdGetAGroupChannelResponse isBroadcast(Boolean isBroadcast) { - this.isBroadcast = isBroadcast; - return this; - } - - /** - * Get isBroadcast - * @return isBroadcast - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_BROADCAST) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsBroadcast() { - return isBroadcast; - } - - - @JsonProperty(JSON_PROPERTY_IS_BROADCAST) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsBroadcast(Boolean isBroadcast) { - this.isBroadcast = isBroadcast; - } - - - public SendBirdGetAGroupChannelResponse isDiscoverable(Boolean isDiscoverable) { - this.isDiscoverable = isDiscoverable; - return this; - } - - /** - * Get isDiscoverable - * @return isDiscoverable - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDiscoverable() { - return isDiscoverable; - } - - - @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDiscoverable(Boolean isDiscoverable) { - this.isDiscoverable = isDiscoverable; - } - - - public SendBirdGetAGroupChannelResponse isDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - return this; - } - - /** - * Get isDistinct - * @return isDistinct - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDistinct() { - return isDistinct; - } - - - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - } - - - public SendBirdGetAGroupChannelResponse isEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - return this; - } - - /** - * Get isEphemeral - * @return isEphemeral - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsEphemeral() { - return isEphemeral; - } - - - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - } - - - public SendBirdGetAGroupChannelResponse isExclusive(Boolean isExclusive) { - this.isExclusive = isExclusive; - return this; - } - - /** - * Get isExclusive - * @return isExclusive - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsExclusive() { - return isExclusive; - } - - - @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsExclusive(Boolean isExclusive) { - this.isExclusive = isExclusive; - } - - - public SendBirdGetAGroupChannelResponse isHidden(Boolean isHidden) { - this.isHidden = isHidden; - return this; - } - - /** - * Get isHidden - * @return isHidden - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_HIDDEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsHidden() { - return isHidden; - } - - - @JsonProperty(JSON_PROPERTY_IS_HIDDEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsHidden(Boolean isHidden) { - this.isHidden = isHidden; - } - - - public SendBirdGetAGroupChannelResponse isMuted(Boolean isMuted) { - this.isMuted = isMuted; - return this; - } - - /** - * Get isMuted - * @return isMuted - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_MUTED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsMuted() { - return isMuted; - } - - - @JsonProperty(JSON_PROPERTY_IS_MUTED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsMuted(Boolean isMuted) { - this.isMuted = isMuted; - } - - - public SendBirdGetAGroupChannelResponse isPublic(Boolean isPublic) { - this.isPublic = isPublic; - return this; - } - - /** - * Get isPublic - * @return isPublic - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPublic() { - return isPublic; - } - - - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPublic(Boolean isPublic) { - this.isPublic = isPublic; - } - - - public SendBirdGetAGroupChannelResponse isPushEnabled(Boolean isPushEnabled) { - this.isPushEnabled = isPushEnabled; - return this; - } - - /** - * Get isPushEnabled - * @return isPushEnabled - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPushEnabled() { - return isPushEnabled; - } - - - @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPushEnabled(Boolean isPushEnabled) { - this.isPushEnabled = isPushEnabled; - } - - - public SendBirdGetAGroupChannelResponse isSuper(Boolean isSuper) { - this.isSuper = isSuper; - return this; - } - - /** - * Get isSuper - * @return isSuper - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsSuper() { - return isSuper; - } - - - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsSuper(Boolean isSuper) { - this.isSuper = isSuper; - } - - - public SendBirdGetAGroupChannelResponse joinedMemberCount(Integer joinedMemberCount) { - this.joinedMemberCount = joinedMemberCount; - return this; - } - - /** - * Get joinedMemberCount - * @return joinedMemberCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getJoinedMemberCount() { - return joinedMemberCount; - } - - - @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setJoinedMemberCount(Integer joinedMemberCount) { - this.joinedMemberCount = joinedMemberCount; - } - - - public SendBirdGetAGroupChannelResponse joinedTs(Long joinedTs) { - this.joinedTs = JsonNullable.of(joinedTs); - return this; - } - - /** - * Get joinedTs - * @return joinedTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Long getJoinedTs() { - return joinedTs.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_JOINED_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getJoinedTs_JsonNullable() { - return joinedTs; - } - - @JsonProperty(JSON_PROPERTY_JOINED_TS) - public void setJoinedTs_JsonNullable(JsonNullable joinedTs) { - this.joinedTs = joinedTs; - } - - public void setJoinedTs(Long joinedTs) { - this.joinedTs = JsonNullable.of(joinedTs); - } - - - public SendBirdGetAGroupChannelResponse lastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { - this.lastMessage = lastMessage; - return this; - } - - /** - * Get lastMessage - * @return lastMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdGroupChannelLastMessage getLastMessage() { - return lastMessage; - } - - - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { - this.lastMessage = lastMessage; - } - - - public SendBirdGetAGroupChannelResponse maxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - return this; - } - - /** - * Get maxLengthMessage - * @return maxLengthMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMaxLengthMessage() { - return maxLengthMessage; - } - - - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMaxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - } - - - public SendBirdGetAGroupChannelResponse memberCount(Integer memberCount) { - this.memberCount = memberCount; - return this; - } - - /** - * Get memberCount - * @return memberCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMemberCount() { - return memberCount; - } - - - @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMemberCount(Integer memberCount) { - this.memberCount = memberCount; - } - - - public SendBirdGetAGroupChannelResponse memberState(MemberStateEnum memberState) { - this.memberState = memberState; - return this; - } - - /** - * Get memberState - * @return memberState - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBER_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public MemberStateEnum getMemberState() { - return memberState; - } - - - @JsonProperty(JSON_PROPERTY_MEMBER_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMemberState(MemberStateEnum memberState) { - this.memberState = memberState; - } - - - public SendBirdGetAGroupChannelResponse members(List members) { - this.members = members; - return this; - } - - public SendBirdGetAGroupChannelResponse addMembersItem(SendBirdSendBirdMember membersItem) { - if (this.members == null) { - this.members = new ArrayList<>(); - } - this.members.add(membersItem); - return this; - } - - /** - * Get members - * @return members - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMembers() { - return members; - } - - - @JsonProperty(JSON_PROPERTY_MEMBERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { - this.members = members; - } - - - public SendBirdGetAGroupChannelResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - return this; - } - - /** - * Get messageSurvivalSeconds - * @return messageSurvivalSeconds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMessageSurvivalSeconds() { - return messageSurvivalSeconds; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - } - - - public SendBirdGetAGroupChannelResponse metadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Object getMetadata() { - return metadata.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getMetadata_JsonNullable() { - return metadata; - } - - @JsonProperty(JSON_PROPERTY_METADATA) - public void setMetadata_JsonNullable(JsonNullable metadata) { - this.metadata = metadata; - } - - public void setMetadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - } - - - public SendBirdGetAGroupChannelResponse myRole(MyRoleEnum myRole) { - this.myRole = myRole; - return this; - } - - /** - * Get myRole - * @return myRole - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MY_ROLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public MyRoleEnum getMyRole() { - return myRole; - } - - - @JsonProperty(JSON_PROPERTY_MY_ROLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMyRole(MyRoleEnum myRole) { - this.myRole = myRole; - } - - - public SendBirdGetAGroupChannelResponse name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - public SendBirdGetAGroupChannelResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - return this; - } - - /** - * Get pushTriggerOption - * @return pushTriggerOption - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { - return pushTriggerOption; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - } - - - public SendBirdGetAGroupChannelResponse readReceipt(Map readReceipt) { - this.readReceipt = readReceipt; - return this; - } - - public SendBirdGetAGroupChannelResponse putReadReceiptItem(String key, Long readReceiptItem) { - if (this.readReceipt == null) { - this.readReceipt = new HashMap<>(); - } - this.readReceipt.put(key, readReceiptItem); - return this; - } - - /** - * Get readReceipt - * @return readReceipt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_READ_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Map getReadReceipt() { - return readReceipt; - } - - - @JsonProperty(JSON_PROPERTY_READ_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReadReceipt(Map readReceipt) { - this.readReceipt = readReceipt; - } - - - public SendBirdGetAGroupChannelResponse smsFallback(SendBirdSendBirdSmsFallback smsFallback) { - this.smsFallback = smsFallback; - return this; - } - - /** - * Get smsFallback - * @return smsFallback - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdSmsFallback getSmsFallback() { - return smsFallback; - } - - - @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSendBirdSmsFallback smsFallback) { - this.smsFallback = smsFallback; - } - - - public SendBirdGetAGroupChannelResponse tsMessageOffset(Long tsMessageOffset) { - this.tsMessageOffset = tsMessageOffset; - return this; - } - - /** - * Get tsMessageOffset - * @return tsMessageOffset - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getTsMessageOffset() { - return tsMessageOffset; - } - - - @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTsMessageOffset(Long tsMessageOffset) { - this.tsMessageOffset = tsMessageOffset; - } - - - public SendBirdGetAGroupChannelResponse unreadMentionCount(Integer unreadMentionCount) { - this.unreadMentionCount = unreadMentionCount; - return this; - } - - /** - * Get unreadMentionCount - * @return unreadMentionCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadMentionCount() { - return unreadMentionCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadMentionCount(Integer unreadMentionCount) { - this.unreadMentionCount = unreadMentionCount; - } - - - public SendBirdGetAGroupChannelResponse unreadMessageCount(Integer unreadMessageCount) { - this.unreadMessageCount = unreadMessageCount; - return this; - } - - /** - * Get unreadMessageCount - * @return unreadMessageCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadMessageCount() { - return unreadMessageCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadMessageCount(Integer unreadMessageCount) { - this.unreadMessageCount = unreadMessageCount; - } - - - public SendBirdGetAGroupChannelResponse userLastRead(Long userLastRead) { - this.userLastRead = userLastRead; - return this; - } - - /** - * Get userLastRead - * @return userLastRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER_LAST_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getUserLastRead() { - return userLastRead; - } - - - @JsonProperty(JSON_PROPERTY_USER_LAST_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUserLastRead(Long userLastRead) { - this.userLastRead = userLastRead; - } - - - /** - * Return true if this getAGroupChannelResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdGetAGroupChannelResponse getAGroupChannelResponse = (SendBirdGetAGroupChannelResponse) o; - return Objects.equals(this.channel, getAGroupChannelResponse.channel) && - Objects.equals(this.channelUrl, getAGroupChannelResponse.channelUrl) && - Objects.equals(this.countPreference, getAGroupChannelResponse.countPreference) && - Objects.equals(this.coverUrl, getAGroupChannelResponse.coverUrl) && - Objects.equals(this.createdAt, getAGroupChannelResponse.createdAt) && - Objects.equals(this.createdBy, getAGroupChannelResponse.createdBy) && - Objects.equals(this.customType, getAGroupChannelResponse.customType) && - Objects.equals(this.data, getAGroupChannelResponse.data) && - Objects.equals(this.deliveryReceipt, getAGroupChannelResponse.deliveryReceipt) && - Objects.equals(this.disappearingMessage, getAGroupChannelResponse.disappearingMessage) && - Objects.equals(this.freeze, getAGroupChannelResponse.freeze) && - Objects.equals(this.hasAiBot, getAGroupChannelResponse.hasAiBot) && - Objects.equals(this.hasBot, getAGroupChannelResponse.hasBot) && - Objects.equals(this.hiddenState, getAGroupChannelResponse.hiddenState) && - Objects.equals(this.ignoreProfanityFilter, getAGroupChannelResponse.ignoreProfanityFilter) && - Objects.equals(this.invitedAt, getAGroupChannelResponse.invitedAt) && - Objects.equals(this.inviter, getAGroupChannelResponse.inviter) && - equalsNullable(this.isAccessCodeRequired, getAGroupChannelResponse.isAccessCodeRequired) && - Objects.equals(this.isBroadcast, getAGroupChannelResponse.isBroadcast) && - Objects.equals(this.isDiscoverable, getAGroupChannelResponse.isDiscoverable) && - Objects.equals(this.isDistinct, getAGroupChannelResponse.isDistinct) && - Objects.equals(this.isEphemeral, getAGroupChannelResponse.isEphemeral) && - Objects.equals(this.isExclusive, getAGroupChannelResponse.isExclusive) && - Objects.equals(this.isHidden, getAGroupChannelResponse.isHidden) && - Objects.equals(this.isMuted, getAGroupChannelResponse.isMuted) && - Objects.equals(this.isPublic, getAGroupChannelResponse.isPublic) && - Objects.equals(this.isPushEnabled, getAGroupChannelResponse.isPushEnabled) && - Objects.equals(this.isSuper, getAGroupChannelResponse.isSuper) && - Objects.equals(this.joinedMemberCount, getAGroupChannelResponse.joinedMemberCount) && - equalsNullable(this.joinedTs, getAGroupChannelResponse.joinedTs) && - Objects.equals(this.lastMessage, getAGroupChannelResponse.lastMessage) && - Objects.equals(this.maxLengthMessage, getAGroupChannelResponse.maxLengthMessage) && - Objects.equals(this.memberCount, getAGroupChannelResponse.memberCount) && - Objects.equals(this.memberState, getAGroupChannelResponse.memberState) && - Objects.equals(this.members, getAGroupChannelResponse.members) && - Objects.equals(this.messageSurvivalSeconds, getAGroupChannelResponse.messageSurvivalSeconds) && - equalsNullable(this.metadata, getAGroupChannelResponse.metadata) && - Objects.equals(this.myRole, getAGroupChannelResponse.myRole) && - Objects.equals(this.name, getAGroupChannelResponse.name) && - Objects.equals(this.pushTriggerOption, getAGroupChannelResponse.pushTriggerOption) && - Objects.equals(this.readReceipt, getAGroupChannelResponse.readReceipt) && - Objects.equals(this.smsFallback, getAGroupChannelResponse.smsFallback) && - Objects.equals(this.tsMessageOffset, getAGroupChannelResponse.tsMessageOffset) && - Objects.equals(this.unreadMentionCount, getAGroupChannelResponse.unreadMentionCount) && - Objects.equals(this.unreadMessageCount, getAGroupChannelResponse.unreadMessageCount) && - Objects.equals(this.userLastRead, getAGroupChannelResponse.userLastRead); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(channel, channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, hashCodeNullable(isAccessCodeRequired), isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, hashCodeNullable(joinedTs), lastMessage, maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, hashCodeNullable(metadata), myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdGetAGroupChannelResponse {\n"); - sb.append(" channel: ").append(toIndentedString(channel)).append("\n"); - sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); - sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); - sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" deliveryReceipt: ").append(toIndentedString(deliveryReceipt)).append("\n"); - sb.append(" disappearingMessage: ").append(toIndentedString(disappearingMessage)).append("\n"); - sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); - sb.append(" hasAiBot: ").append(toIndentedString(hasAiBot)).append("\n"); - sb.append(" hasBot: ").append(toIndentedString(hasBot)).append("\n"); - sb.append(" hiddenState: ").append(toIndentedString(hiddenState)).append("\n"); - sb.append(" ignoreProfanityFilter: ").append(toIndentedString(ignoreProfanityFilter)).append("\n"); - sb.append(" invitedAt: ").append(toIndentedString(invitedAt)).append("\n"); - sb.append(" inviter: ").append(toIndentedString(inviter)).append("\n"); - sb.append(" isAccessCodeRequired: ").append(toIndentedString(isAccessCodeRequired)).append("\n"); - sb.append(" isBroadcast: ").append(toIndentedString(isBroadcast)).append("\n"); - sb.append(" isDiscoverable: ").append(toIndentedString(isDiscoverable)).append("\n"); - sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); - sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); - sb.append(" isExclusive: ").append(toIndentedString(isExclusive)).append("\n"); - sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n"); - sb.append(" isMuted: ").append(toIndentedString(isMuted)).append("\n"); - sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); - sb.append(" isPushEnabled: ").append(toIndentedString(isPushEnabled)).append("\n"); - sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); - sb.append(" joinedMemberCount: ").append(toIndentedString(joinedMemberCount)).append("\n"); - sb.append(" joinedTs: ").append(toIndentedString(joinedTs)).append("\n"); - sb.append(" lastMessage: ").append(toIndentedString(lastMessage)).append("\n"); - sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); - sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); - sb.append(" memberState: ").append(toIndentedString(memberState)).append("\n"); - sb.append(" members: ").append(toIndentedString(members)).append("\n"); - sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" myRole: ").append(toIndentedString(myRole)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); - sb.append(" readReceipt: ").append(toIndentedString(readReceipt)).append("\n"); - sb.append(" smsFallback: ").append(toIndentedString(smsFallback)).append("\n"); - sb.append(" tsMessageOffset: ").append(toIndentedString(tsMessageOffset)).append("\n"); - sb.append(" unreadMentionCount: ").append(toIndentedString(unreadMentionCount)).append("\n"); - sb.append(" unreadMessageCount: ").append(toIndentedString(unreadMessageCount)).append("\n"); - sb.append(" userLastRead: ").append(toIndentedString(userLastRead)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java b/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java deleted file mode 100644 index 148d5ff7..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOf.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetailChannel; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdGetAGroupChannelResponseAllOf - */ -@JsonPropertyOrder({ - SendBirdGetAGroupChannelResponseAllOf.JSON_PROPERTY_CHANNEL -}) -@JsonTypeName("getAGroupChannelResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdGetAGroupChannelResponseAllOf { - public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendBirdSendBirdGroupChannelDetailChannel channel; - - public SendBirdGetAGroupChannelResponseAllOf() { - } - - public SendBirdGetAGroupChannelResponseAllOf channel(SendBirdSendBirdGroupChannelDetailChannel channel) { - this.channel = channel; - return this; - } - - /** - * Get channel - * @return channel - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdGroupChannelDetailChannel getChannel() { - return channel; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendBirdSendBirdGroupChannelDetailChannel channel) { - this.channel = channel; - } - - - /** - * Return true if this getAGroupChannelResponse_allOf object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdGetAGroupChannelResponseAllOf getAGroupChannelResponseAllOf = (SendBirdGetAGroupChannelResponseAllOf) o; - return Objects.equals(this.channel, getAGroupChannelResponseAllOf.channel); - } - - @Override - public int hashCode() { - return Objects.hash(channel); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdGetAGroupChannelResponseAllOf {\n"); - sb.append(" channel: ").append(toIndentedString(channel)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java deleted file mode 100644 index 53953ed5..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponse.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdGetChannelInvitationPreferenceResponse - */ -@JsonPropertyOrder({ - SendBirdGetChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT -}) -@JsonTypeName("getChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdGetChannelInvitationPreferenceResponse { - public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; - private Boolean autoAccept; - - public SendBirdGetChannelInvitationPreferenceResponse() { - } - - public SendBirdGetChannelInvitationPreferenceResponse autoAccept(Boolean autoAccept) { - this.autoAccept = autoAccept; - return this; - } - - /** - * Get autoAccept - * @return autoAccept - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getAutoAccept() { - return autoAccept; - } - - - @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAutoAccept(Boolean autoAccept) { - this.autoAccept = autoAccept; - } - - - /** - * Return true if this getChannelInvitationPreferenceResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdGetChannelInvitationPreferenceResponse getChannelInvitationPreferenceResponse = (SendBirdGetChannelInvitationPreferenceResponse) o; - return Objects.equals(this.autoAccept, getChannelInvitationPreferenceResponse.autoAccept); - } - - @Override - public int hashCode() { - return Objects.hash(autoAccept); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdGetChannelInvitationPreferenceResponse {\n"); - sb.append(" autoAccept: ").append(toIndentedString(autoAccept)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java deleted file mode 100644 index fc27ccac..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponse.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdGetTotalNumberOfMessagesInAChannelResponse - */ -@JsonPropertyOrder({ - SendBirdGetTotalNumberOfMessagesInAChannelResponse.JSON_PROPERTY_TOTAL -}) -@JsonTypeName("getTotalNumberOfMessagesInAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdGetTotalNumberOfMessagesInAChannelResponse { - public static final String JSON_PROPERTY_TOTAL = "total"; - private Integer total; - - public SendBirdGetTotalNumberOfMessagesInAChannelResponse() { - } - - public SendBirdGetTotalNumberOfMessagesInAChannelResponse total(Integer total) { - this.total = total; - return this; - } - - /** - * Get total - * @return total - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TOTAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getTotal() { - return total; - } - - - @JsonProperty(JSON_PROPERTY_TOTAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTotal(Integer total) { - this.total = total; - } - - - /** - * Return true if this getTotalNumberOfMessagesInAChannelResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdGetTotalNumberOfMessagesInAChannelResponse getTotalNumberOfMessagesInAChannelResponse = (SendBirdGetTotalNumberOfMessagesInAChannelResponse) o; - return Objects.equals(this.total, getTotalNumberOfMessagesInAChannelResponse.total); - } - - @Override - public int hashCode() { - return Objects.hash(total); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdGetTotalNumberOfMessagesInAChannelResponse {\n"); - sb.append(" total: ").append(toIndentedString(total)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java b/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java index 8f79e8f9..5ae5018b 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java +++ b/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java @@ -28,12 +28,12 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.openapitools.client.model.SendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdDisappearingMessage; -import org.openapitools.client.model.SendBirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdMember; -import org.openapitools.client.model.SendBirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSmsFallback; +import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendbirdDisappearingMessage; +import org.openapitools.client.model.SendbirdGroupChannelLastMessage; +import org.openapitools.client.model.SendbirdMember; +import org.openapitools.client.model.SendbirdPushTriggerOption; +import org.openapitools.client.model.SendbirdSmsFallback; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -43,58 +43,58 @@ /** - * SendBirdGroupChannel + * SendbirdGroupChannel */ @JsonPropertyOrder({ - SendBirdGroupChannel.JSON_PROPERTY_CHANNEL_URL, - SendBirdGroupChannel.JSON_PROPERTY_COUNT_PREFERENCE, - SendBirdGroupChannel.JSON_PROPERTY_COVER_URL, - SendBirdGroupChannel.JSON_PROPERTY_CREATED_AT, - SendBirdGroupChannel.JSON_PROPERTY_CREATED_BY, - SendBirdGroupChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdGroupChannel.JSON_PROPERTY_DATA, - SendBirdGroupChannel.JSON_PROPERTY_DELIVERY_RECEIPT, - SendBirdGroupChannel.JSON_PROPERTY_DISAPPEARING_MESSAGE, - SendBirdGroupChannel.JSON_PROPERTY_FREEZE, - SendBirdGroupChannel.JSON_PROPERTY_HAS_AI_BOT, - SendBirdGroupChannel.JSON_PROPERTY_HAS_BOT, - SendBirdGroupChannel.JSON_PROPERTY_HIDDEN_STATE, - SendBirdGroupChannel.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, - SendBirdGroupChannel.JSON_PROPERTY_INVITED_AT, - SendBirdGroupChannel.JSON_PROPERTY_INVITER, - SendBirdGroupChannel.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, - SendBirdGroupChannel.JSON_PROPERTY_IS_BROADCAST, - SendBirdGroupChannel.JSON_PROPERTY_IS_DISCOVERABLE, - SendBirdGroupChannel.JSON_PROPERTY_IS_DISTINCT, - SendBirdGroupChannel.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdGroupChannel.JSON_PROPERTY_IS_EXCLUSIVE, - SendBirdGroupChannel.JSON_PROPERTY_IS_HIDDEN, - SendBirdGroupChannel.JSON_PROPERTY_IS_MUTED, - SendBirdGroupChannel.JSON_PROPERTY_IS_PUBLIC, - SendBirdGroupChannel.JSON_PROPERTY_IS_PUSH_ENABLED, - SendBirdGroupChannel.JSON_PROPERTY_IS_SUPER, - SendBirdGroupChannel.JSON_PROPERTY_JOINED_MEMBER_COUNT, - SendBirdGroupChannel.JSON_PROPERTY_JOINED_TS, - SendBirdGroupChannel.JSON_PROPERTY_LAST_MESSAGE, - SendBirdGroupChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdGroupChannel.JSON_PROPERTY_MEMBER_COUNT, - SendBirdGroupChannel.JSON_PROPERTY_MEMBER_STATE, - SendBirdGroupChannel.JSON_PROPERTY_MEMBERS, - SendBirdGroupChannel.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdGroupChannel.JSON_PROPERTY_METADATA, - SendBirdGroupChannel.JSON_PROPERTY_MY_ROLE, - SendBirdGroupChannel.JSON_PROPERTY_NAME, - SendBirdGroupChannel.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdGroupChannel.JSON_PROPERTY_READ_RECEIPT, - SendBirdGroupChannel.JSON_PROPERTY_SMS_FALLBACK, - SendBirdGroupChannel.JSON_PROPERTY_TS_MESSAGE_OFFSET, - SendBirdGroupChannel.JSON_PROPERTY_UNREAD_MENTION_COUNT, - SendBirdGroupChannel.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, - SendBirdGroupChannel.JSON_PROPERTY_USER_LAST_READ + SendbirdGroupChannel.JSON_PROPERTY_CHANNEL_URL, + SendbirdGroupChannel.JSON_PROPERTY_COUNT_PREFERENCE, + SendbirdGroupChannel.JSON_PROPERTY_COVER_URL, + SendbirdGroupChannel.JSON_PROPERTY_CREATED_AT, + SendbirdGroupChannel.JSON_PROPERTY_CREATED_BY, + SendbirdGroupChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendbirdGroupChannel.JSON_PROPERTY_DATA, + SendbirdGroupChannel.JSON_PROPERTY_DELIVERY_RECEIPT, + SendbirdGroupChannel.JSON_PROPERTY_DISAPPEARING_MESSAGE, + SendbirdGroupChannel.JSON_PROPERTY_FREEZE, + SendbirdGroupChannel.JSON_PROPERTY_HAS_AI_BOT, + SendbirdGroupChannel.JSON_PROPERTY_HAS_BOT, + SendbirdGroupChannel.JSON_PROPERTY_HIDDEN_STATE, + SendbirdGroupChannel.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, + SendbirdGroupChannel.JSON_PROPERTY_INVITED_AT, + SendbirdGroupChannel.JSON_PROPERTY_INVITER, + SendbirdGroupChannel.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, + SendbirdGroupChannel.JSON_PROPERTY_IS_BROADCAST, + SendbirdGroupChannel.JSON_PROPERTY_IS_DISCOVERABLE, + SendbirdGroupChannel.JSON_PROPERTY_IS_DISTINCT, + SendbirdGroupChannel.JSON_PROPERTY_IS_EPHEMERAL, + SendbirdGroupChannel.JSON_PROPERTY_IS_EXCLUSIVE, + SendbirdGroupChannel.JSON_PROPERTY_IS_HIDDEN, + SendbirdGroupChannel.JSON_PROPERTY_IS_MUTED, + SendbirdGroupChannel.JSON_PROPERTY_IS_PUBLIC, + SendbirdGroupChannel.JSON_PROPERTY_IS_PUSH_ENABLED, + SendbirdGroupChannel.JSON_PROPERTY_IS_SUPER, + SendbirdGroupChannel.JSON_PROPERTY_JOINED_MEMBER_COUNT, + SendbirdGroupChannel.JSON_PROPERTY_JOINED_TS, + SendbirdGroupChannel.JSON_PROPERTY_LAST_MESSAGE, + SendbirdGroupChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendbirdGroupChannel.JSON_PROPERTY_MEMBER_COUNT, + SendbirdGroupChannel.JSON_PROPERTY_MEMBER_STATE, + SendbirdGroupChannel.JSON_PROPERTY_MEMBERS, + SendbirdGroupChannel.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendbirdGroupChannel.JSON_PROPERTY_METADATA, + SendbirdGroupChannel.JSON_PROPERTY_MY_ROLE, + SendbirdGroupChannel.JSON_PROPERTY_NAME, + SendbirdGroupChannel.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendbirdGroupChannel.JSON_PROPERTY_READ_RECEIPT, + SendbirdGroupChannel.JSON_PROPERTY_SMS_FALLBACK, + SendbirdGroupChannel.JSON_PROPERTY_TS_MESSAGE_OFFSET, + SendbirdGroupChannel.JSON_PROPERTY_UNREAD_MENTION_COUNT, + SendbirdGroupChannel.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, + SendbirdGroupChannel.JSON_PROPERTY_USER_LAST_READ }) -@JsonTypeName("SendBird.GroupChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdGroupChannel { +@JsonTypeName("Sendbird.GroupChannel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdGroupChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -147,7 +147,7 @@ public static CountPreferenceEnum fromValue(String value) { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdBasicUserInfo createdBy; + private SendbirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -159,7 +159,7 @@ public static CountPreferenceEnum fromValue(String value) { private Object deliveryReceipt; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdDisappearingMessage disappearingMessage; + private SendbirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -217,7 +217,7 @@ public static HiddenStateEnum fromValue(String value) { private Long invitedAt; public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendBirdBasicUserInfo inviter; + private SendbirdBasicUserInfo inviter; public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); @@ -259,7 +259,7 @@ public static HiddenStateEnum fromValue(String value) { private JsonNullable joinedTs = JsonNullable.undefined(); public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdGroupChannelLastMessage lastMessage; + private SendbirdGroupChannelLastMessage lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -308,7 +308,7 @@ public static MemberStateEnum fromValue(String value) { private MemberStateEnum memberState; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -360,13 +360,13 @@ public static MyRoleEnum fromValue(String value) { private String name; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdPushTriggerOption pushTriggerOption; + private SendbirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSmsFallback smsFallback; + private SendbirdSmsFallback smsFallback; public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; @@ -380,10 +380,10 @@ public static MyRoleEnum fromValue(String value) { public static final String JSON_PROPERTY_USER_LAST_READ = "user_last_read"; private Long userLastRead; - public SendBirdGroupChannel() { + public SendbirdGroupChannel() { } - public SendBirdGroupChannel channelUrl(String channelUrl) { + public SendbirdGroupChannel channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -409,7 +409,7 @@ public void setChannelUrl(String channelUrl) { } - public SendBirdGroupChannel countPreference(CountPreferenceEnum countPreference) { + public SendbirdGroupChannel countPreference(CountPreferenceEnum countPreference) { this.countPreference = countPreference; return this; } @@ -435,7 +435,7 @@ public void setCountPreference(CountPreferenceEnum countPreference) { } - public SendBirdGroupChannel coverUrl(String coverUrl) { + public SendbirdGroupChannel coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -461,7 +461,7 @@ public void setCoverUrl(String coverUrl) { } - public SendBirdGroupChannel createdAt(Long createdAt) { + public SendbirdGroupChannel createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -487,7 +487,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdGroupChannel createdBy(SendBirdBasicUserInfo createdBy) { + public SendbirdGroupChannel createdBy(SendbirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -501,19 +501,19 @@ public SendBirdGroupChannel createdBy(SendBirdBasicUserInfo createdBy) { @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getCreatedBy() { + public SendbirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdBasicUserInfo createdBy) { + public void setCreatedBy(SendbirdBasicUserInfo createdBy) { this.createdBy = createdBy; } - public SendBirdGroupChannel customType(String customType) { + public SendbirdGroupChannel customType(String customType) { this.customType = customType; return this; } @@ -539,7 +539,7 @@ public void setCustomType(String customType) { } - public SendBirdGroupChannel data(String data) { + public SendbirdGroupChannel data(String data) { this.data = data; return this; } @@ -565,7 +565,7 @@ public void setData(String data) { } - public SendBirdGroupChannel deliveryReceipt(Object deliveryReceipt) { + public SendbirdGroupChannel deliveryReceipt(Object deliveryReceipt) { this.deliveryReceipt = deliveryReceipt; return this; } @@ -591,7 +591,7 @@ public void setDeliveryReceipt(Object deliveryReceipt) { } - public SendBirdGroupChannel disappearingMessage(SendBirdDisappearingMessage disappearingMessage) { + public SendbirdGroupChannel disappearingMessage(SendbirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -605,19 +605,19 @@ public SendBirdGroupChannel disappearingMessage(SendBirdDisappearingMessage disa @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdDisappearingMessage getDisappearingMessage() { + public SendbirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendbirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } - public SendBirdGroupChannel freeze(Boolean freeze) { + public SendbirdGroupChannel freeze(Boolean freeze) { this.freeze = freeze; return this; } @@ -643,7 +643,7 @@ public void setFreeze(Boolean freeze) { } - public SendBirdGroupChannel hasAiBot(Boolean hasAiBot) { + public SendbirdGroupChannel hasAiBot(Boolean hasAiBot) { this.hasAiBot = hasAiBot; return this; } @@ -669,7 +669,7 @@ public void setHasAiBot(Boolean hasAiBot) { } - public SendBirdGroupChannel hasBot(Boolean hasBot) { + public SendbirdGroupChannel hasBot(Boolean hasBot) { this.hasBot = hasBot; return this; } @@ -695,7 +695,7 @@ public void setHasBot(Boolean hasBot) { } - public SendBirdGroupChannel hiddenState(HiddenStateEnum hiddenState) { + public SendbirdGroupChannel hiddenState(HiddenStateEnum hiddenState) { this.hiddenState = hiddenState; return this; } @@ -721,7 +721,7 @@ public void setHiddenState(HiddenStateEnum hiddenState) { } - public SendBirdGroupChannel ignoreProfanityFilter(Boolean ignoreProfanityFilter) { + public SendbirdGroupChannel ignoreProfanityFilter(Boolean ignoreProfanityFilter) { this.ignoreProfanityFilter = ignoreProfanityFilter; return this; } @@ -747,7 +747,7 @@ public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { } - public SendBirdGroupChannel invitedAt(Long invitedAt) { + public SendbirdGroupChannel invitedAt(Long invitedAt) { this.invitedAt = invitedAt; return this; } @@ -773,7 +773,7 @@ public void setInvitedAt(Long invitedAt) { } - public SendBirdGroupChannel inviter(SendBirdBasicUserInfo inviter) { + public SendbirdGroupChannel inviter(SendbirdBasicUserInfo inviter) { this.inviter = inviter; return this; } @@ -787,19 +787,19 @@ public SendBirdGroupChannel inviter(SendBirdBasicUserInfo inviter) { @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getInviter() { + public SendbirdBasicUserInfo getInviter() { return inviter; } @JsonProperty(JSON_PROPERTY_INVITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendBirdBasicUserInfo inviter) { + public void setInviter(SendbirdBasicUserInfo inviter) { this.inviter = inviter; } - public SendBirdGroupChannel isAccessCodeRequired(Boolean isAccessCodeRequired) { + public SendbirdGroupChannel isAccessCodeRequired(Boolean isAccessCodeRequired) { this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); return this; } @@ -833,7 +833,7 @@ public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { } - public SendBirdGroupChannel isBroadcast(Boolean isBroadcast) { + public SendbirdGroupChannel isBroadcast(Boolean isBroadcast) { this.isBroadcast = isBroadcast; return this; } @@ -859,7 +859,7 @@ public void setIsBroadcast(Boolean isBroadcast) { } - public SendBirdGroupChannel isDiscoverable(Boolean isDiscoverable) { + public SendbirdGroupChannel isDiscoverable(Boolean isDiscoverable) { this.isDiscoverable = isDiscoverable; return this; } @@ -885,7 +885,7 @@ public void setIsDiscoverable(Boolean isDiscoverable) { } - public SendBirdGroupChannel isDistinct(Boolean isDistinct) { + public SendbirdGroupChannel isDistinct(Boolean isDistinct) { this.isDistinct = isDistinct; return this; } @@ -911,7 +911,7 @@ public void setIsDistinct(Boolean isDistinct) { } - public SendBirdGroupChannel isEphemeral(Boolean isEphemeral) { + public SendbirdGroupChannel isEphemeral(Boolean isEphemeral) { this.isEphemeral = isEphemeral; return this; } @@ -937,7 +937,7 @@ public void setIsEphemeral(Boolean isEphemeral) { } - public SendBirdGroupChannel isExclusive(Boolean isExclusive) { + public SendbirdGroupChannel isExclusive(Boolean isExclusive) { this.isExclusive = isExclusive; return this; } @@ -963,7 +963,7 @@ public void setIsExclusive(Boolean isExclusive) { } - public SendBirdGroupChannel isHidden(Boolean isHidden) { + public SendbirdGroupChannel isHidden(Boolean isHidden) { this.isHidden = isHidden; return this; } @@ -989,7 +989,7 @@ public void setIsHidden(Boolean isHidden) { } - public SendBirdGroupChannel isMuted(Boolean isMuted) { + public SendbirdGroupChannel isMuted(Boolean isMuted) { this.isMuted = isMuted; return this; } @@ -1015,7 +1015,7 @@ public void setIsMuted(Boolean isMuted) { } - public SendBirdGroupChannel isPublic(Boolean isPublic) { + public SendbirdGroupChannel isPublic(Boolean isPublic) { this.isPublic = isPublic; return this; } @@ -1041,7 +1041,7 @@ public void setIsPublic(Boolean isPublic) { } - public SendBirdGroupChannel isPushEnabled(Boolean isPushEnabled) { + public SendbirdGroupChannel isPushEnabled(Boolean isPushEnabled) { this.isPushEnabled = isPushEnabled; return this; } @@ -1067,7 +1067,7 @@ public void setIsPushEnabled(Boolean isPushEnabled) { } - public SendBirdGroupChannel isSuper(Boolean isSuper) { + public SendbirdGroupChannel isSuper(Boolean isSuper) { this.isSuper = isSuper; return this; } @@ -1093,7 +1093,7 @@ public void setIsSuper(Boolean isSuper) { } - public SendBirdGroupChannel joinedMemberCount(Integer joinedMemberCount) { + public SendbirdGroupChannel joinedMemberCount(Integer joinedMemberCount) { this.joinedMemberCount = joinedMemberCount; return this; } @@ -1119,7 +1119,7 @@ public void setJoinedMemberCount(Integer joinedMemberCount) { } - public SendBirdGroupChannel joinedTs(Long joinedTs) { + public SendbirdGroupChannel joinedTs(Long joinedTs) { this.joinedTs = JsonNullable.of(joinedTs); return this; } @@ -1153,7 +1153,7 @@ public void setJoinedTs(Long joinedTs) { } - public SendBirdGroupChannel lastMessage(SendBirdGroupChannelLastMessage lastMessage) { + public SendbirdGroupChannel lastMessage(SendbirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; return this; } @@ -1167,19 +1167,19 @@ public SendBirdGroupChannel lastMessage(SendBirdGroupChannelLastMessage lastMess @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdGroupChannelLastMessage getLastMessage() { + public SendbirdGroupChannelLastMessage getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdGroupChannelLastMessage lastMessage) { + public void setLastMessage(SendbirdGroupChannelLastMessage lastMessage) { this.lastMessage = lastMessage; } - public SendBirdGroupChannel maxLengthMessage(Integer maxLengthMessage) { + public SendbirdGroupChannel maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -1205,7 +1205,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendBirdGroupChannel memberCount(Integer memberCount) { + public SendbirdGroupChannel memberCount(Integer memberCount) { this.memberCount = memberCount; return this; } @@ -1231,7 +1231,7 @@ public void setMemberCount(Integer memberCount) { } - public SendBirdGroupChannel memberState(MemberStateEnum memberState) { + public SendbirdGroupChannel memberState(MemberStateEnum memberState) { this.memberState = memberState; return this; } @@ -1257,12 +1257,12 @@ public void setMemberState(MemberStateEnum memberState) { } - public SendBirdGroupChannel members(List members) { + public SendbirdGroupChannel members(List members) { this.members = members; return this; } - public SendBirdGroupChannel addMembersItem(SendBirdMember membersItem) { + public SendbirdGroupChannel addMembersItem(SendbirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -1279,19 +1279,19 @@ public SendBirdGroupChannel addMembersItem(SendBirdMember membersItem) { @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } - public SendBirdGroupChannel messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendbirdGroupChannel messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -1317,7 +1317,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendBirdGroupChannel metadata(Object metadata) { + public SendbirdGroupChannel metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -1351,7 +1351,7 @@ public void setMetadata(Object metadata) { } - public SendBirdGroupChannel myRole(MyRoleEnum myRole) { + public SendbirdGroupChannel myRole(MyRoleEnum myRole) { this.myRole = myRole; return this; } @@ -1377,7 +1377,7 @@ public void setMyRole(MyRoleEnum myRole) { } - public SendBirdGroupChannel name(String name) { + public SendbirdGroupChannel name(String name) { this.name = name; return this; } @@ -1403,7 +1403,7 @@ public void setName(String name) { } - public SendBirdGroupChannel pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public SendbirdGroupChannel pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -1417,24 +1417,24 @@ public SendBirdGroupChannel pushTriggerOption(SendBirdPushTriggerOption pushTrig @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdPushTriggerOption getPushTriggerOption() { + public SendbirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } - public SendBirdGroupChannel readReceipt(Map readReceipt) { + public SendbirdGroupChannel readReceipt(Map readReceipt) { this.readReceipt = readReceipt; return this; } - public SendBirdGroupChannel putReadReceiptItem(String key, Long readReceiptItem) { + public SendbirdGroupChannel putReadReceiptItem(String key, Long readReceiptItem) { if (this.readReceipt == null) { this.readReceipt = new HashMap<>(); } @@ -1463,7 +1463,7 @@ public void setReadReceipt(Map readReceipt) { } - public SendBirdGroupChannel smsFallback(SendBirdSmsFallback smsFallback) { + public SendbirdGroupChannel smsFallback(SendbirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1477,19 +1477,19 @@ public SendBirdGroupChannel smsFallback(SendBirdSmsFallback smsFallback) { @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSmsFallback getSmsFallback() { + public SendbirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSmsFallback smsFallback) { + public void setSmsFallback(SendbirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } - public SendBirdGroupChannel tsMessageOffset(Long tsMessageOffset) { + public SendbirdGroupChannel tsMessageOffset(Long tsMessageOffset) { this.tsMessageOffset = tsMessageOffset; return this; } @@ -1515,7 +1515,7 @@ public void setTsMessageOffset(Long tsMessageOffset) { } - public SendBirdGroupChannel unreadMentionCount(Integer unreadMentionCount) { + public SendbirdGroupChannel unreadMentionCount(Integer unreadMentionCount) { this.unreadMentionCount = unreadMentionCount; return this; } @@ -1541,7 +1541,7 @@ public void setUnreadMentionCount(Integer unreadMentionCount) { } - public SendBirdGroupChannel unreadMessageCount(Integer unreadMessageCount) { + public SendbirdGroupChannel unreadMessageCount(Integer unreadMessageCount) { this.unreadMessageCount = unreadMessageCount; return this; } @@ -1567,7 +1567,7 @@ public void setUnreadMessageCount(Integer unreadMessageCount) { } - public SendBirdGroupChannel userLastRead(Long userLastRead) { + public SendbirdGroupChannel userLastRead(Long userLastRead) { this.userLastRead = userLastRead; return this; } @@ -1594,7 +1594,7 @@ public void setUserLastRead(Long userLastRead) { /** - * Return true if this SendBird.GroupChannel object is equal to o. + * Return true if this Sendbird.GroupChannel object is equal to o. */ @Override public boolean equals(Object o) { @@ -1604,52 +1604,52 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdGroupChannel sendBirdGroupChannel = (SendBirdGroupChannel) o; - return Objects.equals(this.channelUrl, sendBirdGroupChannel.channelUrl) && - Objects.equals(this.countPreference, sendBirdGroupChannel.countPreference) && - Objects.equals(this.coverUrl, sendBirdGroupChannel.coverUrl) && - Objects.equals(this.createdAt, sendBirdGroupChannel.createdAt) && - Objects.equals(this.createdBy, sendBirdGroupChannel.createdBy) && - Objects.equals(this.customType, sendBirdGroupChannel.customType) && - Objects.equals(this.data, sendBirdGroupChannel.data) && - Objects.equals(this.deliveryReceipt, sendBirdGroupChannel.deliveryReceipt) && - Objects.equals(this.disappearingMessage, sendBirdGroupChannel.disappearingMessage) && - Objects.equals(this.freeze, sendBirdGroupChannel.freeze) && - Objects.equals(this.hasAiBot, sendBirdGroupChannel.hasAiBot) && - Objects.equals(this.hasBot, sendBirdGroupChannel.hasBot) && - Objects.equals(this.hiddenState, sendBirdGroupChannel.hiddenState) && - Objects.equals(this.ignoreProfanityFilter, sendBirdGroupChannel.ignoreProfanityFilter) && - Objects.equals(this.invitedAt, sendBirdGroupChannel.invitedAt) && - Objects.equals(this.inviter, sendBirdGroupChannel.inviter) && - equalsNullable(this.isAccessCodeRequired, sendBirdGroupChannel.isAccessCodeRequired) && - Objects.equals(this.isBroadcast, sendBirdGroupChannel.isBroadcast) && - Objects.equals(this.isDiscoverable, sendBirdGroupChannel.isDiscoverable) && - Objects.equals(this.isDistinct, sendBirdGroupChannel.isDistinct) && - Objects.equals(this.isEphemeral, sendBirdGroupChannel.isEphemeral) && - Objects.equals(this.isExclusive, sendBirdGroupChannel.isExclusive) && - Objects.equals(this.isHidden, sendBirdGroupChannel.isHidden) && - Objects.equals(this.isMuted, sendBirdGroupChannel.isMuted) && - Objects.equals(this.isPublic, sendBirdGroupChannel.isPublic) && - Objects.equals(this.isPushEnabled, sendBirdGroupChannel.isPushEnabled) && - Objects.equals(this.isSuper, sendBirdGroupChannel.isSuper) && - Objects.equals(this.joinedMemberCount, sendBirdGroupChannel.joinedMemberCount) && - equalsNullable(this.joinedTs, sendBirdGroupChannel.joinedTs) && - Objects.equals(this.lastMessage, sendBirdGroupChannel.lastMessage) && - Objects.equals(this.maxLengthMessage, sendBirdGroupChannel.maxLengthMessage) && - Objects.equals(this.memberCount, sendBirdGroupChannel.memberCount) && - Objects.equals(this.memberState, sendBirdGroupChannel.memberState) && - Objects.equals(this.members, sendBirdGroupChannel.members) && - Objects.equals(this.messageSurvivalSeconds, sendBirdGroupChannel.messageSurvivalSeconds) && - equalsNullable(this.metadata, sendBirdGroupChannel.metadata) && - Objects.equals(this.myRole, sendBirdGroupChannel.myRole) && - Objects.equals(this.name, sendBirdGroupChannel.name) && - Objects.equals(this.pushTriggerOption, sendBirdGroupChannel.pushTriggerOption) && - Objects.equals(this.readReceipt, sendBirdGroupChannel.readReceipt) && - Objects.equals(this.smsFallback, sendBirdGroupChannel.smsFallback) && - Objects.equals(this.tsMessageOffset, sendBirdGroupChannel.tsMessageOffset) && - Objects.equals(this.unreadMentionCount, sendBirdGroupChannel.unreadMentionCount) && - Objects.equals(this.unreadMessageCount, sendBirdGroupChannel.unreadMessageCount) && - Objects.equals(this.userLastRead, sendBirdGroupChannel.userLastRead); + SendbirdGroupChannel sendbirdGroupChannel = (SendbirdGroupChannel) o; + return Objects.equals(this.channelUrl, sendbirdGroupChannel.channelUrl) && + Objects.equals(this.countPreference, sendbirdGroupChannel.countPreference) && + Objects.equals(this.coverUrl, sendbirdGroupChannel.coverUrl) && + Objects.equals(this.createdAt, sendbirdGroupChannel.createdAt) && + Objects.equals(this.createdBy, sendbirdGroupChannel.createdBy) && + Objects.equals(this.customType, sendbirdGroupChannel.customType) && + Objects.equals(this.data, sendbirdGroupChannel.data) && + Objects.equals(this.deliveryReceipt, sendbirdGroupChannel.deliveryReceipt) && + Objects.equals(this.disappearingMessage, sendbirdGroupChannel.disappearingMessage) && + Objects.equals(this.freeze, sendbirdGroupChannel.freeze) && + Objects.equals(this.hasAiBot, sendbirdGroupChannel.hasAiBot) && + Objects.equals(this.hasBot, sendbirdGroupChannel.hasBot) && + Objects.equals(this.hiddenState, sendbirdGroupChannel.hiddenState) && + Objects.equals(this.ignoreProfanityFilter, sendbirdGroupChannel.ignoreProfanityFilter) && + Objects.equals(this.invitedAt, sendbirdGroupChannel.invitedAt) && + Objects.equals(this.inviter, sendbirdGroupChannel.inviter) && + equalsNullable(this.isAccessCodeRequired, sendbirdGroupChannel.isAccessCodeRequired) && + Objects.equals(this.isBroadcast, sendbirdGroupChannel.isBroadcast) && + Objects.equals(this.isDiscoverable, sendbirdGroupChannel.isDiscoverable) && + Objects.equals(this.isDistinct, sendbirdGroupChannel.isDistinct) && + Objects.equals(this.isEphemeral, sendbirdGroupChannel.isEphemeral) && + Objects.equals(this.isExclusive, sendbirdGroupChannel.isExclusive) && + Objects.equals(this.isHidden, sendbirdGroupChannel.isHidden) && + Objects.equals(this.isMuted, sendbirdGroupChannel.isMuted) && + Objects.equals(this.isPublic, sendbirdGroupChannel.isPublic) && + Objects.equals(this.isPushEnabled, sendbirdGroupChannel.isPushEnabled) && + Objects.equals(this.isSuper, sendbirdGroupChannel.isSuper) && + Objects.equals(this.joinedMemberCount, sendbirdGroupChannel.joinedMemberCount) && + equalsNullable(this.joinedTs, sendbirdGroupChannel.joinedTs) && + Objects.equals(this.lastMessage, sendbirdGroupChannel.lastMessage) && + Objects.equals(this.maxLengthMessage, sendbirdGroupChannel.maxLengthMessage) && + Objects.equals(this.memberCount, sendbirdGroupChannel.memberCount) && + Objects.equals(this.memberState, sendbirdGroupChannel.memberState) && + Objects.equals(this.members, sendbirdGroupChannel.members) && + Objects.equals(this.messageSurvivalSeconds, sendbirdGroupChannel.messageSurvivalSeconds) && + equalsNullable(this.metadata, sendbirdGroupChannel.metadata) && + Objects.equals(this.myRole, sendbirdGroupChannel.myRole) && + Objects.equals(this.name, sendbirdGroupChannel.name) && + Objects.equals(this.pushTriggerOption, sendbirdGroupChannel.pushTriggerOption) && + Objects.equals(this.readReceipt, sendbirdGroupChannel.readReceipt) && + Objects.equals(this.smsFallback, sendbirdGroupChannel.smsFallback) && + Objects.equals(this.tsMessageOffset, sendbirdGroupChannel.tsMessageOffset) && + Objects.equals(this.unreadMentionCount, sendbirdGroupChannel.unreadMentionCount) && + Objects.equals(this.unreadMessageCount, sendbirdGroupChannel.unreadMessageCount) && + Objects.equals(this.userLastRead, sendbirdGroupChannel.userLastRead); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -1671,7 +1671,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdGroupChannel {\n"); + sb.append("class SendbirdGroupChannel {\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java deleted file mode 100644 index 9bb7324f..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponse.java +++ /dev/null @@ -1,153 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdMember; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdGroupChannelListMembersResponse - */ -@JsonPropertyOrder({ - SendBirdGroupChannelListMembersResponse.JSON_PROPERTY_MEMBERS, - SendBirdGroupChannelListMembersResponse.JSON_PROPERTY_NEXT -}) -@JsonTypeName("groupChannelListMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdGroupChannelListMembersResponse { - public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = new ArrayList<>(); - - public static final String JSON_PROPERTY_NEXT = "next"; - private String next; - - public SendBirdGroupChannelListMembersResponse() { - } - - public SendBirdGroupChannelListMembersResponse members(List members) { - this.members = members; - return this; - } - - public SendBirdGroupChannelListMembersResponse addMembersItem(SendBirdSendBirdMember membersItem) { - this.members.add(membersItem); - return this; - } - - /** - * Get members - * @return members - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_MEMBERS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public List getMembers() { - return members; - } - - - @JsonProperty(JSON_PROPERTY_MEMBERS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMembers(List members) { - this.members = members; - } - - - public SendBirdGroupChannelListMembersResponse next(String next) { - this.next = next; - return this; - } - - /** - * Get next - * @return next - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getNext() { - return next; - } - - - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNext(String next) { - this.next = next; - } - - - /** - * Return true if this groupChannelListMembersResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdGroupChannelListMembersResponse groupChannelListMembersResponse = (SendBirdGroupChannelListMembersResponse) o; - return Objects.equals(this.members, groupChannelListMembersResponse.members) && - Objects.equals(this.next, groupChannelListMembersResponse.next); - } - - @Override - public int hashCode() { - return Objects.hash(members, next); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdGroupChannelListMembersResponse {\n"); - sb.append(" members: ").append(toIndentedString(members)).append("\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java deleted file mode 100644 index ea91ad70..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponse.java +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdGroupChannel; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdGroupChatListChannelsResponse - */ -@JsonPropertyOrder({ - SendBirdGroupChatListChannelsResponse.JSON_PROPERTY_CHANNELS, - SendBirdGroupChatListChannelsResponse.JSON_PROPERTY_NEXT, - SendBirdGroupChatListChannelsResponse.JSON_PROPERTY_TS -}) -@JsonTypeName("groupChatListChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdGroupChatListChannelsResponse { - public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; - - public static final String JSON_PROPERTY_NEXT = "next"; - private String next; - - public static final String JSON_PROPERTY_TS = "ts"; - private Long ts; - - public SendBirdGroupChatListChannelsResponse() { - } - - public SendBirdGroupChatListChannelsResponse channels(List channels) { - this.channels = channels; - return this; - } - - public SendBirdGroupChatListChannelsResponse addChannelsItem(SendBirdSendBirdGroupChannel channelsItem) { - if (this.channels == null) { - this.channels = new ArrayList<>(); - } - this.channels.add(channelsItem); - return this; - } - - /** - * Get channels - * @return channels - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNELS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getChannels() { - return channels; - } - - - @JsonProperty(JSON_PROPERTY_CHANNELS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { - this.channels = channels; - } - - - public SendBirdGroupChatListChannelsResponse next(String next) { - this.next = next; - return this; - } - - /** - * Get next - * @return next - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getNext() { - return next; - } - - - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNext(String next) { - this.next = next; - } - - - public SendBirdGroupChatListChannelsResponse ts(Long ts) { - this.ts = ts; - return this; - } - - /** - * Get ts - * @return ts - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getTs() { - return ts; - } - - - @JsonProperty(JSON_PROPERTY_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTs(Long ts) { - this.ts = ts; - } - - - /** - * Return true if this groupChatListChannelsResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdGroupChatListChannelsResponse groupChatListChannelsResponse = (SendBirdGroupChatListChannelsResponse) o; - return Objects.equals(this.channels, groupChatListChannelsResponse.channels) && - Objects.equals(this.next, groupChatListChannelsResponse.next) && - Objects.equals(this.ts, groupChatListChannelsResponse.ts); - } - - @Override - public int hashCode() { - return Objects.hash(channels, next, ts); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdGroupChatListChannelsResponse {\n"); - sb.append(" channels: ").append(toIndentedString(channels)).append("\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append(" ts: ").append(toIndentedString(ts)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java deleted file mode 100644 index 2a66d387..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdHideAChannelRequest.java +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdHideAChannelRequest - */ -@JsonPropertyOrder({ - SendBirdHideAChannelRequest.JSON_PROPERTY_ALLOW_AUTO_UNHIDE, - SendBirdHideAChannelRequest.JSON_PROPERTY_HIDE_PREVIOUS_MESSAGES, - SendBirdHideAChannelRequest.JSON_PROPERTY_SHOULD_HIDE_ALL, - SendBirdHideAChannelRequest.JSON_PROPERTY_USER_ID -}) -@JsonTypeName("hideAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdHideAChannelRequest { - public static final String JSON_PROPERTY_ALLOW_AUTO_UNHIDE = "allow_auto_unhide"; - private Boolean allowAutoUnhide; - - public static final String JSON_PROPERTY_HIDE_PREVIOUS_MESSAGES = "hide_previous_messages"; - private Boolean hidePreviousMessages; - - public static final String JSON_PROPERTY_SHOULD_HIDE_ALL = "should_hide_all"; - private Boolean shouldHideAll; - - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - public SendBirdHideAChannelRequest() { - } - - public SendBirdHideAChannelRequest allowAutoUnhide(Boolean allowAutoUnhide) { - this.allowAutoUnhide = allowAutoUnhide; - return this; - } - - /** - * Determines the state and operating behavior of the channel in a channel list. If set to true, the channel is hidden from a user's channel list but it will reappear when there is a new message. If set to false, the channel is hidden from a user's channel list and it will remain hidden unless the value of the property changes to true through [unarchiving](#2-unhide-or-unarchive-a-channel). (Default: true)<br /><br /> When a user who has hidden the channel sends a message in that channel through the [Platform API](/docs/chat/v3/platform-api/guides/messages#2-send-a-message), the `allow_auto_unhide` property is changed to true, making the channel reappear in the channel list. - * @return allowAutoUnhide - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Determines the state and operating behavior of the channel in a channel list. If set to true, the channel is hidden from a user's channel list but it will reappear when there is a new message. If set to false, the channel is hidden from a user's channel list and it will remain hidden unless the value of the property changes to true through [unarchiving](#2-unhide-or-unarchive-a-channel). (Default: true)

When a user who has hidden the channel sends a message in that channel through the [Platform API](/docs/chat/v3/platform-api/guides/messages#2-send-a-message), the `allow_auto_unhide` property is changed to true, making the channel reappear in the channel list.") - @JsonProperty(JSON_PROPERTY_ALLOW_AUTO_UNHIDE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getAllowAutoUnhide() { - return allowAutoUnhide; - } - - - @JsonProperty(JSON_PROPERTY_ALLOW_AUTO_UNHIDE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAllowAutoUnhide(Boolean allowAutoUnhide) { - this.allowAutoUnhide = allowAutoUnhide; - } - - - public SendBirdHideAChannelRequest hidePreviousMessages(Boolean hidePreviousMessages) { - this.hidePreviousMessages = hidePreviousMessages; - return this; - } - - /** - * When the channel gets appeared back in either the list of the user in the user_id property or the lists of all channel members (should_hide_all = true), determines whether to conceal the messages sent and received before hiding or archiving the channel. (Default: false)<br /><br /> This property is effective only when the value of the [global application settings resource](/docs/chat/v3/platform-api/guides/global-application-settings#-3-resource-representation)'s display_past_message property is false. - * @return hidePreviousMessages - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "When the channel gets appeared back in either the list of the user in the user_id property or the lists of all channel members (should_hide_all = true), determines whether to conceal the messages sent and received before hiding or archiving the channel. (Default: false)

This property is effective only when the value of the [global application settings resource](/docs/chat/v3/platform-api/guides/global-application-settings#-3-resource-representation)'s display_past_message property is false.") - @JsonProperty(JSON_PROPERTY_HIDE_PREVIOUS_MESSAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getHidePreviousMessages() { - return hidePreviousMessages; - } - - - @JsonProperty(JSON_PROPERTY_HIDE_PREVIOUS_MESSAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHidePreviousMessages(Boolean hidePreviousMessages) { - this.hidePreviousMessages = hidePreviousMessages; - } - - - public SendBirdHideAChannelRequest shouldHideAll(Boolean shouldHideAll) { - this.shouldHideAll = shouldHideAll; - return this; - } - - /** - * Determines whether to make the specified channel disappear from the channel list of all channel members. When this is set to true, the user_id property isn't effective and doesn't need to be specified in the request. (Default: false) - * @return shouldHideAll - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Determines whether to make the specified channel disappear from the channel list of all channel members. When this is set to true, the user_id property isn't effective and doesn't need to be specified in the request. (Default: false)") - @JsonProperty(JSON_PROPERTY_SHOULD_HIDE_ALL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getShouldHideAll() { - return shouldHideAll; - } - - - @JsonProperty(JSON_PROPERTY_SHOULD_HIDE_ALL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setShouldHideAll(Boolean shouldHideAll) { - this.shouldHideAll = shouldHideAll; - } - - - public SendBirdHideAChannelRequest userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Specifies the unique ID of the user whose channel will be hidden or archived from the list. This property is required when should_hide_all is set to false, which is the default value. However, when should_hide_all is set to true, this property isn't effective. - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the unique ID of the user whose channel will be hidden or archived from the list. This property is required when should_hide_all is set to false, which is the default value. However, when should_hide_all is set to true, this property isn't effective.") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserId(String userId) { - this.userId = userId; - } - - - /** - * Return true if this hideAChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdHideAChannelRequest hideAChannelRequest = (SendBirdHideAChannelRequest) o; - return Objects.equals(this.allowAutoUnhide, hideAChannelRequest.allowAutoUnhide) && - Objects.equals(this.hidePreviousMessages, hideAChannelRequest.hidePreviousMessages) && - Objects.equals(this.shouldHideAll, hideAChannelRequest.shouldHideAll) && - Objects.equals(this.userId, hideAChannelRequest.userId); - } - - @Override - public int hashCode() { - return Objects.hash(allowAutoUnhide, hidePreviousMessages, shouldHideAll, userId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdHideAChannelRequest {\n"); - sb.append(" allowAutoUnhide: ").append(toIndentedString(allowAutoUnhide)).append("\n"); - sb.append(" hidePreviousMessages: ").append(toIndentedString(hidePreviousMessages)).append("\n"); - sb.append(" shouldHideAll: ").append(toIndentedString(shouldHideAll)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java deleted file mode 100644 index 3fdabbec..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersRequest.java +++ /dev/null @@ -1,216 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdInviteAsMembersRequest - */ -@JsonPropertyOrder({ - SendBirdInviteAsMembersRequest.JSON_PROPERTY_HIDDEN_STATUS, - SendBirdInviteAsMembersRequest.JSON_PROPERTY_INVITATION_STATUS, - SendBirdInviteAsMembersRequest.JSON_PROPERTY_INVITER_ID, - SendBirdInviteAsMembersRequest.JSON_PROPERTY_USER_IDS -}) -@JsonTypeName("inviteAsMembers_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdInviteAsMembersRequest { - public static final String JSON_PROPERTY_HIDDEN_STATUS = "hidden_status"; - private Object hiddenStatus; - - public static final String JSON_PROPERTY_INVITATION_STATUS = "invitation_status"; - private Object invitationStatus; - - public static final String JSON_PROPERTY_INVITER_ID = "inviter_id"; - private String inviterId; - - public static final String JSON_PROPERTY_USER_IDS = "user_ids"; - private List userIds = new ArrayList<>(); - - public SendBirdInviteAsMembersRequest() { - } - - public SendBirdInviteAsMembersRequest hiddenStatus(Object hiddenStatus) { - this.hiddenStatus = hiddenStatus; - return this; - } - - /** - * Specifies one or more key-value pair items which set the channel's hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:<br />- unhidden (default): the channel is included in when retrieving a list of group channels.<br />- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.<br />- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message. - * @return hiddenStatus - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies one or more key-value pair items which set the channel's hidden status for each user. The key should be a user_id and the value should be their hidden status. Acceptable values are limited to the following:
- unhidden (default): the channel is included in when retrieving a list of group channels.
- hidden_allow_auto_unhide: the channel automatically gets unhidden when receiving a new message.
- hidden_prevent_auto_unhide: the channel keeps hidden though receiving a new message.") - @JsonProperty(JSON_PROPERTY_HIDDEN_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getHiddenStatus() { - return hiddenStatus; - } - - - @JsonProperty(JSON_PROPERTY_HIDDEN_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHiddenStatus(Object hiddenStatus) { - this.hiddenStatus = hiddenStatus; - } - - - public SendBirdInviteAsMembersRequest invitationStatus(Object invitationStatus) { - this.invitationStatus = invitationStatus; - return this; - } - - /** - * Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined) - * @return invitationStatus - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies one or more key-value pair items which set the invitation status of each user invited to the channel. The key should be a user_id and the value should be their joining status. Acceptable values are joined, invited_by_friend, and invited_by_non_friend. (Default: joined)") - @JsonProperty(JSON_PROPERTY_INVITATION_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getInvitationStatus() { - return invitationStatus; - } - - - @JsonProperty(JSON_PROPERTY_INVITATION_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInvitationStatus(Object invitationStatus) { - this.invitationStatus = invitationStatus; - } - - - public SendBirdInviteAsMembersRequest inviterId(String inviterId) { - this.inviterId = inviterId; - return this; - } - - /** - * Get inviterId - * @return inviterId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INVITER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getInviterId() { - return inviterId; - } - - - @JsonProperty(JSON_PROPERTY_INVITER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviterId(String inviterId) { - this.inviterId = inviterId; - } - - - public SendBirdInviteAsMembersRequest userIds(List userIds) { - this.userIds = userIds; - return this; - } - - public SendBirdInviteAsMembersRequest addUserIdsItem(String userIdsItem) { - this.userIds.add(userIdsItem); - return this; - } - - /** - * Get userIds - * @return userIds - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public List getUserIds() { - return userIds; - } - - - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserIds(List userIds) { - this.userIds = userIds; - } - - - /** - * Return true if this inviteAsMembers_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdInviteAsMembersRequest inviteAsMembersRequest = (SendBirdInviteAsMembersRequest) o; - return Objects.equals(this.hiddenStatus, inviteAsMembersRequest.hiddenStatus) && - Objects.equals(this.invitationStatus, inviteAsMembersRequest.invitationStatus) && - Objects.equals(this.inviterId, inviteAsMembersRequest.inviterId) && - Objects.equals(this.userIds, inviteAsMembersRequest.userIds); - } - - @Override - public int hashCode() { - return Objects.hash(hiddenStatus, invitationStatus, inviterId, userIds); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdInviteAsMembersRequest {\n"); - sb.append(" hiddenStatus: ").append(toIndentedString(hiddenStatus)).append("\n"); - sb.append(" invitationStatus: ").append(toIndentedString(invitationStatus)).append("\n"); - sb.append(" inviterId: ").append(toIndentedString(inviterId)).append("\n"); - sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java deleted file mode 100644 index 10126d65..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponse.java +++ /dev/null @@ -1,1779 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.openapitools.client.model.SendBirdInviteAsMembersResponseAllOf; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendBirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendBirdGroupChannel; -import org.openapitools.client.model.SendBirdSendBirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdSendBirdMember; -import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSendBirdSmsFallback; -import org.openapitools.client.model.SendBirdSendBirdUser; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdInviteAsMembersResponse - */ -@JsonPropertyOrder({ - SendBirdInviteAsMembersResponse.JSON_PROPERTY_CHANNEL_URL, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_COUNT_PREFERENCE, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_COVER_URL, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_CREATED_AT, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_CREATED_BY, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_DATA, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_DELIVERY_RECEIPT, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_DISAPPEARING_MESSAGE, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_FREEZE, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_HAS_AI_BOT, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_HAS_BOT, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_HIDDEN_STATE, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_INVITED_AT, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_INVITER, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_BROADCAST, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_DISCOVERABLE, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_DISTINCT, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_EXCLUSIVE, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_HIDDEN, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_MUTED, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_PUBLIC, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_PUSH_ENABLED, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_IS_SUPER, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_JOINED_MEMBER_COUNT, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_JOINED_TS, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_LAST_MESSAGE, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_MEMBER_COUNT, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_MEMBER_STATE, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_MEMBERS, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_METADATA, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_MY_ROLE, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_NAME, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_READ_RECEIPT, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_SMS_FALLBACK, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_TS_MESSAGE_OFFSET, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_UNREAD_MENTION_COUNT, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_USER_LAST_READ, - SendBirdInviteAsMembersResponse.JSON_PROPERTY_OPERATORS -}) -@JsonTypeName("inviteAsMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdInviteAsMembersResponse { - public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; - private String channelUrl; - - /** - * Gets or Sets countPreference - */ - public enum CountPreferenceEnum { - FALSE("false"), - - ALL("all"), - - UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), - - UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); - - private String value; - - CountPreferenceEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static CountPreferenceEnum fromValue(String value) { - for (CountPreferenceEnum b : CountPreferenceEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; - private CountPreferenceEnum countPreference; - - public static final String JSON_PROPERTY_COVER_URL = "cover_url"; - private String coverUrl; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdSendBirdBasicUserInfo createdBy; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DELIVERY_RECEIPT = "delivery_receipt"; - private Object deliveryReceipt; - - public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdSendBirdDisappearingMessage disappearingMessage; - - public static final String JSON_PROPERTY_FREEZE = "freeze"; - private Boolean freeze; - - public static final String JSON_PROPERTY_HAS_AI_BOT = "has_ai_bot"; - private Boolean hasAiBot; - - public static final String JSON_PROPERTY_HAS_BOT = "has_bot"; - private Boolean hasBot; - - /** - * Gets or Sets hiddenState - */ - public enum HiddenStateEnum { - HIDDEN_ALLOW_AUTO_UNHIDE("hidden_allow_auto_unhide"), - - HIDDEN_PREVENT_AUTO_UNHIDE("hidden_prevent_auto_unhide"), - - UNHIDDEN("unhidden"); - - private String value; - - HiddenStateEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static HiddenStateEnum fromValue(String value) { - for (HiddenStateEnum b : HiddenStateEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_HIDDEN_STATE = "hidden_state"; - private HiddenStateEnum hiddenState; - - public static final String JSON_PROPERTY_IGNORE_PROFANITY_FILTER = "ignore_profanity_filter"; - private Boolean ignoreProfanityFilter; - - public static final String JSON_PROPERTY_INVITED_AT = "invited_at"; - private Long invitedAt; - - public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendBirdSendBirdBasicUserInfo inviter; - - public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; - private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_IS_BROADCAST = "is_broadcast"; - private Boolean isBroadcast; - - public static final String JSON_PROPERTY_IS_DISCOVERABLE = "is_discoverable"; - private Boolean isDiscoverable; - - public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; - private Boolean isDistinct; - - public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; - private Boolean isEphemeral; - - public static final String JSON_PROPERTY_IS_EXCLUSIVE = "is_exclusive"; - private Boolean isExclusive; - - public static final String JSON_PROPERTY_IS_HIDDEN = "is_hidden"; - private Boolean isHidden; - - public static final String JSON_PROPERTY_IS_MUTED = "is_muted"; - private Boolean isMuted; - - public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; - private Boolean isPublic; - - public static final String JSON_PROPERTY_IS_PUSH_ENABLED = "is_push_enabled"; - private Boolean isPushEnabled; - - public static final String JSON_PROPERTY_IS_SUPER = "is_super"; - private Boolean isSuper; - - public static final String JSON_PROPERTY_JOINED_MEMBER_COUNT = "joined_member_count"; - private Integer joinedMemberCount; - - public static final String JSON_PROPERTY_JOINED_TS = "joined_ts"; - private JsonNullable joinedTs = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdSendBirdGroupChannelLastMessage lastMessage; - - public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; - private Integer maxLengthMessage; - - public static final String JSON_PROPERTY_MEMBER_COUNT = "member_count"; - private Integer memberCount; - - /** - * Gets or Sets memberState - */ - public enum MemberStateEnum { - INVITED("invited"), - - JOINED("joined"), - - NONE("none"); - - private String value; - - MemberStateEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MemberStateEnum fromValue(String value) { - for (MemberStateEnum b : MemberStateEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MEMBER_STATE = "member_state"; - private MemberStateEnum memberState; - - public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; - - public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; - private Integer messageSurvivalSeconds; - - public static final String JSON_PROPERTY_METADATA = "metadata"; - private JsonNullable metadata = JsonNullable.undefined(); - - /** - * Gets or Sets myRole - */ - public enum MyRoleEnum { - EMPTY(""), - - NONE("none"), - - OPERATOR("operator"); - - private String value; - - MyRoleEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MyRoleEnum fromValue(String value) { - for (MyRoleEnum b : MyRoleEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MY_ROLE = "my_role"; - private MyRoleEnum myRole; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendBirdPushTriggerOption pushTriggerOption; - - public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; - private Map readReceipt = null; - - public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSendBirdSmsFallback smsFallback; - - public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; - private Long tsMessageOffset; - - public static final String JSON_PROPERTY_UNREAD_MENTION_COUNT = "unread_mention_count"; - private Integer unreadMentionCount; - - public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; - private Integer unreadMessageCount; - - public static final String JSON_PROPERTY_USER_LAST_READ = "user_last_read"; - private Long userLastRead; - - public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; - - public SendBirdInviteAsMembersResponse() { - } - - public SendBirdInviteAsMembersResponse channelUrl(String channelUrl) { - this.channelUrl = channelUrl; - return this; - } - - /** - * Get channelUrl - * @return channelUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getChannelUrl() { - return channelUrl; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setChannelUrl(String channelUrl) { - this.channelUrl = channelUrl; - } - - - public SendBirdInviteAsMembersResponse countPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - return this; - } - - /** - * Get countPreference - * @return countPreference - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public CountPreferenceEnum getCountPreference() { - return countPreference; - } - - - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCountPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - } - - - public SendBirdInviteAsMembersResponse coverUrl(String coverUrl) { - this.coverUrl = coverUrl; - return this; - } - - /** - * Get coverUrl - * @return coverUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCoverUrl() { - return coverUrl; - } - - - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverUrl(String coverUrl) { - this.coverUrl = coverUrl; - } - - - public SendBirdInviteAsMembersResponse createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdInviteAsMembersResponse createdBy(SendBirdSendBirdBasicUserInfo createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * Get createdBy - * @return createdBy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_BY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getCreatedBy() { - return createdBy; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_BY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdSendBirdBasicUserInfo createdBy) { - this.createdBy = createdBy; - } - - - public SendBirdInviteAsMembersResponse customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdInviteAsMembersResponse data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdInviteAsMembersResponse deliveryReceipt(Object deliveryReceipt) { - this.deliveryReceipt = deliveryReceipt; - return this; - } - - /** - * Get deliveryReceipt - * @return deliveryReceipt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getDeliveryReceipt() { - return deliveryReceipt; - } - - - @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDeliveryReceipt(Object deliveryReceipt) { - this.deliveryReceipt = deliveryReceipt; - } - - - public SendBirdInviteAsMembersResponse disappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { - this.disappearingMessage = disappearingMessage; - return this; - } - - /** - * Get disappearingMessage - * @return disappearingMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdDisappearingMessage getDisappearingMessage() { - return disappearingMessage; - } - - - @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { - this.disappearingMessage = disappearingMessage; - } - - - public SendBirdInviteAsMembersResponse freeze(Boolean freeze) { - this.freeze = freeze; - return this; - } - - /** - * Get freeze - * @return freeze - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getFreeze() { - return freeze; - } - - - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFreeze(Boolean freeze) { - this.freeze = freeze; - } - - - public SendBirdInviteAsMembersResponse hasAiBot(Boolean hasAiBot) { - this.hasAiBot = hasAiBot; - return this; - } - - /** - * Get hasAiBot - * @return hasAiBot - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getHasAiBot() { - return hasAiBot; - } - - - @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHasAiBot(Boolean hasAiBot) { - this.hasAiBot = hasAiBot; - } - - - public SendBirdInviteAsMembersResponse hasBot(Boolean hasBot) { - this.hasBot = hasBot; - return this; - } - - /** - * Get hasBot - * @return hasBot - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HAS_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getHasBot() { - return hasBot; - } - - - @JsonProperty(JSON_PROPERTY_HAS_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHasBot(Boolean hasBot) { - this.hasBot = hasBot; - } - - - public SendBirdInviteAsMembersResponse hiddenState(HiddenStateEnum hiddenState) { - this.hiddenState = hiddenState; - return this; - } - - /** - * Get hiddenState - * @return hiddenState - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public HiddenStateEnum getHiddenState() { - return hiddenState; - } - - - @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHiddenState(HiddenStateEnum hiddenState) { - this.hiddenState = hiddenState; - } - - - public SendBirdInviteAsMembersResponse ignoreProfanityFilter(Boolean ignoreProfanityFilter) { - this.ignoreProfanityFilter = ignoreProfanityFilter; - return this; - } - - /** - * Get ignoreProfanityFilter - * @return ignoreProfanityFilter - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIgnoreProfanityFilter() { - return ignoreProfanityFilter; - } - - - @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { - this.ignoreProfanityFilter = ignoreProfanityFilter; - } - - - public SendBirdInviteAsMembersResponse invitedAt(Long invitedAt) { - this.invitedAt = invitedAt; - return this; - } - - /** - * Get invitedAt - * @return invitedAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INVITED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getInvitedAt() { - return invitedAt; - } - - - @JsonProperty(JSON_PROPERTY_INVITED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInvitedAt(Long invitedAt) { - this.invitedAt = invitedAt; - } - - - public SendBirdInviteAsMembersResponse inviter(SendBirdSendBirdBasicUserInfo inviter) { - this.inviter = inviter; - return this; - } - - /** - * Get inviter - * @return inviter - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INVITER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getInviter() { - return inviter; - } - - - @JsonProperty(JSON_PROPERTY_INVITER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendBirdSendBirdBasicUserInfo inviter) { - this.inviter = inviter; - } - - - public SendBirdInviteAsMembersResponse isAccessCodeRequired(Boolean isAccessCodeRequired) { - this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); - return this; - } - - /** - * Get isAccessCodeRequired - * @return isAccessCodeRequired - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Boolean getIsAccessCodeRequired() { - return isAccessCodeRequired.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getIsAccessCodeRequired_JsonNullable() { - return isAccessCodeRequired; - } - - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) - public void setIsAccessCodeRequired_JsonNullable(JsonNullable isAccessCodeRequired) { - this.isAccessCodeRequired = isAccessCodeRequired; - } - - public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { - this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); - } - - - public SendBirdInviteAsMembersResponse isBroadcast(Boolean isBroadcast) { - this.isBroadcast = isBroadcast; - return this; - } - - /** - * Get isBroadcast - * @return isBroadcast - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_BROADCAST) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsBroadcast() { - return isBroadcast; - } - - - @JsonProperty(JSON_PROPERTY_IS_BROADCAST) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsBroadcast(Boolean isBroadcast) { - this.isBroadcast = isBroadcast; - } - - - public SendBirdInviteAsMembersResponse isDiscoverable(Boolean isDiscoverable) { - this.isDiscoverable = isDiscoverable; - return this; - } - - /** - * Get isDiscoverable - * @return isDiscoverable - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDiscoverable() { - return isDiscoverable; - } - - - @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDiscoverable(Boolean isDiscoverable) { - this.isDiscoverable = isDiscoverable; - } - - - public SendBirdInviteAsMembersResponse isDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - return this; - } - - /** - * Get isDistinct - * @return isDistinct - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDistinct() { - return isDistinct; - } - - - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - } - - - public SendBirdInviteAsMembersResponse isEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - return this; - } - - /** - * Get isEphemeral - * @return isEphemeral - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsEphemeral() { - return isEphemeral; - } - - - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - } - - - public SendBirdInviteAsMembersResponse isExclusive(Boolean isExclusive) { - this.isExclusive = isExclusive; - return this; - } - - /** - * Get isExclusive - * @return isExclusive - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsExclusive() { - return isExclusive; - } - - - @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsExclusive(Boolean isExclusive) { - this.isExclusive = isExclusive; - } - - - public SendBirdInviteAsMembersResponse isHidden(Boolean isHidden) { - this.isHidden = isHidden; - return this; - } - - /** - * Get isHidden - * @return isHidden - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_HIDDEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsHidden() { - return isHidden; - } - - - @JsonProperty(JSON_PROPERTY_IS_HIDDEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsHidden(Boolean isHidden) { - this.isHidden = isHidden; - } - - - public SendBirdInviteAsMembersResponse isMuted(Boolean isMuted) { - this.isMuted = isMuted; - return this; - } - - /** - * Get isMuted - * @return isMuted - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_MUTED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsMuted() { - return isMuted; - } - - - @JsonProperty(JSON_PROPERTY_IS_MUTED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsMuted(Boolean isMuted) { - this.isMuted = isMuted; - } - - - public SendBirdInviteAsMembersResponse isPublic(Boolean isPublic) { - this.isPublic = isPublic; - return this; - } - - /** - * Get isPublic - * @return isPublic - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPublic() { - return isPublic; - } - - - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPublic(Boolean isPublic) { - this.isPublic = isPublic; - } - - - public SendBirdInviteAsMembersResponse isPushEnabled(Boolean isPushEnabled) { - this.isPushEnabled = isPushEnabled; - return this; - } - - /** - * Get isPushEnabled - * @return isPushEnabled - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPushEnabled() { - return isPushEnabled; - } - - - @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPushEnabled(Boolean isPushEnabled) { - this.isPushEnabled = isPushEnabled; - } - - - public SendBirdInviteAsMembersResponse isSuper(Boolean isSuper) { - this.isSuper = isSuper; - return this; - } - - /** - * Get isSuper - * @return isSuper - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsSuper() { - return isSuper; - } - - - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsSuper(Boolean isSuper) { - this.isSuper = isSuper; - } - - - public SendBirdInviteAsMembersResponse joinedMemberCount(Integer joinedMemberCount) { - this.joinedMemberCount = joinedMemberCount; - return this; - } - - /** - * Get joinedMemberCount - * @return joinedMemberCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getJoinedMemberCount() { - return joinedMemberCount; - } - - - @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setJoinedMemberCount(Integer joinedMemberCount) { - this.joinedMemberCount = joinedMemberCount; - } - - - public SendBirdInviteAsMembersResponse joinedTs(Long joinedTs) { - this.joinedTs = JsonNullable.of(joinedTs); - return this; - } - - /** - * Get joinedTs - * @return joinedTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Long getJoinedTs() { - return joinedTs.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_JOINED_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getJoinedTs_JsonNullable() { - return joinedTs; - } - - @JsonProperty(JSON_PROPERTY_JOINED_TS) - public void setJoinedTs_JsonNullable(JsonNullable joinedTs) { - this.joinedTs = joinedTs; - } - - public void setJoinedTs(Long joinedTs) { - this.joinedTs = JsonNullable.of(joinedTs); - } - - - public SendBirdInviteAsMembersResponse lastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { - this.lastMessage = lastMessage; - return this; - } - - /** - * Get lastMessage - * @return lastMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdGroupChannelLastMessage getLastMessage() { - return lastMessage; - } - - - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { - this.lastMessage = lastMessage; - } - - - public SendBirdInviteAsMembersResponse maxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - return this; - } - - /** - * Get maxLengthMessage - * @return maxLengthMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMaxLengthMessage() { - return maxLengthMessage; - } - - - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMaxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - } - - - public SendBirdInviteAsMembersResponse memberCount(Integer memberCount) { - this.memberCount = memberCount; - return this; - } - - /** - * Get memberCount - * @return memberCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMemberCount() { - return memberCount; - } - - - @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMemberCount(Integer memberCount) { - this.memberCount = memberCount; - } - - - public SendBirdInviteAsMembersResponse memberState(MemberStateEnum memberState) { - this.memberState = memberState; - return this; - } - - /** - * Get memberState - * @return memberState - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBER_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public MemberStateEnum getMemberState() { - return memberState; - } - - - @JsonProperty(JSON_PROPERTY_MEMBER_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMemberState(MemberStateEnum memberState) { - this.memberState = memberState; - } - - - public SendBirdInviteAsMembersResponse members(List members) { - this.members = members; - return this; - } - - public SendBirdInviteAsMembersResponse addMembersItem(SendBirdSendBirdMember membersItem) { - if (this.members == null) { - this.members = new ArrayList<>(); - } - this.members.add(membersItem); - return this; - } - - /** - * Get members - * @return members - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMembers() { - return members; - } - - - @JsonProperty(JSON_PROPERTY_MEMBERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { - this.members = members; - } - - - public SendBirdInviteAsMembersResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - return this; - } - - /** - * Get messageSurvivalSeconds - * @return messageSurvivalSeconds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMessageSurvivalSeconds() { - return messageSurvivalSeconds; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - } - - - public SendBirdInviteAsMembersResponse metadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Object getMetadata() { - return metadata.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getMetadata_JsonNullable() { - return metadata; - } - - @JsonProperty(JSON_PROPERTY_METADATA) - public void setMetadata_JsonNullable(JsonNullable metadata) { - this.metadata = metadata; - } - - public void setMetadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - } - - - public SendBirdInviteAsMembersResponse myRole(MyRoleEnum myRole) { - this.myRole = myRole; - return this; - } - - /** - * Get myRole - * @return myRole - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MY_ROLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public MyRoleEnum getMyRole() { - return myRole; - } - - - @JsonProperty(JSON_PROPERTY_MY_ROLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMyRole(MyRoleEnum myRole) { - this.myRole = myRole; - } - - - public SendBirdInviteAsMembersResponse name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - public SendBirdInviteAsMembersResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - return this; - } - - /** - * Get pushTriggerOption - * @return pushTriggerOption - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { - return pushTriggerOption; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - } - - - public SendBirdInviteAsMembersResponse readReceipt(Map readReceipt) { - this.readReceipt = readReceipt; - return this; - } - - public SendBirdInviteAsMembersResponse putReadReceiptItem(String key, Long readReceiptItem) { - if (this.readReceipt == null) { - this.readReceipt = new HashMap<>(); - } - this.readReceipt.put(key, readReceiptItem); - return this; - } - - /** - * Get readReceipt - * @return readReceipt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_READ_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Map getReadReceipt() { - return readReceipt; - } - - - @JsonProperty(JSON_PROPERTY_READ_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReadReceipt(Map readReceipt) { - this.readReceipt = readReceipt; - } - - - public SendBirdInviteAsMembersResponse smsFallback(SendBirdSendBirdSmsFallback smsFallback) { - this.smsFallback = smsFallback; - return this; - } - - /** - * Get smsFallback - * @return smsFallback - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdSmsFallback getSmsFallback() { - return smsFallback; - } - - - @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSendBirdSmsFallback smsFallback) { - this.smsFallback = smsFallback; - } - - - public SendBirdInviteAsMembersResponse tsMessageOffset(Long tsMessageOffset) { - this.tsMessageOffset = tsMessageOffset; - return this; - } - - /** - * Get tsMessageOffset - * @return tsMessageOffset - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getTsMessageOffset() { - return tsMessageOffset; - } - - - @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTsMessageOffset(Long tsMessageOffset) { - this.tsMessageOffset = tsMessageOffset; - } - - - public SendBirdInviteAsMembersResponse unreadMentionCount(Integer unreadMentionCount) { - this.unreadMentionCount = unreadMentionCount; - return this; - } - - /** - * Get unreadMentionCount - * @return unreadMentionCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadMentionCount() { - return unreadMentionCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadMentionCount(Integer unreadMentionCount) { - this.unreadMentionCount = unreadMentionCount; - } - - - public SendBirdInviteAsMembersResponse unreadMessageCount(Integer unreadMessageCount) { - this.unreadMessageCount = unreadMessageCount; - return this; - } - - /** - * Get unreadMessageCount - * @return unreadMessageCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadMessageCount() { - return unreadMessageCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadMessageCount(Integer unreadMessageCount) { - this.unreadMessageCount = unreadMessageCount; - } - - - public SendBirdInviteAsMembersResponse userLastRead(Long userLastRead) { - this.userLastRead = userLastRead; - return this; - } - - /** - * Get userLastRead - * @return userLastRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER_LAST_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getUserLastRead() { - return userLastRead; - } - - - @JsonProperty(JSON_PROPERTY_USER_LAST_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUserLastRead(Long userLastRead) { - this.userLastRead = userLastRead; - } - - - public SendBirdInviteAsMembersResponse operators(List operators) { - this.operators = operators; - return this; - } - - public SendBirdInviteAsMembersResponse addOperatorsItem(SendBirdSendBirdUser operatorsItem) { - if (this.operators == null) { - this.operators = new ArrayList<>(); - } - this.operators.add(operatorsItem); - return this; - } - - /** - * Get operators - * @return operators - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_OPERATORS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getOperators() { - return operators; - } - - - @JsonProperty(JSON_PROPERTY_OPERATORS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { - this.operators = operators; - } - - - /** - * Return true if this inviteAsMembersResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdInviteAsMembersResponse inviteAsMembersResponse = (SendBirdInviteAsMembersResponse) o; - return Objects.equals(this.channelUrl, inviteAsMembersResponse.channelUrl) && - Objects.equals(this.countPreference, inviteAsMembersResponse.countPreference) && - Objects.equals(this.coverUrl, inviteAsMembersResponse.coverUrl) && - Objects.equals(this.createdAt, inviteAsMembersResponse.createdAt) && - Objects.equals(this.createdBy, inviteAsMembersResponse.createdBy) && - Objects.equals(this.customType, inviteAsMembersResponse.customType) && - Objects.equals(this.data, inviteAsMembersResponse.data) && - Objects.equals(this.deliveryReceipt, inviteAsMembersResponse.deliveryReceipt) && - Objects.equals(this.disappearingMessage, inviteAsMembersResponse.disappearingMessage) && - Objects.equals(this.freeze, inviteAsMembersResponse.freeze) && - Objects.equals(this.hasAiBot, inviteAsMembersResponse.hasAiBot) && - Objects.equals(this.hasBot, inviteAsMembersResponse.hasBot) && - Objects.equals(this.hiddenState, inviteAsMembersResponse.hiddenState) && - Objects.equals(this.ignoreProfanityFilter, inviteAsMembersResponse.ignoreProfanityFilter) && - Objects.equals(this.invitedAt, inviteAsMembersResponse.invitedAt) && - Objects.equals(this.inviter, inviteAsMembersResponse.inviter) && - equalsNullable(this.isAccessCodeRequired, inviteAsMembersResponse.isAccessCodeRequired) && - Objects.equals(this.isBroadcast, inviteAsMembersResponse.isBroadcast) && - Objects.equals(this.isDiscoverable, inviteAsMembersResponse.isDiscoverable) && - Objects.equals(this.isDistinct, inviteAsMembersResponse.isDistinct) && - Objects.equals(this.isEphemeral, inviteAsMembersResponse.isEphemeral) && - Objects.equals(this.isExclusive, inviteAsMembersResponse.isExclusive) && - Objects.equals(this.isHidden, inviteAsMembersResponse.isHidden) && - Objects.equals(this.isMuted, inviteAsMembersResponse.isMuted) && - Objects.equals(this.isPublic, inviteAsMembersResponse.isPublic) && - Objects.equals(this.isPushEnabled, inviteAsMembersResponse.isPushEnabled) && - Objects.equals(this.isSuper, inviteAsMembersResponse.isSuper) && - Objects.equals(this.joinedMemberCount, inviteAsMembersResponse.joinedMemberCount) && - equalsNullable(this.joinedTs, inviteAsMembersResponse.joinedTs) && - Objects.equals(this.lastMessage, inviteAsMembersResponse.lastMessage) && - Objects.equals(this.maxLengthMessage, inviteAsMembersResponse.maxLengthMessage) && - Objects.equals(this.memberCount, inviteAsMembersResponse.memberCount) && - Objects.equals(this.memberState, inviteAsMembersResponse.memberState) && - Objects.equals(this.members, inviteAsMembersResponse.members) && - Objects.equals(this.messageSurvivalSeconds, inviteAsMembersResponse.messageSurvivalSeconds) && - equalsNullable(this.metadata, inviteAsMembersResponse.metadata) && - Objects.equals(this.myRole, inviteAsMembersResponse.myRole) && - Objects.equals(this.name, inviteAsMembersResponse.name) && - Objects.equals(this.pushTriggerOption, inviteAsMembersResponse.pushTriggerOption) && - Objects.equals(this.readReceipt, inviteAsMembersResponse.readReceipt) && - Objects.equals(this.smsFallback, inviteAsMembersResponse.smsFallback) && - Objects.equals(this.tsMessageOffset, inviteAsMembersResponse.tsMessageOffset) && - Objects.equals(this.unreadMentionCount, inviteAsMembersResponse.unreadMentionCount) && - Objects.equals(this.unreadMessageCount, inviteAsMembersResponse.unreadMessageCount) && - Objects.equals(this.userLastRead, inviteAsMembersResponse.userLastRead) && - Objects.equals(this.operators, inviteAsMembersResponse.operators); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, hashCodeNullable(isAccessCodeRequired), isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, hashCodeNullable(joinedTs), lastMessage, maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, hashCodeNullable(metadata), myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead, operators); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdInviteAsMembersResponse {\n"); - sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); - sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); - sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" deliveryReceipt: ").append(toIndentedString(deliveryReceipt)).append("\n"); - sb.append(" disappearingMessage: ").append(toIndentedString(disappearingMessage)).append("\n"); - sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); - sb.append(" hasAiBot: ").append(toIndentedString(hasAiBot)).append("\n"); - sb.append(" hasBot: ").append(toIndentedString(hasBot)).append("\n"); - sb.append(" hiddenState: ").append(toIndentedString(hiddenState)).append("\n"); - sb.append(" ignoreProfanityFilter: ").append(toIndentedString(ignoreProfanityFilter)).append("\n"); - sb.append(" invitedAt: ").append(toIndentedString(invitedAt)).append("\n"); - sb.append(" inviter: ").append(toIndentedString(inviter)).append("\n"); - sb.append(" isAccessCodeRequired: ").append(toIndentedString(isAccessCodeRequired)).append("\n"); - sb.append(" isBroadcast: ").append(toIndentedString(isBroadcast)).append("\n"); - sb.append(" isDiscoverable: ").append(toIndentedString(isDiscoverable)).append("\n"); - sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); - sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); - sb.append(" isExclusive: ").append(toIndentedString(isExclusive)).append("\n"); - sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n"); - sb.append(" isMuted: ").append(toIndentedString(isMuted)).append("\n"); - sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); - sb.append(" isPushEnabled: ").append(toIndentedString(isPushEnabled)).append("\n"); - sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); - sb.append(" joinedMemberCount: ").append(toIndentedString(joinedMemberCount)).append("\n"); - sb.append(" joinedTs: ").append(toIndentedString(joinedTs)).append("\n"); - sb.append(" lastMessage: ").append(toIndentedString(lastMessage)).append("\n"); - sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); - sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); - sb.append(" memberState: ").append(toIndentedString(memberState)).append("\n"); - sb.append(" members: ").append(toIndentedString(members)).append("\n"); - sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" myRole: ").append(toIndentedString(myRole)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); - sb.append(" readReceipt: ").append(toIndentedString(readReceipt)).append("\n"); - sb.append(" smsFallback: ").append(toIndentedString(smsFallback)).append("\n"); - sb.append(" tsMessageOffset: ").append(toIndentedString(tsMessageOffset)).append("\n"); - sb.append(" unreadMentionCount: ").append(toIndentedString(unreadMentionCount)).append("\n"); - sb.append(" unreadMessageCount: ").append(toIndentedString(unreadMessageCount)).append("\n"); - sb.append(" userLastRead: ").append(toIndentedString(userLastRead)).append("\n"); - sb.append(" operators: ").append(toIndentedString(operators)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java b/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java deleted file mode 100644 index 99a0cef4..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOf.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdUser; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdInviteAsMembersResponseAllOf - */ -@JsonPropertyOrder({ - SendBirdInviteAsMembersResponseAllOf.JSON_PROPERTY_OPERATORS -}) -@JsonTypeName("inviteAsMembersResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdInviteAsMembersResponseAllOf { - public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; - - public SendBirdInviteAsMembersResponseAllOf() { - } - - public SendBirdInviteAsMembersResponseAllOf operators(List operators) { - this.operators = operators; - return this; - } - - public SendBirdInviteAsMembersResponseAllOf addOperatorsItem(SendBirdSendBirdUser operatorsItem) { - if (this.operators == null) { - this.operators = new ArrayList<>(); - } - this.operators.add(operatorsItem); - return this; - } - - /** - * Get operators - * @return operators - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_OPERATORS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getOperators() { - return operators; - } - - - @JsonProperty(JSON_PROPERTY_OPERATORS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { - this.operators = operators; - } - - - /** - * Return true if this inviteAsMembersResponse_allOf object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdInviteAsMembersResponseAllOf inviteAsMembersResponseAllOf = (SendBirdInviteAsMembersResponseAllOf) o; - return Objects.equals(this.operators, inviteAsMembersResponseAllOf.operators); - } - - @Override - public int hashCode() { - return Objects.hash(operators); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdInviteAsMembersResponseAllOf {\n"); - sb.append(" operators: ").append(toIndentedString(operators)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java deleted file mode 100644 index 1f511745..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdJoinAChannelRequest.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdJoinAChannelRequest - */ -@JsonPropertyOrder({ - SendBirdJoinAChannelRequest.JSON_PROPERTY_USER_ID, - SendBirdJoinAChannelRequest.JSON_PROPERTY_ACCESS_CODE -}) -@JsonTypeName("joinAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdJoinAChannelRequest { - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; - private JsonNullable accessCode = JsonNullable.undefined(); - - public SendBirdJoinAChannelRequest() { - } - - public SendBirdJoinAChannelRequest userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Specifies the unique ID of the user to join the public group channel. - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the unique ID of the user to join the public group channel.") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserId(String userId) { - this.userId = userId; - } - - - public SendBirdJoinAChannelRequest accessCode(String accessCode) { - this.accessCode = JsonNullable.of(accessCode); - return this; - } - - /** - * This property should be specified if the public group channel to join requires an access code to users, which means that the is_access_code_required property of the channel resource is true. - * @return accessCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "This property should be specified if the public group channel to join requires an access code to users, which means that the is_access_code_required property of the channel resource is true.") - @JsonIgnore - - public String getAccessCode() { - return accessCode.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getAccessCode_JsonNullable() { - return accessCode; - } - - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - public void setAccessCode_JsonNullable(JsonNullable accessCode) { - this.accessCode = accessCode; - } - - public void setAccessCode(String accessCode) { - this.accessCode = JsonNullable.of(accessCode); - } - - - /** - * Return true if this joinAChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdJoinAChannelRequest joinAChannelRequest = (SendBirdJoinAChannelRequest) o; - return Objects.equals(this.userId, joinAChannelRequest.userId) && - equalsNullable(this.accessCode, joinAChannelRequest.accessCode); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(userId, hashCodeNullable(accessCode)); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdJoinAChannelRequest {\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append(" accessCode: ").append(toIndentedString(accessCode)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java b/src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java deleted file mode 100644 index dbcbcbbe..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdJoinChannelsRequest.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdJoinChannelsRequest - */ -@JsonPropertyOrder({ - SendBirdJoinChannelsRequest.JSON_PROPERTY_CHANNEL_URLS -}) -@JsonTypeName("joinChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdJoinChannelsRequest { - public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; - private List channelUrls = new ArrayList<>(); - - public SendBirdJoinChannelsRequest() { - } - - public SendBirdJoinChannelsRequest channelUrls(List channelUrls) { - this.channelUrls = channelUrls; - return this; - } - - public SendBirdJoinChannelsRequest addChannelUrlsItem(String channelUrlsItem) { - this.channelUrls.add(channelUrlsItem); - return this; - } - - /** - * Get channelUrls - * @return channelUrls - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_URLS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public List getChannelUrls() { - return channelUrls; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URLS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setChannelUrls(List channelUrls) { - this.channelUrls = channelUrls; - } - - - /** - * Return true if this joinChannels_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdJoinChannelsRequest joinChannelsRequest = (SendBirdJoinChannelsRequest) o; - return Objects.equals(this.channelUrls, joinChannelsRequest.channelUrls); - } - - @Override - public int hashCode() { - return Objects.hash(channelUrls); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdJoinChannelsRequest {\n"); - sb.append(" channelUrls: ").append(toIndentedString(channelUrls)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java deleted file mode 100644 index 9365d971..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdLeaveAChannelRequest.java +++ /dev/null @@ -1,257 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdLeaveAChannelRequest - */ -@JsonPropertyOrder({ - SendBirdLeaveAChannelRequest.JSON_PROPERTY_USER_IDS, - SendBirdLeaveAChannelRequest.JSON_PROPERTY_SHOULD_LEAVE_ALL, - SendBirdLeaveAChannelRequest.JSON_PROPERTY_SHOULD_REMOVE_OPERATOR_STATUS, - SendBirdLeaveAChannelRequest.JSON_PROPERTY_REASON -}) -@JsonTypeName("leaveAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdLeaveAChannelRequest { - public static final String JSON_PROPERTY_USER_IDS = "user_ids"; - private List userIds = new ArrayList<>(); - - public static final String JSON_PROPERTY_SHOULD_LEAVE_ALL = "should_leave_all"; - private Boolean shouldLeaveAll; - - public static final String JSON_PROPERTY_SHOULD_REMOVE_OPERATOR_STATUS = "should_remove_operator_status"; - private Boolean shouldRemoveOperatorStatus; - - /** - * Specifies the reason for leaving a channel. Acceptable values are admin_removed, admin_deleted, admin_deactivated, left_by_own_choice, and channel_operator_removed. - */ - public enum ReasonEnum { - LEFT_BY_OWN_CHOICE("LEFT_BY_OWN_CHOICE"), - - CHANNEL_OPERATOR_REMOVED("CHANNEL_OPERATOR_REMOVED"), - - ADMIN_REMOVED("ADMIN_REMOVED"), - - ADMIN_DELETED("ADMIN_DELETED"), - - ADMIN_DEACTIVATED("ADMIN_DEACTIVATED"); - - private String value; - - ReasonEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static ReasonEnum fromValue(String value) { - for (ReasonEnum b : ReasonEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_REASON = "reason"; - private ReasonEnum reason; - - public SendBirdLeaveAChannelRequest() { - } - - public SendBirdLeaveAChannelRequest userIds(List userIds) { - this.userIds = userIds; - return this; - } - - public SendBirdLeaveAChannelRequest addUserIdsItem(String userIdsItem) { - this.userIds.add(userIdsItem); - return this; - } - - /** - * Specifies an array of one or more IDs of the users to leave the channel. - * @return userIds - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies an array of one or more IDs of the users to leave the channel.") - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public List getUserIds() { - return userIds; - } - - - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserIds(List userIds) { - this.userIds = userIds; - } - - - public SendBirdLeaveAChannelRequest shouldLeaveAll(Boolean shouldLeaveAll) { - this.shouldLeaveAll = shouldLeaveAll; - return this; - } - - /** - * Determines whether to make all members leave the channel. (Default: false) - * @return shouldLeaveAll - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Determines whether to make all members leave the channel. (Default: false)") - @JsonProperty(JSON_PROPERTY_SHOULD_LEAVE_ALL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getShouldLeaveAll() { - return shouldLeaveAll; - } - - - @JsonProperty(JSON_PROPERTY_SHOULD_LEAVE_ALL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setShouldLeaveAll(Boolean shouldLeaveAll) { - this.shouldLeaveAll = shouldLeaveAll; - } - - - public SendBirdLeaveAChannelRequest shouldRemoveOperatorStatus(Boolean shouldRemoveOperatorStatus) { - this.shouldRemoveOperatorStatus = shouldRemoveOperatorStatus; - return this; - } - - /** - * Determines whether to remove a user from the channel's operator list if the user who is leaving the channel is an operator. (Default: false) - * @return shouldRemoveOperatorStatus - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Determines whether to remove a user from the channel's operator list if the user who is leaving the channel is an operator. (Default: false)") - @JsonProperty(JSON_PROPERTY_SHOULD_REMOVE_OPERATOR_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getShouldRemoveOperatorStatus() { - return shouldRemoveOperatorStatus; - } - - - @JsonProperty(JSON_PROPERTY_SHOULD_REMOVE_OPERATOR_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setShouldRemoveOperatorStatus(Boolean shouldRemoveOperatorStatus) { - this.shouldRemoveOperatorStatus = shouldRemoveOperatorStatus; - } - - - public SendBirdLeaveAChannelRequest reason(ReasonEnum reason) { - this.reason = reason; - return this; - } - - /** - * Specifies the reason for leaving a channel. Acceptable values are admin_removed, admin_deleted, admin_deactivated, left_by_own_choice, and channel_operator_removed. - * @return reason - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies the reason for leaving a channel. Acceptable values are admin_removed, admin_deleted, admin_deactivated, left_by_own_choice, and channel_operator_removed.") - @JsonProperty(JSON_PROPERTY_REASON) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public ReasonEnum getReason() { - return reason; - } - - - @JsonProperty(JSON_PROPERTY_REASON) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReason(ReasonEnum reason) { - this.reason = reason; - } - - - /** - * Return true if this leaveAChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdLeaveAChannelRequest leaveAChannelRequest = (SendBirdLeaveAChannelRequest) o; - return Objects.equals(this.userIds, leaveAChannelRequest.userIds) && - Objects.equals(this.shouldLeaveAll, leaveAChannelRequest.shouldLeaveAll) && - Objects.equals(this.shouldRemoveOperatorStatus, leaveAChannelRequest.shouldRemoveOperatorStatus) && - Objects.equals(this.reason, leaveAChannelRequest.reason); - } - - @Override - public int hashCode() { - return Objects.hash(userIds, shouldLeaveAll, shouldRemoveOperatorStatus, reason); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdLeaveAChannelRequest {\n"); - sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); - sb.append(" shouldLeaveAll: ").append(toIndentedString(shouldLeaveAll)).append("\n"); - sb.append(" shouldRemoveOperatorStatus: ").append(toIndentedString(shouldRemoveOperatorStatus)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java b/src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java deleted file mode 100644 index 28c791a9..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequest.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdLeaveMyGroupChannelsRequest - */ -@JsonPropertyOrder({ - SendBirdLeaveMyGroupChannelsRequest.JSON_PROPERTY_CUSTOM_TYPE -}) -@JsonTypeName("leaveMyGroupChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdLeaveMyGroupChannelsRequest { - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public SendBirdLeaveMyGroupChannelsRequest() { - } - - public SendBirdLeaveMyGroupChannelsRequest customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - /** - * Return true if this leaveMyGroupChannels_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdLeaveMyGroupChannelsRequest leaveMyGroupChannelsRequest = (SendBirdLeaveMyGroupChannelsRequest) o; - return Objects.equals(this.customType, leaveMyGroupChannelsRequest.customType); - } - - @Override - public int hashCode() { - return Objects.hash(customType); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdLeaveMyGroupChannelsRequest {\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java deleted file mode 100644 index 670f2023..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListBlockedUsersResponse.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdUser; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListBlockedUsersResponse - */ -@JsonPropertyOrder({ - SendBirdListBlockedUsersResponse.JSON_PROPERTY_USERS, - SendBirdListBlockedUsersResponse.JSON_PROPERTY_NEXT -}) -@JsonTypeName("listBlockedUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListBlockedUsersResponse { - public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; - - public static final String JSON_PROPERTY_NEXT = "next"; - private String next; - - public SendBirdListBlockedUsersResponse() { - } - - public SendBirdListBlockedUsersResponse users(List users) { - this.users = users; - return this; - } - - public SendBirdListBlockedUsersResponse addUsersItem(SendBirdSendBirdUser usersItem) { - if (this.users == null) { - this.users = new ArrayList<>(); - } - this.users.add(usersItem); - return this; - } - - /** - * Get users - * @return users - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getUsers() { - return users; - } - - - @JsonProperty(JSON_PROPERTY_USERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { - this.users = users; - } - - - public SendBirdListBlockedUsersResponse next(String next) { - this.next = next; - return this; - } - - /** - * Get next - * @return next - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getNext() { - return next; - } - - - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNext(String next) { - this.next = next; - } - - - /** - * Return true if this listBlockedUsersResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListBlockedUsersResponse listBlockedUsersResponse = (SendBirdListBlockedUsersResponse) o; - return Objects.equals(this.users, listBlockedUsersResponse.users) && - Objects.equals(this.next, listBlockedUsersResponse.next); - } - - @Override - public int hashCode() { - return Objects.hash(users, next); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListBlockedUsersResponse {\n"); - sb.append(" users: ").append(toIndentedString(users)).append("\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java deleted file mode 100644 index 9a8daab1..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponse.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInner; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListBotsResponse - */ -@JsonPropertyOrder({ - SendBirdListBotsResponse.JSON_PROPERTY_BOTS, - SendBirdListBotsResponse.JSON_PROPERTY_NEXT -}) -@JsonTypeName("listBotsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListBotsResponse { - public static final String JSON_PROPERTY_BOTS = "bots"; - private List bots = null; - - public static final String JSON_PROPERTY_NEXT = "next"; - private String next; - - public SendBirdListBotsResponse() { - } - - public SendBirdListBotsResponse bots(List bots) { - this.bots = bots; - return this; - } - - public SendBirdListBotsResponse addBotsItem(SendBirdListBotsResponseBotsInner botsItem) { - if (this.bots == null) { - this.bots = new ArrayList<>(); - } - this.bots.add(botsItem); - return this; - } - - /** - * Get bots - * @return bots - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getBots() { - return bots; - } - - - @JsonProperty(JSON_PROPERTY_BOTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBots(List bots) { - this.bots = bots; - } - - - public SendBirdListBotsResponse next(String next) { - this.next = next; - return this; - } - - /** - * Get next - * @return next - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getNext() { - return next; - } - - - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNext(String next) { - this.next = next; - } - - - /** - * Return true if this listBotsResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListBotsResponse listBotsResponse = (SendBirdListBotsResponse) o; - return Objects.equals(this.bots, listBotsResponse.bots) && - Objects.equals(this.next, listBotsResponse.next); - } - - @Override - public int hashCode() { - return Objects.hash(bots, next); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListBotsResponse {\n"); - sb.append(" bots: ").append(toIndentedString(bots)).append("\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java deleted file mode 100644 index 04affcfd..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInner.java +++ /dev/null @@ -1,415 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBot; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyle; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerFirstMessagesInner; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerSafeguard; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListBotsResponseBotsInner - */ -@JsonPropertyOrder({ - SendBirdListBotsResponseBotsInner.JSON_PROPERTY_BOT, - SendBirdListBotsResponseBotsInner.JSON_PROPERTY_BOT_CALLBACK_URL, - SendBirdListBotsResponseBotsInner.JSON_PROPERTY_BOT_STYLE, - SendBirdListBotsResponseBotsInner.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE, - SendBirdListBotsResponseBotsInner.JSON_PROPERTY_CREATED_AT, - SendBirdListBotsResponseBotsInner.JSON_PROPERTY_ENABLE_MARK_AS_READ, - SendBirdListBotsResponseBotsInner.JSON_PROPERTY_FIRST_MESSAGES, - SendBirdListBotsResponseBotsInner.JSON_PROPERTY_IS_PRIVACY_MODE, - SendBirdListBotsResponseBotsInner.JSON_PROPERTY_SAFEGUARD, - SendBirdListBotsResponseBotsInner.JSON_PROPERTY_SHOW_MEMBER -}) -@JsonTypeName("listBotsResponse_bots_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListBotsResponseBotsInner { - public static final String JSON_PROPERTY_BOT = "bot"; - private SendBirdListBotsResponseBotsInnerBot bot; - - public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; - private String botCallbackUrl; - - public static final String JSON_PROPERTY_BOT_STYLE = "bot_style"; - private SendBirdListBotsResponseBotsInnerBotStyle botStyle; - - public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; - private Integer channelInvitationPreference; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; - private Boolean enableMarkAsRead; - - public static final String JSON_PROPERTY_FIRST_MESSAGES = "first_messages"; - private List firstMessages = null; - - public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; - private Boolean isPrivacyMode; - - public static final String JSON_PROPERTY_SAFEGUARD = "safeguard"; - private SendBirdListBotsResponseBotsInnerSafeguard safeguard; - - public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; - private Boolean showMember; - - public SendBirdListBotsResponseBotsInner() { - } - - public SendBirdListBotsResponseBotsInner bot(SendBirdListBotsResponseBotsInnerBot bot) { - this.bot = bot; - return this; - } - - /** - * Get bot - * @return bot - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdListBotsResponseBotsInnerBot getBot() { - return bot; - } - - - @JsonProperty(JSON_PROPERTY_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBot(SendBirdListBotsResponseBotsInnerBot bot) { - this.bot = bot; - } - - - public SendBirdListBotsResponseBotsInner botCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - return this; - } - - /** - * Get botCallbackUrl - * @return botCallbackUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotCallbackUrl() { - return botCallbackUrl; - } - - - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - } - - - public SendBirdListBotsResponseBotsInner botStyle(SendBirdListBotsResponseBotsInnerBotStyle botStyle) { - this.botStyle = botStyle; - return this; - } - - /** - * Get botStyle - * @return botStyle - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_STYLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdListBotsResponseBotsInnerBotStyle getBotStyle() { - return botStyle; - } - - - @JsonProperty(JSON_PROPERTY_BOT_STYLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotStyle(SendBirdListBotsResponseBotsInnerBotStyle botStyle) { - this.botStyle = botStyle; - } - - - public SendBirdListBotsResponseBotsInner channelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - return this; - } - - /** - * Get channelInvitationPreference - * @return channelInvitationPreference - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getChannelInvitationPreference() { - return channelInvitationPreference; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - } - - - public SendBirdListBotsResponseBotsInner createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdListBotsResponseBotsInner enableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - return this; - } - - /** - * Get enableMarkAsRead - * @return enableMarkAsRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnableMarkAsRead() { - return enableMarkAsRead; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - } - - - public SendBirdListBotsResponseBotsInner firstMessages(List firstMessages) { - this.firstMessages = firstMessages; - return this; - } - - public SendBirdListBotsResponseBotsInner addFirstMessagesItem(SendBirdListBotsResponseBotsInnerFirstMessagesInner firstMessagesItem) { - if (this.firstMessages == null) { - this.firstMessages = new ArrayList<>(); - } - this.firstMessages.add(firstMessagesItem); - return this; - } - - /** - * Get firstMessages - * @return firstMessages - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FIRST_MESSAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getFirstMessages() { - return firstMessages; - } - - - @JsonProperty(JSON_PROPERTY_FIRST_MESSAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFirstMessages(List firstMessages) { - this.firstMessages = firstMessages; - } - - - public SendBirdListBotsResponseBotsInner isPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - return this; - } - - /** - * Get isPrivacyMode - * @return isPrivacyMode - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPrivacyMode() { - return isPrivacyMode; - } - - - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - } - - - public SendBirdListBotsResponseBotsInner safeguard(SendBirdListBotsResponseBotsInnerSafeguard safeguard) { - this.safeguard = safeguard; - return this; - } - - /** - * Get safeguard - * @return safeguard - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SAFEGUARD) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdListBotsResponseBotsInnerSafeguard getSafeguard() { - return safeguard; - } - - - @JsonProperty(JSON_PROPERTY_SAFEGUARD) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSafeguard(SendBirdListBotsResponseBotsInnerSafeguard safeguard) { - this.safeguard = safeguard; - } - - - public SendBirdListBotsResponseBotsInner showMember(Boolean showMember) { - this.showMember = showMember; - return this; - } - - /** - * Get showMember - * @return showMember - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getShowMember() { - return showMember; - } - - - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setShowMember(Boolean showMember) { - this.showMember = showMember; - } - - - /** - * Return true if this listBotsResponse_bots_inner object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListBotsResponseBotsInner listBotsResponseBotsInner = (SendBirdListBotsResponseBotsInner) o; - return Objects.equals(this.bot, listBotsResponseBotsInner.bot) && - Objects.equals(this.botCallbackUrl, listBotsResponseBotsInner.botCallbackUrl) && - Objects.equals(this.botStyle, listBotsResponseBotsInner.botStyle) && - Objects.equals(this.channelInvitationPreference, listBotsResponseBotsInner.channelInvitationPreference) && - Objects.equals(this.createdAt, listBotsResponseBotsInner.createdAt) && - Objects.equals(this.enableMarkAsRead, listBotsResponseBotsInner.enableMarkAsRead) && - Objects.equals(this.firstMessages, listBotsResponseBotsInner.firstMessages) && - Objects.equals(this.isPrivacyMode, listBotsResponseBotsInner.isPrivacyMode) && - Objects.equals(this.safeguard, listBotsResponseBotsInner.safeguard) && - Objects.equals(this.showMember, listBotsResponseBotsInner.showMember); - } - - @Override - public int hashCode() { - return Objects.hash(bot, botCallbackUrl, botStyle, channelInvitationPreference, createdAt, enableMarkAsRead, firstMessages, isPrivacyMode, safeguard, showMember); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListBotsResponseBotsInner {\n"); - sb.append(" bot: ").append(toIndentedString(bot)).append("\n"); - sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); - sb.append(" botStyle: ").append(toIndentedString(botStyle)).append("\n"); - sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); - sb.append(" firstMessages: ").append(toIndentedString(firstMessages)).append("\n"); - sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); - sb.append(" safeguard: ").append(toIndentedString(safeguard)).append("\n"); - sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java deleted file mode 100644 index e64c4661..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBot.java +++ /dev/null @@ -1,337 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListBotsResponseBotsInnerBot - */ -@JsonPropertyOrder({ - SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_AI_AGENT_TYPE, - SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_METADATA, - SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_NICKNAME, - SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_PROFILE_URL, - SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_TOKEN, - SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_TYPE, - SendBirdListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_USERID -}) -@JsonTypeName("listBotsResponse_bots_inner_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListBotsResponseBotsInnerBot { - public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; - private String aiAgentType; - - public static final String JSON_PROPERTY_BOT_METADATA = "bot_metadata"; - private Object botMetadata; - - public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; - private String botNickname; - - public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; - private String botProfileUrl; - - public static final String JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "bot_require_auth_for_profile_image"; - private Boolean botRequireAuthForProfileImage; - - public static final String JSON_PROPERTY_BOT_TOKEN = "bot_token"; - private String botToken; - - public static final String JSON_PROPERTY_BOT_TYPE = "bot_type"; - private String botType; - - public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; - private String botUserid; - - public SendBirdListBotsResponseBotsInnerBot() { - } - - public SendBirdListBotsResponseBotsInnerBot aiAgentType(String aiAgentType) { - this.aiAgentType = aiAgentType; - return this; - } - - /** - * Get aiAgentType - * @return aiAgentType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_AI_AGENT_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getAiAgentType() { - return aiAgentType; - } - - - @JsonProperty(JSON_PROPERTY_AI_AGENT_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAiAgentType(String aiAgentType) { - this.aiAgentType = aiAgentType; - } - - - public SendBirdListBotsResponseBotsInnerBot botMetadata(Object botMetadata) { - this.botMetadata = botMetadata; - return this; - } - - /** - * Get botMetadata - * @return botMetadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getBotMetadata() { - return botMetadata; - } - - - @JsonProperty(JSON_PROPERTY_BOT_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotMetadata(Object botMetadata) { - this.botMetadata = botMetadata; - } - - - public SendBirdListBotsResponseBotsInnerBot botNickname(String botNickname) { - this.botNickname = botNickname; - return this; - } - - /** - * Get botNickname - * @return botNickname - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotNickname() { - return botNickname; - } - - - @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotNickname(String botNickname) { - this.botNickname = botNickname; - } - - - public SendBirdListBotsResponseBotsInnerBot botProfileUrl(String botProfileUrl) { - this.botProfileUrl = botProfileUrl; - return this; - } - - /** - * Get botProfileUrl - * @return botProfileUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotProfileUrl() { - return botProfileUrl; - } - - - @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotProfileUrl(String botProfileUrl) { - this.botProfileUrl = botProfileUrl; - } - - - public SendBirdListBotsResponseBotsInnerBot botRequireAuthForProfileImage(Boolean botRequireAuthForProfileImage) { - this.botRequireAuthForProfileImage = botRequireAuthForProfileImage; - return this; - } - - /** - * Get botRequireAuthForProfileImage - * @return botRequireAuthForProfileImage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getBotRequireAuthForProfileImage() { - return botRequireAuthForProfileImage; - } - - - @JsonProperty(JSON_PROPERTY_BOT_REQUIRE_AUTH_FOR_PROFILE_IMAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotRequireAuthForProfileImage(Boolean botRequireAuthForProfileImage) { - this.botRequireAuthForProfileImage = botRequireAuthForProfileImage; - } - - - public SendBirdListBotsResponseBotsInnerBot botToken(String botToken) { - this.botToken = botToken; - return this; - } - - /** - * Get botToken - * @return botToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotToken() { - return botToken; - } - - - @JsonProperty(JSON_PROPERTY_BOT_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotToken(String botToken) { - this.botToken = botToken; - } - - - public SendBirdListBotsResponseBotsInnerBot botType(String botType) { - this.botType = botType; - return this; - } - - /** - * Get botType - * @return botType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotType() { - return botType; - } - - - @JsonProperty(JSON_PROPERTY_BOT_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotType(String botType) { - this.botType = botType; - } - - - public SendBirdListBotsResponseBotsInnerBot botUserid(String botUserid) { - this.botUserid = botUserid; - return this; - } - - /** - * Get botUserid - * @return botUserid - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_BOT_USERID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getBotUserid() { - return botUserid; - } - - - @JsonProperty(JSON_PROPERTY_BOT_USERID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBotUserid(String botUserid) { - this.botUserid = botUserid; - } - - - /** - * Return true if this listBotsResponse_bots_inner_bot object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListBotsResponseBotsInnerBot listBotsResponseBotsInnerBot = (SendBirdListBotsResponseBotsInnerBot) o; - return Objects.equals(this.aiAgentType, listBotsResponseBotsInnerBot.aiAgentType) && - Objects.equals(this.botMetadata, listBotsResponseBotsInnerBot.botMetadata) && - Objects.equals(this.botNickname, listBotsResponseBotsInnerBot.botNickname) && - Objects.equals(this.botProfileUrl, listBotsResponseBotsInnerBot.botProfileUrl) && - Objects.equals(this.botRequireAuthForProfileImage, listBotsResponseBotsInnerBot.botRequireAuthForProfileImage) && - Objects.equals(this.botToken, listBotsResponseBotsInnerBot.botToken) && - Objects.equals(this.botType, listBotsResponseBotsInnerBot.botType) && - Objects.equals(this.botUserid, listBotsResponseBotsInnerBot.botUserid); - } - - @Override - public int hashCode() { - return Objects.hash(aiAgentType, botMetadata, botNickname, botProfileUrl, botRequireAuthForProfileImage, botToken, botType, botUserid); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListBotsResponseBotsInnerBot {\n"); - sb.append(" aiAgentType: ").append(toIndentedString(aiAgentType)).append("\n"); - sb.append(" botMetadata: ").append(toIndentedString(botMetadata)).append("\n"); - sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); - sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); - sb.append(" botRequireAuthForProfileImage: ").append(toIndentedString(botRequireAuthForProfileImage)).append("\n"); - sb.append(" botToken: ").append(toIndentedString(botToken)).append("\n"); - sb.append(" botType: ").append(toIndentedString(botType)).append("\n"); - sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java deleted file mode 100644 index 0322cd90..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyle.java +++ /dev/null @@ -1,241 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyleColor; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListBotsResponseBotsInnerBotStyle - */ -@JsonPropertyOrder({ - SendBirdListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_AUTO_OPEN, - SendBirdListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_COLOR, - SendBirdListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_TYPE, - SendBirdListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_URL -}) -@JsonTypeName("listBotsResponse_bots_inner_bot_style") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListBotsResponseBotsInnerBotStyle { - public static final String JSON_PROPERTY_AUTO_OPEN = "auto_open"; - private Boolean autoOpen; - - public static final String JSON_PROPERTY_COLOR = "color"; - private SendBirdListBotsResponseBotsInnerBotStyleColor color; - - public static final String JSON_PROPERTY_TOGGLE_BUTTON_TYPE = "toggle_button_type"; - private JsonNullable toggleButtonType = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_TOGGLE_BUTTON_URL = "toggle_button_url"; - private JsonNullable toggleButtonUrl = JsonNullable.undefined(); - - public SendBirdListBotsResponseBotsInnerBotStyle() { - } - - public SendBirdListBotsResponseBotsInnerBotStyle autoOpen(Boolean autoOpen) { - this.autoOpen = autoOpen; - return this; - } - - /** - * Get autoOpen - * @return autoOpen - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_AUTO_OPEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getAutoOpen() { - return autoOpen; - } - - - @JsonProperty(JSON_PROPERTY_AUTO_OPEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAutoOpen(Boolean autoOpen) { - this.autoOpen = autoOpen; - } - - - public SendBirdListBotsResponseBotsInnerBotStyle color(SendBirdListBotsResponseBotsInnerBotStyleColor color) { - this.color = color; - return this; - } - - /** - * Get color - * @return color - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COLOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdListBotsResponseBotsInnerBotStyleColor getColor() { - return color; - } - - - @JsonProperty(JSON_PROPERTY_COLOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setColor(SendBirdListBotsResponseBotsInnerBotStyleColor color) { - this.color = color; - } - - - public SendBirdListBotsResponseBotsInnerBotStyle toggleButtonType(String toggleButtonType) { - this.toggleButtonType = JsonNullable.of(toggleButtonType); - return this; - } - - /** - * Get toggleButtonType - * @return toggleButtonType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getToggleButtonType() { - return toggleButtonType.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getToggleButtonType_JsonNullable() { - return toggleButtonType; - } - - @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_TYPE) - public void setToggleButtonType_JsonNullable(JsonNullable toggleButtonType) { - this.toggleButtonType = toggleButtonType; - } - - public void setToggleButtonType(String toggleButtonType) { - this.toggleButtonType = JsonNullable.of(toggleButtonType); - } - - - public SendBirdListBotsResponseBotsInnerBotStyle toggleButtonUrl(String toggleButtonUrl) { - this.toggleButtonUrl = JsonNullable.of(toggleButtonUrl); - return this; - } - - /** - * Get toggleButtonUrl - * @return toggleButtonUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getToggleButtonUrl() { - return toggleButtonUrl.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getToggleButtonUrl_JsonNullable() { - return toggleButtonUrl; - } - - @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_URL) - public void setToggleButtonUrl_JsonNullable(JsonNullable toggleButtonUrl) { - this.toggleButtonUrl = toggleButtonUrl; - } - - public void setToggleButtonUrl(String toggleButtonUrl) { - this.toggleButtonUrl = JsonNullable.of(toggleButtonUrl); - } - - - /** - * Return true if this listBotsResponse_bots_inner_bot_style object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListBotsResponseBotsInnerBotStyle listBotsResponseBotsInnerBotStyle = (SendBirdListBotsResponseBotsInnerBotStyle) o; - return Objects.equals(this.autoOpen, listBotsResponseBotsInnerBotStyle.autoOpen) && - Objects.equals(this.color, listBotsResponseBotsInnerBotStyle.color) && - equalsNullable(this.toggleButtonType, listBotsResponseBotsInnerBotStyle.toggleButtonType) && - equalsNullable(this.toggleButtonUrl, listBotsResponseBotsInnerBotStyle.toggleButtonUrl); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(autoOpen, color, hashCodeNullable(toggleButtonType), hashCodeNullable(toggleButtonUrl)); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListBotsResponseBotsInnerBotStyle {\n"); - sb.append(" autoOpen: ").append(toIndentedString(autoOpen)).append("\n"); - sb.append(" color: ").append(toIndentedString(color)).append("\n"); - sb.append(" toggleButtonType: ").append(toIndentedString(toggleButtonType)).append("\n"); - sb.append(" toggleButtonUrl: ").append(toIndentedString(toggleButtonUrl)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java deleted file mode 100644 index e628e125..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColor.java +++ /dev/null @@ -1,177 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListBotsResponseBotsInnerBotStyleColor - */ -@JsonPropertyOrder({ - SendBirdListBotsResponseBotsInnerBotStyleColor.JSON_PROPERTY_ACCENT_COLOR, - SendBirdListBotsResponseBotsInnerBotStyleColor.JSON_PROPERTY_BOT_MESSAGE_COLOR, - SendBirdListBotsResponseBotsInnerBotStyleColor.JSON_PROPERTY_THEME -}) -@JsonTypeName("listBotsResponse_bots_inner_bot_style_color") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListBotsResponseBotsInnerBotStyleColor { - public static final String JSON_PROPERTY_ACCENT_COLOR = "accent_color"; - private String accentColor; - - public static final String JSON_PROPERTY_BOT_MESSAGE_COLOR = "bot_message_color"; - private String botMessageColor; - - public static final String JSON_PROPERTY_THEME = "theme"; - private String theme; - - public SendBirdListBotsResponseBotsInnerBotStyleColor() { - } - - public SendBirdListBotsResponseBotsInnerBotStyleColor accentColor(String accentColor) { - this.accentColor = accentColor; - return this; - } - - /** - * Get accentColor - * @return accentColor - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ACCENT_COLOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getAccentColor() { - return accentColor; - } - - - @JsonProperty(JSON_PROPERTY_ACCENT_COLOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAccentColor(String accentColor) { - this.accentColor = accentColor; - } - - - public SendBirdListBotsResponseBotsInnerBotStyleColor botMessageColor(String botMessageColor) { - this.botMessageColor = botMessageColor; - return this; - } - - /** - * Get botMessageColor - * @return botMessageColor - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_MESSAGE_COLOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotMessageColor() { - return botMessageColor; - } - - - @JsonProperty(JSON_PROPERTY_BOT_MESSAGE_COLOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotMessageColor(String botMessageColor) { - this.botMessageColor = botMessageColor; - } - - - public SendBirdListBotsResponseBotsInnerBotStyleColor theme(String theme) { - this.theme = theme; - return this; - } - - /** - * Get theme - * @return theme - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_THEME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTheme() { - return theme; - } - - - @JsonProperty(JSON_PROPERTY_THEME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTheme(String theme) { - this.theme = theme; - } - - - /** - * Return true if this listBotsResponse_bots_inner_bot_style_color object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListBotsResponseBotsInnerBotStyleColor listBotsResponseBotsInnerBotStyleColor = (SendBirdListBotsResponseBotsInnerBotStyleColor) o; - return Objects.equals(this.accentColor, listBotsResponseBotsInnerBotStyleColor.accentColor) && - Objects.equals(this.botMessageColor, listBotsResponseBotsInnerBotStyleColor.botMessageColor) && - Objects.equals(this.theme, listBotsResponseBotsInnerBotStyleColor.theme); - } - - @Override - public int hashCode() { - return Objects.hash(accentColor, botMessageColor, theme); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListBotsResponseBotsInnerBotStyleColor {\n"); - sb.append(" accentColor: ").append(toIndentedString(accentColor)).append("\n"); - sb.append(" botMessageColor: ").append(toIndentedString(botMessageColor)).append("\n"); - sb.append(" theme: ").append(toIndentedString(theme)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java deleted file mode 100644 index d2803139..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInner.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerFirstMessagesInnerData; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListBotsResponseBotsInnerFirstMessagesInner - */ -@JsonPropertyOrder({ - SendBirdListBotsResponseBotsInnerFirstMessagesInner.JSON_PROPERTY_DATA, - SendBirdListBotsResponseBotsInnerFirstMessagesInner.JSON_PROPERTY_MESSAGE -}) -@JsonTypeName("listBotsResponse_bots_inner_first_messages_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListBotsResponseBotsInnerFirstMessagesInner { - public static final String JSON_PROPERTY_DATA = "data"; - private SendBirdListBotsResponseBotsInnerFirstMessagesInnerData data; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private String message; - - public SendBirdListBotsResponseBotsInnerFirstMessagesInner() { - } - - public SendBirdListBotsResponseBotsInnerFirstMessagesInner data(SendBirdListBotsResponseBotsInnerFirstMessagesInnerData data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdListBotsResponseBotsInnerFirstMessagesInnerData getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(SendBirdListBotsResponseBotsInnerFirstMessagesInnerData data) { - this.data = data; - } - - - public SendBirdListBotsResponseBotsInnerFirstMessagesInner message(String message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(String message) { - this.message = message; - } - - - /** - * Return true if this listBotsResponse_bots_inner_first_messages_inner object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListBotsResponseBotsInnerFirstMessagesInner listBotsResponseBotsInnerFirstMessagesInner = (SendBirdListBotsResponseBotsInnerFirstMessagesInner) o; - return Objects.equals(this.data, listBotsResponseBotsInnerFirstMessagesInner.data) && - Objects.equals(this.message, listBotsResponseBotsInnerFirstMessagesInner.message); - } - - @Override - public int hashCode() { - return Objects.hash(data, message); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListBotsResponseBotsInnerFirstMessagesInner {\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java deleted file mode 100644 index b3a0662a..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListBotsResponseBotsInnerFirstMessagesInnerData - */ -@JsonPropertyOrder({ - SendBirdListBotsResponseBotsInnerFirstMessagesInnerData.JSON_PROPERTY_SUGGESTED_REPLIES -}) -@JsonTypeName("listBotsResponse_bots_inner_first_messages_inner_data") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListBotsResponseBotsInnerFirstMessagesInnerData { - public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; - private List suggestedReplies = null; - - public SendBirdListBotsResponseBotsInnerFirstMessagesInnerData() { - } - - public SendBirdListBotsResponseBotsInnerFirstMessagesInnerData suggestedReplies(List suggestedReplies) { - this.suggestedReplies = suggestedReplies; - return this; - } - - public SendBirdListBotsResponseBotsInnerFirstMessagesInnerData addSuggestedRepliesItem(String suggestedRepliesItem) { - if (this.suggestedReplies == null) { - this.suggestedReplies = new ArrayList<>(); - } - this.suggestedReplies.add(suggestedRepliesItem); - return this; - } - - /** - * Get suggestedReplies - * @return suggestedReplies - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SUGGESTED_REPLIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSuggestedReplies() { - return suggestedReplies; - } - - - @JsonProperty(JSON_PROPERTY_SUGGESTED_REPLIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSuggestedReplies(List suggestedReplies) { - this.suggestedReplies = suggestedReplies; - } - - - /** - * Return true if this listBotsResponse_bots_inner_first_messages_inner_data object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListBotsResponseBotsInnerFirstMessagesInnerData listBotsResponseBotsInnerFirstMessagesInnerData = (SendBirdListBotsResponseBotsInnerFirstMessagesInnerData) o; - return Objects.equals(this.suggestedReplies, listBotsResponseBotsInnerFirstMessagesInnerData.suggestedReplies); - } - - @Override - public int hashCode() { - return Objects.hash(suggestedReplies); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListBotsResponseBotsInnerFirstMessagesInnerData {\n"); - sb.append(" suggestedReplies: ").append(toIndentedString(suggestedReplies)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java b/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java deleted file mode 100644 index 5e769d9a..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguard.java +++ /dev/null @@ -1,219 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListBotsResponseBotsInnerSafeguard - */ -@JsonPropertyOrder({ - SendBirdListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_BANNED_PHRASES, - SendBirdListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_ENABLED, - SendBirdListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_MESSAGE, - SendBirdListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_PII_MASKING -}) -@JsonTypeName("listBotsResponse_bots_inner_safeguard") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListBotsResponseBotsInnerSafeguard { - public static final String JSON_PROPERTY_BANNED_PHRASES = "banned_phrases"; - private List bannedPhrases = null; - - public static final String JSON_PROPERTY_ENABLED = "enabled"; - private Boolean enabled; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private String message; - - public static final String JSON_PROPERTY_PII_MASKING = "pii_masking"; - private Boolean piiMasking; - - public SendBirdListBotsResponseBotsInnerSafeguard() { - } - - public SendBirdListBotsResponseBotsInnerSafeguard bannedPhrases(List bannedPhrases) { - this.bannedPhrases = bannedPhrases; - return this; - } - - public SendBirdListBotsResponseBotsInnerSafeguard addBannedPhrasesItem(Object bannedPhrasesItem) { - if (this.bannedPhrases == null) { - this.bannedPhrases = new ArrayList<>(); - } - this.bannedPhrases.add(bannedPhrasesItem); - return this; - } - - /** - * Get bannedPhrases - * @return bannedPhrases - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BANNED_PHRASES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getBannedPhrases() { - return bannedPhrases; - } - - - @JsonProperty(JSON_PROPERTY_BANNED_PHRASES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBannedPhrases(List bannedPhrases) { - this.bannedPhrases = bannedPhrases; - } - - - public SendBirdListBotsResponseBotsInnerSafeguard enabled(Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Get enabled - * @return enabled - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnabled() { - return enabled; - } - - - @JsonProperty(JSON_PROPERTY_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - - public SendBirdListBotsResponseBotsInnerSafeguard message(String message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(String message) { - this.message = message; - } - - - public SendBirdListBotsResponseBotsInnerSafeguard piiMasking(Boolean piiMasking) { - this.piiMasking = piiMasking; - return this; - } - - /** - * Get piiMasking - * @return piiMasking - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PII_MASKING) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getPiiMasking() { - return piiMasking; - } - - - @JsonProperty(JSON_PROPERTY_PII_MASKING) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPiiMasking(Boolean piiMasking) { - this.piiMasking = piiMasking; - } - - - /** - * Return true if this listBotsResponse_bots_inner_safeguard object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListBotsResponseBotsInnerSafeguard listBotsResponseBotsInnerSafeguard = (SendBirdListBotsResponseBotsInnerSafeguard) o; - return Objects.equals(this.bannedPhrases, listBotsResponseBotsInnerSafeguard.bannedPhrases) && - Objects.equals(this.enabled, listBotsResponseBotsInnerSafeguard.enabled) && - Objects.equals(this.message, listBotsResponseBotsInnerSafeguard.message) && - Objects.equals(this.piiMasking, listBotsResponseBotsInnerSafeguard.piiMasking); - } - - @Override - public int hashCode() { - return Objects.hash(bannedPhrases, enabled, message, piiMasking); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListBotsResponseBotsInnerSafeguard {\n"); - sb.append(" bannedPhrases: ").append(toIndentedString(bannedPhrases)).append("\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" piiMasking: ").append(toIndentedString(piiMasking)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java deleted file mode 100644 index acb3fdd6..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListMessagesResponse.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdMessageResponse; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListMessagesResponse - */ -@JsonPropertyOrder({ - SendBirdListMessagesResponse.JSON_PROPERTY_MESSAGES -}) -@JsonTypeName("listMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListMessagesResponse { - public static final String JSON_PROPERTY_MESSAGES = "messages"; - private List messages = null; - - public SendBirdListMessagesResponse() { - } - - public SendBirdListMessagesResponse messages(List messages) { - this.messages = messages; - return this; - } - - public SendBirdListMessagesResponse addMessagesItem(SendBirdSendBirdMessageResponse messagesItem) { - if (this.messages == null) { - this.messages = new ArrayList<>(); - } - this.messages.add(messagesItem); - return this; - } - - /** - * Get messages - * @return messages - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMessages() { - return messages; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessages(List messages) { - this.messages = messages; - } - - - /** - * Return true if this listMessagesResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListMessagesResponse listMessagesResponse = (SendBirdListMessagesResponse) o; - return Objects.equals(this.messages, listMessagesResponse.messages); - } - - @Override - public int hashCode() { - return Objects.hash(messages); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListMessagesResponse {\n"); - sb.append(" messages: ").append(toIndentedString(messages)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java deleted file mode 100644 index 762187dc..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponse.java +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdGroupChannel; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListMyGroupChannelsResponse - */ -@JsonPropertyOrder({ - SendBirdListMyGroupChannelsResponse.JSON_PROPERTY_CHANNELS, - SendBirdListMyGroupChannelsResponse.JSON_PROPERTY_NEXT, - SendBirdListMyGroupChannelsResponse.JSON_PROPERTY_TS -}) -@JsonTypeName("listMyGroupChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListMyGroupChannelsResponse { - public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; - - public static final String JSON_PROPERTY_NEXT = "next"; - private String next; - - public static final String JSON_PROPERTY_TS = "ts"; - private Long ts; - - public SendBirdListMyGroupChannelsResponse() { - } - - public SendBirdListMyGroupChannelsResponse channels(List channels) { - this.channels = channels; - return this; - } - - public SendBirdListMyGroupChannelsResponse addChannelsItem(SendBirdSendBirdGroupChannel channelsItem) { - if (this.channels == null) { - this.channels = new ArrayList<>(); - } - this.channels.add(channelsItem); - return this; - } - - /** - * Get channels - * @return channels - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNELS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getChannels() { - return channels; - } - - - @JsonProperty(JSON_PROPERTY_CHANNELS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { - this.channels = channels; - } - - - public SendBirdListMyGroupChannelsResponse next(String next) { - this.next = next; - return this; - } - - /** - * Get next - * @return next - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getNext() { - return next; - } - - - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNext(String next) { - this.next = next; - } - - - public SendBirdListMyGroupChannelsResponse ts(Long ts) { - this.ts = ts; - return this; - } - - /** - * Get ts - * @return ts - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getTs() { - return ts; - } - - - @JsonProperty(JSON_PROPERTY_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTs(Long ts) { - this.ts = ts; - } - - - /** - * Return true if this listMyGroupChannelsResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListMyGroupChannelsResponse listMyGroupChannelsResponse = (SendBirdListMyGroupChannelsResponse) o; - return Objects.equals(this.channels, listMyGroupChannelsResponse.channels) && - Objects.equals(this.next, listMyGroupChannelsResponse.next) && - Objects.equals(this.ts, listMyGroupChannelsResponse.ts); - } - - @Override - public int hashCode() { - return Objects.hash(channels, next, ts); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListMyGroupChannelsResponse {\n"); - sb.append(" channels: ").append(toIndentedString(channels)).append("\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append(" ts: ").append(toIndentedString(ts)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java deleted file mode 100644 index 9e3f0797..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListOpenChannelsResponse.java +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdOpenChannel; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListOpenChannelsResponse - */ -@JsonPropertyOrder({ - SendBirdListOpenChannelsResponse.JSON_PROPERTY_CHANNELS, - SendBirdListOpenChannelsResponse.JSON_PROPERTY_NEXT, - SendBirdListOpenChannelsResponse.JSON_PROPERTY_TS -}) -@JsonTypeName("listOpenChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListOpenChannelsResponse { - public static final String JSON_PROPERTY_CHANNELS = "channels"; - private List channels = null; - - public static final String JSON_PROPERTY_NEXT = "next"; - private String next; - - public static final String JSON_PROPERTY_TS = "ts"; - private Long ts; - - public SendBirdListOpenChannelsResponse() { - } - - public SendBirdListOpenChannelsResponse channels(List channels) { - this.channels = channels; - return this; - } - - public SendBirdListOpenChannelsResponse addChannelsItem(SendBirdSendBirdOpenChannel channelsItem) { - if (this.channels == null) { - this.channels = new ArrayList<>(); - } - this.channels.add(channelsItem); - return this; - } - - /** - * Get channels - * @return channels - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNELS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getChannels() { - return channels; - } - - - @JsonProperty(JSON_PROPERTY_CHANNELS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannels(List channels) { - this.channels = channels; - } - - - public SendBirdListOpenChannelsResponse next(String next) { - this.next = next; - return this; - } - - /** - * Get next - * @return next - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getNext() { - return next; - } - - - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNext(String next) { - this.next = next; - } - - - public SendBirdListOpenChannelsResponse ts(Long ts) { - this.ts = ts; - return this; - } - - /** - * Get ts - * @return ts - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getTs() { - return ts; - } - - - @JsonProperty(JSON_PROPERTY_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTs(Long ts) { - this.ts = ts; - } - - - /** - * Return true if this listOpenChannelsResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListOpenChannelsResponse listOpenChannelsResponse = (SendBirdListOpenChannelsResponse) o; - return Objects.equals(this.channels, listOpenChannelsResponse.channels) && - Objects.equals(this.next, listOpenChannelsResponse.next) && - Objects.equals(this.ts, listOpenChannelsResponse.ts); - } - - @Override - public int hashCode() { - return Objects.hash(channels, next, ts); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListOpenChannelsResponse {\n"); - sb.append(" channels: ").append(toIndentedString(channels)).append("\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append(" ts: ").append(toIndentedString(ts)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java deleted file mode 100644 index 58027755..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListOperatorsResponse.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListOperatorsResponse - */ -@JsonPropertyOrder({ - SendBirdListOperatorsResponse.JSON_PROPERTY_NEXT, - SendBirdListOperatorsResponse.JSON_PROPERTY_OPERATORS -}) -@JsonTypeName("listOperatorsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListOperatorsResponse { - public static final String JSON_PROPERTY_NEXT = "next"; - private String next; - - public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; - - public SendBirdListOperatorsResponse() { - } - - public SendBirdListOperatorsResponse next(String next) { - this.next = next; - return this; - } - - /** - * Get next - * @return next - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getNext() { - return next; - } - - - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNext(String next) { - this.next = next; - } - - - public SendBirdListOperatorsResponse operators(List operators) { - this.operators = operators; - return this; - } - - public SendBirdListOperatorsResponse addOperatorsItem(SendBirdSendBirdBasicUserInfo operatorsItem) { - if (this.operators == null) { - this.operators = new ArrayList<>(); - } - this.operators.add(operatorsItem); - return this; - } - - /** - * Get operators - * @return operators - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_OPERATORS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getOperators() { - return operators; - } - - - @JsonProperty(JSON_PROPERTY_OPERATORS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { - this.operators = operators; - } - - - /** - * Return true if this listOperatorsResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListOperatorsResponse listOperatorsResponse = (SendBirdListOperatorsResponse) o; - return Objects.equals(this.next, listOperatorsResponse.next) && - Objects.equals(this.operators, listOperatorsResponse.operators); - } - - @Override - public int hashCode() { - return Objects.hash(next, operators); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListOperatorsResponse {\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append(" operators: ").append(toIndentedString(operators)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java deleted file mode 100644 index 3b6f0c3d..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponse.java +++ /dev/null @@ -1,228 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListRegistrationOrDeviceTokensResponse - */ -@JsonPropertyOrder({ - SendBirdListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_TOKEN, - SendBirdListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_TOKENS, - SendBirdListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_TYPE, - SendBirdListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_USER -}) -@JsonTypeName("listRegistrationOrDeviceTokensResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListRegistrationOrDeviceTokensResponse { - public static final String JSON_PROPERTY_TOKEN = "token"; - private List token = null; - - public static final String JSON_PROPERTY_TOKENS = "tokens"; - private List tokens = null; - - public static final String JSON_PROPERTY_TYPE = "type"; - private String type; - - public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendBirdBasicUserInfo user; - - public SendBirdListRegistrationOrDeviceTokensResponse() { - } - - public SendBirdListRegistrationOrDeviceTokensResponse token(List token) { - this.token = token; - return this; - } - - public SendBirdListRegistrationOrDeviceTokensResponse addTokenItem(String tokenItem) { - if (this.token == null) { - this.token = new ArrayList<>(); - } - this.token.add(tokenItem); - return this; - } - - /** - * Get token - * @return token - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getToken() { - return token; - } - - - @JsonProperty(JSON_PROPERTY_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setToken(List token) { - this.token = token; - } - - - public SendBirdListRegistrationOrDeviceTokensResponse tokens(List tokens) { - this.tokens = tokens; - return this; - } - - public SendBirdListRegistrationOrDeviceTokensResponse addTokensItem(String tokensItem) { - if (this.tokens == null) { - this.tokens = new ArrayList<>(); - } - this.tokens.add(tokensItem); - return this; - } - - /** - * Get tokens - * @return tokens - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TOKENS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getTokens() { - return tokens; - } - - - @JsonProperty(JSON_PROPERTY_TOKENS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTokens(List tokens) { - this.tokens = tokens; - } - - - public SendBirdListRegistrationOrDeviceTokensResponse type(String type) { - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getType() { - return type; - } - - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setType(String type) { - this.type = type; - } - - - public SendBirdListRegistrationOrDeviceTokensResponse user(SendBirdSendBirdBasicUserInfo user) { - this.user = user; - return this; - } - - /** - * Get user - * @return user - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getUser() { - return user; - } - - - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendBirdBasicUserInfo user) { - this.user = user; - } - - - /** - * Return true if this listRegistrationOrDeviceTokensResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListRegistrationOrDeviceTokensResponse listRegistrationOrDeviceTokensResponse = (SendBirdListRegistrationOrDeviceTokensResponse) o; - return Objects.equals(this.token, listRegistrationOrDeviceTokensResponse.token) && - Objects.equals(this.tokens, listRegistrationOrDeviceTokensResponse.tokens) && - Objects.equals(this.type, listRegistrationOrDeviceTokensResponse.type) && - Objects.equals(this.user, listRegistrationOrDeviceTokensResponse.user); - } - - @Override - public int hashCode() { - return Objects.hash(token, tokens, type, user); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListRegistrationOrDeviceTokensResponse {\n"); - sb.append(" token: ").append(toIndentedString(token)).append("\n"); - sb.append(" tokens: ").append(toIndentedString(tokens)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" user: ").append(toIndentedString(user)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java deleted file mode 100644 index d530e382..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdListUsersResponse.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdUser; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdListUsersResponse - */ -@JsonPropertyOrder({ - SendBirdListUsersResponse.JSON_PROPERTY_NEXT, - SendBirdListUsersResponse.JSON_PROPERTY_USERS -}) -@JsonTypeName("listUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdListUsersResponse { - public static final String JSON_PROPERTY_NEXT = "next"; - private String next; - - public static final String JSON_PROPERTY_USERS = "users"; - private List users = null; - - public SendBirdListUsersResponse() { - } - - public SendBirdListUsersResponse next(String next) { - this.next = next; - return this; - } - - /** - * Get next - * @return next - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getNext() { - return next; - } - - - @JsonProperty(JSON_PROPERTY_NEXT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNext(String next) { - this.next = next; - } - - - public SendBirdListUsersResponse users(List users) { - this.users = users; - return this; - } - - public SendBirdListUsersResponse addUsersItem(SendBirdSendBirdUser usersItem) { - if (this.users == null) { - this.users = new ArrayList<>(); - } - this.users.add(usersItem); - return this; - } - - /** - * Get users - * @return users - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getUsers() { - return users; - } - - - @JsonProperty(JSON_PROPERTY_USERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUsers(List users) { - this.users = users; - } - - - /** - * Return true if this listUsersResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdListUsersResponse listUsersResponse = (SendBirdListUsersResponse) o; - return Objects.equals(this.next, listUsersResponse.next) && - Objects.equals(this.users, listUsersResponse.users); - } - - @Override - public int hashCode() { - return Objects.hash(next, users); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdListUsersResponse {\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); - sb.append(" users: ").append(toIndentedString(users)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java deleted file mode 100644 index 4b4c49cf..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequest.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdMarkAllMessagesAsReadRequest - */ -@JsonPropertyOrder({ - SendBirdMarkAllMessagesAsReadRequest.JSON_PROPERTY_CHANNEL_URLS -}) -@JsonTypeName("markAllMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdMarkAllMessagesAsReadRequest { - public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; - private List channelUrls = null; - - public SendBirdMarkAllMessagesAsReadRequest() { - } - - public SendBirdMarkAllMessagesAsReadRequest channelUrls(List channelUrls) { - this.channelUrls = channelUrls; - return this; - } - - public SendBirdMarkAllMessagesAsReadRequest addChannelUrlsItem(String channelUrlsItem) { - if (this.channelUrls == null) { - this.channelUrls = new ArrayList<>(); - } - this.channelUrls.add(channelUrlsItem); - return this; - } - - /** - * Specifies an array of one or more group channel URLs where unread messages need to be marked as read. If not specified, unread messages in all group channels a user joined are marked as read. - * @return channelUrls - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies an array of one or more group channel URLs where unread messages need to be marked as read. If not specified, unread messages in all group channels a user joined are marked as read.") - @JsonProperty(JSON_PROPERTY_CHANNEL_URLS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getChannelUrls() { - return channelUrls; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URLS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannelUrls(List channelUrls) { - this.channelUrls = channelUrls; - } - - - /** - * Return true if this markAllMessagesAsRead_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdMarkAllMessagesAsReadRequest markAllMessagesAsReadRequest = (SendBirdMarkAllMessagesAsReadRequest) o; - return Objects.equals(this.channelUrls, markAllMessagesAsReadRequest.channelUrls); - } - - @Override - public int hashCode() { - return Objects.hash(channelUrls); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdMarkAllMessagesAsReadRequest {\n"); - sb.append(" channelUrls: ").append(toIndentedString(channelUrls)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java deleted file mode 100644 index c4892d76..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequest.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdMarkChannelMessagesAsReadRequest - */ -@JsonPropertyOrder({ - SendBirdMarkChannelMessagesAsReadRequest.JSON_PROPERTY_USER_ID -}) -@JsonTypeName("markChannelMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdMarkChannelMessagesAsReadRequest { - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - public SendBirdMarkChannelMessagesAsReadRequest() { - } - - public SendBirdMarkChannelMessagesAsReadRequest userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUserId(String userId) { - this.userId = userId; - } - - - /** - * Return true if this markChannelMessagesAsRead_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdMarkChannelMessagesAsReadRequest markChannelMessagesAsReadRequest = (SendBirdMarkChannelMessagesAsReadRequest) o; - return Objects.equals(this.userId, markChannelMessagesAsReadRequest.userId); - } - - @Override - public int hashCode() { - return Objects.hash(userId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdMarkChannelMessagesAsReadRequest {\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdMember.java b/src/main/java/org/openapitools/client/model/SendBirdMember.java index 41e22426..12502ba3 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMember.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMember.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdPushTriggerOption; +import org.openapitools.client.model.SendbirdPushTriggerOption; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -36,35 +36,35 @@ /** - * SendBirdMember + * SendbirdMember */ @JsonPropertyOrder({ - SendBirdMember.JSON_PROPERTY_DELIVERED_TS, - SendBirdMember.JSON_PROPERTY_DO_NOT_DISTURB, - SendBirdMember.JSON_PROPERTY_FRIEND_DISCOVERY_KEY, - SendBirdMember.JSON_PROPERTY_FRIEND_NAME, - SendBirdMember.JSON_PROPERTY_IS_ACTIVE, - SendBirdMember.JSON_PROPERTY_IS_BLOCKED_BY_ME, - SendBirdMember.JSON_PROPERTY_IS_BLOCKING_ME, - SendBirdMember.JSON_PROPERTY_IS_MUTED, - SendBirdMember.JSON_PROPERTY_IS_ONLINE, - SendBirdMember.JSON_PROPERTY_LAST_SEEN_AT, - SendBirdMember.JSON_PROPERTY_METADATA, - SendBirdMember.JSON_PROPERTY_MUTED_DESCRIPTION, - SendBirdMember.JSON_PROPERTY_MUTED_END_AT, - SendBirdMember.JSON_PROPERTY_NICKNAME, - SendBirdMember.JSON_PROPERTY_PUSH_ENABLED, - SendBirdMember.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdMember.JSON_PROPERTY_PROFILE_URL, - SendBirdMember.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendBirdMember.JSON_PROPERTY_READ_TS, - SendBirdMember.JSON_PROPERTY_ROLE, - SendBirdMember.JSON_PROPERTY_STATE, - SendBirdMember.JSON_PROPERTY_USER_ID + SendbirdMember.JSON_PROPERTY_DELIVERED_TS, + SendbirdMember.JSON_PROPERTY_DO_NOT_DISTURB, + SendbirdMember.JSON_PROPERTY_FRIEND_DISCOVERY_KEY, + SendbirdMember.JSON_PROPERTY_FRIEND_NAME, + SendbirdMember.JSON_PROPERTY_IS_ACTIVE, + SendbirdMember.JSON_PROPERTY_IS_BLOCKED_BY_ME, + SendbirdMember.JSON_PROPERTY_IS_BLOCKING_ME, + SendbirdMember.JSON_PROPERTY_IS_MUTED, + SendbirdMember.JSON_PROPERTY_IS_ONLINE, + SendbirdMember.JSON_PROPERTY_LAST_SEEN_AT, + SendbirdMember.JSON_PROPERTY_METADATA, + SendbirdMember.JSON_PROPERTY_MUTED_DESCRIPTION, + SendbirdMember.JSON_PROPERTY_MUTED_END_AT, + SendbirdMember.JSON_PROPERTY_NICKNAME, + SendbirdMember.JSON_PROPERTY_PUSH_ENABLED, + SendbirdMember.JSON_PROPERTY_PUSH_TRIGGER_OPTION, + SendbirdMember.JSON_PROPERTY_PROFILE_URL, + SendbirdMember.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendbirdMember.JSON_PROPERTY_READ_TS, + SendbirdMember.JSON_PROPERTY_ROLE, + SendbirdMember.JSON_PROPERTY_STATE, + SendbirdMember.JSON_PROPERTY_USER_ID }) -@JsonTypeName("SendBird.Member") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdMember { +@JsonTypeName("Sendbird.Member") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdMember { public static final String JSON_PROPERTY_DELIVERED_TS = "delivered_ts"; private Long deliveredTs; @@ -111,7 +111,7 @@ public class SendBirdMember { private Boolean pushEnabled; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdPushTriggerOption pushTriggerOption; + private SendbirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; private String profileUrl = ""; @@ -205,10 +205,10 @@ public static StateEnum fromValue(String value) { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; - public SendBirdMember() { + public SendbirdMember() { } - public SendBirdMember deliveredTs(Long deliveredTs) { + public SendbirdMember deliveredTs(Long deliveredTs) { this.deliveredTs = deliveredTs; return this; } @@ -234,7 +234,7 @@ public void setDeliveredTs(Long deliveredTs) { } - public SendBirdMember doNotDisturb(Boolean doNotDisturb) { + public SendbirdMember doNotDisturb(Boolean doNotDisturb) { this.doNotDisturb = doNotDisturb; return this; } @@ -260,12 +260,12 @@ public void setDoNotDisturb(Boolean doNotDisturb) { } - public SendBirdMember friendDiscoveryKey(List friendDiscoveryKey) { + public SendbirdMember friendDiscoveryKey(List friendDiscoveryKey) { this.friendDiscoveryKey = JsonNullable.>of(friendDiscoveryKey); return this; } - public SendBirdMember addFriendDiscoveryKeyItem(String friendDiscoveryKeyItem) { + public SendbirdMember addFriendDiscoveryKeyItem(String friendDiscoveryKeyItem) { if (this.friendDiscoveryKey == null || !this.friendDiscoveryKey.isPresent()) { this.friendDiscoveryKey = JsonNullable.>of(new ArrayList<>()); } @@ -306,7 +306,7 @@ public void setFriendDiscoveryKey(List friendDiscoveryKey) { } - public SendBirdMember friendName(String friendName) { + public SendbirdMember friendName(String friendName) { this.friendName = JsonNullable.of(friendName); return this; } @@ -340,7 +340,7 @@ public void setFriendName(String friendName) { } - public SendBirdMember isActive(Boolean isActive) { + public SendbirdMember isActive(Boolean isActive) { this.isActive = isActive; return this; } @@ -366,7 +366,7 @@ public void setIsActive(Boolean isActive) { } - public SendBirdMember isBlockedByMe(Boolean isBlockedByMe) { + public SendbirdMember isBlockedByMe(Boolean isBlockedByMe) { this.isBlockedByMe = isBlockedByMe; return this; } @@ -392,7 +392,7 @@ public void setIsBlockedByMe(Boolean isBlockedByMe) { } - public SendBirdMember isBlockingMe(Boolean isBlockingMe) { + public SendbirdMember isBlockingMe(Boolean isBlockingMe) { this.isBlockingMe = isBlockingMe; return this; } @@ -418,7 +418,7 @@ public void setIsBlockingMe(Boolean isBlockingMe) { } - public SendBirdMember isMuted(Boolean isMuted) { + public SendbirdMember isMuted(Boolean isMuted) { this.isMuted = isMuted; return this; } @@ -444,7 +444,7 @@ public void setIsMuted(Boolean isMuted) { } - public SendBirdMember isOnline(Boolean isOnline) { + public SendbirdMember isOnline(Boolean isOnline) { this.isOnline = isOnline; return this; } @@ -470,7 +470,7 @@ public void setIsOnline(Boolean isOnline) { } - public SendBirdMember lastSeenAt(Long lastSeenAt) { + public SendbirdMember lastSeenAt(Long lastSeenAt) { this.lastSeenAt = lastSeenAt; return this; } @@ -496,7 +496,7 @@ public void setLastSeenAt(Long lastSeenAt) { } - public SendBirdMember metadata(Object metadata) { + public SendbirdMember metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -530,7 +530,7 @@ public void setMetadata(Object metadata) { } - public SendBirdMember mutedDescription(String mutedDescription) { + public SendbirdMember mutedDescription(String mutedDescription) { this.mutedDescription = mutedDescription; return this; } @@ -556,7 +556,7 @@ public void setMutedDescription(String mutedDescription) { } - public SendBirdMember mutedEndAt(Long mutedEndAt) { + public SendbirdMember mutedEndAt(Long mutedEndAt) { this.mutedEndAt = mutedEndAt; return this; } @@ -582,7 +582,7 @@ public void setMutedEndAt(Long mutedEndAt) { } - public SendBirdMember nickname(String nickname) { + public SendbirdMember nickname(String nickname) { this.nickname = JsonNullable.of(nickname); return this; } @@ -616,7 +616,7 @@ public void setNickname(String nickname) { } - public SendBirdMember pushEnabled(Boolean pushEnabled) { + public SendbirdMember pushEnabled(Boolean pushEnabled) { this.pushEnabled = pushEnabled; return this; } @@ -642,7 +642,7 @@ public void setPushEnabled(Boolean pushEnabled) { } - public SendBirdMember pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public SendbirdMember pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -656,19 +656,19 @@ public SendBirdMember pushTriggerOption(SendBirdPushTriggerOption pushTriggerOpt @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdPushTriggerOption getPushTriggerOption() { + public SendbirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } - public SendBirdMember profileUrl(String profileUrl) { + public SendbirdMember profileUrl(String profileUrl) { this.profileUrl = profileUrl; return this; } @@ -694,7 +694,7 @@ public void setProfileUrl(String profileUrl) { } - public SendBirdMember requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + public SendbirdMember requireAuthForProfileImage(Boolean requireAuthForProfileImage) { this.requireAuthForProfileImage = requireAuthForProfileImage; return this; } @@ -720,7 +720,7 @@ public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { } - public SendBirdMember readTs(Long readTs) { + public SendbirdMember readTs(Long readTs) { this.readTs = readTs; return this; } @@ -746,7 +746,7 @@ public void setReadTs(Long readTs) { } - public SendBirdMember role(RoleEnum role) { + public SendbirdMember role(RoleEnum role) { this.role = JsonNullable.of(role); return this; } @@ -780,7 +780,7 @@ public void setRole(RoleEnum role) { } - public SendBirdMember state(StateEnum state) { + public SendbirdMember state(StateEnum state) { this.state = JsonNullable.of(state); return this; } @@ -814,7 +814,7 @@ public void setState(StateEnum state) { } - public SendBirdMember userId(String userId) { + public SendbirdMember userId(String userId) { this.userId = userId; return this; } @@ -841,7 +841,7 @@ public void setUserId(String userId) { /** - * Return true if this SendBird.Member object is equal to o. + * Return true if this Sendbird.Member object is equal to o. */ @Override public boolean equals(Object o) { @@ -851,29 +851,29 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdMember sendBirdMember = (SendBirdMember) o; - return Objects.equals(this.deliveredTs, sendBirdMember.deliveredTs) && - Objects.equals(this.doNotDisturb, sendBirdMember.doNotDisturb) && - equalsNullable(this.friendDiscoveryKey, sendBirdMember.friendDiscoveryKey) && - equalsNullable(this.friendName, sendBirdMember.friendName) && - Objects.equals(this.isActive, sendBirdMember.isActive) && - Objects.equals(this.isBlockedByMe, sendBirdMember.isBlockedByMe) && - Objects.equals(this.isBlockingMe, sendBirdMember.isBlockingMe) && - Objects.equals(this.isMuted, sendBirdMember.isMuted) && - Objects.equals(this.isOnline, sendBirdMember.isOnline) && - Objects.equals(this.lastSeenAt, sendBirdMember.lastSeenAt) && - equalsNullable(this.metadata, sendBirdMember.metadata) && - Objects.equals(this.mutedDescription, sendBirdMember.mutedDescription) && - Objects.equals(this.mutedEndAt, sendBirdMember.mutedEndAt) && - equalsNullable(this.nickname, sendBirdMember.nickname) && - Objects.equals(this.pushEnabled, sendBirdMember.pushEnabled) && - Objects.equals(this.pushTriggerOption, sendBirdMember.pushTriggerOption) && - Objects.equals(this.profileUrl, sendBirdMember.profileUrl) && - Objects.equals(this.requireAuthForProfileImage, sendBirdMember.requireAuthForProfileImage) && - Objects.equals(this.readTs, sendBirdMember.readTs) && - equalsNullable(this.role, sendBirdMember.role) && - equalsNullable(this.state, sendBirdMember.state) && - Objects.equals(this.userId, sendBirdMember.userId); + SendbirdMember sendbirdMember = (SendbirdMember) o; + return Objects.equals(this.deliveredTs, sendbirdMember.deliveredTs) && + Objects.equals(this.doNotDisturb, sendbirdMember.doNotDisturb) && + equalsNullable(this.friendDiscoveryKey, sendbirdMember.friendDiscoveryKey) && + equalsNullable(this.friendName, sendbirdMember.friendName) && + Objects.equals(this.isActive, sendbirdMember.isActive) && + Objects.equals(this.isBlockedByMe, sendbirdMember.isBlockedByMe) && + Objects.equals(this.isBlockingMe, sendbirdMember.isBlockingMe) && + Objects.equals(this.isMuted, sendbirdMember.isMuted) && + Objects.equals(this.isOnline, sendbirdMember.isOnline) && + Objects.equals(this.lastSeenAt, sendbirdMember.lastSeenAt) && + equalsNullable(this.metadata, sendbirdMember.metadata) && + Objects.equals(this.mutedDescription, sendbirdMember.mutedDescription) && + Objects.equals(this.mutedEndAt, sendbirdMember.mutedEndAt) && + equalsNullable(this.nickname, sendbirdMember.nickname) && + Objects.equals(this.pushEnabled, sendbirdMember.pushEnabled) && + Objects.equals(this.pushTriggerOption, sendbirdMember.pushTriggerOption) && + Objects.equals(this.profileUrl, sendbirdMember.profileUrl) && + Objects.equals(this.requireAuthForProfileImage, sendbirdMember.requireAuthForProfileImage) && + Objects.equals(this.readTs, sendbirdMember.readTs) && + equalsNullable(this.role, sendbirdMember.role) && + equalsNullable(this.state, sendbirdMember.state) && + Objects.equals(this.userId, sendbirdMember.userId); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -895,7 +895,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdMember {\n"); + sb.append("class SendbirdMember {\n"); sb.append(" deliveredTs: ").append(toIndentedString(deliveredTs)).append("\n"); sb.append(" doNotDisturb: ").append(toIndentedString(doNotDisturb)).append("\n"); sb.append(" friendDiscoveryKey: ").append(toIndentedString(friendDiscoveryKey)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java index b4e3646d..2633b676 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java @@ -26,13 +26,13 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdFile; -import org.openapitools.client.model.SendBirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendBirdMessageResponseMessageEvents; -import org.openapitools.client.model.SendBirdParentMessageInfo; -import org.openapitools.client.model.SendBirdReaction; -import org.openapitools.client.model.SendBirdSortedMetaarrayInner; +import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendbirdFile; +import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendbirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendbirdParentMessageInfo; +import org.openapitools.client.model.SendbirdReaction; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -42,43 +42,43 @@ /** - * SendBirdMessageResponse + * SendbirdMessageResponse */ @JsonPropertyOrder({ - SendBirdMessageResponse.JSON_PROPERTY_REQUIRE_AUTH, - SendBirdMessageResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdMessageResponse.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdMessageResponse.JSON_PROPERTY_MENTIONED_USERS, - SendBirdMessageResponse.JSON_PROPERTY_TRANSLATIONS, - SendBirdMessageResponse.JSON_PROPERTY_UPDATED_AT, - SendBirdMessageResponse.JSON_PROPERTY_IS_OP_MSG, - SendBirdMessageResponse.JSON_PROPERTY_REACTIONS, - SendBirdMessageResponse.JSON_PROPERTY_IS_REMOVED, - SendBirdMessageResponse.JSON_PROPERTY_USER, - SendBirdMessageResponse.JSON_PROPERTY_FILE, - SendBirdMessageResponse.JSON_PROPERTY_FILES, - SendBirdMessageResponse.JSON_PROPERTY_MESSAGE, - SendBirdMessageResponse.JSON_PROPERTY_DATA, - SendBirdMessageResponse.JSON_PROPERTY_MESSAGE_RETENTION_HOUR, - SendBirdMessageResponse.JSON_PROPERTY_SILENT, - SendBirdMessageResponse.JSON_PROPERTY_TYPE, - SendBirdMessageResponse.JSON_PROPERTY_CREATED_AT, - SendBirdMessageResponse.JSON_PROPERTY_CHANNEL_TYPE, - SendBirdMessageResponse.JSON_PROPERTY_REQ_ID, - SendBirdMessageResponse.JSON_PROPERTY_MENTION_TYPE, - SendBirdMessageResponse.JSON_PROPERTY_CHANNEL_URL, - SendBirdMessageResponse.JSON_PROPERTY_MESSAGE_ID, - SendBirdMessageResponse.JSON_PROPERTY_SORTED_METAARRAY, - SendBirdMessageResponse.JSON_PROPERTY_THREAD_INFO, - SendBirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_ID, - SendBirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_INFO, - SendBirdMessageResponse.JSON_PROPERTY_IS_REPLY_TO_CHANNEL, - SendBirdMessageResponse.JSON_PROPERTY_MESSAGE_EVENTS, - SendBirdMessageResponse.JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD + SendbirdMessageResponse.JSON_PROPERTY_REQUIRE_AUTH, + SendbirdMessageResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendbirdMessageResponse.JSON_PROPERTY_CUSTOM_TYPE, + SendbirdMessageResponse.JSON_PROPERTY_MENTIONED_USERS, + SendbirdMessageResponse.JSON_PROPERTY_TRANSLATIONS, + SendbirdMessageResponse.JSON_PROPERTY_UPDATED_AT, + SendbirdMessageResponse.JSON_PROPERTY_IS_OP_MSG, + SendbirdMessageResponse.JSON_PROPERTY_REACTIONS, + SendbirdMessageResponse.JSON_PROPERTY_IS_REMOVED, + SendbirdMessageResponse.JSON_PROPERTY_USER, + SendbirdMessageResponse.JSON_PROPERTY_FILE, + SendbirdMessageResponse.JSON_PROPERTY_FILES, + SendbirdMessageResponse.JSON_PROPERTY_MESSAGE, + SendbirdMessageResponse.JSON_PROPERTY_DATA, + SendbirdMessageResponse.JSON_PROPERTY_MESSAGE_RETENTION_HOUR, + SendbirdMessageResponse.JSON_PROPERTY_SILENT, + SendbirdMessageResponse.JSON_PROPERTY_TYPE, + SendbirdMessageResponse.JSON_PROPERTY_CREATED_AT, + SendbirdMessageResponse.JSON_PROPERTY_CHANNEL_TYPE, + SendbirdMessageResponse.JSON_PROPERTY_REQ_ID, + SendbirdMessageResponse.JSON_PROPERTY_MENTION_TYPE, + SendbirdMessageResponse.JSON_PROPERTY_CHANNEL_URL, + SendbirdMessageResponse.JSON_PROPERTY_MESSAGE_ID, + SendbirdMessageResponse.JSON_PROPERTY_SORTED_METAARRAY, + SendbirdMessageResponse.JSON_PROPERTY_THREAD_INFO, + SendbirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_ID, + SendbirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_INFO, + SendbirdMessageResponse.JSON_PROPERTY_IS_REPLY_TO_CHANNEL, + SendbirdMessageResponse.JSON_PROPERTY_MESSAGE_EVENTS, + SendbirdMessageResponse.JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD }) -@JsonTypeName("SendBird.MessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdMessageResponse { +@JsonTypeName("Sendbird.MessageResponse") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdMessageResponse { public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; private Boolean requireAuth; @@ -89,7 +89,7 @@ public class SendBirdMessageResponse { private String customType; public static final String JSON_PROPERTY_MENTIONED_USERS = "mentioned_users"; - private List mentionedUsers = null; + private List mentionedUsers = null; public static final String JSON_PROPERTY_TRANSLATIONS = "translations"; private Object translations; @@ -101,19 +101,19 @@ public class SendBirdMessageResponse { private Boolean isOpMsg; public static final String JSON_PROPERTY_REACTIONS = "reactions"; - private List reactions = null; + private List reactions = null; public static final String JSON_PROPERTY_IS_REMOVED = "is_removed"; private Boolean isRemoved; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdBasicUserInfo user; + private SendbirdBasicUserInfo user; public static final String JSON_PROPERTY_FILE = "file"; private Object _file; public static final String JSON_PROPERTY_FILES = "files"; - private List files = null; + private List files = null; public static final String JSON_PROPERTY_MESSAGE = "message"; private String message; @@ -149,7 +149,7 @@ public class SendBirdMessageResponse { private Long messageId; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_THREAD_INFO = "thread_info"; private Object threadInfo; @@ -158,21 +158,21 @@ public class SendBirdMessageResponse { private Integer parentMessageId; public static final String JSON_PROPERTY_PARENT_MESSAGE_INFO = "parent_message_info"; - private SendBirdParentMessageInfo parentMessageInfo; + private SendbirdParentMessageInfo parentMessageInfo; public static final String JSON_PROPERTY_IS_REPLY_TO_CHANNEL = "is_reply_to_channel"; private Boolean isReplyToChannel; public static final String JSON_PROPERTY_MESSAGE_EVENTS = "message_events"; - private JsonNullable messageEvents = JsonNullable.undefined(); + private JsonNullable messageEvents = JsonNullable.undefined(); public static final String JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD = "extended_message_payload"; - private SendBirdMessageResponseExtendedMessagePayload extendedMessagePayload; + private SendbirdMessageResponseExtendedMessagePayload extendedMessagePayload; - public SendBirdMessageResponse() { + public SendbirdMessageResponse() { } - public SendBirdMessageResponse requireAuth(Boolean requireAuth) { + public SendbirdMessageResponse requireAuth(Boolean requireAuth) { this.requireAuth = requireAuth; return this; } @@ -198,7 +198,7 @@ public void setRequireAuth(Boolean requireAuth) { } - public SendBirdMessageResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendbirdMessageResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -224,7 +224,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendBirdMessageResponse customType(String customType) { + public SendbirdMessageResponse customType(String customType) { this.customType = customType; return this; } @@ -250,12 +250,12 @@ public void setCustomType(String customType) { } - public SendBirdMessageResponse mentionedUsers(List mentionedUsers) { + public SendbirdMessageResponse mentionedUsers(List mentionedUsers) { this.mentionedUsers = mentionedUsers; return this; } - public SendBirdMessageResponse addMentionedUsersItem(SendBirdBasicUserInfo mentionedUsersItem) { + public SendbirdMessageResponse addMentionedUsersItem(SendbirdBasicUserInfo mentionedUsersItem) { if (this.mentionedUsers == null) { this.mentionedUsers = new ArrayList<>(); } @@ -272,19 +272,19 @@ public SendBirdMessageResponse addMentionedUsersItem(SendBirdBasicUserInfo menti @JsonProperty(JSON_PROPERTY_MENTIONED_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMentionedUsers() { + public List getMentionedUsers() { return mentionedUsers; } @JsonProperty(JSON_PROPERTY_MENTIONED_USERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUsers(List mentionedUsers) { + public void setMentionedUsers(List mentionedUsers) { this.mentionedUsers = mentionedUsers; } - public SendBirdMessageResponse translations(Object translations) { + public SendbirdMessageResponse translations(Object translations) { this.translations = translations; return this; } @@ -310,7 +310,7 @@ public void setTranslations(Object translations) { } - public SendBirdMessageResponse updatedAt(Long updatedAt) { + public SendbirdMessageResponse updatedAt(Long updatedAt) { this.updatedAt = updatedAt; return this; } @@ -336,7 +336,7 @@ public void setUpdatedAt(Long updatedAt) { } - public SendBirdMessageResponse isOpMsg(Boolean isOpMsg) { + public SendbirdMessageResponse isOpMsg(Boolean isOpMsg) { this.isOpMsg = isOpMsg; return this; } @@ -362,12 +362,12 @@ public void setIsOpMsg(Boolean isOpMsg) { } - public SendBirdMessageResponse reactions(List reactions) { + public SendbirdMessageResponse reactions(List reactions) { this.reactions = reactions; return this; } - public SendBirdMessageResponse addReactionsItem(SendBirdReaction reactionsItem) { + public SendbirdMessageResponse addReactionsItem(SendbirdReaction reactionsItem) { if (this.reactions == null) { this.reactions = new ArrayList<>(); } @@ -384,19 +384,19 @@ public SendBirdMessageResponse addReactionsItem(SendBirdReaction reactionsItem) @JsonProperty(JSON_PROPERTY_REACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getReactions() { + public List getReactions() { return reactions; } @JsonProperty(JSON_PROPERTY_REACTIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReactions(List reactions) { + public void setReactions(List reactions) { this.reactions = reactions; } - public SendBirdMessageResponse isRemoved(Boolean isRemoved) { + public SendbirdMessageResponse isRemoved(Boolean isRemoved) { this.isRemoved = isRemoved; return this; } @@ -422,7 +422,7 @@ public void setIsRemoved(Boolean isRemoved) { } - public SendBirdMessageResponse user(SendBirdBasicUserInfo user) { + public SendbirdMessageResponse user(SendbirdBasicUserInfo user) { this.user = user; return this; } @@ -436,19 +436,19 @@ public SendBirdMessageResponse user(SendBirdBasicUserInfo user) { @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getUser() { + public SendbirdBasicUserInfo getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdBasicUserInfo user) { + public void setUser(SendbirdBasicUserInfo user) { this.user = user; } - public SendBirdMessageResponse _file(Object _file) { + public SendbirdMessageResponse _file(Object _file) { this._file = _file; return this; } @@ -474,12 +474,12 @@ public void setFile(Object _file) { } - public SendBirdMessageResponse files(List files) { + public SendbirdMessageResponse files(List files) { this.files = files; return this; } - public SendBirdMessageResponse addFilesItem(SendBirdFile filesItem) { + public SendbirdMessageResponse addFilesItem(SendbirdFile filesItem) { if (this.files == null) { this.files = new ArrayList<>(); } @@ -496,19 +496,19 @@ public SendBirdMessageResponse addFilesItem(SendBirdFile filesItem) { @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFiles() { + public List getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(List files) { + public void setFiles(List files) { this.files = files; } - public SendBirdMessageResponse message(String message) { + public SendbirdMessageResponse message(String message) { this.message = message; return this; } @@ -534,7 +534,7 @@ public void setMessage(String message) { } - public SendBirdMessageResponse data(String data) { + public SendbirdMessageResponse data(String data) { this.data = data; return this; } @@ -560,7 +560,7 @@ public void setData(String data) { } - public SendBirdMessageResponse messageRetentionHour(Integer messageRetentionHour) { + public SendbirdMessageResponse messageRetentionHour(Integer messageRetentionHour) { this.messageRetentionHour = messageRetentionHour; return this; } @@ -586,7 +586,7 @@ public void setMessageRetentionHour(Integer messageRetentionHour) { } - public SendBirdMessageResponse silent(Boolean silent) { + public SendbirdMessageResponse silent(Boolean silent) { this.silent = silent; return this; } @@ -612,7 +612,7 @@ public void setSilent(Boolean silent) { } - public SendBirdMessageResponse type(String type) { + public SendbirdMessageResponse type(String type) { this.type = type; return this; } @@ -638,7 +638,7 @@ public void setType(String type) { } - public SendBirdMessageResponse createdAt(Long createdAt) { + public SendbirdMessageResponse createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -664,7 +664,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdMessageResponse channelType(String channelType) { + public SendbirdMessageResponse channelType(String channelType) { this.channelType = channelType; return this; } @@ -690,7 +690,7 @@ public void setChannelType(String channelType) { } - public SendBirdMessageResponse reqId(String reqId) { + public SendbirdMessageResponse reqId(String reqId) { this.reqId = reqId; return this; } @@ -716,7 +716,7 @@ public void setReqId(String reqId) { } - public SendBirdMessageResponse mentionType(String mentionType) { + public SendbirdMessageResponse mentionType(String mentionType) { this.mentionType = mentionType; return this; } @@ -742,7 +742,7 @@ public void setMentionType(String mentionType) { } - public SendBirdMessageResponse channelUrl(String channelUrl) { + public SendbirdMessageResponse channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -768,7 +768,7 @@ public void setChannelUrl(String channelUrl) { } - public SendBirdMessageResponse messageId(Long messageId) { + public SendbirdMessageResponse messageId(Long messageId) { this.messageId = messageId; return this; } @@ -794,12 +794,12 @@ public void setMessageId(Long messageId) { } - public SendBirdMessageResponse sortedMetaarray(List sortedMetaarray) { + public SendbirdMessageResponse sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendBirdMessageResponse addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendbirdMessageResponse addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -816,19 +816,19 @@ public SendBirdMessageResponse addSortedMetaarrayItem(SendBirdSortedMetaarrayInn @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } - public SendBirdMessageResponse threadInfo(Object threadInfo) { + public SendbirdMessageResponse threadInfo(Object threadInfo) { this.threadInfo = threadInfo; return this; } @@ -854,7 +854,7 @@ public void setThreadInfo(Object threadInfo) { } - public SendBirdMessageResponse parentMessageId(Integer parentMessageId) { + public SendbirdMessageResponse parentMessageId(Integer parentMessageId) { this.parentMessageId = parentMessageId; return this; } @@ -880,7 +880,7 @@ public void setParentMessageId(Integer parentMessageId) { } - public SendBirdMessageResponse parentMessageInfo(SendBirdParentMessageInfo parentMessageInfo) { + public SendbirdMessageResponse parentMessageInfo(SendbirdParentMessageInfo parentMessageInfo) { this.parentMessageInfo = parentMessageInfo; return this; } @@ -894,19 +894,19 @@ public SendBirdMessageResponse parentMessageInfo(SendBirdParentMessageInfo paren @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdParentMessageInfo getParentMessageInfo() { + public SendbirdParentMessageInfo getParentMessageInfo() { return parentMessageInfo; } @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_INFO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setParentMessageInfo(SendBirdParentMessageInfo parentMessageInfo) { + public void setParentMessageInfo(SendbirdParentMessageInfo parentMessageInfo) { this.parentMessageInfo = parentMessageInfo; } - public SendBirdMessageResponse isReplyToChannel(Boolean isReplyToChannel) { + public SendbirdMessageResponse isReplyToChannel(Boolean isReplyToChannel) { this.isReplyToChannel = isReplyToChannel; return this; } @@ -932,8 +932,8 @@ public void setIsReplyToChannel(Boolean isReplyToChannel) { } - public SendBirdMessageResponse messageEvents(SendBirdMessageResponseMessageEvents messageEvents) { - this.messageEvents = JsonNullable.of(messageEvents); + public SendbirdMessageResponse messageEvents(SendbirdMessageResponseMessageEvents messageEvents) { + this.messageEvents = JsonNullable.of(messageEvents); return this; } @@ -945,28 +945,28 @@ public SendBirdMessageResponse messageEvents(SendBirdMessageResponseMessageEvent @ApiModelProperty(value = "") @JsonIgnore - public SendBirdMessageResponseMessageEvents getMessageEvents() { + public SendbirdMessageResponseMessageEvents getMessageEvents() { return messageEvents.orElse(null); } @JsonProperty(JSON_PROPERTY_MESSAGE_EVENTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getMessageEvents_JsonNullable() { + public JsonNullable getMessageEvents_JsonNullable() { return messageEvents; } @JsonProperty(JSON_PROPERTY_MESSAGE_EVENTS) - public void setMessageEvents_JsonNullable(JsonNullable messageEvents) { + public void setMessageEvents_JsonNullable(JsonNullable messageEvents) { this.messageEvents = messageEvents; } - public void setMessageEvents(SendBirdMessageResponseMessageEvents messageEvents) { - this.messageEvents = JsonNullable.of(messageEvents); + public void setMessageEvents(SendbirdMessageResponseMessageEvents messageEvents) { + this.messageEvents = JsonNullable.of(messageEvents); } - public SendBirdMessageResponse extendedMessagePayload(SendBirdMessageResponseExtendedMessagePayload extendedMessagePayload) { + public SendbirdMessageResponse extendedMessagePayload(SendbirdMessageResponseExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; return this; } @@ -980,20 +980,20 @@ public SendBirdMessageResponse extendedMessagePayload(SendBirdMessageResponseExt @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdMessageResponseExtendedMessagePayload getExtendedMessagePayload() { + public SendbirdMessageResponseExtendedMessagePayload getExtendedMessagePayload() { return extendedMessagePayload; } @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExtendedMessagePayload(SendBirdMessageResponseExtendedMessagePayload extendedMessagePayload) { + public void setExtendedMessagePayload(SendbirdMessageResponseExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; } /** - * Return true if this SendBird.MessageResponse object is equal to o. + * Return true if this Sendbird.MessageResponse object is equal to o. */ @Override public boolean equals(Object o) { @@ -1003,37 +1003,37 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdMessageResponse sendBirdMessageResponse = (SendBirdMessageResponse) o; - return Objects.equals(this.requireAuth, sendBirdMessageResponse.requireAuth) && - Objects.equals(this.messageSurvivalSeconds, sendBirdMessageResponse.messageSurvivalSeconds) && - Objects.equals(this.customType, sendBirdMessageResponse.customType) && - Objects.equals(this.mentionedUsers, sendBirdMessageResponse.mentionedUsers) && - Objects.equals(this.translations, sendBirdMessageResponse.translations) && - Objects.equals(this.updatedAt, sendBirdMessageResponse.updatedAt) && - Objects.equals(this.isOpMsg, sendBirdMessageResponse.isOpMsg) && - Objects.equals(this.reactions, sendBirdMessageResponse.reactions) && - Objects.equals(this.isRemoved, sendBirdMessageResponse.isRemoved) && - Objects.equals(this.user, sendBirdMessageResponse.user) && - Objects.equals(this._file, sendBirdMessageResponse._file) && - Objects.equals(this.files, sendBirdMessageResponse.files) && - Objects.equals(this.message, sendBirdMessageResponse.message) && - Objects.equals(this.data, sendBirdMessageResponse.data) && - Objects.equals(this.messageRetentionHour, sendBirdMessageResponse.messageRetentionHour) && - Objects.equals(this.silent, sendBirdMessageResponse.silent) && - Objects.equals(this.type, sendBirdMessageResponse.type) && - Objects.equals(this.createdAt, sendBirdMessageResponse.createdAt) && - Objects.equals(this.channelType, sendBirdMessageResponse.channelType) && - Objects.equals(this.reqId, sendBirdMessageResponse.reqId) && - Objects.equals(this.mentionType, sendBirdMessageResponse.mentionType) && - Objects.equals(this.channelUrl, sendBirdMessageResponse.channelUrl) && - Objects.equals(this.messageId, sendBirdMessageResponse.messageId) && - Objects.equals(this.sortedMetaarray, sendBirdMessageResponse.sortedMetaarray) && - Objects.equals(this.threadInfo, sendBirdMessageResponse.threadInfo) && - Objects.equals(this.parentMessageId, sendBirdMessageResponse.parentMessageId) && - Objects.equals(this.parentMessageInfo, sendBirdMessageResponse.parentMessageInfo) && - Objects.equals(this.isReplyToChannel, sendBirdMessageResponse.isReplyToChannel) && - equalsNullable(this.messageEvents, sendBirdMessageResponse.messageEvents) && - Objects.equals(this.extendedMessagePayload, sendBirdMessageResponse.extendedMessagePayload); + SendbirdMessageResponse sendbirdMessageResponse = (SendbirdMessageResponse) o; + return Objects.equals(this.requireAuth, sendbirdMessageResponse.requireAuth) && + Objects.equals(this.messageSurvivalSeconds, sendbirdMessageResponse.messageSurvivalSeconds) && + Objects.equals(this.customType, sendbirdMessageResponse.customType) && + Objects.equals(this.mentionedUsers, sendbirdMessageResponse.mentionedUsers) && + Objects.equals(this.translations, sendbirdMessageResponse.translations) && + Objects.equals(this.updatedAt, sendbirdMessageResponse.updatedAt) && + Objects.equals(this.isOpMsg, sendbirdMessageResponse.isOpMsg) && + Objects.equals(this.reactions, sendbirdMessageResponse.reactions) && + Objects.equals(this.isRemoved, sendbirdMessageResponse.isRemoved) && + Objects.equals(this.user, sendbirdMessageResponse.user) && + Objects.equals(this._file, sendbirdMessageResponse._file) && + Objects.equals(this.files, sendbirdMessageResponse.files) && + Objects.equals(this.message, sendbirdMessageResponse.message) && + Objects.equals(this.data, sendbirdMessageResponse.data) && + Objects.equals(this.messageRetentionHour, sendbirdMessageResponse.messageRetentionHour) && + Objects.equals(this.silent, sendbirdMessageResponse.silent) && + Objects.equals(this.type, sendbirdMessageResponse.type) && + Objects.equals(this.createdAt, sendbirdMessageResponse.createdAt) && + Objects.equals(this.channelType, sendbirdMessageResponse.channelType) && + Objects.equals(this.reqId, sendbirdMessageResponse.reqId) && + Objects.equals(this.mentionType, sendbirdMessageResponse.mentionType) && + Objects.equals(this.channelUrl, sendbirdMessageResponse.channelUrl) && + Objects.equals(this.messageId, sendbirdMessageResponse.messageId) && + Objects.equals(this.sortedMetaarray, sendbirdMessageResponse.sortedMetaarray) && + Objects.equals(this.threadInfo, sendbirdMessageResponse.threadInfo) && + Objects.equals(this.parentMessageId, sendbirdMessageResponse.parentMessageId) && + Objects.equals(this.parentMessageInfo, sendbirdMessageResponse.parentMessageInfo) && + Objects.equals(this.isReplyToChannel, sendbirdMessageResponse.isReplyToChannel) && + equalsNullable(this.messageEvents, sendbirdMessageResponse.messageEvents) && + Objects.equals(this.extendedMessagePayload, sendbirdMessageResponse.extendedMessagePayload); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -1055,7 +1055,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdMessageResponse {\n"); + sb.append("class SendbirdMessageResponse {\n"); sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java deleted file mode 100644 index 413e2f65..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequest.java +++ /dev/null @@ -1,420 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdMigrateMessagesAdminMessageRequest - */ -@JsonPropertyOrder({ - SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_MESSAGE_TYPE, - SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_MESSAGE, - SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_TIMESTAMP, - SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_IS_SILENT, - SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_MENTIONED_USER_IDS, - SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_DATA, - SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_DEDUP_ID, - SendBirdMigrateMessagesAdminMessageRequest.JSON_PROPERTY_SORTED_METAARRAY -}) -@JsonTypeName("MigrateMessagesAdminMessageRequest") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdMigrateMessagesAdminMessageRequest { - /** - * Gets or Sets messageType - */ - public enum MessageTypeEnum { - ADMM("ADMM"); - - private String value; - - MessageTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MessageTypeEnum fromValue(String value) { - for (MessageTypeEnum b : MessageTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; - private MessageTypeEnum messageType; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private String message; - - public static final String JSON_PROPERTY_TIMESTAMP = "timestamp"; - private Long timestamp; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; - private Boolean isSilent; - - public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; - private List mentionedUserIds = null; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; - private String dedupId; - - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; - - public SendBirdMigrateMessagesAdminMessageRequest() { - } - - public SendBirdMigrateMessagesAdminMessageRequest messageType(MessageTypeEnum messageType) { - this.messageType = messageType; - return this; - } - - /** - * Get messageType - * @return messageType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public MessageTypeEnum getMessageType() { - return messageType; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessageType(MessageTypeEnum messageType) { - this.messageType = messageType; - } - - - public SendBirdMigrateMessagesAdminMessageRequest message(String message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessage(String message) { - this.message = message; - } - - - public SendBirdMigrateMessagesAdminMessageRequest timestamp(Long timestamp) { - this.timestamp = timestamp; - return this; - } - - /** - * Get timestamp - * @return timestamp - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_TIMESTAMP) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Long getTimestamp() { - return timestamp; - } - - - @JsonProperty(JSON_PROPERTY_TIMESTAMP) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setTimestamp(Long timestamp) { - this.timestamp = timestamp; - } - - - public SendBirdMigrateMessagesAdminMessageRequest customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdMigrateMessagesAdminMessageRequest isSilent(Boolean isSilent) { - this.isSilent = isSilent; - return this; - } - - /** - * Get isSilent - * @return isSilent - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsSilent() { - return isSilent; - } - - - @JsonProperty(JSON_PROPERTY_IS_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsSilent(Boolean isSilent) { - this.isSilent = isSilent; - } - - - public SendBirdMigrateMessagesAdminMessageRequest mentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - return this; - } - - public SendBirdMigrateMessagesAdminMessageRequest addMentionedUserIdsItem(String mentionedUserIdsItem) { - if (this.mentionedUserIds == null) { - this.mentionedUserIds = new ArrayList<>(); - } - this.mentionedUserIds.add(mentionedUserIdsItem); - return this; - } - - /** - * Get mentionedUserIds - * @return mentionedUserIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMentionedUserIds() { - return mentionedUserIds; - } - - - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - } - - - public SendBirdMigrateMessagesAdminMessageRequest data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdMigrateMessagesAdminMessageRequest dedupId(String dedupId) { - this.dedupId = dedupId; - return this; - } - - /** - * Get dedupId - * @return dedupId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getDedupId() { - return dedupId; - } - - - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDedupId(String dedupId) { - this.dedupId = dedupId; - } - - - public SendBirdMigrateMessagesAdminMessageRequest sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdMigrateMessagesAdminMessageRequest addSortedMetaarrayItem(Object sortedMetaarrayItem) { - if (this.sortedMetaarray == null) { - this.sortedMetaarray = new ArrayList<>(); - } - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - /** - * Return true if this MigrateMessagesAdminMessageRequest object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdMigrateMessagesAdminMessageRequest migrateMessagesAdminMessageRequest = (SendBirdMigrateMessagesAdminMessageRequest) o; - return Objects.equals(this.messageType, migrateMessagesAdminMessageRequest.messageType) && - Objects.equals(this.message, migrateMessagesAdminMessageRequest.message) && - Objects.equals(this.timestamp, migrateMessagesAdminMessageRequest.timestamp) && - Objects.equals(this.customType, migrateMessagesAdminMessageRequest.customType) && - Objects.equals(this.isSilent, migrateMessagesAdminMessageRequest.isSilent) && - Objects.equals(this.mentionedUserIds, migrateMessagesAdminMessageRequest.mentionedUserIds) && - Objects.equals(this.data, migrateMessagesAdminMessageRequest.data) && - Objects.equals(this.dedupId, migrateMessagesAdminMessageRequest.dedupId) && - Objects.equals(this.sortedMetaarray, migrateMessagesAdminMessageRequest.sortedMetaarray); - } - - @Override - public int hashCode() { - return Objects.hash(messageType, message, timestamp, customType, isSilent, mentionedUserIds, data, dedupId, sortedMetaarray); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdMigrateMessagesAdminMessageRequest {\n"); - sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" isSilent: ").append(toIndentedString(isSilent)).append("\n"); - sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java deleted file mode 100644 index 89e12394..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequest.java +++ /dev/null @@ -1,589 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequestThumbnailsInner; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdMigrateMessagesFileMessageRequest - */ -@JsonPropertyOrder({ - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_USER_ID, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_MESSAGE_TYPE, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_URL, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_TIMESTAMP, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_FILE_NAME, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_FILE_SIZE, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_FILE_TYPE, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_THUMBNAILS, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_REQUIRE_AUTH, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_CUSTOM_FIELD, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_MENTIONED_USER_IDS, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_DEDUP_ID, - SendBirdMigrateMessagesFileMessageRequest.JSON_PROPERTY_SORTED_METAARRAY -}) -@JsonTypeName("MigrateMessagesFileMessageRequest") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdMigrateMessagesFileMessageRequest { - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - /** - * Gets or Sets messageType - */ - public enum MessageTypeEnum { - FILE("FILE"); - - private String value; - - MessageTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MessageTypeEnum fromValue(String value) { - for (MessageTypeEnum b : MessageTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; - private MessageTypeEnum messageType; - - public static final String JSON_PROPERTY_URL = "url"; - private String url; - - public static final String JSON_PROPERTY_TIMESTAMP = "timestamp"; - private Long timestamp; - - public static final String JSON_PROPERTY_FILE_NAME = "file_name"; - private String fileName; - - public static final String JSON_PROPERTY_FILE_SIZE = "file_size"; - private Integer fileSize; - - public static final String JSON_PROPERTY_FILE_TYPE = "file_type"; - private String fileType; - - public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; - private List thumbnails = null; - - public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; - private Boolean requireAuth; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_CUSTOM_FIELD = "custom_field"; - private String customField; - - public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; - private List mentionedUserIds = null; - - public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; - private String dedupId; - - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; - - public SendBirdMigrateMessagesFileMessageRequest() { - } - - public SendBirdMigrateMessagesFileMessageRequest userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserId(String userId) { - this.userId = userId; - } - - - public SendBirdMigrateMessagesFileMessageRequest messageType(MessageTypeEnum messageType) { - this.messageType = messageType; - return this; - } - - /** - * Get messageType - * @return messageType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public MessageTypeEnum getMessageType() { - return messageType; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessageType(MessageTypeEnum messageType) { - this.messageType = messageType; - } - - - public SendBirdMigrateMessagesFileMessageRequest url(String url) { - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUrl() { - return url; - } - - - @JsonProperty(JSON_PROPERTY_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUrl(String url) { - this.url = url; - } - - - public SendBirdMigrateMessagesFileMessageRequest timestamp(Long timestamp) { - this.timestamp = timestamp; - return this; - } - - /** - * Get timestamp - * @return timestamp - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_TIMESTAMP) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Long getTimestamp() { - return timestamp; - } - - - @JsonProperty(JSON_PROPERTY_TIMESTAMP) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setTimestamp(Long timestamp) { - this.timestamp = timestamp; - } - - - public SendBirdMigrateMessagesFileMessageRequest fileName(String fileName) { - this.fileName = fileName; - return this; - } - - /** - * Get fileName - * @return fileName - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FILE_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFileName() { - return fileName; - } - - - @JsonProperty(JSON_PROPERTY_FILE_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFileName(String fileName) { - this.fileName = fileName; - } - - - public SendBirdMigrateMessagesFileMessageRequest fileSize(Integer fileSize) { - this.fileSize = fileSize; - return this; - } - - /** - * Get fileSize - * @return fileSize - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FILE_SIZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getFileSize() { - return fileSize; - } - - - @JsonProperty(JSON_PROPERTY_FILE_SIZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFileSize(Integer fileSize) { - this.fileSize = fileSize; - } - - - public SendBirdMigrateMessagesFileMessageRequest fileType(String fileType) { - this.fileType = fileType; - return this; - } - - /** - * Get fileType - * @return fileType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FILE_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFileType() { - return fileType; - } - - - @JsonProperty(JSON_PROPERTY_FILE_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFileType(String fileType) { - this.fileType = fileType; - } - - - public SendBirdMigrateMessagesFileMessageRequest thumbnails(List thumbnails) { - this.thumbnails = thumbnails; - return this; - } - - public SendBirdMigrateMessagesFileMessageRequest addThumbnailsItem(SendBirdMigrateMessagesFileMessageRequestThumbnailsInner thumbnailsItem) { - if (this.thumbnails == null) { - this.thumbnails = new ArrayList<>(); - } - this.thumbnails.add(thumbnailsItem); - return this; - } - - /** - * Get thumbnails - * @return thumbnails - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_THUMBNAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getThumbnails() { - return thumbnails; - } - - - @JsonProperty(JSON_PROPERTY_THUMBNAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnails(List thumbnails) { - this.thumbnails = thumbnails; - } - - - public SendBirdMigrateMessagesFileMessageRequest requireAuth(Boolean requireAuth) { - this.requireAuth = requireAuth; - return this; - } - - /** - * Get requireAuth - * @return requireAuth - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getRequireAuth() { - return requireAuth; - } - - - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRequireAuth(Boolean requireAuth) { - this.requireAuth = requireAuth; - } - - - public SendBirdMigrateMessagesFileMessageRequest customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdMigrateMessagesFileMessageRequest customField(String customField) { - this.customField = customField; - return this; - } - - /** - * Get customField - * @return customField - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_FIELD) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomField() { - return customField; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_FIELD) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomField(String customField) { - this.customField = customField; - } - - - public SendBirdMigrateMessagesFileMessageRequest mentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - return this; - } - - public SendBirdMigrateMessagesFileMessageRequest addMentionedUserIdsItem(String mentionedUserIdsItem) { - if (this.mentionedUserIds == null) { - this.mentionedUserIds = new ArrayList<>(); - } - this.mentionedUserIds.add(mentionedUserIdsItem); - return this; - } - - /** - * Get mentionedUserIds - * @return mentionedUserIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMentionedUserIds() { - return mentionedUserIds; - } - - - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - } - - - public SendBirdMigrateMessagesFileMessageRequest dedupId(String dedupId) { - this.dedupId = dedupId; - return this; - } - - /** - * Get dedupId - * @return dedupId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getDedupId() { - return dedupId; - } - - - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDedupId(String dedupId) { - this.dedupId = dedupId; - } - - - public SendBirdMigrateMessagesFileMessageRequest sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdMigrateMessagesFileMessageRequest addSortedMetaarrayItem(Object sortedMetaarrayItem) { - if (this.sortedMetaarray == null) { - this.sortedMetaarray = new ArrayList<>(); - } - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - /** - * Return true if this MigrateMessagesFileMessageRequest object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdMigrateMessagesFileMessageRequest migrateMessagesFileMessageRequest = (SendBirdMigrateMessagesFileMessageRequest) o; - return Objects.equals(this.userId, migrateMessagesFileMessageRequest.userId) && - Objects.equals(this.messageType, migrateMessagesFileMessageRequest.messageType) && - Objects.equals(this.url, migrateMessagesFileMessageRequest.url) && - Objects.equals(this.timestamp, migrateMessagesFileMessageRequest.timestamp) && - Objects.equals(this.fileName, migrateMessagesFileMessageRequest.fileName) && - Objects.equals(this.fileSize, migrateMessagesFileMessageRequest.fileSize) && - Objects.equals(this.fileType, migrateMessagesFileMessageRequest.fileType) && - Objects.equals(this.thumbnails, migrateMessagesFileMessageRequest.thumbnails) && - Objects.equals(this.requireAuth, migrateMessagesFileMessageRequest.requireAuth) && - Objects.equals(this.customType, migrateMessagesFileMessageRequest.customType) && - Objects.equals(this.customField, migrateMessagesFileMessageRequest.customField) && - Objects.equals(this.mentionedUserIds, migrateMessagesFileMessageRequest.mentionedUserIds) && - Objects.equals(this.dedupId, migrateMessagesFileMessageRequest.dedupId) && - Objects.equals(this.sortedMetaarray, migrateMessagesFileMessageRequest.sortedMetaarray); - } - - @Override - public int hashCode() { - return Objects.hash(userId, messageType, url, timestamp, fileName, fileSize, fileType, thumbnails, requireAuth, customType, customField, mentionedUserIds, dedupId, sortedMetaarray); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdMigrateMessagesFileMessageRequest {\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); - sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n"); - sb.append(" fileSize: ").append(toIndentedString(fileSize)).append("\n"); - sb.append(" fileType: ").append(toIndentedString(fileType)).append("\n"); - sb.append(" thumbnails: ").append(toIndentedString(thumbnails)).append("\n"); - sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" customField: ").append(toIndentedString(customField)).append("\n"); - sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); - sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java deleted file mode 100644 index 79933ca5..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.java +++ /dev/null @@ -1,243 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - -import com.fasterxml.jackson.core.type.TypeReference; - -import javax.ws.rs.core.GenericType; -import javax.ws.rs.core.Response; -import java.io.IOException; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; - -import com.fasterxml.jackson.core.JsonGenerator; -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.JsonToken; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.DeserializationContext; -import com.fasterxml.jackson.databind.JsonMappingException; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.MapperFeature; -import com.fasterxml.jackson.databind.SerializerProvider; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import com.fasterxml.jackson.databind.deser.std.StdDeserializer; -import com.fasterxml.jackson.databind.ser.std.StdSerializer; -import org.sendbird.client.JSON; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerDeserializer.class) -@JsonSerialize(using = SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerSerializer.class) -public class SendBirdMigrateMessagesFileMessageRequestThumbnailsInner extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.class.getName()); - - public static class SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerSerializer extends StdSerializer { - public SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerSerializer(Class t) { - super(t); - } - - public SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerSerializer() { - this(null); - } - - @Override - public void serialize(SendBirdMigrateMessagesFileMessageRequestThumbnailsInner value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { - jgen.writeObject(value.getActualInstance()); - } - } - - public static class SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerDeserializer extends StdDeserializer { - public SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerDeserializer() { - this(SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.class); - } - - public SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerDeserializer(Class vc) { - super(vc); - } - - @Override - public SendBirdMigrateMessagesFileMessageRequestThumbnailsInner deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { - JsonNode tree = jp.readValueAsTree(); - Object deserialized = null; - boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); - int match = 0; - JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize Object - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (Object.class.equals(Integer.class) || Object.class.equals(Long.class) || Object.class.equals(Float.class) || Object.class.equals(Double.class) || Object.class.equals(Boolean.class) || Object.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((Object.class.equals(Integer.class) || Object.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((Object.class.equals(Float.class) || Object.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (Object.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (Object.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(Object.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'Object'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'Object'", e); - } - - // deserialize String - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (String.class.equals(Integer.class) || String.class.equals(Long.class) || String.class.equals(Float.class) || String.class.equals(Double.class) || String.class.equals(Boolean.class) || String.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((String.class.equals(Integer.class) || String.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((String.class.equals(Float.class) || String.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (String.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (String.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(String.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'String'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'String'", e); - } - - if (match == 1) { - SendBirdMigrateMessagesFileMessageRequestThumbnailsInner ret = new SendBirdMigrateMessagesFileMessageRequestThumbnailsInner(); - ret.setActualInstance(deserialized); - return ret; - } - throw new IOException(String.format("Failed deserialization for SendBirdMigrateMessagesFileMessageRequestThumbnailsInner: %d classes match result, expected 1", match)); - } - - /** - * Handle deserialization of the 'null' value. - */ - @Override - public SendBirdMigrateMessagesFileMessageRequestThumbnailsInner getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendBirdMigrateMessagesFileMessageRequestThumbnailsInner cannot be null"); - } - } - - // store a list of schema names defined in oneOf - public static final Map schemas = new HashMap(); - - public SendBirdMigrateMessagesFileMessageRequestThumbnailsInner() { - super("oneOf", Boolean.FALSE); - } - - public SendBirdMigrateMessagesFileMessageRequestThumbnailsInner(Object o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public SendBirdMigrateMessagesFileMessageRequestThumbnailsInner(String o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - static { - schemas.put("Object", new GenericType() { - }); - schemas.put("String", new GenericType() { - }); - JSON.registerDescendants(SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.class, Collections.unmodifiableMap(schemas)); - } - - @Override - public Map getSchemas() { - return SendBirdMigrateMessagesFileMessageRequestThumbnailsInner.schemas; - } - - /** - * Set the instance that matches the oneOf child schema, check - * the instance parameter is valid against the oneOf child schemas: - * Object, String - * - * It could be an instance of the 'oneOf' schemas. - * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). - */ - @Override - public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(Object.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - if (JSON.isInstanceOf(String.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - throw new RuntimeException("Invalid instance type. Must be Object, String"); - } - - /** - * Get the actual instance, which can be the following: - * Object, String - * - * @return The actual instance (Object, String) - */ - @Override - public Object getActualInstance() { - return super.getActualInstance(); - } - - /** - * Get the actual instance of `Object`. If the actual instance is not `Object`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `Object` - * @throws ClassCastException if the instance is not `Object` - */ - public Object getObject() throws ClassCastException { - return (Object)super.getActualInstance(); - } - - /** - * Get the actual instance of `String`. If the actual instance is not `String`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `String` - * @throws ClassCastException if the instance is not `String` - */ - public String getString() throws ClassCastException { - return (String)super.getActualInstance(); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java deleted file mode 100644 index fd8868bc..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequest.java +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdMigrateMessagesRequestMessagesInner; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdMigrateMessagesRequest - */ -@JsonPropertyOrder({ - SendBirdMigrateMessagesRequest.JSON_PROPERTY_MESSAGES, - SendBirdMigrateMessagesRequest.JSON_PROPERTY_UPDATE_READ_TS, - SendBirdMigrateMessagesRequest.JSON_PROPERTY_REWIND_READ_TS -}) -@JsonTypeName("MigrateMessagesRequest") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdMigrateMessagesRequest { - public static final String JSON_PROPERTY_MESSAGES = "messages"; - private List messages = null; - - public static final String JSON_PROPERTY_UPDATE_READ_TS = "update_read_ts"; - private Boolean updateReadTs; - - public static final String JSON_PROPERTY_REWIND_READ_TS = "rewind_read_ts"; - private Boolean rewindReadTs; - - public SendBirdMigrateMessagesRequest() { - } - - public SendBirdMigrateMessagesRequest messages(List messages) { - this.messages = messages; - return this; - } - - public SendBirdMigrateMessagesRequest addMessagesItem(SendBirdMigrateMessagesRequestMessagesInner messagesItem) { - if (this.messages == null) { - this.messages = new ArrayList<>(); - } - this.messages.add(messagesItem); - return this; - } - - /** - * Get messages - * @return messages - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMessages() { - return messages; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessages(List messages) { - this.messages = messages; - } - - - public SendBirdMigrateMessagesRequest updateReadTs(Boolean updateReadTs) { - this.updateReadTs = updateReadTs; - return this; - } - - /** - * Get updateReadTs - * @return updateReadTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UPDATE_READ_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getUpdateReadTs() { - return updateReadTs; - } - - - @JsonProperty(JSON_PROPERTY_UPDATE_READ_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUpdateReadTs(Boolean updateReadTs) { - this.updateReadTs = updateReadTs; - } - - - public SendBirdMigrateMessagesRequest rewindReadTs(Boolean rewindReadTs) { - this.rewindReadTs = rewindReadTs; - return this; - } - - /** - * Get rewindReadTs - * @return rewindReadTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_REWIND_READ_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getRewindReadTs() { - return rewindReadTs; - } - - - @JsonProperty(JSON_PROPERTY_REWIND_READ_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRewindReadTs(Boolean rewindReadTs) { - this.rewindReadTs = rewindReadTs; - } - - - /** - * Return true if this MigrateMessagesRequest object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdMigrateMessagesRequest migrateMessagesRequest = (SendBirdMigrateMessagesRequest) o; - return Objects.equals(this.messages, migrateMessagesRequest.messages) && - Objects.equals(this.updateReadTs, migrateMessagesRequest.updateReadTs) && - Objects.equals(this.rewindReadTs, migrateMessagesRequest.rewindReadTs); - } - - @Override - public int hashCode() { - return Objects.hash(messages, updateReadTs, rewindReadTs); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdMigrateMessagesRequest {\n"); - sb.append(" messages: ").append(toIndentedString(messages)).append("\n"); - sb.append(" updateReadTs: ").append(toIndentedString(updateReadTs)).append("\n"); - sb.append(" rewindReadTs: ").append(toIndentedString(rewindReadTs)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java deleted file mode 100644 index b2af89f9..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInner.java +++ /dev/null @@ -1,305 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdMigrateMessagesAdminMessageRequest; -import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequest; -import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequestThumbnailsInner; -import org.openapitools.client.model.SendBirdMigrateMessagesTextMessageRequest; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - -import com.fasterxml.jackson.core.type.TypeReference; - -import javax.ws.rs.core.GenericType; -import javax.ws.rs.core.Response; -import java.io.IOException; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; - -import com.fasterxml.jackson.core.JsonGenerator; -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.JsonToken; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.DeserializationContext; -import com.fasterxml.jackson.databind.JsonMappingException; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.MapperFeature; -import com.fasterxml.jackson.databind.SerializerProvider; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import com.fasterxml.jackson.databind.deser.std.StdDeserializer; -import com.fasterxml.jackson.databind.ser.std.StdSerializer; -import org.sendbird.client.JSON; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendBirdMigrateMessagesRequestMessagesInner.SendBirdMigrateMessagesRequestMessagesInnerDeserializer.class) -@JsonSerialize(using = SendBirdMigrateMessagesRequestMessagesInner.SendBirdMigrateMessagesRequestMessagesInnerSerializer.class) -public class SendBirdMigrateMessagesRequestMessagesInner extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendBirdMigrateMessagesRequestMessagesInner.class.getName()); - - public static class SendBirdMigrateMessagesRequestMessagesInnerSerializer extends StdSerializer { - public SendBirdMigrateMessagesRequestMessagesInnerSerializer(Class t) { - super(t); - } - - public SendBirdMigrateMessagesRequestMessagesInnerSerializer() { - this(null); - } - - @Override - public void serialize(SendBirdMigrateMessagesRequestMessagesInner value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { - jgen.writeObject(value.getActualInstance()); - } - } - - public static class SendBirdMigrateMessagesRequestMessagesInnerDeserializer extends StdDeserializer { - public SendBirdMigrateMessagesRequestMessagesInnerDeserializer() { - this(SendBirdMigrateMessagesRequestMessagesInner.class); - } - - public SendBirdMigrateMessagesRequestMessagesInnerDeserializer(Class vc) { - super(vc); - } - - @Override - public SendBirdMigrateMessagesRequestMessagesInner deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { - JsonNode tree = jp.readValueAsTree(); - Object deserialized = null; - boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); - int match = 0; - JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendBirdMigrateMessagesAdminMessageRequest - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (SendBirdMigrateMessagesAdminMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Long.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Double.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Boolean.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((SendBirdMigrateMessagesAdminMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendBirdMigrateMessagesAdminMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesAdminMessageRequest.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendBirdMigrateMessagesAdminMessageRequest.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendBirdMigrateMessagesAdminMessageRequest.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdMigrateMessagesAdminMessageRequest.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'SendBirdMigrateMessagesAdminMessageRequest'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendBirdMigrateMessagesAdminMessageRequest'", e); - } - - // deserialize SendBirdMigrateMessagesFileMessageRequest - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (SendBirdMigrateMessagesFileMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Long.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Double.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Boolean.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((SendBirdMigrateMessagesFileMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendBirdMigrateMessagesFileMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesFileMessageRequest.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendBirdMigrateMessagesFileMessageRequest.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendBirdMigrateMessagesFileMessageRequest.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdMigrateMessagesFileMessageRequest.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'SendBirdMigrateMessagesFileMessageRequest'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendBirdMigrateMessagesFileMessageRequest'", e); - } - - // deserialize SendBirdMigrateMessagesTextMessageRequest - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (SendBirdMigrateMessagesTextMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Long.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Double.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Boolean.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((SendBirdMigrateMessagesTextMessageRequest.class.equals(Integer.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendBirdMigrateMessagesTextMessageRequest.class.equals(Float.class) || SendBirdMigrateMessagesTextMessageRequest.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendBirdMigrateMessagesTextMessageRequest.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendBirdMigrateMessagesTextMessageRequest.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdMigrateMessagesTextMessageRequest.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'SendBirdMigrateMessagesTextMessageRequest'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendBirdMigrateMessagesTextMessageRequest'", e); - } - - if (match == 1) { - SendBirdMigrateMessagesRequestMessagesInner ret = new SendBirdMigrateMessagesRequestMessagesInner(); - ret.setActualInstance(deserialized); - return ret; - } - throw new IOException(String.format("Failed deserialization for SendBirdMigrateMessagesRequestMessagesInner: %d classes match result, expected 1", match)); - } - - /** - * Handle deserialization of the 'null' value. - */ - @Override - public SendBirdMigrateMessagesRequestMessagesInner getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendBirdMigrateMessagesRequestMessagesInner cannot be null"); - } - } - - // store a list of schema names defined in oneOf - public static final Map schemas = new HashMap(); - - public SendBirdMigrateMessagesRequestMessagesInner() { - super("oneOf", Boolean.FALSE); - } - - public SendBirdMigrateMessagesRequestMessagesInner(SendBirdMigrateMessagesAdminMessageRequest o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public SendBirdMigrateMessagesRequestMessagesInner(SendBirdMigrateMessagesFileMessageRequest o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public SendBirdMigrateMessagesRequestMessagesInner(SendBirdMigrateMessagesTextMessageRequest o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - static { - schemas.put("SendBirdMigrateMessagesAdminMessageRequest", new GenericType() { - }); - schemas.put("SendBirdMigrateMessagesFileMessageRequest", new GenericType() { - }); - schemas.put("SendBirdMigrateMessagesTextMessageRequest", new GenericType() { - }); - JSON.registerDescendants(SendBirdMigrateMessagesRequestMessagesInner.class, Collections.unmodifiableMap(schemas)); - } - - @Override - public Map getSchemas() { - return SendBirdMigrateMessagesRequestMessagesInner.schemas; - } - - /** - * Set the instance that matches the oneOf child schema, check - * the instance parameter is valid against the oneOf child schemas: - * SendBirdMigrateMessagesAdminMessageRequest, SendBirdMigrateMessagesFileMessageRequest, SendBirdMigrateMessagesTextMessageRequest - * - * It could be an instance of the 'oneOf' schemas. - * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). - */ - @Override - public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendBirdMigrateMessagesAdminMessageRequest.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - if (JSON.isInstanceOf(SendBirdMigrateMessagesFileMessageRequest.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - if (JSON.isInstanceOf(SendBirdMigrateMessagesTextMessageRequest.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - throw new RuntimeException("Invalid instance type. Must be SendBirdMigrateMessagesAdminMessageRequest, SendBirdMigrateMessagesFileMessageRequest, SendBirdMigrateMessagesTextMessageRequest"); - } - - /** - * Get the actual instance, which can be the following: - * SendBirdMigrateMessagesAdminMessageRequest, SendBirdMigrateMessagesFileMessageRequest, SendBirdMigrateMessagesTextMessageRequest - * - * @return The actual instance (SendBirdMigrateMessagesAdminMessageRequest, SendBirdMigrateMessagesFileMessageRequest, SendBirdMigrateMessagesTextMessageRequest) - */ - @Override - public Object getActualInstance() { - return super.getActualInstance(); - } - - /** - * Get the actual instance of `SendBirdMigrateMessagesAdminMessageRequest`. If the actual instance is not `SendBirdMigrateMessagesAdminMessageRequest`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `SendBirdMigrateMessagesAdminMessageRequest` - * @throws ClassCastException if the instance is not `SendBirdMigrateMessagesAdminMessageRequest` - */ - public SendBirdMigrateMessagesAdminMessageRequest getSendBirdMigrateMessagesAdminMessageRequest() throws ClassCastException { - return (SendBirdMigrateMessagesAdminMessageRequest)super.getActualInstance(); - } - - /** - * Get the actual instance of `SendBirdMigrateMessagesFileMessageRequest`. If the actual instance is not `SendBirdMigrateMessagesFileMessageRequest`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `SendBirdMigrateMessagesFileMessageRequest` - * @throws ClassCastException if the instance is not `SendBirdMigrateMessagesFileMessageRequest` - */ - public SendBirdMigrateMessagesFileMessageRequest getSendBirdMigrateMessagesFileMessageRequest() throws ClassCastException { - return (SendBirdMigrateMessagesFileMessageRequest)super.getActualInstance(); - } - - /** - * Get the actual instance of `SendBirdMigrateMessagesTextMessageRequest`. If the actual instance is not `SendBirdMigrateMessagesTextMessageRequest`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `SendBirdMigrateMessagesTextMessageRequest` - * @throws ClassCastException if the instance is not `SendBirdMigrateMessagesTextMessageRequest` - */ - public SendBirdMigrateMessagesTextMessageRequest getSendBirdMigrateMessagesTextMessageRequest() throws ClassCastException { - return (SendBirdMigrateMessagesTextMessageRequest)super.getActualInstance(); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java deleted file mode 100644 index b8fc33df..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequest.java +++ /dev/null @@ -1,420 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdMigrateMessagesTextMessageRequest - */ -@JsonPropertyOrder({ - SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_USER_ID, - SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_MESSAGE_TYPE, - SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_MESSAGE, - SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_TIMESTAMP, - SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_MENTIONED_USER_IDS, - SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_DATA, - SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_DEDUP_ID, - SendBirdMigrateMessagesTextMessageRequest.JSON_PROPERTY_SORTED_METAARRAY -}) -@JsonTypeName("MigrateMessagesTextMessageRequest") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdMigrateMessagesTextMessageRequest { - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - /** - * Gets or Sets messageType - */ - public enum MessageTypeEnum { - MESG("MESG"); - - private String value; - - MessageTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MessageTypeEnum fromValue(String value) { - for (MessageTypeEnum b : MessageTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; - private MessageTypeEnum messageType; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private String message; - - public static final String JSON_PROPERTY_TIMESTAMP = "timestamp"; - private Long timestamp; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; - private List mentionedUserIds = null; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; - private String dedupId; - - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; - - public SendBirdMigrateMessagesTextMessageRequest() { - } - - public SendBirdMigrateMessagesTextMessageRequest userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserId(String userId) { - this.userId = userId; - } - - - public SendBirdMigrateMessagesTextMessageRequest messageType(MessageTypeEnum messageType) { - this.messageType = messageType; - return this; - } - - /** - * Get messageType - * @return messageType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public MessageTypeEnum getMessageType() { - return messageType; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessageType(MessageTypeEnum messageType) { - this.messageType = messageType; - } - - - public SendBirdMigrateMessagesTextMessageRequest message(String message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessage(String message) { - this.message = message; - } - - - public SendBirdMigrateMessagesTextMessageRequest timestamp(Long timestamp) { - this.timestamp = timestamp; - return this; - } - - /** - * Get timestamp - * @return timestamp - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_TIMESTAMP) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Long getTimestamp() { - return timestamp; - } - - - @JsonProperty(JSON_PROPERTY_TIMESTAMP) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setTimestamp(Long timestamp) { - this.timestamp = timestamp; - } - - - public SendBirdMigrateMessagesTextMessageRequest customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdMigrateMessagesTextMessageRequest mentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - return this; - } - - public SendBirdMigrateMessagesTextMessageRequest addMentionedUserIdsItem(String mentionedUserIdsItem) { - if (this.mentionedUserIds == null) { - this.mentionedUserIds = new ArrayList<>(); - } - this.mentionedUserIds.add(mentionedUserIdsItem); - return this; - } - - /** - * Get mentionedUserIds - * @return mentionedUserIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMentionedUserIds() { - return mentionedUserIds; - } - - - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - } - - - public SendBirdMigrateMessagesTextMessageRequest data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdMigrateMessagesTextMessageRequest dedupId(String dedupId) { - this.dedupId = dedupId; - return this; - } - - /** - * Get dedupId - * @return dedupId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getDedupId() { - return dedupId; - } - - - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDedupId(String dedupId) { - this.dedupId = dedupId; - } - - - public SendBirdMigrateMessagesTextMessageRequest sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdMigrateMessagesTextMessageRequest addSortedMetaarrayItem(Object sortedMetaarrayItem) { - if (this.sortedMetaarray == null) { - this.sortedMetaarray = new ArrayList<>(); - } - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - /** - * Return true if this MigrateMessagesTextMessageRequest object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdMigrateMessagesTextMessageRequest migrateMessagesTextMessageRequest = (SendBirdMigrateMessagesTextMessageRequest) o; - return Objects.equals(this.userId, migrateMessagesTextMessageRequest.userId) && - Objects.equals(this.messageType, migrateMessagesTextMessageRequest.messageType) && - Objects.equals(this.message, migrateMessagesTextMessageRequest.message) && - Objects.equals(this.timestamp, migrateMessagesTextMessageRequest.timestamp) && - Objects.equals(this.customType, migrateMessagesTextMessageRequest.customType) && - Objects.equals(this.mentionedUserIds, migrateMessagesTextMessageRequest.mentionedUserIds) && - Objects.equals(this.data, migrateMessagesTextMessageRequest.data) && - Objects.equals(this.dedupId, migrateMessagesTextMessageRequest.dedupId) && - Objects.equals(this.sortedMetaarray, migrateMessagesTextMessageRequest.sortedMetaarray); - } - - @Override - public int hashCode() { - return Objects.hash(userId, messageType, message, timestamp, customType, mentionedUserIds, data, dedupId, sortedMetaarray); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdMigrateMessagesTextMessageRequest {\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java b/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java index 93c74c91..53b0b264 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java +++ b/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdBasicUserInfo; +import org.openapitools.client.model.SendbirdBasicUserInfo; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -36,26 +36,26 @@ /** - * SendBirdOpenChannel + * SendbirdOpenChannel */ @JsonPropertyOrder({ - SendBirdOpenChannel.JSON_PROPERTY_CHANNEL_URL, - SendBirdOpenChannel.JSON_PROPERTY_COVER_URL, - SendBirdOpenChannel.JSON_PROPERTY_CREATED_AT, - SendBirdOpenChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdOpenChannel.JSON_PROPERTY_DATA, - SendBirdOpenChannel.JSON_PROPERTY_FREEZE, - SendBirdOpenChannel.JSON_PROPERTY_IS_DYNAMIC_PARTITIONED, - SendBirdOpenChannel.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdOpenChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdOpenChannel.JSON_PROPERTY_NAME, - SendBirdOpenChannel.JSON_PROPERTY_OPERATORS, - SendBirdOpenChannel.JSON_PROPERTY_PARTICIPANT_COUNT, - SendBirdOpenChannel.JSON_PROPERTY_METADATA + SendbirdOpenChannel.JSON_PROPERTY_CHANNEL_URL, + SendbirdOpenChannel.JSON_PROPERTY_COVER_URL, + SendbirdOpenChannel.JSON_PROPERTY_CREATED_AT, + SendbirdOpenChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendbirdOpenChannel.JSON_PROPERTY_DATA, + SendbirdOpenChannel.JSON_PROPERTY_FREEZE, + SendbirdOpenChannel.JSON_PROPERTY_IS_DYNAMIC_PARTITIONED, + SendbirdOpenChannel.JSON_PROPERTY_IS_EPHEMERAL, + SendbirdOpenChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendbirdOpenChannel.JSON_PROPERTY_NAME, + SendbirdOpenChannel.JSON_PROPERTY_OPERATORS, + SendbirdOpenChannel.JSON_PROPERTY_PARTICIPANT_COUNT, + SendbirdOpenChannel.JSON_PROPERTY_METADATA }) -@JsonTypeName("SendBird.OpenChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdOpenChannel { +@JsonTypeName("Sendbird.OpenChannel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdOpenChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -87,7 +87,7 @@ public class SendBirdOpenChannel { private String name; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public static final String JSON_PROPERTY_PARTICIPANT_COUNT = "participant_count"; private Integer participantCount; @@ -95,10 +95,10 @@ public class SendBirdOpenChannel { public static final String JSON_PROPERTY_METADATA = "metadata"; private JsonNullable metadata = JsonNullable.undefined(); - public SendBirdOpenChannel() { + public SendbirdOpenChannel() { } - public SendBirdOpenChannel channelUrl(String channelUrl) { + public SendbirdOpenChannel channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -124,7 +124,7 @@ public void setChannelUrl(String channelUrl) { } - public SendBirdOpenChannel coverUrl(String coverUrl) { + public SendbirdOpenChannel coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -150,7 +150,7 @@ public void setCoverUrl(String coverUrl) { } - public SendBirdOpenChannel createdAt(Long createdAt) { + public SendbirdOpenChannel createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -176,7 +176,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdOpenChannel customType(String customType) { + public SendbirdOpenChannel customType(String customType) { this.customType = customType; return this; } @@ -202,7 +202,7 @@ public void setCustomType(String customType) { } - public SendBirdOpenChannel data(String data) { + public SendbirdOpenChannel data(String data) { this.data = data; return this; } @@ -228,7 +228,7 @@ public void setData(String data) { } - public SendBirdOpenChannel freeze(Boolean freeze) { + public SendbirdOpenChannel freeze(Boolean freeze) { this.freeze = freeze; return this; } @@ -254,7 +254,7 @@ public void setFreeze(Boolean freeze) { } - public SendBirdOpenChannel isDynamicPartitioned(Boolean isDynamicPartitioned) { + public SendbirdOpenChannel isDynamicPartitioned(Boolean isDynamicPartitioned) { this.isDynamicPartitioned = isDynamicPartitioned; return this; } @@ -280,7 +280,7 @@ public void setIsDynamicPartitioned(Boolean isDynamicPartitioned) { } - public SendBirdOpenChannel isEphemeral(Boolean isEphemeral) { + public SendbirdOpenChannel isEphemeral(Boolean isEphemeral) { this.isEphemeral = isEphemeral; return this; } @@ -306,7 +306,7 @@ public void setIsEphemeral(Boolean isEphemeral) { } - public SendBirdOpenChannel maxLengthMessage(Integer maxLengthMessage) { + public SendbirdOpenChannel maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -332,7 +332,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendBirdOpenChannel name(String name) { + public SendbirdOpenChannel name(String name) { this.name = name; return this; } @@ -358,12 +358,12 @@ public void setName(String name) { } - public SendBirdOpenChannel operators(List operators) { + public SendbirdOpenChannel operators(List operators) { this.operators = operators; return this; } - public SendBirdOpenChannel addOperatorsItem(SendBirdBasicUserInfo operatorsItem) { + public SendbirdOpenChannel addOperatorsItem(SendbirdBasicUserInfo operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -380,19 +380,19 @@ public SendBirdOpenChannel addOperatorsItem(SendBirdBasicUserInfo operatorsItem) @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } - public SendBirdOpenChannel participantCount(Integer participantCount) { + public SendbirdOpenChannel participantCount(Integer participantCount) { this.participantCount = participantCount; return this; } @@ -418,7 +418,7 @@ public void setParticipantCount(Integer participantCount) { } - public SendBirdOpenChannel metadata(Object metadata) { + public SendbirdOpenChannel metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -453,7 +453,7 @@ public void setMetadata(Object metadata) { /** - * Return true if this SendBird.OpenChannel object is equal to o. + * Return true if this Sendbird.OpenChannel object is equal to o. */ @Override public boolean equals(Object o) { @@ -463,20 +463,20 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdOpenChannel sendBirdOpenChannel = (SendBirdOpenChannel) o; - return Objects.equals(this.channelUrl, sendBirdOpenChannel.channelUrl) && - Objects.equals(this.coverUrl, sendBirdOpenChannel.coverUrl) && - Objects.equals(this.createdAt, sendBirdOpenChannel.createdAt) && - Objects.equals(this.customType, sendBirdOpenChannel.customType) && - Objects.equals(this.data, sendBirdOpenChannel.data) && - Objects.equals(this.freeze, sendBirdOpenChannel.freeze) && - Objects.equals(this.isDynamicPartitioned, sendBirdOpenChannel.isDynamicPartitioned) && - Objects.equals(this.isEphemeral, sendBirdOpenChannel.isEphemeral) && - Objects.equals(this.maxLengthMessage, sendBirdOpenChannel.maxLengthMessage) && - Objects.equals(this.name, sendBirdOpenChannel.name) && - Objects.equals(this.operators, sendBirdOpenChannel.operators) && - Objects.equals(this.participantCount, sendBirdOpenChannel.participantCount) && - equalsNullable(this.metadata, sendBirdOpenChannel.metadata); + SendbirdOpenChannel sendbirdOpenChannel = (SendbirdOpenChannel) o; + return Objects.equals(this.channelUrl, sendbirdOpenChannel.channelUrl) && + Objects.equals(this.coverUrl, sendbirdOpenChannel.coverUrl) && + Objects.equals(this.createdAt, sendbirdOpenChannel.createdAt) && + Objects.equals(this.customType, sendbirdOpenChannel.customType) && + Objects.equals(this.data, sendbirdOpenChannel.data) && + Objects.equals(this.freeze, sendbirdOpenChannel.freeze) && + Objects.equals(this.isDynamicPartitioned, sendbirdOpenChannel.isDynamicPartitioned) && + Objects.equals(this.isEphemeral, sendbirdOpenChannel.isEphemeral) && + Objects.equals(this.maxLengthMessage, sendbirdOpenChannel.maxLengthMessage) && + Objects.equals(this.name, sendbirdOpenChannel.name) && + Objects.equals(this.operators, sendbirdOpenChannel.operators) && + Objects.equals(this.participantCount, sendbirdOpenChannel.participantCount) && + equalsNullable(this.metadata, sendbirdOpenChannel.metadata); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -498,7 +498,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdOpenChannel {\n"); + sb.append("class SendbirdOpenChannel {\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java b/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java index d1bdf704..83f0f67e 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java +++ b/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java @@ -26,27 +26,27 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdFile; -import org.openapitools.client.model.SendBirdUser; +import org.openapitools.client.model.SendbirdFile; +import org.openapitools.client.model.SendbirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; /** - * SendBirdParentMessageInfo + * SendbirdParentMessageInfo */ @JsonPropertyOrder({ - SendBirdParentMessageInfo.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdParentMessageInfo.JSON_PROPERTY_MESSAGE, - SendBirdParentMessageInfo.JSON_PROPERTY_TYPE, - SendBirdParentMessageInfo.JSON_PROPERTY_TS, - SendBirdParentMessageInfo.JSON_PROPERTY_USER, - SendBirdParentMessageInfo.JSON_PROPERTY_FILE, - SendBirdParentMessageInfo.JSON_PROPERTY_FILES + SendbirdParentMessageInfo.JSON_PROPERTY_CUSTOM_TYPE, + SendbirdParentMessageInfo.JSON_PROPERTY_MESSAGE, + SendbirdParentMessageInfo.JSON_PROPERTY_TYPE, + SendbirdParentMessageInfo.JSON_PROPERTY_TS, + SendbirdParentMessageInfo.JSON_PROPERTY_USER, + SendbirdParentMessageInfo.JSON_PROPERTY_FILE, + SendbirdParentMessageInfo.JSON_PROPERTY_FILES }) -@JsonTypeName("SendBird.ParentMessageInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdParentMessageInfo { +@JsonTypeName("Sendbird.ParentMessageInfo") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdParentMessageInfo { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -60,18 +60,18 @@ public class SendBirdParentMessageInfo { private Long ts; public static final String JSON_PROPERTY_USER = "user"; - private SendBirdUser user; + private SendbirdUser user; public static final String JSON_PROPERTY_FILE = "file"; - private SendBirdFile _file; + private SendbirdFile _file; public static final String JSON_PROPERTY_FILES = "files"; - private List files = null; + private List files = null; - public SendBirdParentMessageInfo() { + public SendbirdParentMessageInfo() { } - public SendBirdParentMessageInfo customType(String customType) { + public SendbirdParentMessageInfo customType(String customType) { this.customType = customType; return this; } @@ -97,7 +97,7 @@ public void setCustomType(String customType) { } - public SendBirdParentMessageInfo message(String message) { + public SendbirdParentMessageInfo message(String message) { this.message = message; return this; } @@ -123,7 +123,7 @@ public void setMessage(String message) { } - public SendBirdParentMessageInfo type(String type) { + public SendbirdParentMessageInfo type(String type) { this.type = type; return this; } @@ -149,7 +149,7 @@ public void setType(String type) { } - public SendBirdParentMessageInfo ts(Long ts) { + public SendbirdParentMessageInfo ts(Long ts) { this.ts = ts; return this; } @@ -175,7 +175,7 @@ public void setTs(Long ts) { } - public SendBirdParentMessageInfo user(SendBirdUser user) { + public SendbirdParentMessageInfo user(SendbirdUser user) { this.user = user; return this; } @@ -189,19 +189,19 @@ public SendBirdParentMessageInfo user(SendBirdUser user) { @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdUser getUser() { + public SendbirdUser getUser() { return user; } @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdUser user) { + public void setUser(SendbirdUser user) { this.user = user; } - public SendBirdParentMessageInfo _file(SendBirdFile _file) { + public SendbirdParentMessageInfo _file(SendbirdFile _file) { this._file = _file; return this; } @@ -215,24 +215,24 @@ public SendBirdParentMessageInfo _file(SendBirdFile _file) { @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdFile getFile() { + public SendbirdFile getFile() { return _file; } @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFile(SendBirdFile _file) { + public void setFile(SendbirdFile _file) { this._file = _file; } - public SendBirdParentMessageInfo files(List files) { + public SendbirdParentMessageInfo files(List files) { this.files = files; return this; } - public SendBirdParentMessageInfo addFilesItem(SendBirdFile filesItem) { + public SendbirdParentMessageInfo addFilesItem(SendbirdFile filesItem) { if (this.files == null) { this.files = new ArrayList<>(); } @@ -249,20 +249,20 @@ public SendBirdParentMessageInfo addFilesItem(SendBirdFile filesItem) { @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getFiles() { + public List getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(List files) { + public void setFiles(List files) { this.files = files; } /** - * Return true if this SendBird.ParentMessageInfo object is equal to o. + * Return true if this Sendbird.ParentMessageInfo object is equal to o. */ @Override public boolean equals(Object o) { @@ -272,14 +272,14 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdParentMessageInfo sendBirdParentMessageInfo = (SendBirdParentMessageInfo) o; - return Objects.equals(this.customType, sendBirdParentMessageInfo.customType) && - Objects.equals(this.message, sendBirdParentMessageInfo.message) && - Objects.equals(this.type, sendBirdParentMessageInfo.type) && - Objects.equals(this.ts, sendBirdParentMessageInfo.ts) && - Objects.equals(this.user, sendBirdParentMessageInfo.user) && - Objects.equals(this._file, sendBirdParentMessageInfo._file) && - Objects.equals(this.files, sendBirdParentMessageInfo.files); + SendbirdParentMessageInfo sendbirdParentMessageInfo = (SendbirdParentMessageInfo) o; + return Objects.equals(this.customType, sendbirdParentMessageInfo.customType) && + Objects.equals(this.message, sendbirdParentMessageInfo.message) && + Objects.equals(this.type, sendbirdParentMessageInfo.type) && + Objects.equals(this.ts, sendbirdParentMessageInfo.ts) && + Objects.equals(this.user, sendbirdParentMessageInfo.user) && + Objects.equals(this._file, sendbirdParentMessageInfo._file) && + Objects.equals(this.files, sendbirdParentMessageInfo.files); } @Override @@ -290,7 +290,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdParentMessageInfo {\n"); + sb.append("class SendbirdParentMessageInfo {\n"); sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdReaction.java b/src/main/java/org/openapitools/client/model/SendBirdReaction.java index 6a52acbc..4c60c4d2 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdReaction.java +++ b/src/main/java/org/openapitools/client/model/SendBirdReaction.java @@ -31,16 +31,16 @@ /** - * SendBirdReaction + * SendbirdReaction */ @JsonPropertyOrder({ - SendBirdReaction.JSON_PROPERTY_KEY, - SendBirdReaction.JSON_PROPERTY_UPDATED_AT, - SendBirdReaction.JSON_PROPERTY_USER_IDS + SendbirdReaction.JSON_PROPERTY_KEY, + SendbirdReaction.JSON_PROPERTY_UPDATED_AT, + SendbirdReaction.JSON_PROPERTY_USER_IDS }) -@JsonTypeName("SendBird.Reaction") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdReaction { +@JsonTypeName("Sendbird.Reaction") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdReaction { public static final String JSON_PROPERTY_KEY = "key"; private String key; @@ -50,10 +50,10 @@ public class SendBirdReaction { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = null; - public SendBirdReaction() { + public SendbirdReaction() { } - public SendBirdReaction key(String key) { + public SendbirdReaction key(String key) { this.key = key; return this; } @@ -79,7 +79,7 @@ public void setKey(String key) { } - public SendBirdReaction updatedAt(Long updatedAt) { + public SendbirdReaction updatedAt(Long updatedAt) { this.updatedAt = updatedAt; return this; } @@ -105,12 +105,12 @@ public void setUpdatedAt(Long updatedAt) { } - public SendBirdReaction userIds(List userIds) { + public SendbirdReaction userIds(List userIds) { this.userIds = userIds; return this; } - public SendBirdReaction addUserIdsItem(String userIdsItem) { + public SendbirdReaction addUserIdsItem(String userIdsItem) { if (this.userIds == null) { this.userIds = new ArrayList<>(); } @@ -140,7 +140,7 @@ public void setUserIds(List userIds) { /** - * Return true if this SendBird.Reaction object is equal to o. + * Return true if this Sendbird.Reaction object is equal to o. */ @Override public boolean equals(Object o) { @@ -150,10 +150,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdReaction sendBirdReaction = (SendBirdReaction) o; - return Objects.equals(this.key, sendBirdReaction.key) && - Objects.equals(this.updatedAt, sendBirdReaction.updatedAt) && - Objects.equals(this.userIds, sendBirdReaction.userIds); + SendbirdReaction sendbirdReaction = (SendbirdReaction) o; + return Objects.equals(this.key, sendbirdReaction.key) && + Objects.equals(this.updatedAt, sendbirdReaction.updatedAt) && + Objects.equals(this.userIds, sendbirdReaction.userIds); } @Override @@ -164,7 +164,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdReaction {\n"); + sb.append("class SendbirdReaction {\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java deleted file mode 100644 index 8880477e..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequest.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdRegisterOperatorsToAGroupChannelRequest - */ -@JsonPropertyOrder({ - SendBirdRegisterOperatorsToAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS -}) -@JsonTypeName("registerOperatorsToAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdRegisterOperatorsToAGroupChannelRequest { - public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; - private List operatorIds = new ArrayList<>(); - - public SendBirdRegisterOperatorsToAGroupChannelRequest() { - } - - public SendBirdRegisterOperatorsToAGroupChannelRequest operatorIds(List operatorIds) { - this.operatorIds = operatorIds; - return this; - } - - public SendBirdRegisterOperatorsToAGroupChannelRequest addOperatorIdsItem(String operatorIdsItem) { - this.operatorIds.add(operatorIdsItem); - return this; - } - - /** - * Get operatorIds - * @return operatorIds - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public List getOperatorIds() { - return operatorIds; - } - - - @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setOperatorIds(List operatorIds) { - this.operatorIds = operatorIds; - } - - - /** - * Return true if this registerOperatorsToAGroupChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdRegisterOperatorsToAGroupChannelRequest registerOperatorsToAGroupChannelRequest = (SendBirdRegisterOperatorsToAGroupChannelRequest) o; - return Objects.equals(this.operatorIds, registerOperatorsToAGroupChannelRequest.operatorIds); - } - - @Override - public int hashCode() { - return Objects.hash(operatorIds); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdRegisterOperatorsToAGroupChannelRequest {\n"); - sb.append(" operatorIds: ").append(toIndentedString(operatorIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java deleted file mode 100644 index 2e26b6e3..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponse.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdRemoveARegistrationOrDeviceTokenResponse - */ -@JsonPropertyOrder({ - SendBirdRemoveARegistrationOrDeviceTokenResponse.JSON_PROPERTY_TOKEN, - SendBirdRemoveARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER -}) -@JsonTypeName("removeARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdRemoveARegistrationOrDeviceTokenResponse { - public static final String JSON_PROPERTY_TOKEN = "token"; - private String token; - - public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendBirdBasicUserInfo user; - - public SendBirdRemoveARegistrationOrDeviceTokenResponse() { - } - - public SendBirdRemoveARegistrationOrDeviceTokenResponse token(String token) { - this.token = token; - return this; - } - - /** - * Get token - * @return token - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getToken() { - return token; - } - - - @JsonProperty(JSON_PROPERTY_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setToken(String token) { - this.token = token; - } - - - public SendBirdRemoveARegistrationOrDeviceTokenResponse user(SendBirdSendBirdBasicUserInfo user) { - this.user = user; - return this; - } - - /** - * Get user - * @return user - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getUser() { - return user; - } - - - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendBirdBasicUserInfo user) { - this.user = user; - } - - - /** - * Return true if this removeARegistrationOrDeviceTokenResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdRemoveARegistrationOrDeviceTokenResponse removeARegistrationOrDeviceTokenResponse = (SendBirdRemoveARegistrationOrDeviceTokenResponse) o; - return Objects.equals(this.token, removeARegistrationOrDeviceTokenResponse.token) && - Objects.equals(this.user, removeARegistrationOrDeviceTokenResponse.user); - } - - @Override - public int hashCode() { - return Objects.hash(token, user); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdRemoveARegistrationOrDeviceTokenResponse {\n"); - sb.append(" token: ").append(toIndentedString(token)).append("\n"); - sb.append(" user: ").append(toIndentedString(user)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java deleted file mode 100644 index 0a11e674..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponse.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdRemoveAllRegistrationOrDeviceTokenResponse - */ -@JsonPropertyOrder({ - SendBirdRemoveAllRegistrationOrDeviceTokenResponse.JSON_PROPERTY_TOKEN, - SendBirdRemoveAllRegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER -}) -@JsonTypeName("removeAllRegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdRemoveAllRegistrationOrDeviceTokenResponse { - public static final String JSON_PROPERTY_TOKEN = "token"; - private List token = null; - - public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendBirdBasicUserInfo user; - - public SendBirdRemoveAllRegistrationOrDeviceTokenResponse() { - } - - public SendBirdRemoveAllRegistrationOrDeviceTokenResponse token(List token) { - this.token = token; - return this; - } - - public SendBirdRemoveAllRegistrationOrDeviceTokenResponse addTokenItem(String tokenItem) { - if (this.token == null) { - this.token = new ArrayList<>(); - } - this.token.add(tokenItem); - return this; - } - - /** - * Get token - * @return token - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getToken() { - return token; - } - - - @JsonProperty(JSON_PROPERTY_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setToken(List token) { - this.token = token; - } - - - public SendBirdRemoveAllRegistrationOrDeviceTokenResponse user(SendBirdSendBirdBasicUserInfo user) { - this.user = user; - return this; - } - - /** - * Get user - * @return user - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getUser() { - return user; - } - - - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendBirdBasicUserInfo user) { - this.user = user; - } - - - /** - * Return true if this removeAllRegistrationOrDeviceTokenResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdRemoveAllRegistrationOrDeviceTokenResponse removeAllRegistrationOrDeviceTokenResponse = (SendBirdRemoveAllRegistrationOrDeviceTokenResponse) o; - return Objects.equals(this.token, removeAllRegistrationOrDeviceTokenResponse.token) && - Objects.equals(this.user, removeAllRegistrationOrDeviceTokenResponse.user); - } - - @Override - public int hashCode() { - return Objects.hash(token, user); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdRemoveAllRegistrationOrDeviceTokenResponse {\n"); - sb.append(" token: ").append(toIndentedString(token)).append("\n"); - sb.append(" user: ").append(toIndentedString(user)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java b/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java deleted file mode 100644 index f2ad5087..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryRequest.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdResetChatHistoryRequest - */ -@JsonPropertyOrder({ - SendBirdResetChatHistoryRequest.JSON_PROPERTY_RESET_ALL, - SendBirdResetChatHistoryRequest.JSON_PROPERTY_USER_ID -}) -@JsonTypeName("resetChatHistory_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdResetChatHistoryRequest { - public static final String JSON_PROPERTY_RESET_ALL = "reset_all"; - private Boolean resetAll; - - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - public SendBirdResetChatHistoryRequest() { - } - - public SendBirdResetChatHistoryRequest resetAll(Boolean resetAll) { - this.resetAll = resetAll; - return this; - } - - /** - * Get resetAll - * @return resetAll - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_RESET_ALL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getResetAll() { - return resetAll; - } - - - @JsonProperty(JSON_PROPERTY_RESET_ALL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setResetAll(Boolean resetAll) { - this.resetAll = resetAll; - } - - - public SendBirdResetChatHistoryRequest userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserId(String userId) { - this.userId = userId; - } - - - /** - * Return true if this resetChatHistory_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdResetChatHistoryRequest resetChatHistoryRequest = (SendBirdResetChatHistoryRequest) o; - return Objects.equals(this.resetAll, resetChatHistoryRequest.resetAll) && - Objects.equals(this.userId, resetChatHistoryRequest.userId); - } - - @Override - public int hashCode() { - return Objects.hash(resetAll, userId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdResetChatHistoryRequest {\n"); - sb.append(" resetAll: ").append(toIndentedString(resetAll)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java b/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java deleted file mode 100644 index 91974294..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdResetChatHistoryResponse.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdResetChatHistoryResponse - */ -@JsonPropertyOrder({ - SendBirdResetChatHistoryResponse.JSON_PROPERTY_TS_MESSAGE_OFFSET -}) -@JsonTypeName("resetChatHistoryResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdResetChatHistoryResponse { - public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; - private Long tsMessageOffset; - - public SendBirdResetChatHistoryResponse() { - } - - public SendBirdResetChatHistoryResponse tsMessageOffset(Long tsMessageOffset) { - this.tsMessageOffset = tsMessageOffset; - return this; - } - - /** - * The timestamp in Unix milliseconds indicating the point in time that determines when the user can view messages in a specific channel. Messages sent on or before this timestamp can't be viewed by the user. - * @return tsMessageOffset - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "The timestamp in Unix milliseconds indicating the point in time that determines when the user can view messages in a specific channel. Messages sent on or before this timestamp can't be viewed by the user.") - @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getTsMessageOffset() { - return tsMessageOffset; - } - - - @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTsMessageOffset(Long tsMessageOffset) { - this.tsMessageOffset = tsMessageOffset; - } - - - /** - * Return true if this resetChatHistoryResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdResetChatHistoryResponse resetChatHistoryResponse = (SendBirdResetChatHistoryResponse) o; - return Objects.equals(this.tsMessageOffset, resetChatHistoryResponse.tsMessageOffset); - } - - @Override - public int hashCode() { - return Objects.hash(tsMessageOffset); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdResetChatHistoryResponse {\n"); - sb.append(" tsMessageOffset: ").append(toIndentedString(tsMessageOffset)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java deleted file mode 100644 index 1ab22c28..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequest.java +++ /dev/null @@ -1,669 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestCreateChannelOptions; -import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestMessage; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdScheduleAnAnnouncementRequest - */ -@JsonPropertyOrder({ - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_ANNOUNCEMENT_GROUP, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_ASSIGN_SENDER_AS_CHANNEL_INVITER, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_CEASE_AT, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_CREATE_CHANNEL, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_CREATE_CHANNEL_OPTIONS, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_ENABLE_PUSH, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_END_AT, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_KEEP_CHANNEL_HIDDEN_FOR_SENDER, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_MARK_AS_READ, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_MESSAGE, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_RESUME_AT, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_SCHEDULED_AT, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_TARGET_AT, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_TARGET_CHANNEL_TYPE, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_TARGET_CUSTOM_TYPE, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_TARGET_LIST, - SendBirdScheduleAnAnnouncementRequest.JSON_PROPERTY_UNIQUE_ID -}) -@JsonTypeName("scheduleAnAnnouncement_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdScheduleAnAnnouncementRequest { - public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; - private String announcementGroup; - - public static final String JSON_PROPERTY_ASSIGN_SENDER_AS_CHANNEL_INVITER = "assign_sender_as_channel_inviter"; - private Boolean assignSenderAsChannelInviter; - - public static final String JSON_PROPERTY_CEASE_AT = "cease_at"; - private String ceaseAt; - - public static final String JSON_PROPERTY_CREATE_CHANNEL = "create_channel"; - private Boolean createChannel; - - public static final String JSON_PROPERTY_CREATE_CHANNEL_OPTIONS = "create_channel_options"; - private SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions; - - public static final String JSON_PROPERTY_ENABLE_PUSH = "enable_push"; - private Boolean enablePush; - - public static final String JSON_PROPERTY_END_AT = "end_at"; - private Long endAt; - - public static final String JSON_PROPERTY_KEEP_CHANNEL_HIDDEN_FOR_SENDER = "keep_channel_hidden_for_sender"; - private Boolean keepChannelHiddenForSender; - - public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; - private Boolean markAsRead; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private SendBirdScheduleAnAnnouncementRequestMessage message; - - public static final String JSON_PROPERTY_RESUME_AT = "resume_at"; - private String resumeAt; - - public static final String JSON_PROPERTY_SCHEDULED_AT = "scheduled_at"; - private Long scheduledAt; - - public static final String JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS = "send_to_frozen_channels"; - private Boolean sendToFrozenChannels; - - public static final String JSON_PROPERTY_TARGET_AT = "target_at"; - private String targetAt; - - public static final String JSON_PROPERTY_TARGET_CHANNEL_TYPE = "target_channel_type"; - private String targetChannelType; - - public static final String JSON_PROPERTY_TARGET_CUSTOM_TYPE = "target_custom_type"; - private String targetCustomType; - - public static final String JSON_PROPERTY_TARGET_LIST = "target_list"; - private List targetList = null; - - public static final String JSON_PROPERTY_UNIQUE_ID = "unique_id"; - private String uniqueId; - - public SendBirdScheduleAnAnnouncementRequest() { - } - - public SendBirdScheduleAnAnnouncementRequest announcementGroup(String announcementGroup) { - this.announcementGroup = announcementGroup; - return this; - } - - /** - * Get announcementGroup - * @return announcementGroup - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ANNOUNCEMENT_GROUP) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getAnnouncementGroup() { - return announcementGroup; - } - - - @JsonProperty(JSON_PROPERTY_ANNOUNCEMENT_GROUP) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAnnouncementGroup(String announcementGroup) { - this.announcementGroup = announcementGroup; - } - - - public SendBirdScheduleAnAnnouncementRequest assignSenderAsChannelInviter(Boolean assignSenderAsChannelInviter) { - this.assignSenderAsChannelInviter = assignSenderAsChannelInviter; - return this; - } - - /** - * Get assignSenderAsChannelInviter - * @return assignSenderAsChannelInviter - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ASSIGN_SENDER_AS_CHANNEL_INVITER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getAssignSenderAsChannelInviter() { - return assignSenderAsChannelInviter; - } - - - @JsonProperty(JSON_PROPERTY_ASSIGN_SENDER_AS_CHANNEL_INVITER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAssignSenderAsChannelInviter(Boolean assignSenderAsChannelInviter) { - this.assignSenderAsChannelInviter = assignSenderAsChannelInviter; - } - - - public SendBirdScheduleAnAnnouncementRequest ceaseAt(String ceaseAt) { - this.ceaseAt = ceaseAt; - return this; - } - - /** - * Get ceaseAt - * @return ceaseAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CEASE_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCeaseAt() { - return ceaseAt; - } - - - @JsonProperty(JSON_PROPERTY_CEASE_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCeaseAt(String ceaseAt) { - this.ceaseAt = ceaseAt; - } - - - public SendBirdScheduleAnAnnouncementRequest createChannel(Boolean createChannel) { - this.createChannel = createChannel; - return this; - } - - /** - * Get createChannel - * @return createChannel - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getCreateChannel() { - return createChannel; - } - - - @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreateChannel(Boolean createChannel) { - this.createChannel = createChannel; - } - - - public SendBirdScheduleAnAnnouncementRequest createChannelOptions(SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions) { - this.createChannelOptions = createChannelOptions; - return this; - } - - /** - * Get createChannelOptions - * @return createChannelOptions - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL_OPTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions getCreateChannelOptions() { - return createChannelOptions; - } - - - @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL_OPTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreateChannelOptions(SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions) { - this.createChannelOptions = createChannelOptions; - } - - - public SendBirdScheduleAnAnnouncementRequest enablePush(Boolean enablePush) { - this.enablePush = enablePush; - return this; - } - - /** - * Get enablePush - * @return enablePush - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnablePush() { - return enablePush; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnablePush(Boolean enablePush) { - this.enablePush = enablePush; - } - - - public SendBirdScheduleAnAnnouncementRequest endAt(Long endAt) { - this.endAt = endAt; - return this; - } - - /** - * Get endAt - * @return endAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_END_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getEndAt() { - return endAt; - } - - - @JsonProperty(JSON_PROPERTY_END_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEndAt(Long endAt) { - this.endAt = endAt; - } - - - public SendBirdScheduleAnAnnouncementRequest keepChannelHiddenForSender(Boolean keepChannelHiddenForSender) { - this.keepChannelHiddenForSender = keepChannelHiddenForSender; - return this; - } - - /** - * Get keepChannelHiddenForSender - * @return keepChannelHiddenForSender - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_KEEP_CHANNEL_HIDDEN_FOR_SENDER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getKeepChannelHiddenForSender() { - return keepChannelHiddenForSender; - } - - - @JsonProperty(JSON_PROPERTY_KEEP_CHANNEL_HIDDEN_FOR_SENDER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setKeepChannelHiddenForSender(Boolean keepChannelHiddenForSender) { - this.keepChannelHiddenForSender = keepChannelHiddenForSender; - } - - - public SendBirdScheduleAnAnnouncementRequest markAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - return this; - } - - /** - * Get markAsRead - * @return markAsRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getMarkAsRead() { - return markAsRead; - } - - - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMarkAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - } - - - public SendBirdScheduleAnAnnouncementRequest message(SendBirdScheduleAnAnnouncementRequestMessage message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdScheduleAnAnnouncementRequestMessage getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(SendBirdScheduleAnAnnouncementRequestMessage message) { - this.message = message; - } - - - public SendBirdScheduleAnAnnouncementRequest resumeAt(String resumeAt) { - this.resumeAt = resumeAt; - return this; - } - - /** - * Get resumeAt - * @return resumeAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_RESUME_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getResumeAt() { - return resumeAt; - } - - - @JsonProperty(JSON_PROPERTY_RESUME_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setResumeAt(String resumeAt) { - this.resumeAt = resumeAt; - } - - - public SendBirdScheduleAnAnnouncementRequest scheduledAt(Long scheduledAt) { - this.scheduledAt = scheduledAt; - return this; - } - - /** - * Get scheduledAt - * @return scheduledAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getScheduledAt() { - return scheduledAt; - } - - - @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setScheduledAt(Long scheduledAt) { - this.scheduledAt = scheduledAt; - } - - - public SendBirdScheduleAnAnnouncementRequest sendToFrozenChannels(Boolean sendToFrozenChannels) { - this.sendToFrozenChannels = sendToFrozenChannels; - return this; - } - - /** - * Get sendToFrozenChannels - * @return sendToFrozenChannels - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getSendToFrozenChannels() { - return sendToFrozenChannels; - } - - - @JsonProperty(JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSendToFrozenChannels(Boolean sendToFrozenChannels) { - this.sendToFrozenChannels = sendToFrozenChannels; - } - - - public SendBirdScheduleAnAnnouncementRequest targetAt(String targetAt) { - this.targetAt = targetAt; - return this; - } - - /** - * Get targetAt - * @return targetAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TARGET_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTargetAt() { - return targetAt; - } - - - @JsonProperty(JSON_PROPERTY_TARGET_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTargetAt(String targetAt) { - this.targetAt = targetAt; - } - - - public SendBirdScheduleAnAnnouncementRequest targetChannelType(String targetChannelType) { - this.targetChannelType = targetChannelType; - return this; - } - - /** - * Get targetChannelType - * @return targetChannelType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTargetChannelType() { - return targetChannelType; - } - - - @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTargetChannelType(String targetChannelType) { - this.targetChannelType = targetChannelType; - } - - - public SendBirdScheduleAnAnnouncementRequest targetCustomType(String targetCustomType) { - this.targetCustomType = targetCustomType; - return this; - } - - /** - * Get targetCustomType - * @return targetCustomType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TARGET_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTargetCustomType() { - return targetCustomType; - } - - - @JsonProperty(JSON_PROPERTY_TARGET_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTargetCustomType(String targetCustomType) { - this.targetCustomType = targetCustomType; - } - - - public SendBirdScheduleAnAnnouncementRequest targetList(List targetList) { - this.targetList = targetList; - return this; - } - - public SendBirdScheduleAnAnnouncementRequest addTargetListItem(String targetListItem) { - if (this.targetList == null) { - this.targetList = new ArrayList<>(); - } - this.targetList.add(targetListItem); - return this; - } - - /** - * Get targetList - * @return targetList - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TARGET_LIST) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getTargetList() { - return targetList; - } - - - @JsonProperty(JSON_PROPERTY_TARGET_LIST) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTargetList(List targetList) { - this.targetList = targetList; - } - - - public SendBirdScheduleAnAnnouncementRequest uniqueId(String uniqueId) { - this.uniqueId = uniqueId; - return this; - } - - /** - * Get uniqueId - * @return uniqueId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNIQUE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getUniqueId() { - return uniqueId; - } - - - @JsonProperty(JSON_PROPERTY_UNIQUE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUniqueId(String uniqueId) { - this.uniqueId = uniqueId; - } - - - /** - * Return true if this scheduleAnAnnouncement_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdScheduleAnAnnouncementRequest scheduleAnAnnouncementRequest = (SendBirdScheduleAnAnnouncementRequest) o; - return Objects.equals(this.announcementGroup, scheduleAnAnnouncementRequest.announcementGroup) && - Objects.equals(this.assignSenderAsChannelInviter, scheduleAnAnnouncementRequest.assignSenderAsChannelInviter) && - Objects.equals(this.ceaseAt, scheduleAnAnnouncementRequest.ceaseAt) && - Objects.equals(this.createChannel, scheduleAnAnnouncementRequest.createChannel) && - Objects.equals(this.createChannelOptions, scheduleAnAnnouncementRequest.createChannelOptions) && - Objects.equals(this.enablePush, scheduleAnAnnouncementRequest.enablePush) && - Objects.equals(this.endAt, scheduleAnAnnouncementRequest.endAt) && - Objects.equals(this.keepChannelHiddenForSender, scheduleAnAnnouncementRequest.keepChannelHiddenForSender) && - Objects.equals(this.markAsRead, scheduleAnAnnouncementRequest.markAsRead) && - Objects.equals(this.message, scheduleAnAnnouncementRequest.message) && - Objects.equals(this.resumeAt, scheduleAnAnnouncementRequest.resumeAt) && - Objects.equals(this.scheduledAt, scheduleAnAnnouncementRequest.scheduledAt) && - Objects.equals(this.sendToFrozenChannels, scheduleAnAnnouncementRequest.sendToFrozenChannels) && - Objects.equals(this.targetAt, scheduleAnAnnouncementRequest.targetAt) && - Objects.equals(this.targetChannelType, scheduleAnAnnouncementRequest.targetChannelType) && - Objects.equals(this.targetCustomType, scheduleAnAnnouncementRequest.targetCustomType) && - Objects.equals(this.targetList, scheduleAnAnnouncementRequest.targetList) && - Objects.equals(this.uniqueId, scheduleAnAnnouncementRequest.uniqueId); - } - - @Override - public int hashCode() { - return Objects.hash(announcementGroup, assignSenderAsChannelInviter, ceaseAt, createChannel, createChannelOptions, enablePush, endAt, keepChannelHiddenForSender, markAsRead, message, resumeAt, scheduledAt, sendToFrozenChannels, targetAt, targetChannelType, targetCustomType, targetList, uniqueId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdScheduleAnAnnouncementRequest {\n"); - sb.append(" announcementGroup: ").append(toIndentedString(announcementGroup)).append("\n"); - sb.append(" assignSenderAsChannelInviter: ").append(toIndentedString(assignSenderAsChannelInviter)).append("\n"); - sb.append(" ceaseAt: ").append(toIndentedString(ceaseAt)).append("\n"); - sb.append(" createChannel: ").append(toIndentedString(createChannel)).append("\n"); - sb.append(" createChannelOptions: ").append(toIndentedString(createChannelOptions)).append("\n"); - sb.append(" enablePush: ").append(toIndentedString(enablePush)).append("\n"); - sb.append(" endAt: ").append(toIndentedString(endAt)).append("\n"); - sb.append(" keepChannelHiddenForSender: ").append(toIndentedString(keepChannelHiddenForSender)).append("\n"); - sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" resumeAt: ").append(toIndentedString(resumeAt)).append("\n"); - sb.append(" scheduledAt: ").append(toIndentedString(scheduledAt)).append("\n"); - sb.append(" sendToFrozenChannels: ").append(toIndentedString(sendToFrozenChannels)).append("\n"); - sb.append(" targetAt: ").append(toIndentedString(targetAt)).append("\n"); - sb.append(" targetChannelType: ").append(toIndentedString(targetChannelType)).append("\n"); - sb.append(" targetCustomType: ").append(toIndentedString(targetCustomType)).append("\n"); - sb.append(" targetList: ").append(toIndentedString(targetList)).append("\n"); - sb.append(" uniqueId: ").append(toIndentedString(uniqueId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java deleted file mode 100644 index f1426d6e..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.java +++ /dev/null @@ -1,241 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdScheduleAnAnnouncementRequestCreateChannelOptions - */ -@JsonPropertyOrder({ - SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_COVER_URL, - SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_DATA, - SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_DISTINCT, - SendBirdScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_NAME -}) -@JsonTypeName("scheduleAnAnnouncement_request_create_channel_options") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdScheduleAnAnnouncementRequestCreateChannelOptions { - public static final String JSON_PROPERTY_COVER_URL = "cover_url"; - private String coverUrl; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DISTINCT = "distinct"; - private Boolean distinct; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions() { - } - - public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions coverUrl(String coverUrl) { - this.coverUrl = coverUrl; - return this; - } - - /** - * Get coverUrl - * @return coverUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCoverUrl() { - return coverUrl; - } - - - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverUrl(String coverUrl) { - this.coverUrl = coverUrl; - } - - - public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions distinct(Boolean distinct) { - this.distinct = distinct; - return this; - } - - /** - * Get distinct - * @return distinct - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getDistinct() { - return distinct; - } - - - @JsonProperty(JSON_PROPERTY_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDistinct(Boolean distinct) { - this.distinct = distinct; - } - - - public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - /** - * Return true if this scheduleAnAnnouncement_request_create_channel_options object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdScheduleAnAnnouncementRequestCreateChannelOptions scheduleAnAnnouncementRequestCreateChannelOptions = (SendBirdScheduleAnAnnouncementRequestCreateChannelOptions) o; - return Objects.equals(this.coverUrl, scheduleAnAnnouncementRequestCreateChannelOptions.coverUrl) && - Objects.equals(this.customType, scheduleAnAnnouncementRequestCreateChannelOptions.customType) && - Objects.equals(this.data, scheduleAnAnnouncementRequestCreateChannelOptions.data) && - Objects.equals(this.distinct, scheduleAnAnnouncementRequestCreateChannelOptions.distinct) && - Objects.equals(this.name, scheduleAnAnnouncementRequestCreateChannelOptions.name); - } - - @Override - public int hashCode() { - return Objects.hash(coverUrl, customType, data, distinct, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdScheduleAnAnnouncementRequestCreateChannelOptions {\n"); - sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" distinct: ").append(toIndentedString(distinct)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java deleted file mode 100644 index 6d63d26b..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessage.java +++ /dev/null @@ -1,241 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdScheduleAnAnnouncementRequestMessage - */ -@JsonPropertyOrder({ - SendBirdScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_CONTENT, - SendBirdScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_DATA, - SendBirdScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_TYPE, - SendBirdScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_USER_ID -}) -@JsonTypeName("scheduleAnAnnouncement_request_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdScheduleAnAnnouncementRequestMessage { - public static final String JSON_PROPERTY_CONTENT = "content"; - private String content; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_TYPE = "type"; - private String type; - - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - public SendBirdScheduleAnAnnouncementRequestMessage() { - } - - public SendBirdScheduleAnAnnouncementRequestMessage content(String content) { - this.content = content; - return this; - } - - /** - * Get content - * @return content - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CONTENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getContent() { - return content; - } - - - @JsonProperty(JSON_PROPERTY_CONTENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setContent(String content) { - this.content = content; - } - - - public SendBirdScheduleAnAnnouncementRequestMessage customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdScheduleAnAnnouncementRequestMessage data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdScheduleAnAnnouncementRequestMessage type(String type) { - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getType() { - return type; - } - - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setType(String type) { - this.type = type; - } - - - public SendBirdScheduleAnAnnouncementRequestMessage userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUserId(String userId) { - this.userId = userId; - } - - - /** - * Return true if this scheduleAnAnnouncement_request_message object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdScheduleAnAnnouncementRequestMessage scheduleAnAnnouncementRequestMessage = (SendBirdScheduleAnAnnouncementRequestMessage) o; - return Objects.equals(this.content, scheduleAnAnnouncementRequestMessage.content) && - Objects.equals(this.customType, scheduleAnAnnouncementRequestMessage.customType) && - Objects.equals(this.data, scheduleAnAnnouncementRequestMessage.data) && - Objects.equals(this.type, scheduleAnAnnouncementRequestMessage.type) && - Objects.equals(this.userId, scheduleAnAnnouncementRequestMessage.userId); - } - - @Override - public int hashCode() { - return Objects.hash(content, customType, data, type, userId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdScheduleAnAnnouncementRequestMessage {\n"); - sb.append(" content: ").append(toIndentedString(content)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java deleted file mode 100644 index c38baa15..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponse.java +++ /dev/null @@ -1,852 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestCreateChannelOptions; -import org.openapitools.client.model.SendBirdScheduleAnAnnouncementResponseMessage; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdScheduleAnAnnouncementResponse - */ -@JsonPropertyOrder({ - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_ANNOUNCEMENT_GROUP, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_CEASE_AT, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_COMPLETED_AT, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_CREATE_CHANNEL, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_CREATE_CHANNEL_OPTIONS, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_ENABLE_PUSH, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_END_AT, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_MARK_AS_READ, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_MESSAGE, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_OPEN_COUNT, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_OPEN_RATE, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_PRIORITY, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_RESUME_AT, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_SCHEDULED_AT, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_SENT_CHANNEL_COUNT, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_SENT_USER_COUNT, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_STATUS, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_TARGET_AT, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_TARGET_CHANNEL_COUNT, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_TARGET_CHANNEL_TYPE, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_TARGET_CUSTOM_TYPE, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_TARGET_USER_COUNT, - SendBirdScheduleAnAnnouncementResponse.JSON_PROPERTY_UNIQUE_ID -}) -@JsonTypeName("scheduleAnAnnouncementResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdScheduleAnAnnouncementResponse { - public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; - private String announcementGroup; - - public static final String JSON_PROPERTY_CEASE_AT = "cease_at"; - private String ceaseAt; - - public static final String JSON_PROPERTY_COMPLETED_AT = "completed_at"; - private Long completedAt; - - public static final String JSON_PROPERTY_CREATE_CHANNEL = "create_channel"; - private Boolean createChannel; - - public static final String JSON_PROPERTY_CREATE_CHANNEL_OPTIONS = "create_channel_options"; - private SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions; - - public static final String JSON_PROPERTY_ENABLE_PUSH = "enable_push"; - private Boolean enablePush; - - public static final String JSON_PROPERTY_END_AT = "end_at"; - private Long endAt; - - public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; - private Boolean markAsRead; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private SendBirdScheduleAnAnnouncementResponseMessage message; - - public static final String JSON_PROPERTY_OPEN_COUNT = "open_count"; - private Integer openCount; - - public static final String JSON_PROPERTY_OPEN_RATE = "open_rate"; - private BigDecimal openRate; - - public static final String JSON_PROPERTY_PRIORITY = "priority"; - private String priority; - - public static final String JSON_PROPERTY_RESUME_AT = "resume_at"; - private String resumeAt; - - public static final String JSON_PROPERTY_SCHEDULED_AT = "scheduled_at"; - private Long scheduledAt; - - public static final String JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS = "send_to_frozen_channels"; - private Boolean sendToFrozenChannels; - - public static final String JSON_PROPERTY_SENT_CHANNEL_COUNT = "sent_channel_count"; - private Integer sentChannelCount; - - public static final String JSON_PROPERTY_SENT_USER_COUNT = "sent_user_count"; - private Integer sentUserCount; - - public static final String JSON_PROPERTY_STATUS = "status"; - private String status; - - public static final String JSON_PROPERTY_TARGET_AT = "target_at"; - private String targetAt; - - public static final String JSON_PROPERTY_TARGET_CHANNEL_COUNT = "target_channel_count"; - private Integer targetChannelCount; - - public static final String JSON_PROPERTY_TARGET_CHANNEL_TYPE = "target_channel_type"; - private String targetChannelType; - - public static final String JSON_PROPERTY_TARGET_CUSTOM_TYPE = "target_custom_type"; - private String targetCustomType; - - public static final String JSON_PROPERTY_TARGET_USER_COUNT = "target_user_count"; - private Integer targetUserCount; - - public static final String JSON_PROPERTY_UNIQUE_ID = "unique_id"; - private String uniqueId; - - public SendBirdScheduleAnAnnouncementResponse() { - } - - public SendBirdScheduleAnAnnouncementResponse announcementGroup(String announcementGroup) { - this.announcementGroup = announcementGroup; - return this; - } - - /** - * Get announcementGroup - * @return announcementGroup - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ANNOUNCEMENT_GROUP) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getAnnouncementGroup() { - return announcementGroup; - } - - - @JsonProperty(JSON_PROPERTY_ANNOUNCEMENT_GROUP) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAnnouncementGroup(String announcementGroup) { - this.announcementGroup = announcementGroup; - } - - - public SendBirdScheduleAnAnnouncementResponse ceaseAt(String ceaseAt) { - this.ceaseAt = ceaseAt; - return this; - } - - /** - * Get ceaseAt - * @return ceaseAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CEASE_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCeaseAt() { - return ceaseAt; - } - - - @JsonProperty(JSON_PROPERTY_CEASE_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCeaseAt(String ceaseAt) { - this.ceaseAt = ceaseAt; - } - - - public SendBirdScheduleAnAnnouncementResponse completedAt(Long completedAt) { - this.completedAt = completedAt; - return this; - } - - /** - * Get completedAt - * @return completedAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COMPLETED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCompletedAt() { - return completedAt; - } - - - @JsonProperty(JSON_PROPERTY_COMPLETED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCompletedAt(Long completedAt) { - this.completedAt = completedAt; - } - - - public SendBirdScheduleAnAnnouncementResponse createChannel(Boolean createChannel) { - this.createChannel = createChannel; - return this; - } - - /** - * Get createChannel - * @return createChannel - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getCreateChannel() { - return createChannel; - } - - - @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreateChannel(Boolean createChannel) { - this.createChannel = createChannel; - } - - - public SendBirdScheduleAnAnnouncementResponse createChannelOptions(SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions) { - this.createChannelOptions = createChannelOptions; - return this; - } - - /** - * Get createChannelOptions - * @return createChannelOptions - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL_OPTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdScheduleAnAnnouncementRequestCreateChannelOptions getCreateChannelOptions() { - return createChannelOptions; - } - - - @JsonProperty(JSON_PROPERTY_CREATE_CHANNEL_OPTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreateChannelOptions(SendBirdScheduleAnAnnouncementRequestCreateChannelOptions createChannelOptions) { - this.createChannelOptions = createChannelOptions; - } - - - public SendBirdScheduleAnAnnouncementResponse enablePush(Boolean enablePush) { - this.enablePush = enablePush; - return this; - } - - /** - * Get enablePush - * @return enablePush - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnablePush() { - return enablePush; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnablePush(Boolean enablePush) { - this.enablePush = enablePush; - } - - - public SendBirdScheduleAnAnnouncementResponse endAt(Long endAt) { - this.endAt = endAt; - return this; - } - - /** - * Get endAt - * @return endAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_END_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getEndAt() { - return endAt; - } - - - @JsonProperty(JSON_PROPERTY_END_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEndAt(Long endAt) { - this.endAt = endAt; - } - - - public SendBirdScheduleAnAnnouncementResponse markAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - return this; - } - - /** - * Get markAsRead - * @return markAsRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getMarkAsRead() { - return markAsRead; - } - - - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMarkAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - } - - - public SendBirdScheduleAnAnnouncementResponse message(SendBirdScheduleAnAnnouncementResponseMessage message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdScheduleAnAnnouncementResponseMessage getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(SendBirdScheduleAnAnnouncementResponseMessage message) { - this.message = message; - } - - - public SendBirdScheduleAnAnnouncementResponse openCount(Integer openCount) { - this.openCount = openCount; - return this; - } - - /** - * Get openCount - * @return openCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_OPEN_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getOpenCount() { - return openCount; - } - - - @JsonProperty(JSON_PROPERTY_OPEN_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOpenCount(Integer openCount) { - this.openCount = openCount; - } - - - public SendBirdScheduleAnAnnouncementResponse openRate(BigDecimal openRate) { - this.openRate = openRate; - return this; - } - - /** - * Get openRate - * @return openRate - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_OPEN_RATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public BigDecimal getOpenRate() { - return openRate; - } - - - @JsonProperty(JSON_PROPERTY_OPEN_RATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOpenRate(BigDecimal openRate) { - this.openRate = openRate; - } - - - public SendBirdScheduleAnAnnouncementResponse priority(String priority) { - this.priority = priority; - return this; - } - - /** - * Get priority - * @return priority - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PRIORITY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getPriority() { - return priority; - } - - - @JsonProperty(JSON_PROPERTY_PRIORITY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPriority(String priority) { - this.priority = priority; - } - - - public SendBirdScheduleAnAnnouncementResponse resumeAt(String resumeAt) { - this.resumeAt = resumeAt; - return this; - } - - /** - * Get resumeAt - * @return resumeAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_RESUME_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getResumeAt() { - return resumeAt; - } - - - @JsonProperty(JSON_PROPERTY_RESUME_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setResumeAt(String resumeAt) { - this.resumeAt = resumeAt; - } - - - public SendBirdScheduleAnAnnouncementResponse scheduledAt(Long scheduledAt) { - this.scheduledAt = scheduledAt; - return this; - } - - /** - * Get scheduledAt - * @return scheduledAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getScheduledAt() { - return scheduledAt; - } - - - @JsonProperty(JSON_PROPERTY_SCHEDULED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setScheduledAt(Long scheduledAt) { - this.scheduledAt = scheduledAt; - } - - - public SendBirdScheduleAnAnnouncementResponse sendToFrozenChannels(Boolean sendToFrozenChannels) { - this.sendToFrozenChannels = sendToFrozenChannels; - return this; - } - - /** - * Get sendToFrozenChannels - * @return sendToFrozenChannels - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getSendToFrozenChannels() { - return sendToFrozenChannels; - } - - - @JsonProperty(JSON_PROPERTY_SEND_TO_FROZEN_CHANNELS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSendToFrozenChannels(Boolean sendToFrozenChannels) { - this.sendToFrozenChannels = sendToFrozenChannels; - } - - - public SendBirdScheduleAnAnnouncementResponse sentChannelCount(Integer sentChannelCount) { - this.sentChannelCount = sentChannelCount; - return this; - } - - /** - * Get sentChannelCount - * @return sentChannelCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SENT_CHANNEL_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getSentChannelCount() { - return sentChannelCount; - } - - - @JsonProperty(JSON_PROPERTY_SENT_CHANNEL_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSentChannelCount(Integer sentChannelCount) { - this.sentChannelCount = sentChannelCount; - } - - - public SendBirdScheduleAnAnnouncementResponse sentUserCount(Integer sentUserCount) { - this.sentUserCount = sentUserCount; - return this; - } - - /** - * Get sentUserCount - * @return sentUserCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SENT_USER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getSentUserCount() { - return sentUserCount; - } - - - @JsonProperty(JSON_PROPERTY_SENT_USER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSentUserCount(Integer sentUserCount) { - this.sentUserCount = sentUserCount; - } - - - public SendBirdScheduleAnAnnouncementResponse status(String status) { - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getStatus() { - return status; - } - - - @JsonProperty(JSON_PROPERTY_STATUS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setStatus(String status) { - this.status = status; - } - - - public SendBirdScheduleAnAnnouncementResponse targetAt(String targetAt) { - this.targetAt = targetAt; - return this; - } - - /** - * Get targetAt - * @return targetAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TARGET_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTargetAt() { - return targetAt; - } - - - @JsonProperty(JSON_PROPERTY_TARGET_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTargetAt(String targetAt) { - this.targetAt = targetAt; - } - - - public SendBirdScheduleAnAnnouncementResponse targetChannelCount(Integer targetChannelCount) { - this.targetChannelCount = targetChannelCount; - return this; - } - - /** - * Get targetChannelCount - * @return targetChannelCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getTargetChannelCount() { - return targetChannelCount; - } - - - @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTargetChannelCount(Integer targetChannelCount) { - this.targetChannelCount = targetChannelCount; - } - - - public SendBirdScheduleAnAnnouncementResponse targetChannelType(String targetChannelType) { - this.targetChannelType = targetChannelType; - return this; - } - - /** - * Get targetChannelType - * @return targetChannelType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTargetChannelType() { - return targetChannelType; - } - - - @JsonProperty(JSON_PROPERTY_TARGET_CHANNEL_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTargetChannelType(String targetChannelType) { - this.targetChannelType = targetChannelType; - } - - - public SendBirdScheduleAnAnnouncementResponse targetCustomType(String targetCustomType) { - this.targetCustomType = targetCustomType; - return this; - } - - /** - * Get targetCustomType - * @return targetCustomType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TARGET_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTargetCustomType() { - return targetCustomType; - } - - - @JsonProperty(JSON_PROPERTY_TARGET_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTargetCustomType(String targetCustomType) { - this.targetCustomType = targetCustomType; - } - - - public SendBirdScheduleAnAnnouncementResponse targetUserCount(Integer targetUserCount) { - this.targetUserCount = targetUserCount; - return this; - } - - /** - * Get targetUserCount - * @return targetUserCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TARGET_USER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getTargetUserCount() { - return targetUserCount; - } - - - @JsonProperty(JSON_PROPERTY_TARGET_USER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTargetUserCount(Integer targetUserCount) { - this.targetUserCount = targetUserCount; - } - - - public SendBirdScheduleAnAnnouncementResponse uniqueId(String uniqueId) { - this.uniqueId = uniqueId; - return this; - } - - /** - * Get uniqueId - * @return uniqueId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNIQUE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getUniqueId() { - return uniqueId; - } - - - @JsonProperty(JSON_PROPERTY_UNIQUE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUniqueId(String uniqueId) { - this.uniqueId = uniqueId; - } - - - /** - * Return true if this scheduleAnAnnouncementResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdScheduleAnAnnouncementResponse scheduleAnAnnouncementResponse = (SendBirdScheduleAnAnnouncementResponse) o; - return Objects.equals(this.announcementGroup, scheduleAnAnnouncementResponse.announcementGroup) && - Objects.equals(this.ceaseAt, scheduleAnAnnouncementResponse.ceaseAt) && - Objects.equals(this.completedAt, scheduleAnAnnouncementResponse.completedAt) && - Objects.equals(this.createChannel, scheduleAnAnnouncementResponse.createChannel) && - Objects.equals(this.createChannelOptions, scheduleAnAnnouncementResponse.createChannelOptions) && - Objects.equals(this.enablePush, scheduleAnAnnouncementResponse.enablePush) && - Objects.equals(this.endAt, scheduleAnAnnouncementResponse.endAt) && - Objects.equals(this.markAsRead, scheduleAnAnnouncementResponse.markAsRead) && - Objects.equals(this.message, scheduleAnAnnouncementResponse.message) && - Objects.equals(this.openCount, scheduleAnAnnouncementResponse.openCount) && - Objects.equals(this.openRate, scheduleAnAnnouncementResponse.openRate) && - Objects.equals(this.priority, scheduleAnAnnouncementResponse.priority) && - Objects.equals(this.resumeAt, scheduleAnAnnouncementResponse.resumeAt) && - Objects.equals(this.scheduledAt, scheduleAnAnnouncementResponse.scheduledAt) && - Objects.equals(this.sendToFrozenChannels, scheduleAnAnnouncementResponse.sendToFrozenChannels) && - Objects.equals(this.sentChannelCount, scheduleAnAnnouncementResponse.sentChannelCount) && - Objects.equals(this.sentUserCount, scheduleAnAnnouncementResponse.sentUserCount) && - Objects.equals(this.status, scheduleAnAnnouncementResponse.status) && - Objects.equals(this.targetAt, scheduleAnAnnouncementResponse.targetAt) && - Objects.equals(this.targetChannelCount, scheduleAnAnnouncementResponse.targetChannelCount) && - Objects.equals(this.targetChannelType, scheduleAnAnnouncementResponse.targetChannelType) && - Objects.equals(this.targetCustomType, scheduleAnAnnouncementResponse.targetCustomType) && - Objects.equals(this.targetUserCount, scheduleAnAnnouncementResponse.targetUserCount) && - Objects.equals(this.uniqueId, scheduleAnAnnouncementResponse.uniqueId); - } - - @Override - public int hashCode() { - return Objects.hash(announcementGroup, ceaseAt, completedAt, createChannel, createChannelOptions, enablePush, endAt, markAsRead, message, openCount, openRate, priority, resumeAt, scheduledAt, sendToFrozenChannels, sentChannelCount, sentUserCount, status, targetAt, targetChannelCount, targetChannelType, targetCustomType, targetUserCount, uniqueId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdScheduleAnAnnouncementResponse {\n"); - sb.append(" announcementGroup: ").append(toIndentedString(announcementGroup)).append("\n"); - sb.append(" ceaseAt: ").append(toIndentedString(ceaseAt)).append("\n"); - sb.append(" completedAt: ").append(toIndentedString(completedAt)).append("\n"); - sb.append(" createChannel: ").append(toIndentedString(createChannel)).append("\n"); - sb.append(" createChannelOptions: ").append(toIndentedString(createChannelOptions)).append("\n"); - sb.append(" enablePush: ").append(toIndentedString(enablePush)).append("\n"); - sb.append(" endAt: ").append(toIndentedString(endAt)).append("\n"); - sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" openCount: ").append(toIndentedString(openCount)).append("\n"); - sb.append(" openRate: ").append(toIndentedString(openRate)).append("\n"); - sb.append(" priority: ").append(toIndentedString(priority)).append("\n"); - sb.append(" resumeAt: ").append(toIndentedString(resumeAt)).append("\n"); - sb.append(" scheduledAt: ").append(toIndentedString(scheduledAt)).append("\n"); - sb.append(" sendToFrozenChannels: ").append(toIndentedString(sendToFrozenChannels)).append("\n"); - sb.append(" sentChannelCount: ").append(toIndentedString(sentChannelCount)).append("\n"); - sb.append(" sentUserCount: ").append(toIndentedString(sentUserCount)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" targetAt: ").append(toIndentedString(targetAt)).append("\n"); - sb.append(" targetChannelCount: ").append(toIndentedString(targetChannelCount)).append("\n"); - sb.append(" targetChannelType: ").append(toIndentedString(targetChannelType)).append("\n"); - sb.append(" targetCustomType: ").append(toIndentedString(targetCustomType)).append("\n"); - sb.append(" targetUserCount: ").append(toIndentedString(targetUserCount)).append("\n"); - sb.append(" uniqueId: ").append(toIndentedString(uniqueId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java b/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java deleted file mode 100644 index 9ccbfbc3..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessage.java +++ /dev/null @@ -1,273 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdScheduleAnAnnouncementResponseMessage - */ -@JsonPropertyOrder({ - SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_CONTENT, - SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_DATA, - SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_MESSAGE_RETENTION_HOUR, - SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_TYPE, - SendBirdScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_USER_ID -}) -@JsonTypeName("scheduleAnAnnouncementResponse_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdScheduleAnAnnouncementResponseMessage { - public static final String JSON_PROPERTY_CONTENT = "content"; - private String content; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_MESSAGE_RETENTION_HOUR = "message_retention_hour"; - private Integer messageRetentionHour; - - public static final String JSON_PROPERTY_TYPE = "type"; - private String type; - - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - public SendBirdScheduleAnAnnouncementResponseMessage() { - } - - public SendBirdScheduleAnAnnouncementResponseMessage content(String content) { - this.content = content; - return this; - } - - /** - * Get content - * @return content - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CONTENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getContent() { - return content; - } - - - @JsonProperty(JSON_PROPERTY_CONTENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setContent(String content) { - this.content = content; - } - - - public SendBirdScheduleAnAnnouncementResponseMessage customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdScheduleAnAnnouncementResponseMessage data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdScheduleAnAnnouncementResponseMessage messageRetentionHour(Integer messageRetentionHour) { - this.messageRetentionHour = messageRetentionHour; - return this; - } - - /** - * Get messageRetentionHour - * @return messageRetentionHour - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_RETENTION_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMessageRetentionHour() { - return messageRetentionHour; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_RETENTION_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessageRetentionHour(Integer messageRetentionHour) { - this.messageRetentionHour = messageRetentionHour; - } - - - public SendBirdScheduleAnAnnouncementResponseMessage type(String type) { - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getType() { - return type; - } - - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setType(String type) { - this.type = type; - } - - - public SendBirdScheduleAnAnnouncementResponseMessage userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUserId(String userId) { - this.userId = userId; - } - - - /** - * Return true if this scheduleAnAnnouncementResponse_message object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdScheduleAnAnnouncementResponseMessage scheduleAnAnnouncementResponseMessage = (SendBirdScheduleAnAnnouncementResponseMessage) o; - return Objects.equals(this.content, scheduleAnAnnouncementResponseMessage.content) && - Objects.equals(this.customType, scheduleAnAnnouncementResponseMessage.customType) && - Objects.equals(this.data, scheduleAnAnnouncementResponseMessage.data) && - Objects.equals(this.messageRetentionHour, scheduleAnAnnouncementResponseMessage.messageRetentionHour) && - Objects.equals(this.type, scheduleAnAnnouncementResponseMessage.type) && - Objects.equals(this.userId, scheduleAnAnnouncementResponseMessage.userId); - } - - @Override - public int hashCode() { - return Objects.hash(content, customType, data, messageRetentionHour, type, userId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdScheduleAnAnnouncementResponseMessage {\n"); - sb.append(" content: ").append(toIndentedString(content)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" messageRetentionHour: ").append(toIndentedString(messageRetentionHour)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java deleted file mode 100644 index 32b5adc3..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendABotMessageResponse.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendBirdMessageResponse; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendABotMessageResponse - */ -@JsonPropertyOrder({ - SendBirdSendABotMessageResponse.JSON_PROPERTY_MESSAGE -}) -@JsonTypeName("sendABotMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendABotMessageResponse { - public static final String JSON_PROPERTY_MESSAGE = "message"; - private SendBirdSendBirdMessageResponse message; - - public SendBirdSendABotMessageResponse() { - } - - public SendBirdSendABotMessageResponse message(SendBirdSendBirdMessageResponse message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdMessageResponse getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(SendBirdSendBirdMessageResponse message) { - this.message = message; - } - - - /** - * Return true if this sendABotMessageResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendABotMessageResponse sendABotMessageResponse = (SendBirdSendABotMessageResponse) o; - return Objects.equals(this.message, sendABotMessageResponse.message); - } - - @Override - public int hashCode() { - return Objects.hash(message); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendABotMessageResponse {\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java deleted file mode 100644 index d8ded59b..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequest.java +++ /dev/null @@ -1,1015 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplate; -import org.openapitools.client.model.SendBirdSendBirdFile; -import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendAMessageRequest - */ -@JsonPropertyOrder({ - SendBirdSendAMessageRequest.JSON_PROPERTY_MESSAGE_TYPE, - SendBirdSendAMessageRequest.JSON_PROPERTY_USER_ID, - SendBirdSendAMessageRequest.JSON_PROPERTY_MESSAGE, - SendBirdSendAMessageRequest.JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE, - SendBirdSendAMessageRequest.JSON_PROPERTY_POLL_ID, - SendBirdSendAMessageRequest.JSON_PROPERTY_FILES, - SendBirdSendAMessageRequest.JSON_PROPERTY_REQUIRE_AUTH, - SendBirdSendAMessageRequest.JSON_PROPERTY_THUMBNAIL1, - SendBirdSendAMessageRequest.JSON_PROPERTY_THUMBNAIL2, - SendBirdSendAMessageRequest.JSON_PROPERTY_THUMBNAIL3, - SendBirdSendAMessageRequest.JSON_PROPERTY_THUMBNAILS, - SendBirdSendAMessageRequest.JSON_PROPERTY_APNS_BUNDLE_ID, - SendBirdSendAMessageRequest.JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS, - SendBirdSendAMessageRequest.JSON_PROPERTY_CREATED_AT, - SendBirdSendAMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendAMessageRequest.JSON_PROPERTY_DATA, - SendBirdSendAMessageRequest.JSON_PROPERTY_DEDUP_ID, - SendBirdSendAMessageRequest.JSON_PROPERTY_INCLUDE_POLL_DETAILS, - SendBirdSendAMessageRequest.JSON_PROPERTY_IS_SILENT, - SendBirdSendAMessageRequest.JSON_PROPERTY_MARK_AS_READ, - SendBirdSendAMessageRequest.JSON_PROPERTY_MENTION_TYPE, - SendBirdSendAMessageRequest.JSON_PROPERTY_MENTIONED_USER_IDS, - SendBirdSendAMessageRequest.JSON_PROPERTY_SEND_PUSH, - SendBirdSendAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY, - SendBirdSendAMessageRequest.JSON_PROPERTY_SOUND, - SendBirdSendAMessageRequest.JSON_PROPERTY_VOLUME -}) -@JsonTypeName("sendAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendAMessageRequest { - /** - * Gets or Sets messageType - */ - public enum MessageTypeEnum { - MESG("MESG"), - - ADMM("ADMM"), - - FILE("FILE"); - - private String value; - - MessageTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MessageTypeEnum fromValue(String value) { - for (MessageTypeEnum b : MessageTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; - private MessageTypeEnum messageType; - - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private String message; - - public static final String JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE = "push_message_template"; - private SendBirdSendAMessageRequestPushMessageTemplate pushMessageTemplate; - - public static final String JSON_PROPERTY_POLL_ID = "poll_id"; - private Integer pollId; - - public static final String JSON_PROPERTY_FILES = "files"; - private SendBirdSendBirdFile files; - - public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; - private Boolean requireAuth; - - public static final String JSON_PROPERTY_THUMBNAIL1 = "thumbnail1"; - private String thumbnail1; - - public static final String JSON_PROPERTY_THUMBNAIL2 = "thumbnail2"; - private String thumbnail2; - - public static final String JSON_PROPERTY_THUMBNAIL3 = "thumbnail3"; - private String thumbnail3; - - public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; - private List thumbnails = null; - - public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; - private String apnsBundleId; - - public static final String JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS = "apple_critical_alert_options"; - private Object appleCriticalAlertOptions; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; - private String dedupId; - - public static final String JSON_PROPERTY_INCLUDE_POLL_DETAILS = "include_poll_details"; - private Boolean includePollDetails; - - public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; - private Boolean isSilent; - - public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; - private Boolean markAsRead; - - /** - * Gets or Sets mentionType - */ - public enum MentionTypeEnum { - USERS("users"), - - CHANNEL("channel"); - - private String value; - - MentionTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MentionTypeEnum fromValue(String value) { - for (MentionTypeEnum b : MentionTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; - private MentionTypeEnum mentionType; - - public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; - private List mentionedUserIds = null; - - public static final String JSON_PROPERTY_SEND_PUSH = "send_push"; - private Boolean sendPush; - - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; - - public static final String JSON_PROPERTY_SOUND = "sound"; - private String sound; - - public static final String JSON_PROPERTY_VOLUME = "volume"; - private BigDecimal volume; - - public SendBirdSendAMessageRequest() { - } - - public SendBirdSendAMessageRequest messageType(MessageTypeEnum messageType) { - this.messageType = messageType; - return this; - } - - /** - * Get messageType - * @return messageType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public MessageTypeEnum getMessageType() { - return messageType; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessageType(MessageTypeEnum messageType) { - this.messageType = messageType; - } - - - public SendBirdSendAMessageRequest userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserId(String userId) { - this.userId = userId; - } - - - public SendBirdSendAMessageRequest message(String message) { - this.message = message; - return this; - } - - /** - * Specifies the content of the message. * This property is required when message_type is MESG or ADMM. - * @return message - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies the content of the message. * This property is required when message_type is MESG or ADMM.") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(String message) { - this.message = message; - } - - - public SendBirdSendAMessageRequest pushMessageTemplate(SendBirdSendAMessageRequestPushMessageTemplate pushMessageTemplate) { - this.pushMessageTemplate = pushMessageTemplate; - return this; - } - - /** - * Get pushMessageTemplate - * @return pushMessageTemplate - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendAMessageRequestPushMessageTemplate getPushMessageTemplate() { - return pushMessageTemplate; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushMessageTemplate(SendBirdSendAMessageRequestPushMessageTemplate pushMessageTemplate) { - this.pushMessageTemplate = pushMessageTemplate; - } - - - public SendBirdSendAMessageRequest pollId(Integer pollId) { - this.pollId = pollId; - return this; - } - - /** - * Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG. - * @return pollId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG.") - @JsonProperty(JSON_PROPERTY_POLL_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getPollId() { - return pollId; - } - - - @JsonProperty(JSON_PROPERTY_POLL_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPollId(Integer pollId) { - this.pollId = pollId; - } - - - public SendBirdSendAMessageRequest files(SendBirdSendBirdFile files) { - this.files = files; - return this; - } - - /** - * Get files - * @return files - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FILES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdFile getFiles() { - return files; - } - - - @JsonProperty(JSON_PROPERTY_FILES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(SendBirdSendBirdFile files) { - this.files = files; - } - - - public SendBirdSendAMessageRequest requireAuth(Boolean requireAuth) { - this.requireAuth = requireAuth; - return this; - } - - /** - * Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. - * @return requireAuth - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file.") - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getRequireAuth() { - return requireAuth; - } - - - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRequireAuth(Boolean requireAuth) { - this.requireAuth = requireAuth; - } - - - public SendBirdSendAMessageRequest thumbnail1(String thumbnail1) { - this.thumbnail1 = thumbnail1; - return this; - } - - /** - * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. - * @return thumbnail1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") - @JsonProperty(JSON_PROPERTY_THUMBNAIL1) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getThumbnail1() { - return thumbnail1; - } - - - @JsonProperty(JSON_PROPERTY_THUMBNAIL1) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnail1(String thumbnail1) { - this.thumbnail1 = thumbnail1; - } - - - public SendBirdSendAMessageRequest thumbnail2(String thumbnail2) { - this.thumbnail2 = thumbnail2; - return this; - } - - /** - * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. - * @return thumbnail2 - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") - @JsonProperty(JSON_PROPERTY_THUMBNAIL2) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getThumbnail2() { - return thumbnail2; - } - - - @JsonProperty(JSON_PROPERTY_THUMBNAIL2) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnail2(String thumbnail2) { - this.thumbnail2 = thumbnail2; - } - - - public SendBirdSendAMessageRequest thumbnail3(String thumbnail3) { - this.thumbnail3 = thumbnail3; - return this; - } - - /** - * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. - * @return thumbnail3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") - @JsonProperty(JSON_PROPERTY_THUMBNAIL3) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getThumbnail3() { - return thumbnail3; - } - - - @JsonProperty(JSON_PROPERTY_THUMBNAIL3) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnail3(String thumbnail3) { - this.thumbnail3 = thumbnail3; - } - - - public SendBirdSendAMessageRequest thumbnails(List thumbnails) { - this.thumbnails = thumbnails; - return this; - } - - public SendBirdSendAMessageRequest addThumbnailsItem(String thumbnailsItem) { - if (this.thumbnails == null) { - this.thumbnails = new ArrayList<>(); - } - this.thumbnails.add(thumbnailsItem); - return this; - } - - /** - * Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. - * @return thumbnails - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE.") - @JsonProperty(JSON_PROPERTY_THUMBNAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getThumbnails() { - return thumbnails; - } - - - @JsonProperty(JSON_PROPERTY_THUMBNAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnails(List thumbnails) { - this.thumbnails = thumbnails; - } - - - public SendBirdSendAMessageRequest apnsBundleId(String apnsBundleId) { - this.apnsBundleId = apnsBundleId; - return this; - } - - /** - * Get apnsBundleId - * @return apnsBundleId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getApnsBundleId() { - return apnsBundleId; - } - - - @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setApnsBundleId(String apnsBundleId) { - this.apnsBundleId = apnsBundleId; - } - - - public SendBirdSendAMessageRequest appleCriticalAlertOptions(Object appleCriticalAlertOptions) { - this.appleCriticalAlertOptions = appleCriticalAlertOptions; - return this; - } - - /** - * Get appleCriticalAlertOptions - * @return appleCriticalAlertOptions - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getAppleCriticalAlertOptions() { - return appleCriticalAlertOptions; - } - - - @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAppleCriticalAlertOptions(Object appleCriticalAlertOptions) { - this.appleCriticalAlertOptions = appleCriticalAlertOptions; - } - - - public SendBirdSendAMessageRequest createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdSendAMessageRequest customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdSendAMessageRequest data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdSendAMessageRequest dedupId(String dedupId) { - this.dedupId = dedupId; - return this; - } - - /** - * Get dedupId - * @return dedupId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getDedupId() { - return dedupId; - } - - - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDedupId(String dedupId) { - this.dedupId = dedupId; - } - - - public SendBirdSendAMessageRequest includePollDetails(Boolean includePollDetails) { - this.includePollDetails = includePollDetails; - return this; - } - - /** - * Get includePollDetails - * @return includePollDetails - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INCLUDE_POLL_DETAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIncludePollDetails() { - return includePollDetails; - } - - - @JsonProperty(JSON_PROPERTY_INCLUDE_POLL_DETAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIncludePollDetails(Boolean includePollDetails) { - this.includePollDetails = includePollDetails; - } - - - public SendBirdSendAMessageRequest isSilent(Boolean isSilent) { - this.isSilent = isSilent; - return this; - } - - /** - * Get isSilent - * @return isSilent - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsSilent() { - return isSilent; - } - - - @JsonProperty(JSON_PROPERTY_IS_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsSilent(Boolean isSilent) { - this.isSilent = isSilent; - } - - - public SendBirdSendAMessageRequest markAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - return this; - } - - /** - * Get markAsRead - * @return markAsRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getMarkAsRead() { - return markAsRead; - } - - - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMarkAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - } - - - public SendBirdSendAMessageRequest mentionType(MentionTypeEnum mentionType) { - this.mentionType = mentionType; - return this; - } - - /** - * Get mentionType - * @return mentionType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public MentionTypeEnum getMentionType() { - return mentionType; - } - - - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionType(MentionTypeEnum mentionType) { - this.mentionType = mentionType; - } - - - public SendBirdSendAMessageRequest mentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - return this; - } - - public SendBirdSendAMessageRequest addMentionedUserIdsItem(String mentionedUserIdsItem) { - if (this.mentionedUserIds == null) { - this.mentionedUserIds = new ArrayList<>(); - } - this.mentionedUserIds.add(mentionedUserIdsItem); - return this; - } - - /** - * Get mentionedUserIds - * @return mentionedUserIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMentionedUserIds() { - return mentionedUserIds; - } - - - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - } - - - public SendBirdSendAMessageRequest sendPush(Boolean sendPush) { - this.sendPush = sendPush; - return this; - } - - /** - * Get sendPush - * @return sendPush - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SEND_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getSendPush() { - return sendPush; - } - - - @JsonProperty(JSON_PROPERTY_SEND_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSendPush(Boolean sendPush) { - this.sendPush = sendPush; - } - - - public SendBirdSendAMessageRequest sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdSendAMessageRequest addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { - if (this.sortedMetaarray == null) { - this.sortedMetaarray = new ArrayList<>(); - } - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - public SendBirdSendAMessageRequest sound(String sound) { - this.sound = sound; - return this; - } - - /** - * Get sound - * @return sound - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getSound() { - return sound; - } - - - @JsonProperty(JSON_PROPERTY_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSound(String sound) { - this.sound = sound; - } - - - public SendBirdSendAMessageRequest volume(BigDecimal volume) { - this.volume = volume; - return this; - } - - /** - * Get volume - * @return volume - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_VOLUME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public BigDecimal getVolume() { - return volume; - } - - - @JsonProperty(JSON_PROPERTY_VOLUME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVolume(BigDecimal volume) { - this.volume = volume; - } - - - /** - * Return true if this sendAMessage_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendAMessageRequest sendAMessageRequest = (SendBirdSendAMessageRequest) o; - return Objects.equals(this.messageType, sendAMessageRequest.messageType) && - Objects.equals(this.userId, sendAMessageRequest.userId) && - Objects.equals(this.message, sendAMessageRequest.message) && - Objects.equals(this.pushMessageTemplate, sendAMessageRequest.pushMessageTemplate) && - Objects.equals(this.pollId, sendAMessageRequest.pollId) && - Objects.equals(this.files, sendAMessageRequest.files) && - Objects.equals(this.requireAuth, sendAMessageRequest.requireAuth) && - Objects.equals(this.thumbnail1, sendAMessageRequest.thumbnail1) && - Objects.equals(this.thumbnail2, sendAMessageRequest.thumbnail2) && - Objects.equals(this.thumbnail3, sendAMessageRequest.thumbnail3) && - Objects.equals(this.thumbnails, sendAMessageRequest.thumbnails) && - Objects.equals(this.apnsBundleId, sendAMessageRequest.apnsBundleId) && - Objects.equals(this.appleCriticalAlertOptions, sendAMessageRequest.appleCriticalAlertOptions) && - Objects.equals(this.createdAt, sendAMessageRequest.createdAt) && - Objects.equals(this.customType, sendAMessageRequest.customType) && - Objects.equals(this.data, sendAMessageRequest.data) && - Objects.equals(this.dedupId, sendAMessageRequest.dedupId) && - Objects.equals(this.includePollDetails, sendAMessageRequest.includePollDetails) && - Objects.equals(this.isSilent, sendAMessageRequest.isSilent) && - Objects.equals(this.markAsRead, sendAMessageRequest.markAsRead) && - Objects.equals(this.mentionType, sendAMessageRequest.mentionType) && - Objects.equals(this.mentionedUserIds, sendAMessageRequest.mentionedUserIds) && - Objects.equals(this.sendPush, sendAMessageRequest.sendPush) && - Objects.equals(this.sortedMetaarray, sendAMessageRequest.sortedMetaarray) && - Objects.equals(this.sound, sendAMessageRequest.sound) && - Objects.equals(this.volume, sendAMessageRequest.volume); - } - - @Override - public int hashCode() { - return Objects.hash(messageType, userId, message, pushMessageTemplate, pollId, files, requireAuth, thumbnail1, thumbnail2, thumbnail3, thumbnails, apnsBundleId, appleCriticalAlertOptions, createdAt, customType, data, dedupId, includePollDetails, isSilent, markAsRead, mentionType, mentionedUserIds, sendPush, sortedMetaarray, sound, volume); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendAMessageRequest {\n"); - sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" pushMessageTemplate: ").append(toIndentedString(pushMessageTemplate)).append("\n"); - sb.append(" pollId: ").append(toIndentedString(pollId)).append("\n"); - sb.append(" files: ").append(toIndentedString(files)).append("\n"); - sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); - sb.append(" thumbnail1: ").append(toIndentedString(thumbnail1)).append("\n"); - sb.append(" thumbnail2: ").append(toIndentedString(thumbnail2)).append("\n"); - sb.append(" thumbnail3: ").append(toIndentedString(thumbnail3)).append("\n"); - sb.append(" thumbnails: ").append(toIndentedString(thumbnails)).append("\n"); - sb.append(" apnsBundleId: ").append(toIndentedString(apnsBundleId)).append("\n"); - sb.append(" appleCriticalAlertOptions: ").append(toIndentedString(appleCriticalAlertOptions)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); - sb.append(" includePollDetails: ").append(toIndentedString(includePollDetails)).append("\n"); - sb.append(" isSilent: ").append(toIndentedString(isSilent)).append("\n"); - sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); - sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); - sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); - sb.append(" sendPush: ").append(toIndentedString(sendPush)).append("\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append(" sound: ").append(toIndentedString(sound)).append("\n"); - sb.append(" volume: ").append(toIndentedString(volume)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java deleted file mode 100644 index 03a8af22..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplate.java +++ /dev/null @@ -1,251 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplateOneOf; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - -import com.fasterxml.jackson.core.type.TypeReference; - -import javax.ws.rs.core.GenericType; -import javax.ws.rs.core.Response; -import java.io.IOException; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; - -import com.fasterxml.jackson.core.JsonGenerator; -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.JsonToken; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.DeserializationContext; -import com.fasterxml.jackson.databind.JsonMappingException; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.MapperFeature; -import com.fasterxml.jackson.databind.SerializerProvider; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import com.fasterxml.jackson.databind.deser.std.StdDeserializer; -import com.fasterxml.jackson.databind.ser.std.StdSerializer; -import org.sendbird.client.JSON; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendBirdSendAMessageRequestPushMessageTemplate.SendBirdSendAMessageRequestPushMessageTemplateDeserializer.class) -@JsonSerialize(using = SendBirdSendAMessageRequestPushMessageTemplate.SendBirdSendAMessageRequestPushMessageTemplateSerializer.class) -public class SendBirdSendAMessageRequestPushMessageTemplate extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendBirdSendAMessageRequestPushMessageTemplate.class.getName()); - - public static class SendBirdSendAMessageRequestPushMessageTemplateSerializer extends StdSerializer { - public SendBirdSendAMessageRequestPushMessageTemplateSerializer(Class t) { - super(t); - } - - public SendBirdSendAMessageRequestPushMessageTemplateSerializer() { - this(null); - } - - @Override - public void serialize(SendBirdSendAMessageRequestPushMessageTemplate value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { - jgen.writeObject(value.getActualInstance()); - } - } - - public static class SendBirdSendAMessageRequestPushMessageTemplateDeserializer extends StdDeserializer { - public SendBirdSendAMessageRequestPushMessageTemplateDeserializer() { - this(SendBirdSendAMessageRequestPushMessageTemplate.class); - } - - public SendBirdSendAMessageRequestPushMessageTemplateDeserializer(Class vc) { - super(vc); - } - - @Override - public SendBirdSendAMessageRequestPushMessageTemplate deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { - JsonNode tree = jp.readValueAsTree(); - Object deserialized = null; - boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); - int match = 0; - JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendBirdSendAMessageRequestPushMessageTemplateOneOf - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendAMessageRequestPushMessageTemplateOneOf.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'SendBirdSendAMessageRequestPushMessageTemplateOneOf'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendBirdSendAMessageRequestPushMessageTemplateOneOf'", e); - } - - // deserialize String - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (String.class.equals(Integer.class) || String.class.equals(Long.class) || String.class.equals(Float.class) || String.class.equals(Double.class) || String.class.equals(Boolean.class) || String.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((String.class.equals(Integer.class) || String.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((String.class.equals(Float.class) || String.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (String.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (String.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(String.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'String'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'String'", e); - } - - if (match == 1) { - SendBirdSendAMessageRequestPushMessageTemplate ret = new SendBirdSendAMessageRequestPushMessageTemplate(); - ret.setActualInstance(deserialized); - return ret; - } - throw new IOException(String.format("Failed deserialization for SendBirdSendAMessageRequestPushMessageTemplate: %d classes match result, expected 1", match)); - } - - /** - * Handle deserialization of the 'null' value. - */ - @Override - public SendBirdSendAMessageRequestPushMessageTemplate getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendBirdSendAMessageRequestPushMessageTemplate cannot be null"); - } - } - - // store a list of schema names defined in oneOf - public static final Map schemas = new HashMap(); - - public SendBirdSendAMessageRequestPushMessageTemplate() { - super("oneOf", Boolean.FALSE); - } - - public SendBirdSendAMessageRequestPushMessageTemplate(SendBirdSendAMessageRequestPushMessageTemplateOneOf o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public SendBirdSendAMessageRequestPushMessageTemplate(String o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - static { - schemas.put("SendBirdSendAMessageRequestPushMessageTemplateOneOf", new GenericType() { - }); - schemas.put("String", new GenericType() { - }); - JSON.registerDescendants(SendBirdSendAMessageRequestPushMessageTemplate.class, Collections.unmodifiableMap(schemas)); - } - - @Override - public Map getSchemas() { - return SendBirdSendAMessageRequestPushMessageTemplate.schemas; - } - - /** - * Set the instance that matches the oneOf child schema, check - * the instance parameter is valid against the oneOf child schemas: - * SendBirdSendAMessageRequestPushMessageTemplateOneOf, String - * - * It could be an instance of the 'oneOf' schemas. - * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). - */ - @Override - public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendBirdSendAMessageRequestPushMessageTemplateOneOf.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - if (JSON.isInstanceOf(String.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - throw new RuntimeException("Invalid instance type. Must be SendBirdSendAMessageRequestPushMessageTemplateOneOf, String"); - } - - /** - * Get the actual instance, which can be the following: - * SendBirdSendAMessageRequestPushMessageTemplateOneOf, String - * - * @return The actual instance (SendBirdSendAMessageRequestPushMessageTemplateOneOf, String) - */ - @Override - public Object getActualInstance() { - return super.getActualInstance(); - } - - /** - * Get the actual instance of `SendBirdSendAMessageRequestPushMessageTemplateOneOf`. If the actual instance is not `SendBirdSendAMessageRequestPushMessageTemplateOneOf`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `SendBirdSendAMessageRequestPushMessageTemplateOneOf` - * @throws ClassCastException if the instance is not `SendBirdSendAMessageRequestPushMessageTemplateOneOf` - */ - public SendBirdSendAMessageRequestPushMessageTemplateOneOf getSendBirdSendAMessageRequestPushMessageTemplateOneOf() throws ClassCastException { - return (SendBirdSendAMessageRequestPushMessageTemplateOneOf)super.getActualInstance(); - } - - /** - * Get the actual instance of `String`. If the actual instance is not `String`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `String` - * @throws ClassCastException if the instance is not `String` - */ - public String getString() throws ClassCastException { - return (String)super.getActualInstance(); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java b/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java deleted file mode 100644 index b4632ea5..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOf.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendAMessageRequestPushMessageTemplateOneOf - */ -@JsonPropertyOrder({ - SendBirdSendAMessageRequestPushMessageTemplateOneOf.JSON_PROPERTY_TITLE, - SendBirdSendAMessageRequestPushMessageTemplateOneOf.JSON_PROPERTY_BODY -}) -@JsonTypeName("sendAMessage_request_push_message_template_oneOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendAMessageRequestPushMessageTemplateOneOf { - public static final String JSON_PROPERTY_TITLE = "title"; - private String title; - - public static final String JSON_PROPERTY_BODY = "body"; - private String body; - - public SendBirdSendAMessageRequestPushMessageTemplateOneOf() { - } - - public SendBirdSendAMessageRequestPushMessageTemplateOneOf title(String title) { - this.title = title; - return this; - } - - /** - * Specifies the title of the custom push notification template. You can customize the title using the variables sender_name and message, which can be later replaced with corresponding real values when the template is sent out as a notification request to FCM, HMS, or APNs. - * @return title - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies the title of the custom push notification template. You can customize the title using the variables sender_name and message, which can be later replaced with corresponding real values when the template is sent out as a notification request to FCM, HMS, or APNs.") - @JsonProperty(JSON_PROPERTY_TITLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTitle() { - return title; - } - - - @JsonProperty(JSON_PROPERTY_TITLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTitle(String title) { - this.title = title; - } - - - public SendBirdSendAMessageRequestPushMessageTemplateOneOf body(String body) { - this.body = body; - return this; - } - - /** - * Specifies the body of the custom push notification template. You can customize the body using the variables sender_name and message, which can be later replaced with corresponding real values when the template is sent out as a notification request to FCM, HMS, or APNs. If not specified, the body by default contains the message content inside the message property. - * @return body - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies the body of the custom push notification template. You can customize the body using the variables sender_name and message, which can be later replaced with corresponding real values when the template is sent out as a notification request to FCM, HMS, or APNs. If not specified, the body by default contains the message content inside the message property.") - @JsonProperty(JSON_PROPERTY_BODY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBody() { - return body; - } - - - @JsonProperty(JSON_PROPERTY_BODY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBody(String body) { - this.body = body; - } - - - /** - * Return true if this sendAMessage_request_push_message_template_oneOf object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendAMessageRequestPushMessageTemplateOneOf sendAMessageRequestPushMessageTemplateOneOf = (SendBirdSendAMessageRequestPushMessageTemplateOneOf) o; - return Objects.equals(this.title, sendAMessageRequestPushMessageTemplateOneOf.title) && - Objects.equals(this.body, sendAMessageRequestPushMessageTemplateOneOf.body); - } - - @Override - public int hashCode() { - return Objects.hash(title, body); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendAMessageRequestPushMessageTemplateOneOf {\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" body: ").append(toIndentedString(body)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java deleted file mode 100644 index 91fa87f4..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBody.java +++ /dev/null @@ -1,553 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; -import org.openapitools.client.model.SendBirdSendTextMessageRequestBodyPushMessageTemplate; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendAdminMessageRequestBody - */ -@JsonPropertyOrder({ - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_APNS_BUNDLE_ID, - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_DATA, - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_DEDUP_ID, - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_IS_SILENT, - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_MENTION_TYPE, - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_MENTIONED_USER_IDS, - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_MESSAGE, - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_MESSAGE_TYPE, - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE, - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_SEND_PUSH, - SendBirdSendAdminMessageRequestBody.JSON_PROPERTY_SORTED_METAARRAY -}) -@JsonTypeName("sendAdminMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendAdminMessageRequestBody { - public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; - private String apnsBundleId; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; - private String dedupId; - - public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; - private Boolean isSilent; - - /** - * Gets or Sets mentionType - */ - public enum MentionTypeEnum { - USERS("users"), - - CHANNEL("channel"); - - private String value; - - MentionTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MentionTypeEnum fromValue(String value) { - for (MentionTypeEnum b : MentionTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; - private MentionTypeEnum mentionType; - - public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; - private List mentionedUserIds = null; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private String message; - - /** - * Specifies the type of the message. The value of ADMM represents an admin message. - */ - public enum MessageTypeEnum { - ADMM("ADMM"); - - private String value; - - MessageTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MessageTypeEnum fromValue(String value) { - for (MessageTypeEnum b : MessageTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; - private MessageTypeEnum messageType; - - public static final String JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE = "push_message_template"; - private SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate; - - public static final String JSON_PROPERTY_SEND_PUSH = "send_push"; - private Boolean sendPush; - - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; - - public SendBirdSendAdminMessageRequestBody() { - } - - public SendBirdSendAdminMessageRequestBody apnsBundleId(String apnsBundleId) { - this.apnsBundleId = apnsBundleId; - return this; - } - - /** - * Get apnsBundleId - * @return apnsBundleId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getApnsBundleId() { - return apnsBundleId; - } - - - @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setApnsBundleId(String apnsBundleId) { - this.apnsBundleId = apnsBundleId; - } - - - public SendBirdSendAdminMessageRequestBody customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdSendAdminMessageRequestBody data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdSendAdminMessageRequestBody dedupId(String dedupId) { - this.dedupId = dedupId; - return this; - } - - /** - * Get dedupId - * @return dedupId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getDedupId() { - return dedupId; - } - - - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDedupId(String dedupId) { - this.dedupId = dedupId; - } - - - public SendBirdSendAdminMessageRequestBody isSilent(Boolean isSilent) { - this.isSilent = isSilent; - return this; - } - - /** - * Get isSilent - * @return isSilent - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsSilent() { - return isSilent; - } - - - @JsonProperty(JSON_PROPERTY_IS_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsSilent(Boolean isSilent) { - this.isSilent = isSilent; - } - - - public SendBirdSendAdminMessageRequestBody mentionType(MentionTypeEnum mentionType) { - this.mentionType = mentionType; - return this; - } - - /** - * Get mentionType - * @return mentionType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public MentionTypeEnum getMentionType() { - return mentionType; - } - - - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionType(MentionTypeEnum mentionType) { - this.mentionType = mentionType; - } - - - public SendBirdSendAdminMessageRequestBody mentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - return this; - } - - public SendBirdSendAdminMessageRequestBody addMentionedUserIdsItem(String mentionedUserIdsItem) { - if (this.mentionedUserIds == null) { - this.mentionedUserIds = new ArrayList<>(); - } - this.mentionedUserIds.add(mentionedUserIdsItem); - return this; - } - - /** - * Get mentionedUserIds - * @return mentionedUserIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMentionedUserIds() { - return mentionedUserIds; - } - - - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - } - - - public SendBirdSendAdminMessageRequestBody message(String message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessage(String message) { - this.message = message; - } - - - public SendBirdSendAdminMessageRequestBody messageType(MessageTypeEnum messageType) { - this.messageType = messageType; - return this; - } - - /** - * Specifies the type of the message. The value of ADMM represents an admin message. - * @return messageType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the type of the message. The value of ADMM represents an admin message.") - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public MessageTypeEnum getMessageType() { - return messageType; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessageType(MessageTypeEnum messageType) { - this.messageType = messageType; - } - - - public SendBirdSendAdminMessageRequestBody pushMessageTemplate(SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate) { - this.pushMessageTemplate = pushMessageTemplate; - return this; - } - - /** - * Get pushMessageTemplate - * @return pushMessageTemplate - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendTextMessageRequestBodyPushMessageTemplate getPushMessageTemplate() { - return pushMessageTemplate; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushMessageTemplate(SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate) { - this.pushMessageTemplate = pushMessageTemplate; - } - - - public SendBirdSendAdminMessageRequestBody sendPush(Boolean sendPush) { - this.sendPush = sendPush; - return this; - } - - /** - * Get sendPush - * @return sendPush - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SEND_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getSendPush() { - return sendPush; - } - - - @JsonProperty(JSON_PROPERTY_SEND_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSendPush(Boolean sendPush) { - this.sendPush = sendPush; - } - - - public SendBirdSendAdminMessageRequestBody sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdSendAdminMessageRequestBody addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { - if (this.sortedMetaarray == null) { - this.sortedMetaarray = new ArrayList<>(); - } - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - /** - * Return true if this sendAdminMessageRequestBody object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendAdminMessageRequestBody sendAdminMessageRequestBody = (SendBirdSendAdminMessageRequestBody) o; - return Objects.equals(this.apnsBundleId, sendAdminMessageRequestBody.apnsBundleId) && - Objects.equals(this.customType, sendAdminMessageRequestBody.customType) && - Objects.equals(this.data, sendAdminMessageRequestBody.data) && - Objects.equals(this.dedupId, sendAdminMessageRequestBody.dedupId) && - Objects.equals(this.isSilent, sendAdminMessageRequestBody.isSilent) && - Objects.equals(this.mentionType, sendAdminMessageRequestBody.mentionType) && - Objects.equals(this.mentionedUserIds, sendAdminMessageRequestBody.mentionedUserIds) && - Objects.equals(this.message, sendAdminMessageRequestBody.message) && - Objects.equals(this.messageType, sendAdminMessageRequestBody.messageType) && - Objects.equals(this.pushMessageTemplate, sendAdminMessageRequestBody.pushMessageTemplate) && - Objects.equals(this.sendPush, sendAdminMessageRequestBody.sendPush) && - Objects.equals(this.sortedMetaarray, sendAdminMessageRequestBody.sortedMetaarray); - } - - @Override - public int hashCode() { - return Objects.hash(apnsBundleId, customType, data, dedupId, isSilent, mentionType, mentionedUserIds, message, messageType, pushMessageTemplate, sendPush, sortedMetaarray); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendAdminMessageRequestBody {\n"); - sb.append(" apnsBundleId: ").append(toIndentedString(apnsBundleId)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); - sb.append(" isSilent: ").append(toIndentedString(isSilent)).append("\n"); - sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); - sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); - sb.append(" pushMessageTemplate: ").append(toIndentedString(pushMessageTemplate)).append("\n"); - sb.append(" sendPush: ").append(toIndentedString(sendPush)).append("\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java deleted file mode 100644 index 0239939a..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBody.java +++ /dev/null @@ -1,850 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdFile; -import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendFileMessageRequestBody - */ -@JsonPropertyOrder({ - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_APNS_BUNDLE_ID, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_CREATED_AT, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_DATA, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_DEDUP_ID, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_FILES, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_IS_SILENT, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_MARK_AS_READ, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_MENTION_TYPE, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_MENTIONED_USER_IDS, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_MESSAGE_TYPE, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_REQUIRE_AUTH, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_SEND_PUSH, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_SORTED_METAARRAY, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_SOUND, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_THUMBNAIL1, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_THUMBNAIL2, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_THUMBNAIL3, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_THUMBNAILS, - SendBirdSendFileMessageRequestBody.JSON_PROPERTY_VOLUME -}) -@JsonTypeName("sendFileMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendFileMessageRequestBody { - public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; - private String apnsBundleId; - - public static final String JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS = "apple_critical_alert_options"; - private Object appleCriticalAlertOptions; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; - private String dedupId; - - public static final String JSON_PROPERTY_FILES = "files"; - private SendBirdSendBirdFile files; - - public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; - private Boolean isSilent; - - public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; - private Boolean markAsRead; - - /** - * Gets or Sets mentionType - */ - public enum MentionTypeEnum { - USERS("users"), - - CHANNEL("channel"); - - private String value; - - MentionTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MentionTypeEnum fromValue(String value) { - for (MentionTypeEnum b : MentionTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; - private MentionTypeEnum mentionType; - - public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; - private List mentionedUserIds = null; - - /** - * Specifies the type of the message. The value of FILE represents a file message. - */ - public enum MessageTypeEnum { - FILE("FILE"); - - private String value; - - MessageTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MessageTypeEnum fromValue(String value) { - for (MessageTypeEnum b : MessageTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; - private MessageTypeEnum messageType; - - public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; - private Boolean requireAuth; - - public static final String JSON_PROPERTY_SEND_PUSH = "send_push"; - private Boolean sendPush; - - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; - - public static final String JSON_PROPERTY_SOUND = "sound"; - private String sound; - - public static final String JSON_PROPERTY_THUMBNAIL1 = "thumbnail1"; - private String thumbnail1; - - public static final String JSON_PROPERTY_THUMBNAIL2 = "thumbnail2"; - private String thumbnail2; - - public static final String JSON_PROPERTY_THUMBNAIL3 = "thumbnail3"; - private String thumbnail3; - - public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; - private List thumbnails = null; - - public static final String JSON_PROPERTY_VOLUME = "volume"; - private BigDecimal volume; - - public SendBirdSendFileMessageRequestBody() { - } - - public SendBirdSendFileMessageRequestBody apnsBundleId(String apnsBundleId) { - this.apnsBundleId = apnsBundleId; - return this; - } - - /** - * Get apnsBundleId - * @return apnsBundleId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getApnsBundleId() { - return apnsBundleId; - } - - - @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setApnsBundleId(String apnsBundleId) { - this.apnsBundleId = apnsBundleId; - } - - - public SendBirdSendFileMessageRequestBody appleCriticalAlertOptions(Object appleCriticalAlertOptions) { - this.appleCriticalAlertOptions = appleCriticalAlertOptions; - return this; - } - - /** - * Get appleCriticalAlertOptions - * @return appleCriticalAlertOptions - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getAppleCriticalAlertOptions() { - return appleCriticalAlertOptions; - } - - - @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAppleCriticalAlertOptions(Object appleCriticalAlertOptions) { - this.appleCriticalAlertOptions = appleCriticalAlertOptions; - } - - - public SendBirdSendFileMessageRequestBody createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdSendFileMessageRequestBody customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdSendFileMessageRequestBody data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdSendFileMessageRequestBody dedupId(String dedupId) { - this.dedupId = dedupId; - return this; - } - - /** - * Get dedupId - * @return dedupId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getDedupId() { - return dedupId; - } - - - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDedupId(String dedupId) { - this.dedupId = dedupId; - } - - - public SendBirdSendFileMessageRequestBody files(SendBirdSendBirdFile files) { - this.files = files; - return this; - } - - /** - * Get files - * @return files - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_FILES) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public SendBirdSendBirdFile getFiles() { - return files; - } - - - @JsonProperty(JSON_PROPERTY_FILES) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setFiles(SendBirdSendBirdFile files) { - this.files = files; - } - - - public SendBirdSendFileMessageRequestBody isSilent(Boolean isSilent) { - this.isSilent = isSilent; - return this; - } - - /** - * Get isSilent - * @return isSilent - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsSilent() { - return isSilent; - } - - - @JsonProperty(JSON_PROPERTY_IS_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsSilent(Boolean isSilent) { - this.isSilent = isSilent; - } - - - public SendBirdSendFileMessageRequestBody markAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - return this; - } - - /** - * Get markAsRead - * @return markAsRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getMarkAsRead() { - return markAsRead; - } - - - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMarkAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - } - - - public SendBirdSendFileMessageRequestBody mentionType(MentionTypeEnum mentionType) { - this.mentionType = mentionType; - return this; - } - - /** - * Get mentionType - * @return mentionType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public MentionTypeEnum getMentionType() { - return mentionType; - } - - - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionType(MentionTypeEnum mentionType) { - this.mentionType = mentionType; - } - - - public SendBirdSendFileMessageRequestBody mentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - return this; - } - - public SendBirdSendFileMessageRequestBody addMentionedUserIdsItem(String mentionedUserIdsItem) { - if (this.mentionedUserIds == null) { - this.mentionedUserIds = new ArrayList<>(); - } - this.mentionedUserIds.add(mentionedUserIdsItem); - return this; - } - - /** - * Get mentionedUserIds - * @return mentionedUserIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMentionedUserIds() { - return mentionedUserIds; - } - - - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - } - - - public SendBirdSendFileMessageRequestBody messageType(MessageTypeEnum messageType) { - this.messageType = messageType; - return this; - } - - /** - * Specifies the type of the message. The value of FILE represents a file message. - * @return messageType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the type of the message. The value of FILE represents a file message.") - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public MessageTypeEnum getMessageType() { - return messageType; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessageType(MessageTypeEnum messageType) { - this.messageType = messageType; - } - - - public SendBirdSendFileMessageRequestBody requireAuth(Boolean requireAuth) { - this.requireAuth = requireAuth; - return this; - } - - /** - * Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. - * @return requireAuth - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file.") - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getRequireAuth() { - return requireAuth; - } - - - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRequireAuth(Boolean requireAuth) { - this.requireAuth = requireAuth; - } - - - public SendBirdSendFileMessageRequestBody sendPush(Boolean sendPush) { - this.sendPush = sendPush; - return this; - } - - /** - * Get sendPush - * @return sendPush - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SEND_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getSendPush() { - return sendPush; - } - - - @JsonProperty(JSON_PROPERTY_SEND_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSendPush(Boolean sendPush) { - this.sendPush = sendPush; - } - - - public SendBirdSendFileMessageRequestBody sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdSendFileMessageRequestBody addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { - if (this.sortedMetaarray == null) { - this.sortedMetaarray = new ArrayList<>(); - } - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - public SendBirdSendFileMessageRequestBody sound(String sound) { - this.sound = sound; - return this; - } - - /** - * Get sound - * @return sound - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getSound() { - return sound; - } - - - @JsonProperty(JSON_PROPERTY_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSound(String sound) { - this.sound = sound; - } - - - public SendBirdSendFileMessageRequestBody thumbnail1(String thumbnail1) { - this.thumbnail1 = thumbnail1; - return this; - } - - /** - * Get thumbnail1 - * @return thumbnail1 - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_THUMBNAIL1) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getThumbnail1() { - return thumbnail1; - } - - - @JsonProperty(JSON_PROPERTY_THUMBNAIL1) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnail1(String thumbnail1) { - this.thumbnail1 = thumbnail1; - } - - - public SendBirdSendFileMessageRequestBody thumbnail2(String thumbnail2) { - this.thumbnail2 = thumbnail2; - return this; - } - - /** - * Get thumbnail2 - * @return thumbnail2 - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_THUMBNAIL2) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getThumbnail2() { - return thumbnail2; - } - - - @JsonProperty(JSON_PROPERTY_THUMBNAIL2) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnail2(String thumbnail2) { - this.thumbnail2 = thumbnail2; - } - - - public SendBirdSendFileMessageRequestBody thumbnail3(String thumbnail3) { - this.thumbnail3 = thumbnail3; - return this; - } - - /** - * Get thumbnail3 - * @return thumbnail3 - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_THUMBNAIL3) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getThumbnail3() { - return thumbnail3; - } - - - @JsonProperty(JSON_PROPERTY_THUMBNAIL3) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnail3(String thumbnail3) { - this.thumbnail3 = thumbnail3; - } - - - public SendBirdSendFileMessageRequestBody thumbnails(List thumbnails) { - this.thumbnails = thumbnails; - return this; - } - - public SendBirdSendFileMessageRequestBody addThumbnailsItem(String thumbnailsItem) { - if (this.thumbnails == null) { - this.thumbnails = new ArrayList<>(); - } - this.thumbnails.add(thumbnailsItem); - return this; - } - - /** - * Get thumbnails - * @return thumbnails - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_THUMBNAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getThumbnails() { - return thumbnails; - } - - - @JsonProperty(JSON_PROPERTY_THUMBNAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnails(List thumbnails) { - this.thumbnails = thumbnails; - } - - - public SendBirdSendFileMessageRequestBody volume(BigDecimal volume) { - this.volume = volume; - return this; - } - - /** - * Get volume - * @return volume - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_VOLUME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public BigDecimal getVolume() { - return volume; - } - - - @JsonProperty(JSON_PROPERTY_VOLUME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVolume(BigDecimal volume) { - this.volume = volume; - } - - - /** - * Return true if this sendFileMessageRequestBody object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendFileMessageRequestBody sendFileMessageRequestBody = (SendBirdSendFileMessageRequestBody) o; - return Objects.equals(this.apnsBundleId, sendFileMessageRequestBody.apnsBundleId) && - Objects.equals(this.appleCriticalAlertOptions, sendFileMessageRequestBody.appleCriticalAlertOptions) && - Objects.equals(this.createdAt, sendFileMessageRequestBody.createdAt) && - Objects.equals(this.customType, sendFileMessageRequestBody.customType) && - Objects.equals(this.data, sendFileMessageRequestBody.data) && - Objects.equals(this.dedupId, sendFileMessageRequestBody.dedupId) && - Objects.equals(this.files, sendFileMessageRequestBody.files) && - Objects.equals(this.isSilent, sendFileMessageRequestBody.isSilent) && - Objects.equals(this.markAsRead, sendFileMessageRequestBody.markAsRead) && - Objects.equals(this.mentionType, sendFileMessageRequestBody.mentionType) && - Objects.equals(this.mentionedUserIds, sendFileMessageRequestBody.mentionedUserIds) && - Objects.equals(this.messageType, sendFileMessageRequestBody.messageType) && - Objects.equals(this.requireAuth, sendFileMessageRequestBody.requireAuth) && - Objects.equals(this.sendPush, sendFileMessageRequestBody.sendPush) && - Objects.equals(this.sortedMetaarray, sendFileMessageRequestBody.sortedMetaarray) && - Objects.equals(this.sound, sendFileMessageRequestBody.sound) && - Objects.equals(this.thumbnail1, sendFileMessageRequestBody.thumbnail1) && - Objects.equals(this.thumbnail2, sendFileMessageRequestBody.thumbnail2) && - Objects.equals(this.thumbnail3, sendFileMessageRequestBody.thumbnail3) && - Objects.equals(this.thumbnails, sendFileMessageRequestBody.thumbnails) && - Objects.equals(this.volume, sendFileMessageRequestBody.volume); - } - - @Override - public int hashCode() { - return Objects.hash(apnsBundleId, appleCriticalAlertOptions, createdAt, customType, data, dedupId, files, isSilent, markAsRead, mentionType, mentionedUserIds, messageType, requireAuth, sendPush, sortedMetaarray, sound, thumbnail1, thumbnail2, thumbnail3, thumbnails, volume); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendFileMessageRequestBody {\n"); - sb.append(" apnsBundleId: ").append(toIndentedString(apnsBundleId)).append("\n"); - sb.append(" appleCriticalAlertOptions: ").append(toIndentedString(appleCriticalAlertOptions)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); - sb.append(" files: ").append(toIndentedString(files)).append("\n"); - sb.append(" isSilent: ").append(toIndentedString(isSilent)).append("\n"); - sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); - sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); - sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); - sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); - sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); - sb.append(" sendPush: ").append(toIndentedString(sendPush)).append("\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append(" sound: ").append(toIndentedString(sound)).append("\n"); - sb.append(" thumbnail1: ").append(toIndentedString(thumbnail1)).append("\n"); - sb.append(" thumbnail2: ").append(toIndentedString(thumbnail2)).append("\n"); - sb.append(" thumbnail3: ").append(toIndentedString(thumbnail3)).append("\n"); - sb.append(" thumbnails: ").append(toIndentedString(thumbnails)).append("\n"); - sb.append(" volume: ").append(toIndentedString(volume)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java deleted file mode 100644 index 6719660b..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBody.java +++ /dev/null @@ -1,778 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; -import org.openapitools.client.model.SendBirdSendTextMessageRequestBodyPushMessageTemplate; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendTextMessageRequestBody - */ -@JsonPropertyOrder({ - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_APNS_BUNDLE_ID, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_CREATED_AT, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_DATA, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_DEDUP_ID, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_INCLUDE_POLL_DETAILS, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_IS_SILENT, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_MARK_AS_READ, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_MENTION_TYPE, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_MENTIONED_USER_IDS, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_MESSAGE, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_MESSAGE_TYPE, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_POLL_ID, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_SEND_PUSH, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_SORTED_METAARRAY, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_SOUND, - SendBirdSendTextMessageRequestBody.JSON_PROPERTY_VOLUME -}) -@JsonTypeName("sendTextMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendTextMessageRequestBody { - public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; - private String apnsBundleId; - - public static final String JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS = "apple_critical_alert_options"; - private Object appleCriticalAlertOptions; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DEDUP_ID = "dedup_id"; - private String dedupId; - - public static final String JSON_PROPERTY_INCLUDE_POLL_DETAILS = "include_poll_details"; - private Boolean includePollDetails; - - public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; - private Boolean isSilent; - - public static final String JSON_PROPERTY_MARK_AS_READ = "mark_as_read"; - private Boolean markAsRead; - - /** - * Gets or Sets mentionType - */ - public enum MentionTypeEnum { - USERS("users"), - - CHANNEL("channel"); - - private String value; - - MentionTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MentionTypeEnum fromValue(String value) { - for (MentionTypeEnum b : MentionTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; - private MentionTypeEnum mentionType; - - public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; - private List mentionedUserIds = null; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private String message; - - /** - * Specifies the type of the message. The value of MESG represents a text message. - */ - public enum MessageTypeEnum { - MESG("MESG"); - - private String value; - - MessageTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MessageTypeEnum fromValue(String value) { - for (MessageTypeEnum b : MessageTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; - private MessageTypeEnum messageType; - - public static final String JSON_PROPERTY_POLL_ID = "poll_id"; - private Integer pollId; - - public static final String JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE = "push_message_template"; - private SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate; - - public static final String JSON_PROPERTY_SEND_PUSH = "send_push"; - private Boolean sendPush; - - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; - - public static final String JSON_PROPERTY_SOUND = "sound"; - private String sound; - - public static final String JSON_PROPERTY_VOLUME = "volume"; - private BigDecimal volume; - - public SendBirdSendTextMessageRequestBody() { - } - - public SendBirdSendTextMessageRequestBody apnsBundleId(String apnsBundleId) { - this.apnsBundleId = apnsBundleId; - return this; - } - - /** - * Get apnsBundleId - * @return apnsBundleId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getApnsBundleId() { - return apnsBundleId; - } - - - @JsonProperty(JSON_PROPERTY_APNS_BUNDLE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setApnsBundleId(String apnsBundleId) { - this.apnsBundleId = apnsBundleId; - } - - - public SendBirdSendTextMessageRequestBody appleCriticalAlertOptions(Object appleCriticalAlertOptions) { - this.appleCriticalAlertOptions = appleCriticalAlertOptions; - return this; - } - - /** - * Get appleCriticalAlertOptions - * @return appleCriticalAlertOptions - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getAppleCriticalAlertOptions() { - return appleCriticalAlertOptions; - } - - - @JsonProperty(JSON_PROPERTY_APPLE_CRITICAL_ALERT_OPTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAppleCriticalAlertOptions(Object appleCriticalAlertOptions) { - this.appleCriticalAlertOptions = appleCriticalAlertOptions; - } - - - public SendBirdSendTextMessageRequestBody createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdSendTextMessageRequestBody customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdSendTextMessageRequestBody data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdSendTextMessageRequestBody dedupId(String dedupId) { - this.dedupId = dedupId; - return this; - } - - /** - * Get dedupId - * @return dedupId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getDedupId() { - return dedupId; - } - - - @JsonProperty(JSON_PROPERTY_DEDUP_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDedupId(String dedupId) { - this.dedupId = dedupId; - } - - - public SendBirdSendTextMessageRequestBody includePollDetails(Boolean includePollDetails) { - this.includePollDetails = includePollDetails; - return this; - } - - /** - * Get includePollDetails - * @return includePollDetails - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INCLUDE_POLL_DETAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIncludePollDetails() { - return includePollDetails; - } - - - @JsonProperty(JSON_PROPERTY_INCLUDE_POLL_DETAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIncludePollDetails(Boolean includePollDetails) { - this.includePollDetails = includePollDetails; - } - - - public SendBirdSendTextMessageRequestBody isSilent(Boolean isSilent) { - this.isSilent = isSilent; - return this; - } - - /** - * Get isSilent - * @return isSilent - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsSilent() { - return isSilent; - } - - - @JsonProperty(JSON_PROPERTY_IS_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsSilent(Boolean isSilent) { - this.isSilent = isSilent; - } - - - public SendBirdSendTextMessageRequestBody markAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - return this; - } - - /** - * Get markAsRead - * @return markAsRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getMarkAsRead() { - return markAsRead; - } - - - @JsonProperty(JSON_PROPERTY_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMarkAsRead(Boolean markAsRead) { - this.markAsRead = markAsRead; - } - - - public SendBirdSendTextMessageRequestBody mentionType(MentionTypeEnum mentionType) { - this.mentionType = mentionType; - return this; - } - - /** - * Get mentionType - * @return mentionType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public MentionTypeEnum getMentionType() { - return mentionType; - } - - - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionType(MentionTypeEnum mentionType) { - this.mentionType = mentionType; - } - - - public SendBirdSendTextMessageRequestBody mentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - return this; - } - - public SendBirdSendTextMessageRequestBody addMentionedUserIdsItem(String mentionedUserIdsItem) { - if (this.mentionedUserIds == null) { - this.mentionedUserIds = new ArrayList<>(); - } - this.mentionedUserIds.add(mentionedUserIdsItem); - return this; - } - - /** - * Get mentionedUserIds - * @return mentionedUserIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMentionedUserIds() { - return mentionedUserIds; - } - - - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - } - - - public SendBirdSendTextMessageRequestBody message(String message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessage(String message) { - this.message = message; - } - - - public SendBirdSendTextMessageRequestBody messageType(MessageTypeEnum messageType) { - this.messageType = messageType; - return this; - } - - /** - * Specifies the type of the message. The value of MESG represents a text message. - * @return messageType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the type of the message. The value of MESG represents a text message.") - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public MessageTypeEnum getMessageType() { - return messageType; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessageType(MessageTypeEnum messageType) { - this.messageType = messageType; - } - - - public SendBirdSendTextMessageRequestBody pollId(Integer pollId) { - this.pollId = pollId; - return this; - } - - /** - * Get pollId - * @return pollId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_POLL_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getPollId() { - return pollId; - } - - - @JsonProperty(JSON_PROPERTY_POLL_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPollId(Integer pollId) { - this.pollId = pollId; - } - - - public SendBirdSendTextMessageRequestBody pushMessageTemplate(SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate) { - this.pushMessageTemplate = pushMessageTemplate; - return this; - } - - /** - * Get pushMessageTemplate - * @return pushMessageTemplate - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendTextMessageRequestBodyPushMessageTemplate getPushMessageTemplate() { - return pushMessageTemplate; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_MESSAGE_TEMPLATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushMessageTemplate(SendBirdSendTextMessageRequestBodyPushMessageTemplate pushMessageTemplate) { - this.pushMessageTemplate = pushMessageTemplate; - } - - - public SendBirdSendTextMessageRequestBody sendPush(Boolean sendPush) { - this.sendPush = sendPush; - return this; - } - - /** - * Get sendPush - * @return sendPush - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SEND_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getSendPush() { - return sendPush; - } - - - @JsonProperty(JSON_PROPERTY_SEND_PUSH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSendPush(Boolean sendPush) { - this.sendPush = sendPush; - } - - - public SendBirdSendTextMessageRequestBody sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdSendTextMessageRequestBody addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { - if (this.sortedMetaarray == null) { - this.sortedMetaarray = new ArrayList<>(); - } - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - public SendBirdSendTextMessageRequestBody sound(String sound) { - this.sound = sound; - return this; - } - - /** - * Get sound - * @return sound - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getSound() { - return sound; - } - - - @JsonProperty(JSON_PROPERTY_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSound(String sound) { - this.sound = sound; - } - - - public SendBirdSendTextMessageRequestBody volume(BigDecimal volume) { - this.volume = volume; - return this; - } - - /** - * Get volume - * @return volume - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_VOLUME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public BigDecimal getVolume() { - return volume; - } - - - @JsonProperty(JSON_PROPERTY_VOLUME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVolume(BigDecimal volume) { - this.volume = volume; - } - - - /** - * Return true if this sendTextMessageRequestBody object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendTextMessageRequestBody sendTextMessageRequestBody = (SendBirdSendTextMessageRequestBody) o; - return Objects.equals(this.apnsBundleId, sendTextMessageRequestBody.apnsBundleId) && - Objects.equals(this.appleCriticalAlertOptions, sendTextMessageRequestBody.appleCriticalAlertOptions) && - Objects.equals(this.createdAt, sendTextMessageRequestBody.createdAt) && - Objects.equals(this.customType, sendTextMessageRequestBody.customType) && - Objects.equals(this.data, sendTextMessageRequestBody.data) && - Objects.equals(this.dedupId, sendTextMessageRequestBody.dedupId) && - Objects.equals(this.includePollDetails, sendTextMessageRequestBody.includePollDetails) && - Objects.equals(this.isSilent, sendTextMessageRequestBody.isSilent) && - Objects.equals(this.markAsRead, sendTextMessageRequestBody.markAsRead) && - Objects.equals(this.mentionType, sendTextMessageRequestBody.mentionType) && - Objects.equals(this.mentionedUserIds, sendTextMessageRequestBody.mentionedUserIds) && - Objects.equals(this.message, sendTextMessageRequestBody.message) && - Objects.equals(this.messageType, sendTextMessageRequestBody.messageType) && - Objects.equals(this.pollId, sendTextMessageRequestBody.pollId) && - Objects.equals(this.pushMessageTemplate, sendTextMessageRequestBody.pushMessageTemplate) && - Objects.equals(this.sendPush, sendTextMessageRequestBody.sendPush) && - Objects.equals(this.sortedMetaarray, sendTextMessageRequestBody.sortedMetaarray) && - Objects.equals(this.sound, sendTextMessageRequestBody.sound) && - Objects.equals(this.volume, sendTextMessageRequestBody.volume); - } - - @Override - public int hashCode() { - return Objects.hash(apnsBundleId, appleCriticalAlertOptions, createdAt, customType, data, dedupId, includePollDetails, isSilent, markAsRead, mentionType, mentionedUserIds, message, messageType, pollId, pushMessageTemplate, sendPush, sortedMetaarray, sound, volume); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendTextMessageRequestBody {\n"); - sb.append(" apnsBundleId: ").append(toIndentedString(apnsBundleId)).append("\n"); - sb.append(" appleCriticalAlertOptions: ").append(toIndentedString(appleCriticalAlertOptions)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" dedupId: ").append(toIndentedString(dedupId)).append("\n"); - sb.append(" includePollDetails: ").append(toIndentedString(includePollDetails)).append("\n"); - sb.append(" isSilent: ").append(toIndentedString(isSilent)).append("\n"); - sb.append(" markAsRead: ").append(toIndentedString(markAsRead)).append("\n"); - sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); - sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); - sb.append(" pollId: ").append(toIndentedString(pollId)).append("\n"); - sb.append(" pushMessageTemplate: ").append(toIndentedString(pushMessageTemplate)).append("\n"); - sb.append(" sendPush: ").append(toIndentedString(sendPush)).append("\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append(" sound: ").append(toIndentedString(sound)).append("\n"); - sb.append(" volume: ").append(toIndentedString(volume)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java deleted file mode 100644 index d18e53f2..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplate.java +++ /dev/null @@ -1,251 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplateOneOf; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - -import com.fasterxml.jackson.core.type.TypeReference; - -import javax.ws.rs.core.GenericType; -import javax.ws.rs.core.Response; -import java.io.IOException; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; - -import com.fasterxml.jackson.core.JsonGenerator; -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.JsonToken; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.DeserializationContext; -import com.fasterxml.jackson.databind.JsonMappingException; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.MapperFeature; -import com.fasterxml.jackson.databind.SerializerProvider; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import com.fasterxml.jackson.databind.deser.std.StdDeserializer; -import com.fasterxml.jackson.databind.ser.std.StdSerializer; -import org.sendbird.client.JSON; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendBirdSendTextMessageRequestBodyPushMessageTemplate.SendBirdSendTextMessageRequestBodyPushMessageTemplateDeserializer.class) -@JsonSerialize(using = SendBirdSendTextMessageRequestBodyPushMessageTemplate.SendBirdSendTextMessageRequestBodyPushMessageTemplateSerializer.class) -public class SendBirdSendTextMessageRequestBodyPushMessageTemplate extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendBirdSendTextMessageRequestBodyPushMessageTemplate.class.getName()); - - public static class SendBirdSendTextMessageRequestBodyPushMessageTemplateSerializer extends StdSerializer { - public SendBirdSendTextMessageRequestBodyPushMessageTemplateSerializer(Class t) { - super(t); - } - - public SendBirdSendTextMessageRequestBodyPushMessageTemplateSerializer() { - this(null); - } - - @Override - public void serialize(SendBirdSendTextMessageRequestBodyPushMessageTemplate value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { - jgen.writeObject(value.getActualInstance()); - } - } - - public static class SendBirdSendTextMessageRequestBodyPushMessageTemplateDeserializer extends StdDeserializer { - public SendBirdSendTextMessageRequestBodyPushMessageTemplateDeserializer() { - this(SendBirdSendTextMessageRequestBodyPushMessageTemplate.class); - } - - public SendBirdSendTextMessageRequestBodyPushMessageTemplateDeserializer(Class vc) { - super(vc); - } - - @Override - public SendBirdSendTextMessageRequestBodyPushMessageTemplate deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { - JsonNode tree = jp.readValueAsTree(); - Object deserialized = null; - boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); - int match = 0; - JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendBirdSendAMessageRequestPushMessageTemplateOneOf - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Integer.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Float.class) || SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendBirdSendAMessageRequestPushMessageTemplateOneOf.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendAMessageRequestPushMessageTemplateOneOf.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'SendBirdSendAMessageRequestPushMessageTemplateOneOf'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendBirdSendAMessageRequestPushMessageTemplateOneOf'", e); - } - - // deserialize String - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (String.class.equals(Integer.class) || String.class.equals(Long.class) || String.class.equals(Float.class) || String.class.equals(Double.class) || String.class.equals(Boolean.class) || String.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((String.class.equals(Integer.class) || String.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((String.class.equals(Float.class) || String.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (String.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (String.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(String.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'String'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'String'", e); - } - - if (match == 1) { - SendBirdSendTextMessageRequestBodyPushMessageTemplate ret = new SendBirdSendTextMessageRequestBodyPushMessageTemplate(); - ret.setActualInstance(deserialized); - return ret; - } - throw new IOException(String.format("Failed deserialization for SendBirdSendTextMessageRequestBodyPushMessageTemplate: %d classes match result, expected 1", match)); - } - - /** - * Handle deserialization of the 'null' value. - */ - @Override - public SendBirdSendTextMessageRequestBodyPushMessageTemplate getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendBirdSendTextMessageRequestBodyPushMessageTemplate cannot be null"); - } - } - - // store a list of schema names defined in oneOf - public static final Map schemas = new HashMap(); - - public SendBirdSendTextMessageRequestBodyPushMessageTemplate() { - super("oneOf", Boolean.FALSE); - } - - public SendBirdSendTextMessageRequestBodyPushMessageTemplate(SendBirdSendAMessageRequestPushMessageTemplateOneOf o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public SendBirdSendTextMessageRequestBodyPushMessageTemplate(String o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - static { - schemas.put("SendBirdSendAMessageRequestPushMessageTemplateOneOf", new GenericType() { - }); - schemas.put("String", new GenericType() { - }); - JSON.registerDescendants(SendBirdSendTextMessageRequestBodyPushMessageTemplate.class, Collections.unmodifiableMap(schemas)); - } - - @Override - public Map getSchemas() { - return SendBirdSendTextMessageRequestBodyPushMessageTemplate.schemas; - } - - /** - * Set the instance that matches the oneOf child schema, check - * the instance parameter is valid against the oneOf child schemas: - * SendBirdSendAMessageRequestPushMessageTemplateOneOf, String - * - * It could be an instance of the 'oneOf' schemas. - * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). - */ - @Override - public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendBirdSendAMessageRequestPushMessageTemplateOneOf.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - if (JSON.isInstanceOf(String.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - throw new RuntimeException("Invalid instance type. Must be SendBirdSendAMessageRequestPushMessageTemplateOneOf, String"); - } - - /** - * Get the actual instance, which can be the following: - * SendBirdSendAMessageRequestPushMessageTemplateOneOf, String - * - * @return The actual instance (SendBirdSendAMessageRequestPushMessageTemplateOneOf, String) - */ - @Override - public Object getActualInstance() { - return super.getActualInstance(); - } - - /** - * Get the actual instance of `SendBirdSendAMessageRequestPushMessageTemplateOneOf`. If the actual instance is not `SendBirdSendAMessageRequestPushMessageTemplateOneOf`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `SendBirdSendAMessageRequestPushMessageTemplateOneOf` - * @throws ClassCastException if the instance is not `SendBirdSendAMessageRequestPushMessageTemplateOneOf` - */ - public SendBirdSendAMessageRequestPushMessageTemplateOneOf getSendBirdSendAMessageRequestPushMessageTemplateOneOf() throws ClassCastException { - return (SendBirdSendAMessageRequestPushMessageTemplateOneOf)super.getActualInstance(); - } - - /** - * Get the actual instance of `String`. If the actual instance is not `String`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `String` - * @throws ClassCastException if the instance is not `String` - */ - public String getString() throws ClassCastException { - return (String)super.getActualInstance(); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java deleted file mode 100644 index 067d9319..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfo.java +++ /dev/null @@ -1,405 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdBasicUserInfo - */ -@JsonPropertyOrder({ - SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_IS_ACTIVE, - SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_IS_BLOCKED_BY_ME, - SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_ROLE, - SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_NICKNAME, - SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_USER_ID, - SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_PROFILE_URL, - SendBirdSendBirdBasicUserInfo.JSON_PROPERTY_METADATA -}) -@JsonTypeName("SendBird.BasicUserInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdBasicUserInfo { - public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; - private Boolean requireAuthForProfileImage; - - public static final String JSON_PROPERTY_IS_ACTIVE = "is_active"; - private Boolean isActive; - - public static final String JSON_PROPERTY_IS_BLOCKED_BY_ME = "is_blocked_by_me"; - private Boolean isBlockedByMe; - - /** - * Gets or Sets role - */ - public enum RoleEnum { - EMPTY(""), - - NONE("none"), - - OPERATOR("operator"); - - private String value; - - RoleEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static RoleEnum fromValue(String value) { - for (RoleEnum b : RoleEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_ROLE = "role"; - private RoleEnum role; - - public static final String JSON_PROPERTY_NICKNAME = "nickname"; - private JsonNullable nickname = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; - private String profileUrl = ""; - - public static final String JSON_PROPERTY_METADATA = "metadata"; - private JsonNullable metadata = JsonNullable.undefined(); - - public SendBirdSendBirdBasicUserInfo() { - } - - public SendBirdSendBirdBasicUserInfo requireAuthForProfileImage(Boolean requireAuthForProfileImage) { - this.requireAuthForProfileImage = requireAuthForProfileImage; - return this; - } - - /** - * Get requireAuthForProfileImage - * @return requireAuthForProfileImage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getRequireAuthForProfileImage() { - return requireAuthForProfileImage; - } - - - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { - this.requireAuthForProfileImage = requireAuthForProfileImage; - } - - - public SendBirdSendBirdBasicUserInfo isActive(Boolean isActive) { - this.isActive = isActive; - return this; - } - - /** - * Get isActive - * @return isActive - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_ACTIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsActive() { - return isActive; - } - - - @JsonProperty(JSON_PROPERTY_IS_ACTIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsActive(Boolean isActive) { - this.isActive = isActive; - } - - - public SendBirdSendBirdBasicUserInfo isBlockedByMe(Boolean isBlockedByMe) { - this.isBlockedByMe = isBlockedByMe; - return this; - } - - /** - * Get isBlockedByMe - * @return isBlockedByMe - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_BLOCKED_BY_ME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsBlockedByMe() { - return isBlockedByMe; - } - - - @JsonProperty(JSON_PROPERTY_IS_BLOCKED_BY_ME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsBlockedByMe(Boolean isBlockedByMe) { - this.isBlockedByMe = isBlockedByMe; - } - - - public SendBirdSendBirdBasicUserInfo role(RoleEnum role) { - this.role = role; - return this; - } - - /** - * Get role - * @return role - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ROLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public RoleEnum getRole() { - return role; - } - - - @JsonProperty(JSON_PROPERTY_ROLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRole(RoleEnum role) { - this.role = role; - } - - - public SendBirdSendBirdBasicUserInfo nickname(String nickname) { - this.nickname = JsonNullable.of(nickname); - return this; - } - - /** - * Get nickname - * @return nickname - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getNickname() { - return nickname.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getNickname_JsonNullable() { - return nickname; - } - - @JsonProperty(JSON_PROPERTY_NICKNAME) - public void setNickname_JsonNullable(JsonNullable nickname) { - this.nickname = nickname; - } - - public void setNickname(String nickname) { - this.nickname = JsonNullable.of(nickname); - } - - - public SendBirdSendBirdBasicUserInfo userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserId(String userId) { - this.userId = userId; - } - - - public SendBirdSendBirdBasicUserInfo profileUrl(String profileUrl) { - this.profileUrl = profileUrl; - return this; - } - - /** - * Get profileUrl - * @return profileUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getProfileUrl() { - return profileUrl; - } - - - @JsonProperty(JSON_PROPERTY_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setProfileUrl(String profileUrl) { - this.profileUrl = profileUrl; - } - - - public SendBirdSendBirdBasicUserInfo metadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Object getMetadata() { - return metadata.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getMetadata_JsonNullable() { - return metadata; - } - - @JsonProperty(JSON_PROPERTY_METADATA) - public void setMetadata_JsonNullable(JsonNullable metadata) { - this.metadata = metadata; - } - - public void setMetadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - } - - - /** - * Return true if this SendBird.BasicUserInfo object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdBasicUserInfo sendBirdBasicUserInfo = (SendBirdSendBirdBasicUserInfo) o; - return Objects.equals(this.requireAuthForProfileImage, sendBirdBasicUserInfo.requireAuthForProfileImage) && - Objects.equals(this.isActive, sendBirdBasicUserInfo.isActive) && - Objects.equals(this.isBlockedByMe, sendBirdBasicUserInfo.isBlockedByMe) && - Objects.equals(this.role, sendBirdBasicUserInfo.role) && - equalsNullable(this.nickname, sendBirdBasicUserInfo.nickname) && - Objects.equals(this.userId, sendBirdBasicUserInfo.userId) && - Objects.equals(this.profileUrl, sendBirdBasicUserInfo.profileUrl) && - equalsNullable(this.metadata, sendBirdBasicUserInfo.metadata); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(requireAuthForProfileImage, isActive, isBlockedByMe, role, hashCodeNullable(nickname), userId, profileUrl, hashCodeNullable(metadata)); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdBasicUserInfo {\n"); - sb.append(" requireAuthForProfileImage: ").append(toIndentedString(requireAuthForProfileImage)).append("\n"); - sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); - sb.append(" isBlockedByMe: ").append(toIndentedString(isBlockedByMe)).append("\n"); - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append(" nickname: ").append(toIndentedString(nickname)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append(" profileUrl: ").append(toIndentedString(profileUrl)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java deleted file mode 100644 index e346eba8..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessage.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdDisappearingMessage - */ -@JsonPropertyOrder({ - SendBirdSendBirdDisappearingMessage.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdSendBirdDisappearingMessage.JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ -}) -@JsonTypeName("SendBird.DisappearingMessage") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdDisappearingMessage { - public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; - private Integer messageSurvivalSeconds; - - public static final String JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ = "is_triggered_by_message_read"; - private Boolean isTriggeredByMessageRead; - - public SendBirdSendBirdDisappearingMessage() { - } - - public SendBirdSendBirdDisappearingMessage messageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - return this; - } - - /** - * Get messageSurvivalSeconds - * @return messageSurvivalSeconds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMessageSurvivalSeconds() { - return messageSurvivalSeconds; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - } - - - public SendBirdSendBirdDisappearingMessage isTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { - this.isTriggeredByMessageRead = isTriggeredByMessageRead; - return this; - } - - /** - * Get isTriggeredByMessageRead - * @return isTriggeredByMessageRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsTriggeredByMessageRead() { - return isTriggeredByMessageRead; - } - - - @JsonProperty(JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { - this.isTriggeredByMessageRead = isTriggeredByMessageRead; - } - - - /** - * Return true if this SendBird.DisappearingMessage object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdDisappearingMessage sendBirdDisappearingMessage = (SendBirdSendBirdDisappearingMessage) o; - return Objects.equals(this.messageSurvivalSeconds, sendBirdDisappearingMessage.messageSurvivalSeconds) && - Objects.equals(this.isTriggeredByMessageRead, sendBirdDisappearingMessage.isTriggeredByMessageRead); - } - - @Override - public int hashCode() { - return Objects.hash(messageSurvivalSeconds, isTriggeredByMessageRead); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdDisappearingMessage {\n"); - sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); - sb.append(" isTriggeredByMessageRead: ").append(toIndentedString(isTriggeredByMessageRead)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java deleted file mode 100644 index d0860ad0..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayload.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * Specifies the extended message payload which is used to send a message with a custom message type. - */ -@ApiModel(description = "Specifies the extended message payload which is used to send a message with a custom message type.") -@JsonPropertyOrder({ - SendBirdSendBirdExtendedMessagePayload.JSON_PROPERTY_CUSTOM_VIEW, - SendBirdSendBirdExtendedMessagePayload.JSON_PROPERTY_SUGGESTED_REPLIES -}) -@JsonTypeName("SendBird.ExtendedMessagePayload") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdExtendedMessagePayload { - public static final String JSON_PROPERTY_CUSTOM_VIEW = "custom_view"; - private Object customView; - - public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; - private List suggestedReplies = null; - - public SendBirdSendBirdExtendedMessagePayload() { - } - - public SendBirdSendBirdExtendedMessagePayload customView(Object customView) { - this.customView = customView; - return this; - } - - /** - * JSON format you want to embed in message, eq : {\"title\": \"title\", \"image\": \"https://link.to/image.jpg\"} - * @return customView - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "JSON format you want to embed in message, eq : {\"title\": \"title\", \"image\": \"https://link.to/image.jpg\"}") - @JsonProperty(JSON_PROPERTY_CUSTOM_VIEW) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getCustomView() { - return customView; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_VIEW) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomView(Object customView) { - this.customView = customView; - } - - - public SendBirdSendBirdExtendedMessagePayload suggestedReplies(List suggestedReplies) { - this.suggestedReplies = suggestedReplies; - return this; - } - - public SendBirdSendBirdExtendedMessagePayload addSuggestedRepliesItem(String suggestedRepliesItem) { - if (this.suggestedReplies == null) { - this.suggestedReplies = new ArrayList<>(); - } - this.suggestedReplies.add(suggestedRepliesItem); - return this; - } - - /** - * Specifies an array of suggested replies to be sent with the message. - * @return suggestedReplies - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Specifies an array of suggested replies to be sent with the message.") - @JsonProperty(JSON_PROPERTY_SUGGESTED_REPLIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSuggestedReplies() { - return suggestedReplies; - } - - - @JsonProperty(JSON_PROPERTY_SUGGESTED_REPLIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSuggestedReplies(List suggestedReplies) { - this.suggestedReplies = suggestedReplies; - } - - - /** - * Return true if this SendBird.ExtendedMessagePayload object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdExtendedMessagePayload sendBirdExtendedMessagePayload = (SendBirdSendBirdExtendedMessagePayload) o; - return Objects.equals(this.customView, sendBirdExtendedMessagePayload.customView) && - Objects.equals(this.suggestedReplies, sendBirdExtendedMessagePayload.suggestedReplies); - } - - @Override - public int hashCode() { - return Objects.hash(customView, suggestedReplies); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdExtendedMessagePayload {\n"); - sb.append(" customView: ").append(toIndentedString(customView)).append("\n"); - sb.append(" suggestedReplies: ").append(toIndentedString(suggestedReplies)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java deleted file mode 100644 index a938c071..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdFile.java +++ /dev/null @@ -1,284 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdThumbnail; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdFile - */ -@JsonPropertyOrder({ - SendBirdSendBirdFile.JSON_PROPERTY_URL, - SendBirdSendBirdFile.JSON_PROPERTY_FILE_NAME, - SendBirdSendBirdFile.JSON_PROPERTY_FILE_SIZE, - SendBirdSendBirdFile.JSON_PROPERTY_FILE_TYPE, - SendBirdSendBirdFile.JSON_PROPERTY_THUMBNAILS, - SendBirdSendBirdFile.JSON_PROPERTY_REQUIRE_AUTH -}) -@JsonTypeName("SendBird.File") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdFile { - public static final String JSON_PROPERTY_URL = "url"; - private String url; - - public static final String JSON_PROPERTY_FILE_NAME = "file_name"; - private String fileName; - - public static final String JSON_PROPERTY_FILE_SIZE = "file_size"; - private Integer fileSize; - - public static final String JSON_PROPERTY_FILE_TYPE = "file_type"; - private String fileType; - - public static final String JSON_PROPERTY_THUMBNAILS = "thumbnails"; - private List thumbnails = null; - - public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; - private Boolean requireAuth; - - public SendBirdSendBirdFile() { - } - - public SendBirdSendBirdFile url(String url) { - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getUrl() { - return url; - } - - - @JsonProperty(JSON_PROPERTY_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUrl(String url) { - this.url = url; - } - - - public SendBirdSendBirdFile fileName(String fileName) { - this.fileName = fileName; - return this; - } - - /** - * Get fileName - * @return fileName - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FILE_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFileName() { - return fileName; - } - - - @JsonProperty(JSON_PROPERTY_FILE_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFileName(String fileName) { - this.fileName = fileName; - } - - - public SendBirdSendBirdFile fileSize(Integer fileSize) { - this.fileSize = fileSize; - return this; - } - - /** - * Get fileSize - * @return fileSize - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FILE_SIZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getFileSize() { - return fileSize; - } - - - @JsonProperty(JSON_PROPERTY_FILE_SIZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFileSize(Integer fileSize) { - this.fileSize = fileSize; - } - - - public SendBirdSendBirdFile fileType(String fileType) { - this.fileType = fileType; - return this; - } - - /** - * Get fileType - * @return fileType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FILE_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFileType() { - return fileType; - } - - - @JsonProperty(JSON_PROPERTY_FILE_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFileType(String fileType) { - this.fileType = fileType; - } - - - public SendBirdSendBirdFile thumbnails(List thumbnails) { - this.thumbnails = thumbnails; - return this; - } - - public SendBirdSendBirdFile addThumbnailsItem(SendBirdSendBirdThumbnail thumbnailsItem) { - if (this.thumbnails == null) { - this.thumbnails = new ArrayList<>(); - } - this.thumbnails.add(thumbnailsItem); - return this; - } - - /** - * Get thumbnails - * @return thumbnails - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_THUMBNAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getThumbnails() { - return thumbnails; - } - - - @JsonProperty(JSON_PROPERTY_THUMBNAILS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThumbnails(List thumbnails) { - this.thumbnails = thumbnails; - } - - - public SendBirdSendBirdFile requireAuth(Boolean requireAuth) { - this.requireAuth = requireAuth; - return this; - } - - /** - * Get requireAuth - * @return requireAuth - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getRequireAuth() { - return requireAuth; - } - - - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRequireAuth(Boolean requireAuth) { - this.requireAuth = requireAuth; - } - - - /** - * Return true if this SendBird.File object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdFile sendBirdFile = (SendBirdSendBirdFile) o; - return Objects.equals(this.url, sendBirdFile.url) && - Objects.equals(this.fileName, sendBirdFile.fileName) && - Objects.equals(this.fileSize, sendBirdFile.fileSize) && - Objects.equals(this.fileType, sendBirdFile.fileType) && - Objects.equals(this.thumbnails, sendBirdFile.thumbnails) && - Objects.equals(this.requireAuth, sendBirdFile.requireAuth); - } - - @Override - public int hashCode() { - return Objects.hash(url, fileName, fileSize, fileType, thumbnails, requireAuth); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdFile {\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n"); - sb.append(" fileSize: ").append(toIndentedString(fileSize)).append("\n"); - sb.append(" fileType: ").append(toIndentedString(fileType)).append("\n"); - sb.append(" thumbnails: ").append(toIndentedString(thumbnails)).append("\n"); - sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java deleted file mode 100644 index f8e552f2..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannel.java +++ /dev/null @@ -1,1736 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendBirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendBirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdSendBirdMember; -import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSendBirdSmsFallback; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdGroupChannel - */ -@JsonPropertyOrder({ - SendBirdSendBirdGroupChannel.JSON_PROPERTY_CHANNEL_URL, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_COUNT_PREFERENCE, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_COVER_URL, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_CREATED_AT, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_CREATED_BY, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_DATA, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_DELIVERY_RECEIPT, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_DISAPPEARING_MESSAGE, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_FREEZE, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_HAS_AI_BOT, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_HAS_BOT, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_HIDDEN_STATE, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_INVITED_AT, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_INVITER, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_BROADCAST, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_DISCOVERABLE, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_DISTINCT, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_EXCLUSIVE, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_HIDDEN, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_MUTED, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_PUBLIC, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_PUSH_ENABLED, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_IS_SUPER, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_JOINED_MEMBER_COUNT, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_JOINED_TS, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_LAST_MESSAGE, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_MEMBER_COUNT, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_MEMBER_STATE, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_MEMBERS, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_METADATA, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_MY_ROLE, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_NAME, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_READ_RECEIPT, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_SMS_FALLBACK, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_TS_MESSAGE_OFFSET, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_UNREAD_MENTION_COUNT, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, - SendBirdSendBirdGroupChannel.JSON_PROPERTY_USER_LAST_READ -}) -@JsonTypeName("SendBird.GroupChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdGroupChannel { - public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; - private String channelUrl; - - /** - * Gets or Sets countPreference - */ - public enum CountPreferenceEnum { - FALSE("false"), - - ALL("all"), - - UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), - - UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); - - private String value; - - CountPreferenceEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static CountPreferenceEnum fromValue(String value) { - for (CountPreferenceEnum b : CountPreferenceEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; - private CountPreferenceEnum countPreference; - - public static final String JSON_PROPERTY_COVER_URL = "cover_url"; - private String coverUrl; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdSendBirdBasicUserInfo createdBy; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DELIVERY_RECEIPT = "delivery_receipt"; - private Object deliveryReceipt; - - public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdSendBirdDisappearingMessage disappearingMessage; - - public static final String JSON_PROPERTY_FREEZE = "freeze"; - private Boolean freeze; - - public static final String JSON_PROPERTY_HAS_AI_BOT = "has_ai_bot"; - private Boolean hasAiBot; - - public static final String JSON_PROPERTY_HAS_BOT = "has_bot"; - private Boolean hasBot; - - /** - * Gets or Sets hiddenState - */ - public enum HiddenStateEnum { - HIDDEN_ALLOW_AUTO_UNHIDE("hidden_allow_auto_unhide"), - - HIDDEN_PREVENT_AUTO_UNHIDE("hidden_prevent_auto_unhide"), - - UNHIDDEN("unhidden"); - - private String value; - - HiddenStateEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static HiddenStateEnum fromValue(String value) { - for (HiddenStateEnum b : HiddenStateEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_HIDDEN_STATE = "hidden_state"; - private HiddenStateEnum hiddenState; - - public static final String JSON_PROPERTY_IGNORE_PROFANITY_FILTER = "ignore_profanity_filter"; - private Boolean ignoreProfanityFilter; - - public static final String JSON_PROPERTY_INVITED_AT = "invited_at"; - private Long invitedAt; - - public static final String JSON_PROPERTY_INVITER = "inviter"; - private SendBirdSendBirdBasicUserInfo inviter; - - public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; - private JsonNullable isAccessCodeRequired = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_IS_BROADCAST = "is_broadcast"; - private Boolean isBroadcast; - - public static final String JSON_PROPERTY_IS_DISCOVERABLE = "is_discoverable"; - private Boolean isDiscoverable; - - public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; - private Boolean isDistinct; - - public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; - private Boolean isEphemeral; - - public static final String JSON_PROPERTY_IS_EXCLUSIVE = "is_exclusive"; - private Boolean isExclusive; - - public static final String JSON_PROPERTY_IS_HIDDEN = "is_hidden"; - private Boolean isHidden; - - public static final String JSON_PROPERTY_IS_MUTED = "is_muted"; - private Boolean isMuted; - - public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; - private Boolean isPublic; - - public static final String JSON_PROPERTY_IS_PUSH_ENABLED = "is_push_enabled"; - private Boolean isPushEnabled; - - public static final String JSON_PROPERTY_IS_SUPER = "is_super"; - private Boolean isSuper; - - public static final String JSON_PROPERTY_JOINED_MEMBER_COUNT = "joined_member_count"; - private Integer joinedMemberCount; - - public static final String JSON_PROPERTY_JOINED_TS = "joined_ts"; - private JsonNullable joinedTs = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdSendBirdGroupChannelLastMessage lastMessage; - - public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; - private Integer maxLengthMessage; - - public static final String JSON_PROPERTY_MEMBER_COUNT = "member_count"; - private Integer memberCount; - - /** - * Gets or Sets memberState - */ - public enum MemberStateEnum { - INVITED("invited"), - - JOINED("joined"), - - NONE("none"); - - private String value; - - MemberStateEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MemberStateEnum fromValue(String value) { - for (MemberStateEnum b : MemberStateEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MEMBER_STATE = "member_state"; - private MemberStateEnum memberState; - - public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; - - public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; - private Integer messageSurvivalSeconds; - - public static final String JSON_PROPERTY_METADATA = "metadata"; - private JsonNullable metadata = JsonNullable.undefined(); - - /** - * Gets or Sets myRole - */ - public enum MyRoleEnum { - EMPTY(""), - - NONE("none"), - - OPERATOR("operator"); - - private String value; - - MyRoleEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MyRoleEnum fromValue(String value) { - for (MyRoleEnum b : MyRoleEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MY_ROLE = "my_role"; - private MyRoleEnum myRole; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendBirdPushTriggerOption pushTriggerOption; - - public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; - private Map readReceipt = null; - - public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSendBirdSmsFallback smsFallback; - - public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; - private Long tsMessageOffset; - - public static final String JSON_PROPERTY_UNREAD_MENTION_COUNT = "unread_mention_count"; - private Integer unreadMentionCount; - - public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; - private Integer unreadMessageCount; - - public static final String JSON_PROPERTY_USER_LAST_READ = "user_last_read"; - private Long userLastRead; - - public SendBirdSendBirdGroupChannel() { - } - - public SendBirdSendBirdGroupChannel channelUrl(String channelUrl) { - this.channelUrl = channelUrl; - return this; - } - - /** - * Get channelUrl - * @return channelUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getChannelUrl() { - return channelUrl; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setChannelUrl(String channelUrl) { - this.channelUrl = channelUrl; - } - - - public SendBirdSendBirdGroupChannel countPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - return this; - } - - /** - * Get countPreference - * @return countPreference - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public CountPreferenceEnum getCountPreference() { - return countPreference; - } - - - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCountPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - } - - - public SendBirdSendBirdGroupChannel coverUrl(String coverUrl) { - this.coverUrl = coverUrl; - return this; - } - - /** - * Get coverUrl - * @return coverUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCoverUrl() { - return coverUrl; - } - - - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverUrl(String coverUrl) { - this.coverUrl = coverUrl; - } - - - public SendBirdSendBirdGroupChannel createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdSendBirdGroupChannel createdBy(SendBirdSendBirdBasicUserInfo createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * Get createdBy - * @return createdBy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_BY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getCreatedBy() { - return createdBy; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_BY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdSendBirdBasicUserInfo createdBy) { - this.createdBy = createdBy; - } - - - public SendBirdSendBirdGroupChannel customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdSendBirdGroupChannel data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdSendBirdGroupChannel deliveryReceipt(Object deliveryReceipt) { - this.deliveryReceipt = deliveryReceipt; - return this; - } - - /** - * Get deliveryReceipt - * @return deliveryReceipt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getDeliveryReceipt() { - return deliveryReceipt; - } - - - @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDeliveryReceipt(Object deliveryReceipt) { - this.deliveryReceipt = deliveryReceipt; - } - - - public SendBirdSendBirdGroupChannel disappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { - this.disappearingMessage = disappearingMessage; - return this; - } - - /** - * Get disappearingMessage - * @return disappearingMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdDisappearingMessage getDisappearingMessage() { - return disappearingMessage; - } - - - @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { - this.disappearingMessage = disappearingMessage; - } - - - public SendBirdSendBirdGroupChannel freeze(Boolean freeze) { - this.freeze = freeze; - return this; - } - - /** - * Get freeze - * @return freeze - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getFreeze() { - return freeze; - } - - - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFreeze(Boolean freeze) { - this.freeze = freeze; - } - - - public SendBirdSendBirdGroupChannel hasAiBot(Boolean hasAiBot) { - this.hasAiBot = hasAiBot; - return this; - } - - /** - * Get hasAiBot - * @return hasAiBot - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getHasAiBot() { - return hasAiBot; - } - - - @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHasAiBot(Boolean hasAiBot) { - this.hasAiBot = hasAiBot; - } - - - public SendBirdSendBirdGroupChannel hasBot(Boolean hasBot) { - this.hasBot = hasBot; - return this; - } - - /** - * Get hasBot - * @return hasBot - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HAS_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getHasBot() { - return hasBot; - } - - - @JsonProperty(JSON_PROPERTY_HAS_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHasBot(Boolean hasBot) { - this.hasBot = hasBot; - } - - - public SendBirdSendBirdGroupChannel hiddenState(HiddenStateEnum hiddenState) { - this.hiddenState = hiddenState; - return this; - } - - /** - * Get hiddenState - * @return hiddenState - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public HiddenStateEnum getHiddenState() { - return hiddenState; - } - - - @JsonProperty(JSON_PROPERTY_HIDDEN_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHiddenState(HiddenStateEnum hiddenState) { - this.hiddenState = hiddenState; - } - - - public SendBirdSendBirdGroupChannel ignoreProfanityFilter(Boolean ignoreProfanityFilter) { - this.ignoreProfanityFilter = ignoreProfanityFilter; - return this; - } - - /** - * Get ignoreProfanityFilter - * @return ignoreProfanityFilter - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIgnoreProfanityFilter() { - return ignoreProfanityFilter; - } - - - @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { - this.ignoreProfanityFilter = ignoreProfanityFilter; - } - - - public SendBirdSendBirdGroupChannel invitedAt(Long invitedAt) { - this.invitedAt = invitedAt; - return this; - } - - /** - * Get invitedAt - * @return invitedAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INVITED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getInvitedAt() { - return invitedAt; - } - - - @JsonProperty(JSON_PROPERTY_INVITED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInvitedAt(Long invitedAt) { - this.invitedAt = invitedAt; - } - - - public SendBirdSendBirdGroupChannel inviter(SendBirdSendBirdBasicUserInfo inviter) { - this.inviter = inviter; - return this; - } - - /** - * Get inviter - * @return inviter - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_INVITER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getInviter() { - return inviter; - } - - - @JsonProperty(JSON_PROPERTY_INVITER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInviter(SendBirdSendBirdBasicUserInfo inviter) { - this.inviter = inviter; - } - - - public SendBirdSendBirdGroupChannel isAccessCodeRequired(Boolean isAccessCodeRequired) { - this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); - return this; - } - - /** - * Get isAccessCodeRequired - * @return isAccessCodeRequired - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Boolean getIsAccessCodeRequired() { - return isAccessCodeRequired.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getIsAccessCodeRequired_JsonNullable() { - return isAccessCodeRequired; - } - - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) - public void setIsAccessCodeRequired_JsonNullable(JsonNullable isAccessCodeRequired) { - this.isAccessCodeRequired = isAccessCodeRequired; - } - - public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { - this.isAccessCodeRequired = JsonNullable.of(isAccessCodeRequired); - } - - - public SendBirdSendBirdGroupChannel isBroadcast(Boolean isBroadcast) { - this.isBroadcast = isBroadcast; - return this; - } - - /** - * Get isBroadcast - * @return isBroadcast - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_BROADCAST) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsBroadcast() { - return isBroadcast; - } - - - @JsonProperty(JSON_PROPERTY_IS_BROADCAST) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsBroadcast(Boolean isBroadcast) { - this.isBroadcast = isBroadcast; - } - - - public SendBirdSendBirdGroupChannel isDiscoverable(Boolean isDiscoverable) { - this.isDiscoverable = isDiscoverable; - return this; - } - - /** - * Get isDiscoverable - * @return isDiscoverable - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDiscoverable() { - return isDiscoverable; - } - - - @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDiscoverable(Boolean isDiscoverable) { - this.isDiscoverable = isDiscoverable; - } - - - public SendBirdSendBirdGroupChannel isDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - return this; - } - - /** - * Get isDistinct - * @return isDistinct - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDistinct() { - return isDistinct; - } - - - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - } - - - public SendBirdSendBirdGroupChannel isEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - return this; - } - - /** - * Get isEphemeral - * @return isEphemeral - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsEphemeral() { - return isEphemeral; - } - - - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - } - - - public SendBirdSendBirdGroupChannel isExclusive(Boolean isExclusive) { - this.isExclusive = isExclusive; - return this; - } - - /** - * Get isExclusive - * @return isExclusive - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsExclusive() { - return isExclusive; - } - - - @JsonProperty(JSON_PROPERTY_IS_EXCLUSIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsExclusive(Boolean isExclusive) { - this.isExclusive = isExclusive; - } - - - public SendBirdSendBirdGroupChannel isHidden(Boolean isHidden) { - this.isHidden = isHidden; - return this; - } - - /** - * Get isHidden - * @return isHidden - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_HIDDEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsHidden() { - return isHidden; - } - - - @JsonProperty(JSON_PROPERTY_IS_HIDDEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsHidden(Boolean isHidden) { - this.isHidden = isHidden; - } - - - public SendBirdSendBirdGroupChannel isMuted(Boolean isMuted) { - this.isMuted = isMuted; - return this; - } - - /** - * Get isMuted - * @return isMuted - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_MUTED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsMuted() { - return isMuted; - } - - - @JsonProperty(JSON_PROPERTY_IS_MUTED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsMuted(Boolean isMuted) { - this.isMuted = isMuted; - } - - - public SendBirdSendBirdGroupChannel isPublic(Boolean isPublic) { - this.isPublic = isPublic; - return this; - } - - /** - * Get isPublic - * @return isPublic - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPublic() { - return isPublic; - } - - - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPublic(Boolean isPublic) { - this.isPublic = isPublic; - } - - - public SendBirdSendBirdGroupChannel isPushEnabled(Boolean isPushEnabled) { - this.isPushEnabled = isPushEnabled; - return this; - } - - /** - * Get isPushEnabled - * @return isPushEnabled - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPushEnabled() { - return isPushEnabled; - } - - - @JsonProperty(JSON_PROPERTY_IS_PUSH_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPushEnabled(Boolean isPushEnabled) { - this.isPushEnabled = isPushEnabled; - } - - - public SendBirdSendBirdGroupChannel isSuper(Boolean isSuper) { - this.isSuper = isSuper; - return this; - } - - /** - * Get isSuper - * @return isSuper - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsSuper() { - return isSuper; - } - - - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsSuper(Boolean isSuper) { - this.isSuper = isSuper; - } - - - public SendBirdSendBirdGroupChannel joinedMemberCount(Integer joinedMemberCount) { - this.joinedMemberCount = joinedMemberCount; - return this; - } - - /** - * Get joinedMemberCount - * @return joinedMemberCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getJoinedMemberCount() { - return joinedMemberCount; - } - - - @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setJoinedMemberCount(Integer joinedMemberCount) { - this.joinedMemberCount = joinedMemberCount; - } - - - public SendBirdSendBirdGroupChannel joinedTs(Long joinedTs) { - this.joinedTs = JsonNullable.of(joinedTs); - return this; - } - - /** - * Get joinedTs - * @return joinedTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Long getJoinedTs() { - return joinedTs.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_JOINED_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getJoinedTs_JsonNullable() { - return joinedTs; - } - - @JsonProperty(JSON_PROPERTY_JOINED_TS) - public void setJoinedTs_JsonNullable(JsonNullable joinedTs) { - this.joinedTs = joinedTs; - } - - public void setJoinedTs(Long joinedTs) { - this.joinedTs = JsonNullable.of(joinedTs); - } - - - public SendBirdSendBirdGroupChannel lastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { - this.lastMessage = lastMessage; - return this; - } - - /** - * Get lastMessage - * @return lastMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdGroupChannelLastMessage getLastMessage() { - return lastMessage; - } - - - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdSendBirdGroupChannelLastMessage lastMessage) { - this.lastMessage = lastMessage; - } - - - public SendBirdSendBirdGroupChannel maxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - return this; - } - - /** - * Get maxLengthMessage - * @return maxLengthMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMaxLengthMessage() { - return maxLengthMessage; - } - - - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMaxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - } - - - public SendBirdSendBirdGroupChannel memberCount(Integer memberCount) { - this.memberCount = memberCount; - return this; - } - - /** - * Get memberCount - * @return memberCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMemberCount() { - return memberCount; - } - - - @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMemberCount(Integer memberCount) { - this.memberCount = memberCount; - } - - - public SendBirdSendBirdGroupChannel memberState(MemberStateEnum memberState) { - this.memberState = memberState; - return this; - } - - /** - * Get memberState - * @return memberState - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBER_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public MemberStateEnum getMemberState() { - return memberState; - } - - - @JsonProperty(JSON_PROPERTY_MEMBER_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMemberState(MemberStateEnum memberState) { - this.memberState = memberState; - } - - - public SendBirdSendBirdGroupChannel members(List members) { - this.members = members; - return this; - } - - public SendBirdSendBirdGroupChannel addMembersItem(SendBirdSendBirdMember membersItem) { - if (this.members == null) { - this.members = new ArrayList<>(); - } - this.members.add(membersItem); - return this; - } - - /** - * Get members - * @return members - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMembers() { - return members; - } - - - @JsonProperty(JSON_PROPERTY_MEMBERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { - this.members = members; - } - - - public SendBirdSendBirdGroupChannel messageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - return this; - } - - /** - * Get messageSurvivalSeconds - * @return messageSurvivalSeconds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMessageSurvivalSeconds() { - return messageSurvivalSeconds; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - } - - - public SendBirdSendBirdGroupChannel metadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Object getMetadata() { - return metadata.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getMetadata_JsonNullable() { - return metadata; - } - - @JsonProperty(JSON_PROPERTY_METADATA) - public void setMetadata_JsonNullable(JsonNullable metadata) { - this.metadata = metadata; - } - - public void setMetadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - } - - - public SendBirdSendBirdGroupChannel myRole(MyRoleEnum myRole) { - this.myRole = myRole; - return this; - } - - /** - * Get myRole - * @return myRole - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MY_ROLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public MyRoleEnum getMyRole() { - return myRole; - } - - - @JsonProperty(JSON_PROPERTY_MY_ROLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMyRole(MyRoleEnum myRole) { - this.myRole = myRole; - } - - - public SendBirdSendBirdGroupChannel name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - public SendBirdSendBirdGroupChannel pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - return this; - } - - /** - * Get pushTriggerOption - * @return pushTriggerOption - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { - return pushTriggerOption; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - } - - - public SendBirdSendBirdGroupChannel readReceipt(Map readReceipt) { - this.readReceipt = readReceipt; - return this; - } - - public SendBirdSendBirdGroupChannel putReadReceiptItem(String key, Long readReceiptItem) { - if (this.readReceipt == null) { - this.readReceipt = new HashMap<>(); - } - this.readReceipt.put(key, readReceiptItem); - return this; - } - - /** - * Get readReceipt - * @return readReceipt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_READ_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Map getReadReceipt() { - return readReceipt; - } - - - @JsonProperty(JSON_PROPERTY_READ_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReadReceipt(Map readReceipt) { - this.readReceipt = readReceipt; - } - - - public SendBirdSendBirdGroupChannel smsFallback(SendBirdSendBirdSmsFallback smsFallback) { - this.smsFallback = smsFallback; - return this; - } - - /** - * Get smsFallback - * @return smsFallback - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdSmsFallback getSmsFallback() { - return smsFallback; - } - - - @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSendBirdSmsFallback smsFallback) { - this.smsFallback = smsFallback; - } - - - public SendBirdSendBirdGroupChannel tsMessageOffset(Long tsMessageOffset) { - this.tsMessageOffset = tsMessageOffset; - return this; - } - - /** - * Get tsMessageOffset - * @return tsMessageOffset - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getTsMessageOffset() { - return tsMessageOffset; - } - - - @JsonProperty(JSON_PROPERTY_TS_MESSAGE_OFFSET) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTsMessageOffset(Long tsMessageOffset) { - this.tsMessageOffset = tsMessageOffset; - } - - - public SendBirdSendBirdGroupChannel unreadMentionCount(Integer unreadMentionCount) { - this.unreadMentionCount = unreadMentionCount; - return this; - } - - /** - * Get unreadMentionCount - * @return unreadMentionCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadMentionCount() { - return unreadMentionCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadMentionCount(Integer unreadMentionCount) { - this.unreadMentionCount = unreadMentionCount; - } - - - public SendBirdSendBirdGroupChannel unreadMessageCount(Integer unreadMessageCount) { - this.unreadMessageCount = unreadMessageCount; - return this; - } - - /** - * Get unreadMessageCount - * @return unreadMessageCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadMessageCount() { - return unreadMessageCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadMessageCount(Integer unreadMessageCount) { - this.unreadMessageCount = unreadMessageCount; - } - - - public SendBirdSendBirdGroupChannel userLastRead(Long userLastRead) { - this.userLastRead = userLastRead; - return this; - } - - /** - * Get userLastRead - * @return userLastRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER_LAST_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getUserLastRead() { - return userLastRead; - } - - - @JsonProperty(JSON_PROPERTY_USER_LAST_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUserLastRead(Long userLastRead) { - this.userLastRead = userLastRead; - } - - - /** - * Return true if this SendBird.GroupChannel object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdGroupChannel sendBirdGroupChannel = (SendBirdSendBirdGroupChannel) o; - return Objects.equals(this.channelUrl, sendBirdGroupChannel.channelUrl) && - Objects.equals(this.countPreference, sendBirdGroupChannel.countPreference) && - Objects.equals(this.coverUrl, sendBirdGroupChannel.coverUrl) && - Objects.equals(this.createdAt, sendBirdGroupChannel.createdAt) && - Objects.equals(this.createdBy, sendBirdGroupChannel.createdBy) && - Objects.equals(this.customType, sendBirdGroupChannel.customType) && - Objects.equals(this.data, sendBirdGroupChannel.data) && - Objects.equals(this.deliveryReceipt, sendBirdGroupChannel.deliveryReceipt) && - Objects.equals(this.disappearingMessage, sendBirdGroupChannel.disappearingMessage) && - Objects.equals(this.freeze, sendBirdGroupChannel.freeze) && - Objects.equals(this.hasAiBot, sendBirdGroupChannel.hasAiBot) && - Objects.equals(this.hasBot, sendBirdGroupChannel.hasBot) && - Objects.equals(this.hiddenState, sendBirdGroupChannel.hiddenState) && - Objects.equals(this.ignoreProfanityFilter, sendBirdGroupChannel.ignoreProfanityFilter) && - Objects.equals(this.invitedAt, sendBirdGroupChannel.invitedAt) && - Objects.equals(this.inviter, sendBirdGroupChannel.inviter) && - equalsNullable(this.isAccessCodeRequired, sendBirdGroupChannel.isAccessCodeRequired) && - Objects.equals(this.isBroadcast, sendBirdGroupChannel.isBroadcast) && - Objects.equals(this.isDiscoverable, sendBirdGroupChannel.isDiscoverable) && - Objects.equals(this.isDistinct, sendBirdGroupChannel.isDistinct) && - Objects.equals(this.isEphemeral, sendBirdGroupChannel.isEphemeral) && - Objects.equals(this.isExclusive, sendBirdGroupChannel.isExclusive) && - Objects.equals(this.isHidden, sendBirdGroupChannel.isHidden) && - Objects.equals(this.isMuted, sendBirdGroupChannel.isMuted) && - Objects.equals(this.isPublic, sendBirdGroupChannel.isPublic) && - Objects.equals(this.isPushEnabled, sendBirdGroupChannel.isPushEnabled) && - Objects.equals(this.isSuper, sendBirdGroupChannel.isSuper) && - Objects.equals(this.joinedMemberCount, sendBirdGroupChannel.joinedMemberCount) && - equalsNullable(this.joinedTs, sendBirdGroupChannel.joinedTs) && - Objects.equals(this.lastMessage, sendBirdGroupChannel.lastMessage) && - Objects.equals(this.maxLengthMessage, sendBirdGroupChannel.maxLengthMessage) && - Objects.equals(this.memberCount, sendBirdGroupChannel.memberCount) && - Objects.equals(this.memberState, sendBirdGroupChannel.memberState) && - Objects.equals(this.members, sendBirdGroupChannel.members) && - Objects.equals(this.messageSurvivalSeconds, sendBirdGroupChannel.messageSurvivalSeconds) && - equalsNullable(this.metadata, sendBirdGroupChannel.metadata) && - Objects.equals(this.myRole, sendBirdGroupChannel.myRole) && - Objects.equals(this.name, sendBirdGroupChannel.name) && - Objects.equals(this.pushTriggerOption, sendBirdGroupChannel.pushTriggerOption) && - Objects.equals(this.readReceipt, sendBirdGroupChannel.readReceipt) && - Objects.equals(this.smsFallback, sendBirdGroupChannel.smsFallback) && - Objects.equals(this.tsMessageOffset, sendBirdGroupChannel.tsMessageOffset) && - Objects.equals(this.unreadMentionCount, sendBirdGroupChannel.unreadMentionCount) && - Objects.equals(this.unreadMessageCount, sendBirdGroupChannel.unreadMessageCount) && - Objects.equals(this.userLastRead, sendBirdGroupChannel.userLastRead); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(channelUrl, countPreference, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, hiddenState, ignoreProfanityFilter, invitedAt, inviter, hashCodeNullable(isAccessCodeRequired), isBroadcast, isDiscoverable, isDistinct, isEphemeral, isExclusive, isHidden, isMuted, isPublic, isPushEnabled, isSuper, joinedMemberCount, hashCodeNullable(joinedTs), lastMessage, maxLengthMessage, memberCount, memberState, members, messageSurvivalSeconds, hashCodeNullable(metadata), myRole, name, pushTriggerOption, readReceipt, smsFallback, tsMessageOffset, unreadMentionCount, unreadMessageCount, userLastRead); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdGroupChannel {\n"); - sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); - sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); - sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" deliveryReceipt: ").append(toIndentedString(deliveryReceipt)).append("\n"); - sb.append(" disappearingMessage: ").append(toIndentedString(disappearingMessage)).append("\n"); - sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); - sb.append(" hasAiBot: ").append(toIndentedString(hasAiBot)).append("\n"); - sb.append(" hasBot: ").append(toIndentedString(hasBot)).append("\n"); - sb.append(" hiddenState: ").append(toIndentedString(hiddenState)).append("\n"); - sb.append(" ignoreProfanityFilter: ").append(toIndentedString(ignoreProfanityFilter)).append("\n"); - sb.append(" invitedAt: ").append(toIndentedString(invitedAt)).append("\n"); - sb.append(" inviter: ").append(toIndentedString(inviter)).append("\n"); - sb.append(" isAccessCodeRequired: ").append(toIndentedString(isAccessCodeRequired)).append("\n"); - sb.append(" isBroadcast: ").append(toIndentedString(isBroadcast)).append("\n"); - sb.append(" isDiscoverable: ").append(toIndentedString(isDiscoverable)).append("\n"); - sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); - sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); - sb.append(" isExclusive: ").append(toIndentedString(isExclusive)).append("\n"); - sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n"); - sb.append(" isMuted: ").append(toIndentedString(isMuted)).append("\n"); - sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); - sb.append(" isPushEnabled: ").append(toIndentedString(isPushEnabled)).append("\n"); - sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); - sb.append(" joinedMemberCount: ").append(toIndentedString(joinedMemberCount)).append("\n"); - sb.append(" joinedTs: ").append(toIndentedString(joinedTs)).append("\n"); - sb.append(" lastMessage: ").append(toIndentedString(lastMessage)).append("\n"); - sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); - sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); - sb.append(" memberState: ").append(toIndentedString(memberState)).append("\n"); - sb.append(" members: ").append(toIndentedString(members)).append("\n"); - sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" myRole: ").append(toIndentedString(myRole)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); - sb.append(" readReceipt: ").append(toIndentedString(readReceipt)).append("\n"); - sb.append(" smsFallback: ").append(toIndentedString(smsFallback)).append("\n"); - sb.append(" tsMessageOffset: ").append(toIndentedString(tsMessageOffset)).append("\n"); - sb.append(" unreadMentionCount: ").append(toIndentedString(unreadMentionCount)).append("\n"); - sb.append(" unreadMessageCount: ").append(toIndentedString(unreadMessageCount)).append("\n"); - sb.append(" userLastRead: ").append(toIndentedString(userLastRead)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java deleted file mode 100644 index f0ac3604..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetail.java +++ /dev/null @@ -1,1180 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendBirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendBirdGroupChannelDetailChannel; -import org.openapitools.client.model.SendBirdSendBirdMember; -import org.openapitools.client.model.SendBirdSendBirdMessageResponse; -import org.openapitools.client.model.SendBirdSendBirdSmsFallback; -import org.openapitools.client.model.SendBirdSendBirdUser; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdGroupChannelDetail - */ -@JsonPropertyOrder({ - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_CHANNEL, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_CHANNEL_URL, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_COVER_URL, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_CREATED_AT, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_CREATED_BY, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_DATA, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_DELIVERY_RECEIPT, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_DISAPPEARING_MESSAGE, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_FREEZE, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_HAS_AI_BOT, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_HAS_BOT, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_ID, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_BROADCAST, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_DISCOVERABLE, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_DISTINCT, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_PUBLIC, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_IS_SUPER, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_JOINED_MEMBER_COUNT, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_LAST_MESSAGE, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_MEMBER_COUNT, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_MEMBERS, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_NAME, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_OPERATORS, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_READ_RECEIPT, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_SMS_FALLBACK, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MENTION_COUNT, - SendBirdSendBirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MESSAGE_COUNT -}) -@JsonTypeName("SendBird.GroupChannelDetail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdGroupChannelDetail { - public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendBirdSendBirdGroupChannelDetailChannel channel; - - public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; - private String channelUrl; - - public static final String JSON_PROPERTY_COVER_URL = "cover_url"; - private String coverUrl; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdSendBirdBasicUserInfo createdBy; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_DELIVERY_RECEIPT = "delivery_receipt"; - private Map deliveryReceipt = null; - - public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdSendBirdDisappearingMessage disappearingMessage; - - public static final String JSON_PROPERTY_FREEZE = "freeze"; - private Boolean freeze; - - public static final String JSON_PROPERTY_HAS_AI_BOT = "has_ai_bot"; - private Boolean hasAiBot; - - public static final String JSON_PROPERTY_HAS_BOT = "has_bot"; - private Boolean hasBot; - - public static final String JSON_PROPERTY_ID = "id"; - private Integer id; - - public static final String JSON_PROPERTY_IGNORE_PROFANITY_FILTER = "ignore_profanity_filter"; - private Boolean ignoreProfanityFilter; - - public static final String JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED = "is_access_code_required"; - private Boolean isAccessCodeRequired; - - public static final String JSON_PROPERTY_IS_BROADCAST = "is_broadcast"; - private Boolean isBroadcast; - - public static final String JSON_PROPERTY_IS_DISCOVERABLE = "is_discoverable"; - private Boolean isDiscoverable; - - public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; - private Boolean isDistinct; - - public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; - private Boolean isEphemeral; - - public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; - private Boolean isPublic; - - public static final String JSON_PROPERTY_IS_SUPER = "is_super"; - private Boolean isSuper; - - public static final String JSON_PROPERTY_JOINED_MEMBER_COUNT = "joined_member_count"; - private Integer joinedMemberCount; - - public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdSendBirdMessageResponse lastMessage; - - public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; - private Integer maxLengthMessage; - - public static final String JSON_PROPERTY_MEMBER_COUNT = "member_count"; - private Integer memberCount; - - public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; - - public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; - private Integer messageSurvivalSeconds; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; - - public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; - private Map readReceipt = null; - - public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSendBirdSmsFallback smsFallback; - - public static final String JSON_PROPERTY_UNREAD_MENTION_COUNT = "unread_mention_count"; - private Integer unreadMentionCount; - - public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; - private Integer unreadMessageCount; - - public SendBirdSendBirdGroupChannelDetail() { - } - - public SendBirdSendBirdGroupChannelDetail channel(SendBirdSendBirdGroupChannelDetailChannel channel) { - this.channel = channel; - return this; - } - - /** - * Get channel - * @return channel - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdGroupChannelDetailChannel getChannel() { - return channel; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendBirdSendBirdGroupChannelDetailChannel channel) { - this.channel = channel; - } - - - public SendBirdSendBirdGroupChannelDetail channelUrl(String channelUrl) { - this.channelUrl = channelUrl; - return this; - } - - /** - * Get channelUrl - * @return channelUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getChannelUrl() { - return channelUrl; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setChannelUrl(String channelUrl) { - this.channelUrl = channelUrl; - } - - - public SendBirdSendBirdGroupChannelDetail coverUrl(String coverUrl) { - this.coverUrl = coverUrl; - return this; - } - - /** - * Get coverUrl - * @return coverUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCoverUrl() { - return coverUrl; - } - - - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverUrl(String coverUrl) { - this.coverUrl = coverUrl; - } - - - public SendBirdSendBirdGroupChannelDetail createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdSendBirdGroupChannelDetail createdBy(SendBirdSendBirdBasicUserInfo createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * Get createdBy - * @return createdBy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_BY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getCreatedBy() { - return createdBy; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_BY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdSendBirdBasicUserInfo createdBy) { - this.createdBy = createdBy; - } - - - public SendBirdSendBirdGroupChannelDetail customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdSendBirdGroupChannelDetail data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdSendBirdGroupChannelDetail deliveryReceipt(Map deliveryReceipt) { - this.deliveryReceipt = deliveryReceipt; - return this; - } - - public SendBirdSendBirdGroupChannelDetail putDeliveryReceiptItem(String key, Long deliveryReceiptItem) { - if (this.deliveryReceipt == null) { - this.deliveryReceipt = new HashMap<>(); - } - this.deliveryReceipt.put(key, deliveryReceiptItem); - return this; - } - - /** - * Get deliveryReceipt - * @return deliveryReceipt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Map getDeliveryReceipt() { - return deliveryReceipt; - } - - - @JsonProperty(JSON_PROPERTY_DELIVERY_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDeliveryReceipt(Map deliveryReceipt) { - this.deliveryReceipt = deliveryReceipt; - } - - - public SendBirdSendBirdGroupChannelDetail disappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { - this.disappearingMessage = disappearingMessage; - return this; - } - - /** - * Get disappearingMessage - * @return disappearingMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdDisappearingMessage getDisappearingMessage() { - return disappearingMessage; - } - - - @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdSendBirdDisappearingMessage disappearingMessage) { - this.disappearingMessage = disappearingMessage; - } - - - public SendBirdSendBirdGroupChannelDetail freeze(Boolean freeze) { - this.freeze = freeze; - return this; - } - - /** - * Get freeze - * @return freeze - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getFreeze() { - return freeze; - } - - - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFreeze(Boolean freeze) { - this.freeze = freeze; - } - - - public SendBirdSendBirdGroupChannelDetail hasAiBot(Boolean hasAiBot) { - this.hasAiBot = hasAiBot; - return this; - } - - /** - * Get hasAiBot - * @return hasAiBot - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getHasAiBot() { - return hasAiBot; - } - - - @JsonProperty(JSON_PROPERTY_HAS_AI_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHasAiBot(Boolean hasAiBot) { - this.hasAiBot = hasAiBot; - } - - - public SendBirdSendBirdGroupChannelDetail hasBot(Boolean hasBot) { - this.hasBot = hasBot; - return this; - } - - /** - * Get hasBot - * @return hasBot - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HAS_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getHasBot() { - return hasBot; - } - - - @JsonProperty(JSON_PROPERTY_HAS_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHasBot(Boolean hasBot) { - this.hasBot = hasBot; - } - - - public SendBirdSendBirdGroupChannelDetail id(Integer id) { - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getId() { - return id; - } - - - @JsonProperty(JSON_PROPERTY_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setId(Integer id) { - this.id = id; - } - - - public SendBirdSendBirdGroupChannelDetail ignoreProfanityFilter(Boolean ignoreProfanityFilter) { - this.ignoreProfanityFilter = ignoreProfanityFilter; - return this; - } - - /** - * Get ignoreProfanityFilter - * @return ignoreProfanityFilter - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIgnoreProfanityFilter() { - return ignoreProfanityFilter; - } - - - @JsonProperty(JSON_PROPERTY_IGNORE_PROFANITY_FILTER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { - this.ignoreProfanityFilter = ignoreProfanityFilter; - } - - - public SendBirdSendBirdGroupChannelDetail isAccessCodeRequired(Boolean isAccessCodeRequired) { - this.isAccessCodeRequired = isAccessCodeRequired; - return this; - } - - /** - * Get isAccessCodeRequired - * @return isAccessCodeRequired - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsAccessCodeRequired() { - return isAccessCodeRequired; - } - - - @JsonProperty(JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { - this.isAccessCodeRequired = isAccessCodeRequired; - } - - - public SendBirdSendBirdGroupChannelDetail isBroadcast(Boolean isBroadcast) { - this.isBroadcast = isBroadcast; - return this; - } - - /** - * Get isBroadcast - * @return isBroadcast - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_BROADCAST) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsBroadcast() { - return isBroadcast; - } - - - @JsonProperty(JSON_PROPERTY_IS_BROADCAST) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsBroadcast(Boolean isBroadcast) { - this.isBroadcast = isBroadcast; - } - - - public SendBirdSendBirdGroupChannelDetail isDiscoverable(Boolean isDiscoverable) { - this.isDiscoverable = isDiscoverable; - return this; - } - - /** - * Get isDiscoverable - * @return isDiscoverable - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDiscoverable() { - return isDiscoverable; - } - - - @JsonProperty(JSON_PROPERTY_IS_DISCOVERABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDiscoverable(Boolean isDiscoverable) { - this.isDiscoverable = isDiscoverable; - } - - - public SendBirdSendBirdGroupChannelDetail isDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - return this; - } - - /** - * Get isDistinct - * @return isDistinct - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDistinct() { - return isDistinct; - } - - - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - } - - - public SendBirdSendBirdGroupChannelDetail isEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - return this; - } - - /** - * Get isEphemeral - * @return isEphemeral - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsEphemeral() { - return isEphemeral; - } - - - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - } - - - public SendBirdSendBirdGroupChannelDetail isPublic(Boolean isPublic) { - this.isPublic = isPublic; - return this; - } - - /** - * Get isPublic - * @return isPublic - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPublic() { - return isPublic; - } - - - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPublic(Boolean isPublic) { - this.isPublic = isPublic; - } - - - public SendBirdSendBirdGroupChannelDetail isSuper(Boolean isSuper) { - this.isSuper = isSuper; - return this; - } - - /** - * Get isSuper - * @return isSuper - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsSuper() { - return isSuper; - } - - - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsSuper(Boolean isSuper) { - this.isSuper = isSuper; - } - - - public SendBirdSendBirdGroupChannelDetail joinedMemberCount(Integer joinedMemberCount) { - this.joinedMemberCount = joinedMemberCount; - return this; - } - - /** - * Get joinedMemberCount - * @return joinedMemberCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getJoinedMemberCount() { - return joinedMemberCount; - } - - - @JsonProperty(JSON_PROPERTY_JOINED_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setJoinedMemberCount(Integer joinedMemberCount) { - this.joinedMemberCount = joinedMemberCount; - } - - - public SendBirdSendBirdGroupChannelDetail lastMessage(SendBirdSendBirdMessageResponse lastMessage) { - this.lastMessage = lastMessage; - return this; - } - - /** - * Get lastMessage - * @return lastMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdMessageResponse getLastMessage() { - return lastMessage; - } - - - @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdSendBirdMessageResponse lastMessage) { - this.lastMessage = lastMessage; - } - - - public SendBirdSendBirdGroupChannelDetail maxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - return this; - } - - /** - * Get maxLengthMessage - * @return maxLengthMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMaxLengthMessage() { - return maxLengthMessage; - } - - - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMaxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - } - - - public SendBirdSendBirdGroupChannelDetail memberCount(Integer memberCount) { - this.memberCount = memberCount; - return this; - } - - /** - * Get memberCount - * @return memberCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMemberCount() { - return memberCount; - } - - - @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMemberCount(Integer memberCount) { - this.memberCount = memberCount; - } - - - public SendBirdSendBirdGroupChannelDetail members(List members) { - this.members = members; - return this; - } - - public SendBirdSendBirdGroupChannelDetail addMembersItem(SendBirdSendBirdMember membersItem) { - if (this.members == null) { - this.members = new ArrayList<>(); - } - this.members.add(membersItem); - return this; - } - - /** - * Get members - * @return members - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMembers() { - return members; - } - - - @JsonProperty(JSON_PROPERTY_MEMBERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { - this.members = members; - } - - - public SendBirdSendBirdGroupChannelDetail messageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - return this; - } - - /** - * Get messageSurvivalSeconds - * @return messageSurvivalSeconds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMessageSurvivalSeconds() { - return messageSurvivalSeconds; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - } - - - public SendBirdSendBirdGroupChannelDetail name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - public SendBirdSendBirdGroupChannelDetail operators(List operators) { - this.operators = operators; - return this; - } - - public SendBirdSendBirdGroupChannelDetail addOperatorsItem(SendBirdSendBirdUser operatorsItem) { - if (this.operators == null) { - this.operators = new ArrayList<>(); - } - this.operators.add(operatorsItem); - return this; - } - - /** - * Get operators - * @return operators - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_OPERATORS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getOperators() { - return operators; - } - - - @JsonProperty(JSON_PROPERTY_OPERATORS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { - this.operators = operators; - } - - - public SendBirdSendBirdGroupChannelDetail readReceipt(Map readReceipt) { - this.readReceipt = readReceipt; - return this; - } - - public SendBirdSendBirdGroupChannelDetail putReadReceiptItem(String key, Long readReceiptItem) { - if (this.readReceipt == null) { - this.readReceipt = new HashMap<>(); - } - this.readReceipt.put(key, readReceiptItem); - return this; - } - - /** - * Get readReceipt - * @return readReceipt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_READ_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Map getReadReceipt() { - return readReceipt; - } - - - @JsonProperty(JSON_PROPERTY_READ_RECEIPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReadReceipt(Map readReceipt) { - this.readReceipt = readReceipt; - } - - - public SendBirdSendBirdGroupChannelDetail smsFallback(SendBirdSendBirdSmsFallback smsFallback) { - this.smsFallback = smsFallback; - return this; - } - - /** - * Get smsFallback - * @return smsFallback - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdSmsFallback getSmsFallback() { - return smsFallback; - } - - - @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSendBirdSmsFallback smsFallback) { - this.smsFallback = smsFallback; - } - - - public SendBirdSendBirdGroupChannelDetail unreadMentionCount(Integer unreadMentionCount) { - this.unreadMentionCount = unreadMentionCount; - return this; - } - - /** - * Get unreadMentionCount - * @return unreadMentionCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadMentionCount() { - return unreadMentionCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_MENTION_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadMentionCount(Integer unreadMentionCount) { - this.unreadMentionCount = unreadMentionCount; - } - - - public SendBirdSendBirdGroupChannelDetail unreadMessageCount(Integer unreadMessageCount) { - this.unreadMessageCount = unreadMessageCount; - return this; - } - - /** - * Get unreadMessageCount - * @return unreadMessageCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadMessageCount() { - return unreadMessageCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadMessageCount(Integer unreadMessageCount) { - this.unreadMessageCount = unreadMessageCount; - } - - - /** - * Return true if this SendBird.GroupChannelDetail object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdGroupChannelDetail sendBirdGroupChannelDetail = (SendBirdSendBirdGroupChannelDetail) o; - return Objects.equals(this.channel, sendBirdGroupChannelDetail.channel) && - Objects.equals(this.channelUrl, sendBirdGroupChannelDetail.channelUrl) && - Objects.equals(this.coverUrl, sendBirdGroupChannelDetail.coverUrl) && - Objects.equals(this.createdAt, sendBirdGroupChannelDetail.createdAt) && - Objects.equals(this.createdBy, sendBirdGroupChannelDetail.createdBy) && - Objects.equals(this.customType, sendBirdGroupChannelDetail.customType) && - Objects.equals(this.data, sendBirdGroupChannelDetail.data) && - Objects.equals(this.deliveryReceipt, sendBirdGroupChannelDetail.deliveryReceipt) && - Objects.equals(this.disappearingMessage, sendBirdGroupChannelDetail.disappearingMessage) && - Objects.equals(this.freeze, sendBirdGroupChannelDetail.freeze) && - Objects.equals(this.hasAiBot, sendBirdGroupChannelDetail.hasAiBot) && - Objects.equals(this.hasBot, sendBirdGroupChannelDetail.hasBot) && - Objects.equals(this.id, sendBirdGroupChannelDetail.id) && - Objects.equals(this.ignoreProfanityFilter, sendBirdGroupChannelDetail.ignoreProfanityFilter) && - Objects.equals(this.isAccessCodeRequired, sendBirdGroupChannelDetail.isAccessCodeRequired) && - Objects.equals(this.isBroadcast, sendBirdGroupChannelDetail.isBroadcast) && - Objects.equals(this.isDiscoverable, sendBirdGroupChannelDetail.isDiscoverable) && - Objects.equals(this.isDistinct, sendBirdGroupChannelDetail.isDistinct) && - Objects.equals(this.isEphemeral, sendBirdGroupChannelDetail.isEphemeral) && - Objects.equals(this.isPublic, sendBirdGroupChannelDetail.isPublic) && - Objects.equals(this.isSuper, sendBirdGroupChannelDetail.isSuper) && - Objects.equals(this.joinedMemberCount, sendBirdGroupChannelDetail.joinedMemberCount) && - Objects.equals(this.lastMessage, sendBirdGroupChannelDetail.lastMessage) && - Objects.equals(this.maxLengthMessage, sendBirdGroupChannelDetail.maxLengthMessage) && - Objects.equals(this.memberCount, sendBirdGroupChannelDetail.memberCount) && - Objects.equals(this.members, sendBirdGroupChannelDetail.members) && - Objects.equals(this.messageSurvivalSeconds, sendBirdGroupChannelDetail.messageSurvivalSeconds) && - Objects.equals(this.name, sendBirdGroupChannelDetail.name) && - Objects.equals(this.operators, sendBirdGroupChannelDetail.operators) && - Objects.equals(this.readReceipt, sendBirdGroupChannelDetail.readReceipt) && - Objects.equals(this.smsFallback, sendBirdGroupChannelDetail.smsFallback) && - Objects.equals(this.unreadMentionCount, sendBirdGroupChannelDetail.unreadMentionCount) && - Objects.equals(this.unreadMessageCount, sendBirdGroupChannelDetail.unreadMessageCount); - } - - @Override - public int hashCode() { - return Objects.hash(channel, channelUrl, coverUrl, createdAt, createdBy, customType, data, deliveryReceipt, disappearingMessage, freeze, hasAiBot, hasBot, id, ignoreProfanityFilter, isAccessCodeRequired, isBroadcast, isDiscoverable, isDistinct, isEphemeral, isPublic, isSuper, joinedMemberCount, lastMessage, maxLengthMessage, memberCount, members, messageSurvivalSeconds, name, operators, readReceipt, smsFallback, unreadMentionCount, unreadMessageCount); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdGroupChannelDetail {\n"); - sb.append(" channel: ").append(toIndentedString(channel)).append("\n"); - sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); - sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" deliveryReceipt: ").append(toIndentedString(deliveryReceipt)).append("\n"); - sb.append(" disappearingMessage: ").append(toIndentedString(disappearingMessage)).append("\n"); - sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); - sb.append(" hasAiBot: ").append(toIndentedString(hasAiBot)).append("\n"); - sb.append(" hasBot: ").append(toIndentedString(hasBot)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" ignoreProfanityFilter: ").append(toIndentedString(ignoreProfanityFilter)).append("\n"); - sb.append(" isAccessCodeRequired: ").append(toIndentedString(isAccessCodeRequired)).append("\n"); - sb.append(" isBroadcast: ").append(toIndentedString(isBroadcast)).append("\n"); - sb.append(" isDiscoverable: ").append(toIndentedString(isDiscoverable)).append("\n"); - sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); - sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); - sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); - sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); - sb.append(" joinedMemberCount: ").append(toIndentedString(joinedMemberCount)).append("\n"); - sb.append(" lastMessage: ").append(toIndentedString(lastMessage)).append("\n"); - sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); - sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); - sb.append(" members: ").append(toIndentedString(members)).append("\n"); - sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" operators: ").append(toIndentedString(operators)).append("\n"); - sb.append(" readReceipt: ").append(toIndentedString(readReceipt)).append("\n"); - sb.append(" smsFallback: ").append(toIndentedString(smsFallback)).append("\n"); - sb.append(" unreadMentionCount: ").append(toIndentedString(unreadMentionCount)).append("\n"); - sb.append(" unreadMessageCount: ").append(toIndentedString(unreadMessageCount)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java deleted file mode 100644 index 95a419ba..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannel.java +++ /dev/null @@ -1,337 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdGroupChannelDetailChannel - */ -@JsonPropertyOrder({ - SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_CHANNEL_URL, - SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_COVER_URL, - SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_CREATED_AT, - SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_DATA, - SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_MEMBER_COUNT, - SendBirdSendBirdGroupChannelDetailChannel.JSON_PROPERTY_NAME -}) -@JsonTypeName("SendBird_GroupChannelDetail_channel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdGroupChannelDetailChannel { - public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; - private String channelUrl; - - public static final String JSON_PROPERTY_COVER_URL = "cover_url"; - private String coverUrl; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; - private Integer maxLengthMessage; - - public static final String JSON_PROPERTY_MEMBER_COUNT = "member_count"; - private Integer memberCount; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public SendBirdSendBirdGroupChannelDetailChannel() { - } - - public SendBirdSendBirdGroupChannelDetailChannel channelUrl(String channelUrl) { - this.channelUrl = channelUrl; - return this; - } - - /** - * Get channelUrl - * @return channelUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getChannelUrl() { - return channelUrl; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannelUrl(String channelUrl) { - this.channelUrl = channelUrl; - } - - - public SendBirdSendBirdGroupChannelDetailChannel coverUrl(String coverUrl) { - this.coverUrl = coverUrl; - return this; - } - - /** - * Get coverUrl - * @return coverUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCoverUrl() { - return coverUrl; - } - - - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverUrl(String coverUrl) { - this.coverUrl = coverUrl; - } - - - public SendBirdSendBirdGroupChannelDetailChannel createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdSendBirdGroupChannelDetailChannel customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdSendBirdGroupChannelDetailChannel data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdSendBirdGroupChannelDetailChannel maxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - return this; - } - - /** - * Get maxLengthMessage - * @return maxLengthMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMaxLengthMessage() { - return maxLengthMessage; - } - - - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMaxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - } - - - public SendBirdSendBirdGroupChannelDetailChannel memberCount(Integer memberCount) { - this.memberCount = memberCount; - return this; - } - - /** - * Get memberCount - * @return memberCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMemberCount() { - return memberCount; - } - - - @JsonProperty(JSON_PROPERTY_MEMBER_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMemberCount(Integer memberCount) { - this.memberCount = memberCount; - } - - - public SendBirdSendBirdGroupChannelDetailChannel name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - /** - * Return true if this SendBird_GroupChannelDetail_channel object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdGroupChannelDetailChannel sendBirdGroupChannelDetailChannel = (SendBirdSendBirdGroupChannelDetailChannel) o; - return Objects.equals(this.channelUrl, sendBirdGroupChannelDetailChannel.channelUrl) && - Objects.equals(this.coverUrl, sendBirdGroupChannelDetailChannel.coverUrl) && - Objects.equals(this.createdAt, sendBirdGroupChannelDetailChannel.createdAt) && - Objects.equals(this.customType, sendBirdGroupChannelDetailChannel.customType) && - Objects.equals(this.data, sendBirdGroupChannelDetailChannel.data) && - Objects.equals(this.maxLengthMessage, sendBirdGroupChannelDetailChannel.maxLengthMessage) && - Objects.equals(this.memberCount, sendBirdGroupChannelDetailChannel.memberCount) && - Objects.equals(this.name, sendBirdGroupChannelDetailChannel.name); - } - - @Override - public int hashCode() { - return Objects.hash(channelUrl, coverUrl, createdAt, customType, data, maxLengthMessage, memberCount, name); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdGroupChannelDetailChannel {\n"); - sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); - sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); - sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java deleted file mode 100644 index 9439f8e8..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessage.java +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendBirdFile; -import org.openapitools.client.model.SendBirdSendBirdMessageResponse; -import org.openapitools.client.model.SendBirdSendBirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendBirdSendBirdMessageResponseMessageEvents; -import org.openapitools.client.model.SendBirdSendBirdParentMessageInfo; -import org.openapitools.client.model.SendBirdSendBirdReaction; -import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - -import com.fasterxml.jackson.core.type.TypeReference; - -import javax.ws.rs.core.GenericType; -import javax.ws.rs.core.Response; -import java.io.IOException; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; - -import com.fasterxml.jackson.core.JsonGenerator; -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.JsonToken; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.DeserializationContext; -import com.fasterxml.jackson.databind.JsonMappingException; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.MapperFeature; -import com.fasterxml.jackson.databind.SerializerProvider; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import com.fasterxml.jackson.databind.deser.std.StdDeserializer; -import com.fasterxml.jackson.databind.ser.std.StdSerializer; -import org.sendbird.client.JSON; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendBirdSendBirdGroupChannelLastMessage.SendBirdSendBirdGroupChannelLastMessageDeserializer.class) -@JsonSerialize(using = SendBirdSendBirdGroupChannelLastMessage.SendBirdSendBirdGroupChannelLastMessageSerializer.class) -public class SendBirdSendBirdGroupChannelLastMessage extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendBirdSendBirdGroupChannelLastMessage.class.getName()); - - public static class SendBirdSendBirdGroupChannelLastMessageSerializer extends StdSerializer { - public SendBirdSendBirdGroupChannelLastMessageSerializer(Class t) { - super(t); - } - - public SendBirdSendBirdGroupChannelLastMessageSerializer() { - this(null); - } - - @Override - public void serialize(SendBirdSendBirdGroupChannelLastMessage value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { - jgen.writeObject(value.getActualInstance()); - } - } - - public static class SendBirdSendBirdGroupChannelLastMessageDeserializer extends StdDeserializer { - public SendBirdSendBirdGroupChannelLastMessageDeserializer() { - this(SendBirdSendBirdGroupChannelLastMessage.class); - } - - public SendBirdSendBirdGroupChannelLastMessageDeserializer(Class vc) { - super(vc); - } - - @Override - public SendBirdSendBirdGroupChannelLastMessage deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { - JsonNode tree = jp.readValueAsTree(); - Object deserialized = null; - boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); - int match = 0; - JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendBirdSendBirdMessageResponse - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (SendBirdSendBirdMessageResponse.class.equals(Integer.class) || SendBirdSendBirdMessageResponse.class.equals(Long.class) || SendBirdSendBirdMessageResponse.class.equals(Float.class) || SendBirdSendBirdMessageResponse.class.equals(Double.class) || SendBirdSendBirdMessageResponse.class.equals(Boolean.class) || SendBirdSendBirdMessageResponse.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((SendBirdSendBirdMessageResponse.class.equals(Integer.class) || SendBirdSendBirdMessageResponse.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendBirdSendBirdMessageResponse.class.equals(Float.class) || SendBirdSendBirdMessageResponse.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendBirdSendBirdMessageResponse.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendBirdSendBirdMessageResponse.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendBirdMessageResponse.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'SendBirdSendBirdMessageResponse'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendBirdSendBirdMessageResponse'", e); - } - - if (match == 1) { - SendBirdSendBirdGroupChannelLastMessage ret = new SendBirdSendBirdGroupChannelLastMessage(); - ret.setActualInstance(deserialized); - return ret; - } - throw new IOException(String.format("Failed deserialization for SendBirdSendBirdGroupChannelLastMessage: %d classes match result, expected 1", match)); - } - - /** - * Handle deserialization of the 'null' value. - */ - @Override - public SendBirdSendBirdGroupChannelLastMessage getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendBirdSendBirdGroupChannelLastMessage cannot be null"); - } - } - - // store a list of schema names defined in oneOf - public static final Map schemas = new HashMap(); - - public SendBirdSendBirdGroupChannelLastMessage() { - super("oneOf", Boolean.FALSE); - } - - public SendBirdSendBirdGroupChannelLastMessage(SendBirdSendBirdMessageResponse o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - static { - schemas.put("SendBirdSendBirdMessageResponse", new GenericType() { - }); - JSON.registerDescendants(SendBirdSendBirdGroupChannelLastMessage.class, Collections.unmodifiableMap(schemas)); - } - - @Override - public Map getSchemas() { - return SendBirdSendBirdGroupChannelLastMessage.schemas; - } - - /** - * Set the instance that matches the oneOf child schema, check - * the instance parameter is valid against the oneOf child schemas: - * SendBirdSendBirdMessageResponse - * - * It could be an instance of the 'oneOf' schemas. - * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). - */ - @Override - public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendBirdSendBirdMessageResponse.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - throw new RuntimeException("Invalid instance type. Must be SendBirdSendBirdMessageResponse"); - } - - /** - * Get the actual instance, which can be the following: - * SendBirdSendBirdMessageResponse - * - * @return The actual instance (SendBirdSendBirdMessageResponse) - */ - @Override - public Object getActualInstance() { - return super.getActualInstance(); - } - - /** - * Get the actual instance of `SendBirdSendBirdMessageResponse`. If the actual instance is not `SendBirdSendBirdMessageResponse`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `SendBirdSendBirdMessageResponse` - * @throws ClassCastException if the instance is not `SendBirdSendBirdMessageResponse` - */ - public SendBirdSendBirdMessageResponse getSendBirdSendBirdMessageResponse() throws ClassCastException { - return (SendBirdSendBirdMessageResponse)super.getActualInstance(); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java deleted file mode 100644 index 1f171e26..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMember.java +++ /dev/null @@ -1,937 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdMember - */ -@JsonPropertyOrder({ - SendBirdSendBirdMember.JSON_PROPERTY_DELIVERED_TS, - SendBirdSendBirdMember.JSON_PROPERTY_DO_NOT_DISTURB, - SendBirdSendBirdMember.JSON_PROPERTY_FRIEND_DISCOVERY_KEY, - SendBirdSendBirdMember.JSON_PROPERTY_FRIEND_NAME, - SendBirdSendBirdMember.JSON_PROPERTY_IS_ACTIVE, - SendBirdSendBirdMember.JSON_PROPERTY_IS_BLOCKED_BY_ME, - SendBirdSendBirdMember.JSON_PROPERTY_IS_BLOCKING_ME, - SendBirdSendBirdMember.JSON_PROPERTY_IS_MUTED, - SendBirdSendBirdMember.JSON_PROPERTY_IS_ONLINE, - SendBirdSendBirdMember.JSON_PROPERTY_LAST_SEEN_AT, - SendBirdSendBirdMember.JSON_PROPERTY_METADATA, - SendBirdSendBirdMember.JSON_PROPERTY_MUTED_DESCRIPTION, - SendBirdSendBirdMember.JSON_PROPERTY_MUTED_END_AT, - SendBirdSendBirdMember.JSON_PROPERTY_NICKNAME, - SendBirdSendBirdMember.JSON_PROPERTY_PUSH_ENABLED, - SendBirdSendBirdMember.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdSendBirdMember.JSON_PROPERTY_PROFILE_URL, - SendBirdSendBirdMember.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendBirdSendBirdMember.JSON_PROPERTY_READ_TS, - SendBirdSendBirdMember.JSON_PROPERTY_ROLE, - SendBirdSendBirdMember.JSON_PROPERTY_STATE, - SendBirdSendBirdMember.JSON_PROPERTY_USER_ID -}) -@JsonTypeName("SendBird.Member") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdMember { - public static final String JSON_PROPERTY_DELIVERED_TS = "delivered_ts"; - private Long deliveredTs; - - public static final String JSON_PROPERTY_DO_NOT_DISTURB = "do_not_disturb"; - private Boolean doNotDisturb; - - public static final String JSON_PROPERTY_FRIEND_DISCOVERY_KEY = "friend_discovery_key"; - private JsonNullable> friendDiscoveryKey = JsonNullable.>undefined(); - - public static final String JSON_PROPERTY_FRIEND_NAME = "friend_name"; - private JsonNullable friendName = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_IS_ACTIVE = "is_active"; - private Boolean isActive; - - public static final String JSON_PROPERTY_IS_BLOCKED_BY_ME = "is_blocked_by_me"; - private Boolean isBlockedByMe; - - public static final String JSON_PROPERTY_IS_BLOCKING_ME = "is_blocking_me"; - private Boolean isBlockingMe; - - public static final String JSON_PROPERTY_IS_MUTED = "is_muted"; - private Boolean isMuted; - - public static final String JSON_PROPERTY_IS_ONLINE = "is_online"; - private Boolean isOnline; - - public static final String JSON_PROPERTY_LAST_SEEN_AT = "last_seen_at"; - private Long lastSeenAt; - - public static final String JSON_PROPERTY_METADATA = "metadata"; - private JsonNullable metadata = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_MUTED_DESCRIPTION = "muted_description"; - private String mutedDescription; - - public static final String JSON_PROPERTY_MUTED_END_AT = "muted_end_at"; - private Long mutedEndAt; - - public static final String JSON_PROPERTY_NICKNAME = "nickname"; - private JsonNullable nickname = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_PUSH_ENABLED = "push_enabled"; - private Boolean pushEnabled; - - public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendBirdPushTriggerOption pushTriggerOption; - - public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; - private String profileUrl = ""; - - public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; - private Boolean requireAuthForProfileImage; - - public static final String JSON_PROPERTY_READ_TS = "read_ts"; - private Long readTs; - - /** - * Gets or Sets role - */ - public enum RoleEnum { - EMPTY(""), - - NONE("none"), - - OPERATOR("operator"); - - private String value; - - RoleEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static RoleEnum fromValue(String value) { - for (RoleEnum b : RoleEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - return null; - } - } - - public static final String JSON_PROPERTY_ROLE = "role"; - private JsonNullable role = JsonNullable.undefined(); - - /** - * Gets or Sets state - */ - public enum StateEnum { - EMPTY(""), - - INVITED("invited"), - - JOINED("joined"); - - private String value; - - StateEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static StateEnum fromValue(String value) { - for (StateEnum b : StateEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - return null; - } - } - - public static final String JSON_PROPERTY_STATE = "state"; - private JsonNullable state = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - public SendBirdSendBirdMember() { - } - - public SendBirdSendBirdMember deliveredTs(Long deliveredTs) { - this.deliveredTs = deliveredTs; - return this; - } - - /** - * Get deliveredTs - * @return deliveredTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DELIVERED_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getDeliveredTs() { - return deliveredTs; - } - - - @JsonProperty(JSON_PROPERTY_DELIVERED_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDeliveredTs(Long deliveredTs) { - this.deliveredTs = deliveredTs; - } - - - public SendBirdSendBirdMember doNotDisturb(Boolean doNotDisturb) { - this.doNotDisturb = doNotDisturb; - return this; - } - - /** - * Get doNotDisturb - * @return doNotDisturb - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getDoNotDisturb() { - return doNotDisturb; - } - - - @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDoNotDisturb(Boolean doNotDisturb) { - this.doNotDisturb = doNotDisturb; - } - - - public SendBirdSendBirdMember friendDiscoveryKey(List friendDiscoveryKey) { - this.friendDiscoveryKey = JsonNullable.>of(friendDiscoveryKey); - return this; - } - - public SendBirdSendBirdMember addFriendDiscoveryKeyItem(String friendDiscoveryKeyItem) { - if (this.friendDiscoveryKey == null || !this.friendDiscoveryKey.isPresent()) { - this.friendDiscoveryKey = JsonNullable.>of(new ArrayList<>()); - } - try { - this.friendDiscoveryKey.get().add(friendDiscoveryKeyItem); - } catch (java.util.NoSuchElementException e) { - // this can never happen, as we make sure above that the value is present - } - return this; - } - - /** - * Get friendDiscoveryKey - * @return friendDiscoveryKey - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public List getFriendDiscoveryKey() { - return friendDiscoveryKey.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_FRIEND_DISCOVERY_KEY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable> getFriendDiscoveryKey_JsonNullable() { - return friendDiscoveryKey; - } - - @JsonProperty(JSON_PROPERTY_FRIEND_DISCOVERY_KEY) - public void setFriendDiscoveryKey_JsonNullable(JsonNullable> friendDiscoveryKey) { - this.friendDiscoveryKey = friendDiscoveryKey; - } - - public void setFriendDiscoveryKey(List friendDiscoveryKey) { - this.friendDiscoveryKey = JsonNullable.>of(friendDiscoveryKey); - } - - - public SendBirdSendBirdMember friendName(String friendName) { - this.friendName = JsonNullable.of(friendName); - return this; - } - - /** - * Get friendName - * @return friendName - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getFriendName() { - return friendName.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_FRIEND_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getFriendName_JsonNullable() { - return friendName; - } - - @JsonProperty(JSON_PROPERTY_FRIEND_NAME) - public void setFriendName_JsonNullable(JsonNullable friendName) { - this.friendName = friendName; - } - - public void setFriendName(String friendName) { - this.friendName = JsonNullable.of(friendName); - } - - - public SendBirdSendBirdMember isActive(Boolean isActive) { - this.isActive = isActive; - return this; - } - - /** - * Get isActive - * @return isActive - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_ACTIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsActive() { - return isActive; - } - - - @JsonProperty(JSON_PROPERTY_IS_ACTIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsActive(Boolean isActive) { - this.isActive = isActive; - } - - - public SendBirdSendBirdMember isBlockedByMe(Boolean isBlockedByMe) { - this.isBlockedByMe = isBlockedByMe; - return this; - } - - /** - * Get isBlockedByMe - * @return isBlockedByMe - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_BLOCKED_BY_ME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsBlockedByMe() { - return isBlockedByMe; - } - - - @JsonProperty(JSON_PROPERTY_IS_BLOCKED_BY_ME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsBlockedByMe(Boolean isBlockedByMe) { - this.isBlockedByMe = isBlockedByMe; - } - - - public SendBirdSendBirdMember isBlockingMe(Boolean isBlockingMe) { - this.isBlockingMe = isBlockingMe; - return this; - } - - /** - * Get isBlockingMe - * @return isBlockingMe - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_BLOCKING_ME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsBlockingMe() { - return isBlockingMe; - } - - - @JsonProperty(JSON_PROPERTY_IS_BLOCKING_ME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsBlockingMe(Boolean isBlockingMe) { - this.isBlockingMe = isBlockingMe; - } - - - public SendBirdSendBirdMember isMuted(Boolean isMuted) { - this.isMuted = isMuted; - return this; - } - - /** - * Get isMuted - * @return isMuted - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_MUTED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsMuted() { - return isMuted; - } - - - @JsonProperty(JSON_PROPERTY_IS_MUTED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsMuted(Boolean isMuted) { - this.isMuted = isMuted; - } - - - public SendBirdSendBirdMember isOnline(Boolean isOnline) { - this.isOnline = isOnline; - return this; - } - - /** - * Get isOnline - * @return isOnline - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_ONLINE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsOnline() { - return isOnline; - } - - - @JsonProperty(JSON_PROPERTY_IS_ONLINE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsOnline(Boolean isOnline) { - this.isOnline = isOnline; - } - - - public SendBirdSendBirdMember lastSeenAt(Long lastSeenAt) { - this.lastSeenAt = lastSeenAt; - return this; - } - - /** - * Get lastSeenAt - * @return lastSeenAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getLastSeenAt() { - return lastSeenAt; - } - - - @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastSeenAt(Long lastSeenAt) { - this.lastSeenAt = lastSeenAt; - } - - - public SendBirdSendBirdMember metadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Object getMetadata() { - return metadata.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getMetadata_JsonNullable() { - return metadata; - } - - @JsonProperty(JSON_PROPERTY_METADATA) - public void setMetadata_JsonNullable(JsonNullable metadata) { - this.metadata = metadata; - } - - public void setMetadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - } - - - public SendBirdSendBirdMember mutedDescription(String mutedDescription) { - this.mutedDescription = mutedDescription; - return this; - } - - /** - * Get mutedDescription - * @return mutedDescription - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MUTED_DESCRIPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getMutedDescription() { - return mutedDescription; - } - - - @JsonProperty(JSON_PROPERTY_MUTED_DESCRIPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMutedDescription(String mutedDescription) { - this.mutedDescription = mutedDescription; - } - - - public SendBirdSendBirdMember mutedEndAt(Long mutedEndAt) { - this.mutedEndAt = mutedEndAt; - return this; - } - - /** - * Get mutedEndAt - * @return mutedEndAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MUTED_END_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getMutedEndAt() { - return mutedEndAt; - } - - - @JsonProperty(JSON_PROPERTY_MUTED_END_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMutedEndAt(Long mutedEndAt) { - this.mutedEndAt = mutedEndAt; - } - - - public SendBirdSendBirdMember nickname(String nickname) { - this.nickname = JsonNullable.of(nickname); - return this; - } - - /** - * Get nickname - * @return nickname - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getNickname() { - return nickname.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getNickname_JsonNullable() { - return nickname; - } - - @JsonProperty(JSON_PROPERTY_NICKNAME) - public void setNickname_JsonNullable(JsonNullable nickname) { - this.nickname = nickname; - } - - public void setNickname(String nickname) { - this.nickname = JsonNullable.of(nickname); - } - - - public SendBirdSendBirdMember pushEnabled(Boolean pushEnabled) { - this.pushEnabled = pushEnabled; - return this; - } - - /** - * Get pushEnabled - * @return pushEnabled - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getPushEnabled() { - return pushEnabled; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushEnabled(Boolean pushEnabled) { - this.pushEnabled = pushEnabled; - } - - - public SendBirdSendBirdMember pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - return this; - } - - /** - * Get pushTriggerOption - * @return pushTriggerOption - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { - return pushTriggerOption; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - } - - - public SendBirdSendBirdMember profileUrl(String profileUrl) { - this.profileUrl = profileUrl; - return this; - } - - /** - * Get profileUrl - * @return profileUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getProfileUrl() { - return profileUrl; - } - - - @JsonProperty(JSON_PROPERTY_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setProfileUrl(String profileUrl) { - this.profileUrl = profileUrl; - } - - - public SendBirdSendBirdMember requireAuthForProfileImage(Boolean requireAuthForProfileImage) { - this.requireAuthForProfileImage = requireAuthForProfileImage; - return this; - } - - /** - * Get requireAuthForProfileImage - * @return requireAuthForProfileImage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getRequireAuthForProfileImage() { - return requireAuthForProfileImage; - } - - - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { - this.requireAuthForProfileImage = requireAuthForProfileImage; - } - - - public SendBirdSendBirdMember readTs(Long readTs) { - this.readTs = readTs; - return this; - } - - /** - * Get readTs - * @return readTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_READ_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getReadTs() { - return readTs; - } - - - @JsonProperty(JSON_PROPERTY_READ_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReadTs(Long readTs) { - this.readTs = readTs; - } - - - public SendBirdSendBirdMember role(RoleEnum role) { - this.role = JsonNullable.of(role); - return this; - } - - /** - * Get role - * @return role - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public RoleEnum getRole() { - return role.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_ROLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getRole_JsonNullable() { - return role; - } - - @JsonProperty(JSON_PROPERTY_ROLE) - public void setRole_JsonNullable(JsonNullable role) { - this.role = role; - } - - public void setRole(RoleEnum role) { - this.role = JsonNullable.of(role); - } - - - public SendBirdSendBirdMember state(StateEnum state) { - this.state = JsonNullable.of(state); - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public StateEnum getState() { - return state.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getState_JsonNullable() { - return state; - } - - @JsonProperty(JSON_PROPERTY_STATE) - public void setState_JsonNullable(JsonNullable state) { - this.state = state; - } - - public void setState(StateEnum state) { - this.state = JsonNullable.of(state); - } - - - public SendBirdSendBirdMember userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserId(String userId) { - this.userId = userId; - } - - - /** - * Return true if this SendBird.Member object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdMember sendBirdMember = (SendBirdSendBirdMember) o; - return Objects.equals(this.deliveredTs, sendBirdMember.deliveredTs) && - Objects.equals(this.doNotDisturb, sendBirdMember.doNotDisturb) && - equalsNullable(this.friendDiscoveryKey, sendBirdMember.friendDiscoveryKey) && - equalsNullable(this.friendName, sendBirdMember.friendName) && - Objects.equals(this.isActive, sendBirdMember.isActive) && - Objects.equals(this.isBlockedByMe, sendBirdMember.isBlockedByMe) && - Objects.equals(this.isBlockingMe, sendBirdMember.isBlockingMe) && - Objects.equals(this.isMuted, sendBirdMember.isMuted) && - Objects.equals(this.isOnline, sendBirdMember.isOnline) && - Objects.equals(this.lastSeenAt, sendBirdMember.lastSeenAt) && - equalsNullable(this.metadata, sendBirdMember.metadata) && - Objects.equals(this.mutedDescription, sendBirdMember.mutedDescription) && - Objects.equals(this.mutedEndAt, sendBirdMember.mutedEndAt) && - equalsNullable(this.nickname, sendBirdMember.nickname) && - Objects.equals(this.pushEnabled, sendBirdMember.pushEnabled) && - Objects.equals(this.pushTriggerOption, sendBirdMember.pushTriggerOption) && - Objects.equals(this.profileUrl, sendBirdMember.profileUrl) && - Objects.equals(this.requireAuthForProfileImage, sendBirdMember.requireAuthForProfileImage) && - Objects.equals(this.readTs, sendBirdMember.readTs) && - equalsNullable(this.role, sendBirdMember.role) && - equalsNullable(this.state, sendBirdMember.state) && - Objects.equals(this.userId, sendBirdMember.userId); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(deliveredTs, doNotDisturb, hashCodeNullable(friendDiscoveryKey), hashCodeNullable(friendName), isActive, isBlockedByMe, isBlockingMe, isMuted, isOnline, lastSeenAt, hashCodeNullable(metadata), mutedDescription, mutedEndAt, hashCodeNullable(nickname), pushEnabled, pushTriggerOption, profileUrl, requireAuthForProfileImage, readTs, hashCodeNullable(role), hashCodeNullable(state), userId); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdMember {\n"); - sb.append(" deliveredTs: ").append(toIndentedString(deliveredTs)).append("\n"); - sb.append(" doNotDisturb: ").append(toIndentedString(doNotDisturb)).append("\n"); - sb.append(" friendDiscoveryKey: ").append(toIndentedString(friendDiscoveryKey)).append("\n"); - sb.append(" friendName: ").append(toIndentedString(friendName)).append("\n"); - sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); - sb.append(" isBlockedByMe: ").append(toIndentedString(isBlockedByMe)).append("\n"); - sb.append(" isBlockingMe: ").append(toIndentedString(isBlockingMe)).append("\n"); - sb.append(" isMuted: ").append(toIndentedString(isMuted)).append("\n"); - sb.append(" isOnline: ").append(toIndentedString(isOnline)).append("\n"); - sb.append(" lastSeenAt: ").append(toIndentedString(lastSeenAt)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" mutedDescription: ").append(toIndentedString(mutedDescription)).append("\n"); - sb.append(" mutedEndAt: ").append(toIndentedString(mutedEndAt)).append("\n"); - sb.append(" nickname: ").append(toIndentedString(nickname)).append("\n"); - sb.append(" pushEnabled: ").append(toIndentedString(pushEnabled)).append("\n"); - sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); - sb.append(" profileUrl: ").append(toIndentedString(profileUrl)).append("\n"); - sb.append(" requireAuthForProfileImage: ").append(toIndentedString(requireAuthForProfileImage)).append("\n"); - sb.append(" readTs: ").append(toIndentedString(readTs)).append("\n"); - sb.append(" role: ").append(toIndentedString(role)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java deleted file mode 100644 index 86250a48..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponse.java +++ /dev/null @@ -1,1105 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendBirdFile; -import org.openapitools.client.model.SendBirdSendBirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendBirdSendBirdMessageResponseMessageEvents; -import org.openapitools.client.model.SendBirdSendBirdParentMessageInfo; -import org.openapitools.client.model.SendBirdSendBirdReaction; -import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdMessageResponse - */ -@JsonPropertyOrder({ - SendBirdSendBirdMessageResponse.JSON_PROPERTY_REQUIRE_AUTH, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_MENTIONED_USERS, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_TRANSLATIONS, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_UPDATED_AT, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_IS_OP_MSG, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_REACTIONS, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_IS_REMOVED, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_USER, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_FILE, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_FILES, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_MESSAGE, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_DATA, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_MESSAGE_RETENTION_HOUR, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_SILENT, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_TYPE, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_CREATED_AT, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_CHANNEL_TYPE, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_REQ_ID, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_MENTION_TYPE, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_CHANNEL_URL, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_MESSAGE_ID, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_SORTED_METAARRAY, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_THREAD_INFO, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_ID, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_PARENT_MESSAGE_INFO, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_IS_REPLY_TO_CHANNEL, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_MESSAGE_EVENTS, - SendBirdSendBirdMessageResponse.JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD -}) -@JsonTypeName("SendBird.MessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdMessageResponse { - public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; - private Boolean requireAuth; - - public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; - private Integer messageSurvivalSeconds; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_MENTIONED_USERS = "mentioned_users"; - private List mentionedUsers = null; - - public static final String JSON_PROPERTY_TRANSLATIONS = "translations"; - private Object translations; - - public static final String JSON_PROPERTY_UPDATED_AT = "updated_at"; - private Long updatedAt; - - public static final String JSON_PROPERTY_IS_OP_MSG = "is_op_msg"; - private Boolean isOpMsg; - - public static final String JSON_PROPERTY_REACTIONS = "reactions"; - private List reactions = null; - - public static final String JSON_PROPERTY_IS_REMOVED = "is_removed"; - private Boolean isRemoved; - - public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendBirdBasicUserInfo user; - - public static final String JSON_PROPERTY_FILE = "file"; - private Object _file; - - public static final String JSON_PROPERTY_FILES = "files"; - private List files = null; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private String message; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_MESSAGE_RETENTION_HOUR = "message_retention_hour"; - private Integer messageRetentionHour; - - public static final String JSON_PROPERTY_SILENT = "silent"; - private Boolean silent; - - public static final String JSON_PROPERTY_TYPE = "type"; - private String type; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_CHANNEL_TYPE = "channel_type"; - private String channelType; - - public static final String JSON_PROPERTY_REQ_ID = "req_id"; - private String reqId; - - public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; - private String mentionType; - - public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; - private String channelUrl; - - public static final String JSON_PROPERTY_MESSAGE_ID = "message_id"; - private Long messageId; - - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; - - public static final String JSON_PROPERTY_THREAD_INFO = "thread_info"; - private Object threadInfo; - - public static final String JSON_PROPERTY_PARENT_MESSAGE_ID = "parent_message_id"; - private Integer parentMessageId; - - public static final String JSON_PROPERTY_PARENT_MESSAGE_INFO = "parent_message_info"; - private SendBirdSendBirdParentMessageInfo parentMessageInfo; - - public static final String JSON_PROPERTY_IS_REPLY_TO_CHANNEL = "is_reply_to_channel"; - private Boolean isReplyToChannel; - - public static final String JSON_PROPERTY_MESSAGE_EVENTS = "message_events"; - private JsonNullable messageEvents = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD = "extended_message_payload"; - private SendBirdSendBirdMessageResponseExtendedMessagePayload extendedMessagePayload; - - public SendBirdSendBirdMessageResponse() { - } - - public SendBirdSendBirdMessageResponse requireAuth(Boolean requireAuth) { - this.requireAuth = requireAuth; - return this; - } - - /** - * Get requireAuth - * @return requireAuth - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getRequireAuth() { - return requireAuth; - } - - - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRequireAuth(Boolean requireAuth) { - this.requireAuth = requireAuth; - } - - - public SendBirdSendBirdMessageResponse messageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - return this; - } - - /** - * Get messageSurvivalSeconds - * @return messageSurvivalSeconds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMessageSurvivalSeconds() { - return messageSurvivalSeconds; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { - this.messageSurvivalSeconds = messageSurvivalSeconds; - } - - - public SendBirdSendBirdMessageResponse customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdSendBirdMessageResponse mentionedUsers(List mentionedUsers) { - this.mentionedUsers = mentionedUsers; - return this; - } - - public SendBirdSendBirdMessageResponse addMentionedUsersItem(SendBirdSendBirdBasicUserInfo mentionedUsersItem) { - if (this.mentionedUsers == null) { - this.mentionedUsers = new ArrayList<>(); - } - this.mentionedUsers.add(mentionedUsersItem); - return this; - } - - /** - * Get mentionedUsers - * @return mentionedUsers - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTIONED_USERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMentionedUsers() { - return mentionedUsers; - } - - - @JsonProperty(JSON_PROPERTY_MENTIONED_USERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUsers(List mentionedUsers) { - this.mentionedUsers = mentionedUsers; - } - - - public SendBirdSendBirdMessageResponse translations(Object translations) { - this.translations = translations; - return this; - } - - /** - * Get translations - * @return translations - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TRANSLATIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getTranslations() { - return translations; - } - - - @JsonProperty(JSON_PROPERTY_TRANSLATIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTranslations(Object translations) { - this.translations = translations; - } - - - public SendBirdSendBirdMessageResponse updatedAt(Long updatedAt) { - this.updatedAt = updatedAt; - return this; - } - - /** - * Get updatedAt - * @return updatedAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UPDATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getUpdatedAt() { - return updatedAt; - } - - - @JsonProperty(JSON_PROPERTY_UPDATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUpdatedAt(Long updatedAt) { - this.updatedAt = updatedAt; - } - - - public SendBirdSendBirdMessageResponse isOpMsg(Boolean isOpMsg) { - this.isOpMsg = isOpMsg; - return this; - } - - /** - * Get isOpMsg - * @return isOpMsg - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_OP_MSG) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsOpMsg() { - return isOpMsg; - } - - - @JsonProperty(JSON_PROPERTY_IS_OP_MSG) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsOpMsg(Boolean isOpMsg) { - this.isOpMsg = isOpMsg; - } - - - public SendBirdSendBirdMessageResponse reactions(List reactions) { - this.reactions = reactions; - return this; - } - - public SendBirdSendBirdMessageResponse addReactionsItem(SendBirdSendBirdReaction reactionsItem) { - if (this.reactions == null) { - this.reactions = new ArrayList<>(); - } - this.reactions.add(reactionsItem); - return this; - } - - /** - * Get reactions - * @return reactions - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_REACTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getReactions() { - return reactions; - } - - - @JsonProperty(JSON_PROPERTY_REACTIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReactions(List reactions) { - this.reactions = reactions; - } - - - public SendBirdSendBirdMessageResponse isRemoved(Boolean isRemoved) { - this.isRemoved = isRemoved; - return this; - } - - /** - * Get isRemoved - * @return isRemoved - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_REMOVED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsRemoved() { - return isRemoved; - } - - - @JsonProperty(JSON_PROPERTY_IS_REMOVED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsRemoved(Boolean isRemoved) { - this.isRemoved = isRemoved; - } - - - public SendBirdSendBirdMessageResponse user(SendBirdSendBirdBasicUserInfo user) { - this.user = user; - return this; - } - - /** - * Get user - * @return user - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdBasicUserInfo getUser() { - return user; - } - - - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendBirdBasicUserInfo user) { - this.user = user; - } - - - public SendBirdSendBirdMessageResponse _file(Object _file) { - this._file = _file; - return this; - } - - /** - * Get _file - * @return _file - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getFile() { - return _file; - } - - - @JsonProperty(JSON_PROPERTY_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFile(Object _file) { - this._file = _file; - } - - - public SendBirdSendBirdMessageResponse files(List files) { - this.files = files; - return this; - } - - public SendBirdSendBirdMessageResponse addFilesItem(SendBirdSendBirdFile filesItem) { - if (this.files == null) { - this.files = new ArrayList<>(); - } - this.files.add(filesItem); - return this; - } - - /** - * Get files - * @return files - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FILES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getFiles() { - return files; - } - - - @JsonProperty(JSON_PROPERTY_FILES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(List files) { - this.files = files; - } - - - public SendBirdSendBirdMessageResponse message(String message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(String message) { - this.message = message; - } - - - public SendBirdSendBirdMessageResponse data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdSendBirdMessageResponse messageRetentionHour(Integer messageRetentionHour) { - this.messageRetentionHour = messageRetentionHour; - return this; - } - - /** - * Get messageRetentionHour - * @return messageRetentionHour - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_RETENTION_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMessageRetentionHour() { - return messageRetentionHour; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_RETENTION_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessageRetentionHour(Integer messageRetentionHour) { - this.messageRetentionHour = messageRetentionHour; - } - - - public SendBirdSendBirdMessageResponse silent(Boolean silent) { - this.silent = silent; - return this; - } - - /** - * Get silent - * @return silent - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getSilent() { - return silent; - } - - - @JsonProperty(JSON_PROPERTY_SILENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSilent(Boolean silent) { - this.silent = silent; - } - - - public SendBirdSendBirdMessageResponse type(String type) { - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getType() { - return type; - } - - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setType(String type) { - this.type = type; - } - - - public SendBirdSendBirdMessageResponse createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdSendBirdMessageResponse channelType(String channelType) { - this.channelType = channelType; - return this; - } - - /** - * Get channelType - * @return channelType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getChannelType() { - return channelType; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannelType(String channelType) { - this.channelType = channelType; - } - - - public SendBirdSendBirdMessageResponse reqId(String reqId) { - this.reqId = reqId; - return this; - } - - /** - * Get reqId - * @return reqId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_REQ_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getReqId() { - return reqId; - } - - - @JsonProperty(JSON_PROPERTY_REQ_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReqId(String reqId) { - this.reqId = reqId; - } - - - public SendBirdSendBirdMessageResponse mentionType(String mentionType) { - this.mentionType = mentionType; - return this; - } - - /** - * Get mentionType - * @return mentionType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getMentionType() { - return mentionType; - } - - - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionType(String mentionType) { - this.mentionType = mentionType; - } - - - public SendBirdSendBirdMessageResponse channelUrl(String channelUrl) { - this.channelUrl = channelUrl; - return this; - } - - /** - * Get channelUrl - * @return channelUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getChannelUrl() { - return channelUrl; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannelUrl(String channelUrl) { - this.channelUrl = channelUrl; - } - - - public SendBirdSendBirdMessageResponse messageId(Long messageId) { - this.messageId = messageId; - return this; - } - - /** - * Get messageId - * @return messageId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getMessageId() { - return messageId; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessageId(Long messageId) { - this.messageId = messageId; - } - - - public SendBirdSendBirdMessageResponse sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdSendBirdMessageResponse addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { - if (this.sortedMetaarray == null) { - this.sortedMetaarray = new ArrayList<>(); - } - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - public SendBirdSendBirdMessageResponse threadInfo(Object threadInfo) { - this.threadInfo = threadInfo; - return this; - } - - /** - * Get threadInfo - * @return threadInfo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_THREAD_INFO) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getThreadInfo() { - return threadInfo; - } - - - @JsonProperty(JSON_PROPERTY_THREAD_INFO) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setThreadInfo(Object threadInfo) { - this.threadInfo = threadInfo; - } - - - public SendBirdSendBirdMessageResponse parentMessageId(Integer parentMessageId) { - this.parentMessageId = parentMessageId; - return this; - } - - /** - * Get parentMessageId - * @return parentMessageId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getParentMessageId() { - return parentMessageId; - } - - - @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setParentMessageId(Integer parentMessageId) { - this.parentMessageId = parentMessageId; - } - - - public SendBirdSendBirdMessageResponse parentMessageInfo(SendBirdSendBirdParentMessageInfo parentMessageInfo) { - this.parentMessageInfo = parentMessageInfo; - return this; - } - - /** - * Get parentMessageInfo - * @return parentMessageInfo - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_INFO) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdParentMessageInfo getParentMessageInfo() { - return parentMessageInfo; - } - - - @JsonProperty(JSON_PROPERTY_PARENT_MESSAGE_INFO) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setParentMessageInfo(SendBirdSendBirdParentMessageInfo parentMessageInfo) { - this.parentMessageInfo = parentMessageInfo; - } - - - public SendBirdSendBirdMessageResponse isReplyToChannel(Boolean isReplyToChannel) { - this.isReplyToChannel = isReplyToChannel; - return this; - } - - /** - * Get isReplyToChannel - * @return isReplyToChannel - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_REPLY_TO_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsReplyToChannel() { - return isReplyToChannel; - } - - - @JsonProperty(JSON_PROPERTY_IS_REPLY_TO_CHANNEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsReplyToChannel(Boolean isReplyToChannel) { - this.isReplyToChannel = isReplyToChannel; - } - - - public SendBirdSendBirdMessageResponse messageEvents(SendBirdSendBirdMessageResponseMessageEvents messageEvents) { - this.messageEvents = JsonNullable.of(messageEvents); - return this; - } - - /** - * Get messageEvents - * @return messageEvents - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public SendBirdSendBirdMessageResponseMessageEvents getMessageEvents() { - return messageEvents.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_MESSAGE_EVENTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getMessageEvents_JsonNullable() { - return messageEvents; - } - - @JsonProperty(JSON_PROPERTY_MESSAGE_EVENTS) - public void setMessageEvents_JsonNullable(JsonNullable messageEvents) { - this.messageEvents = messageEvents; - } - - public void setMessageEvents(SendBirdSendBirdMessageResponseMessageEvents messageEvents) { - this.messageEvents = JsonNullable.of(messageEvents); - } - - - public SendBirdSendBirdMessageResponse extendedMessagePayload(SendBirdSendBirdMessageResponseExtendedMessagePayload extendedMessagePayload) { - this.extendedMessagePayload = extendedMessagePayload; - return this; - } - - /** - * Get extendedMessagePayload - * @return extendedMessagePayload - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdMessageResponseExtendedMessagePayload getExtendedMessagePayload() { - return extendedMessagePayload; - } - - - @JsonProperty(JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExtendedMessagePayload(SendBirdSendBirdMessageResponseExtendedMessagePayload extendedMessagePayload) { - this.extendedMessagePayload = extendedMessagePayload; - } - - - /** - * Return true if this SendBird.MessageResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdMessageResponse sendBirdMessageResponse = (SendBirdSendBirdMessageResponse) o; - return Objects.equals(this.requireAuth, sendBirdMessageResponse.requireAuth) && - Objects.equals(this.messageSurvivalSeconds, sendBirdMessageResponse.messageSurvivalSeconds) && - Objects.equals(this.customType, sendBirdMessageResponse.customType) && - Objects.equals(this.mentionedUsers, sendBirdMessageResponse.mentionedUsers) && - Objects.equals(this.translations, sendBirdMessageResponse.translations) && - Objects.equals(this.updatedAt, sendBirdMessageResponse.updatedAt) && - Objects.equals(this.isOpMsg, sendBirdMessageResponse.isOpMsg) && - Objects.equals(this.reactions, sendBirdMessageResponse.reactions) && - Objects.equals(this.isRemoved, sendBirdMessageResponse.isRemoved) && - Objects.equals(this.user, sendBirdMessageResponse.user) && - Objects.equals(this._file, sendBirdMessageResponse._file) && - Objects.equals(this.files, sendBirdMessageResponse.files) && - Objects.equals(this.message, sendBirdMessageResponse.message) && - Objects.equals(this.data, sendBirdMessageResponse.data) && - Objects.equals(this.messageRetentionHour, sendBirdMessageResponse.messageRetentionHour) && - Objects.equals(this.silent, sendBirdMessageResponse.silent) && - Objects.equals(this.type, sendBirdMessageResponse.type) && - Objects.equals(this.createdAt, sendBirdMessageResponse.createdAt) && - Objects.equals(this.channelType, sendBirdMessageResponse.channelType) && - Objects.equals(this.reqId, sendBirdMessageResponse.reqId) && - Objects.equals(this.mentionType, sendBirdMessageResponse.mentionType) && - Objects.equals(this.channelUrl, sendBirdMessageResponse.channelUrl) && - Objects.equals(this.messageId, sendBirdMessageResponse.messageId) && - Objects.equals(this.sortedMetaarray, sendBirdMessageResponse.sortedMetaarray) && - Objects.equals(this.threadInfo, sendBirdMessageResponse.threadInfo) && - Objects.equals(this.parentMessageId, sendBirdMessageResponse.parentMessageId) && - Objects.equals(this.parentMessageInfo, sendBirdMessageResponse.parentMessageInfo) && - Objects.equals(this.isReplyToChannel, sendBirdMessageResponse.isReplyToChannel) && - equalsNullable(this.messageEvents, sendBirdMessageResponse.messageEvents) && - Objects.equals(this.extendedMessagePayload, sendBirdMessageResponse.extendedMessagePayload); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(requireAuth, messageSurvivalSeconds, customType, mentionedUsers, translations, updatedAt, isOpMsg, reactions, isRemoved, user, _file, files, message, data, messageRetentionHour, silent, type, createdAt, channelType, reqId, mentionType, channelUrl, messageId, sortedMetaarray, threadInfo, parentMessageId, parentMessageInfo, isReplyToChannel, hashCodeNullable(messageEvents), extendedMessagePayload); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdMessageResponse {\n"); - sb.append(" requireAuth: ").append(toIndentedString(requireAuth)).append("\n"); - sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" mentionedUsers: ").append(toIndentedString(mentionedUsers)).append("\n"); - sb.append(" translations: ").append(toIndentedString(translations)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" isOpMsg: ").append(toIndentedString(isOpMsg)).append("\n"); - sb.append(" reactions: ").append(toIndentedString(reactions)).append("\n"); - sb.append(" isRemoved: ").append(toIndentedString(isRemoved)).append("\n"); - sb.append(" user: ").append(toIndentedString(user)).append("\n"); - sb.append(" _file: ").append(toIndentedString(_file)).append("\n"); - sb.append(" files: ").append(toIndentedString(files)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" messageRetentionHour: ").append(toIndentedString(messageRetentionHour)).append("\n"); - sb.append(" silent: ").append(toIndentedString(silent)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" channelType: ").append(toIndentedString(channelType)).append("\n"); - sb.append(" reqId: ").append(toIndentedString(reqId)).append("\n"); - sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); - sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); - sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append(" threadInfo: ").append(toIndentedString(threadInfo)).append("\n"); - sb.append(" parentMessageId: ").append(toIndentedString(parentMessageId)).append("\n"); - sb.append(" parentMessageInfo: ").append(toIndentedString(parentMessageInfo)).append("\n"); - sb.append(" isReplyToChannel: ").append(toIndentedString(isReplyToChannel)).append("\n"); - sb.append(" messageEvents: ").append(toIndentedString(messageEvents)).append("\n"); - sb.append(" extendedMessagePayload: ").append(toIndentedString(extendedMessagePayload)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java deleted file mode 100644 index e97cac23..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayload.java +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdExtendedMessagePayload; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - -import com.fasterxml.jackson.core.type.TypeReference; - -import javax.ws.rs.core.GenericType; -import javax.ws.rs.core.Response; -import java.io.IOException; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; - -import com.fasterxml.jackson.core.JsonGenerator; -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.JsonToken; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.DeserializationContext; -import com.fasterxml.jackson.databind.JsonMappingException; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.MapperFeature; -import com.fasterxml.jackson.databind.SerializerProvider; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import com.fasterxml.jackson.databind.deser.std.StdDeserializer; -import com.fasterxml.jackson.databind.ser.std.StdSerializer; -import org.sendbird.client.JSON; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendBirdSendBirdMessageResponseExtendedMessagePayload.SendBirdSendBirdMessageResponseExtendedMessagePayloadDeserializer.class) -@JsonSerialize(using = SendBirdSendBirdMessageResponseExtendedMessagePayload.SendBirdSendBirdMessageResponseExtendedMessagePayloadSerializer.class) -public class SendBirdSendBirdMessageResponseExtendedMessagePayload extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendBirdSendBirdMessageResponseExtendedMessagePayload.class.getName()); - - public static class SendBirdSendBirdMessageResponseExtendedMessagePayloadSerializer extends StdSerializer { - public SendBirdSendBirdMessageResponseExtendedMessagePayloadSerializer(Class t) { - super(t); - } - - public SendBirdSendBirdMessageResponseExtendedMessagePayloadSerializer() { - this(null); - } - - @Override - public void serialize(SendBirdSendBirdMessageResponseExtendedMessagePayload value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { - jgen.writeObject(value.getActualInstance()); - } - } - - public static class SendBirdSendBirdMessageResponseExtendedMessagePayloadDeserializer extends StdDeserializer { - public SendBirdSendBirdMessageResponseExtendedMessagePayloadDeserializer() { - this(SendBirdSendBirdMessageResponseExtendedMessagePayload.class); - } - - public SendBirdSendBirdMessageResponseExtendedMessagePayloadDeserializer(Class vc) { - super(vc); - } - - @Override - public SendBirdSendBirdMessageResponseExtendedMessagePayload deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { - JsonNode tree = jp.readValueAsTree(); - Object deserialized = null; - boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); - int match = 0; - JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendBirdSendBirdExtendedMessagePayload - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (SendBirdSendBirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Long.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Float.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Double.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Boolean.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= ((SendBirdSendBirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendBirdSendBirdExtendedMessagePayload.class.equals(Float.class) || SendBirdSendBirdExtendedMessagePayload.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendBirdSendBirdExtendedMessagePayload.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendBirdSendBirdExtendedMessagePayload.class.equals(String.class) && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdSendBirdExtendedMessagePayload.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'SendBirdSendBirdExtendedMessagePayload'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendBirdSendBirdExtendedMessagePayload'", e); - } - - if (match == 1) { - SendBirdSendBirdMessageResponseExtendedMessagePayload ret = new SendBirdSendBirdMessageResponseExtendedMessagePayload(); - ret.setActualInstance(deserialized); - return ret; - } - throw new IOException(String.format("Failed deserialization for SendBirdSendBirdMessageResponseExtendedMessagePayload: %d classes match result, expected 1", match)); - } - - /** - * Handle deserialization of the 'null' value. - */ - @Override - public SendBirdSendBirdMessageResponseExtendedMessagePayload getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendBirdSendBirdMessageResponseExtendedMessagePayload cannot be null"); - } - } - - // store a list of schema names defined in oneOf - public static final Map schemas = new HashMap(); - - public SendBirdSendBirdMessageResponseExtendedMessagePayload() { - super("oneOf", Boolean.FALSE); - } - - public SendBirdSendBirdMessageResponseExtendedMessagePayload(SendBirdSendBirdExtendedMessagePayload o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - static { - schemas.put("SendBirdSendBirdExtendedMessagePayload", new GenericType() { - }); - JSON.registerDescendants(SendBirdSendBirdMessageResponseExtendedMessagePayload.class, Collections.unmodifiableMap(schemas)); - } - - @Override - public Map getSchemas() { - return SendBirdSendBirdMessageResponseExtendedMessagePayload.schemas; - } - - /** - * Set the instance that matches the oneOf child schema, check - * the instance parameter is valid against the oneOf child schemas: - * SendBirdSendBirdExtendedMessagePayload - * - * It could be an instance of the 'oneOf' schemas. - * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). - */ - @Override - public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendBirdSendBirdExtendedMessagePayload.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - throw new RuntimeException("Invalid instance type. Must be SendBirdSendBirdExtendedMessagePayload"); - } - - /** - * Get the actual instance, which can be the following: - * SendBirdSendBirdExtendedMessagePayload - * - * @return The actual instance (SendBirdSendBirdExtendedMessagePayload) - */ - @Override - public Object getActualInstance() { - return super.getActualInstance(); - } - - /** - * Get the actual instance of `SendBirdSendBirdExtendedMessagePayload`. If the actual instance is not `SendBirdSendBirdExtendedMessagePayload`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `SendBirdSendBirdExtendedMessagePayload` - * @throws ClassCastException if the instance is not `SendBirdSendBirdExtendedMessagePayload` - */ - public SendBirdSendBirdExtendedMessagePayload getSendBirdSendBirdExtendedMessagePayload() throws ClassCastException { - return (SendBirdSendBirdExtendedMessagePayload)super.getActualInstance(); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java deleted file mode 100644 index 8ef2e580..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEvents.java +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdMessageResponseMessageEvents - */ -@JsonPropertyOrder({ - SendBirdSendBirdMessageResponseMessageEvents.JSON_PROPERTY_SEND_PUSH_NOTIFICATION, - SendBirdSendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_UNREAD_COUNT, - SendBirdSendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_MENTION_COUNT, - SendBirdSendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_LAST_MESSAGE -}) -@JsonTypeName("SendBird_MessageResponse_message_events") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdMessageResponseMessageEvents { - public static final String JSON_PROPERTY_SEND_PUSH_NOTIFICATION = "send_push_notification"; - private String sendPushNotification; - - public static final String JSON_PROPERTY_UPDATE_UNREAD_COUNT = "update_unread_count"; - private Boolean updateUnreadCount; - - public static final String JSON_PROPERTY_UPDATE_MENTION_COUNT = "update_mention_count"; - private Boolean updateMentionCount; - - public static final String JSON_PROPERTY_UPDATE_LAST_MESSAGE = "update_last_message"; - private Boolean updateLastMessage; - - public SendBirdSendBirdMessageResponseMessageEvents() { - } - - public SendBirdSendBirdMessageResponseMessageEvents sendPushNotification(String sendPushNotification) { - this.sendPushNotification = sendPushNotification; - return this; - } - - /** - * Get sendPushNotification - * @return sendPushNotification - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SEND_PUSH_NOTIFICATION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getSendPushNotification() { - return sendPushNotification; - } - - - @JsonProperty(JSON_PROPERTY_SEND_PUSH_NOTIFICATION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSendPushNotification(String sendPushNotification) { - this.sendPushNotification = sendPushNotification; - } - - - public SendBirdSendBirdMessageResponseMessageEvents updateUnreadCount(Boolean updateUnreadCount) { - this.updateUnreadCount = updateUnreadCount; - return this; - } - - /** - * Get updateUnreadCount - * @return updateUnreadCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UPDATE_UNREAD_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getUpdateUnreadCount() { - return updateUnreadCount; - } - - - @JsonProperty(JSON_PROPERTY_UPDATE_UNREAD_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUpdateUnreadCount(Boolean updateUnreadCount) { - this.updateUnreadCount = updateUnreadCount; - } - - - public SendBirdSendBirdMessageResponseMessageEvents updateMentionCount(Boolean updateMentionCount) { - this.updateMentionCount = updateMentionCount; - return this; - } - - /** - * Get updateMentionCount - * @return updateMentionCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UPDATE_MENTION_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getUpdateMentionCount() { - return updateMentionCount; - } - - - @JsonProperty(JSON_PROPERTY_UPDATE_MENTION_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUpdateMentionCount(Boolean updateMentionCount) { - this.updateMentionCount = updateMentionCount; - } - - - public SendBirdSendBirdMessageResponseMessageEvents updateLastMessage(Boolean updateLastMessage) { - this.updateLastMessage = updateLastMessage; - return this; - } - - /** - * Get updateLastMessage - * @return updateLastMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UPDATE_LAST_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getUpdateLastMessage() { - return updateLastMessage; - } - - - @JsonProperty(JSON_PROPERTY_UPDATE_LAST_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUpdateLastMessage(Boolean updateLastMessage) { - this.updateLastMessage = updateLastMessage; - } - - - /** - * Return true if this SendBird_MessageResponse_message_events object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdMessageResponseMessageEvents sendBirdMessageResponseMessageEvents = (SendBirdSendBirdMessageResponseMessageEvents) o; - return Objects.equals(this.sendPushNotification, sendBirdMessageResponseMessageEvents.sendPushNotification) && - Objects.equals(this.updateUnreadCount, sendBirdMessageResponseMessageEvents.updateUnreadCount) && - Objects.equals(this.updateMentionCount, sendBirdMessageResponseMessageEvents.updateMentionCount) && - Objects.equals(this.updateLastMessage, sendBirdMessageResponseMessageEvents.updateLastMessage); - } - - @Override - public int hashCode() { - return Objects.hash(sendPushNotification, updateUnreadCount, updateMentionCount, updateLastMessage); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdMessageResponseMessageEvents {\n"); - sb.append(" sendPushNotification: ").append(toIndentedString(sendPushNotification)).append("\n"); - sb.append(" updateUnreadCount: ").append(toIndentedString(updateUnreadCount)).append("\n"); - sb.append(" updateMentionCount: ").append(toIndentedString(updateMentionCount)).append("\n"); - sb.append(" updateLastMessage: ").append(toIndentedString(updateLastMessage)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java deleted file mode 100644 index b5c0f466..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdOpenChannel.java +++ /dev/null @@ -1,531 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdBasicUserInfo; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdOpenChannel - */ -@JsonPropertyOrder({ - SendBirdSendBirdOpenChannel.JSON_PROPERTY_CHANNEL_URL, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_COVER_URL, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_CREATED_AT, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_DATA, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_FREEZE, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_IS_DYNAMIC_PARTITIONED, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_NAME, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_OPERATORS, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_PARTICIPANT_COUNT, - SendBirdSendBirdOpenChannel.JSON_PROPERTY_METADATA -}) -@JsonTypeName("SendBird.OpenChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdOpenChannel { - public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; - private String channelUrl; - - public static final String JSON_PROPERTY_COVER_URL = "cover_url"; - private String coverUrl; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_FREEZE = "freeze"; - private Boolean freeze; - - public static final String JSON_PROPERTY_IS_DYNAMIC_PARTITIONED = "is_dynamic_partitioned"; - private Boolean isDynamicPartitioned; - - public static final String JSON_PROPERTY_IS_EPHEMERAL = "is_ephemeral"; - private Boolean isEphemeral; - - public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; - private Integer maxLengthMessage; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; - - public static final String JSON_PROPERTY_PARTICIPANT_COUNT = "participant_count"; - private Integer participantCount; - - public static final String JSON_PROPERTY_METADATA = "metadata"; - private JsonNullable metadata = JsonNullable.undefined(); - - public SendBirdSendBirdOpenChannel() { - } - - public SendBirdSendBirdOpenChannel channelUrl(String channelUrl) { - this.channelUrl = channelUrl; - return this; - } - - /** - * Get channelUrl - * @return channelUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getChannelUrl() { - return channelUrl; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setChannelUrl(String channelUrl) { - this.channelUrl = channelUrl; - } - - - public SendBirdSendBirdOpenChannel coverUrl(String coverUrl) { - this.coverUrl = coverUrl; - return this; - } - - /** - * Get coverUrl - * @return coverUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCoverUrl() { - return coverUrl; - } - - - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverUrl(String coverUrl) { - this.coverUrl = coverUrl; - } - - - public SendBirdSendBirdOpenChannel createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdSendBirdOpenChannel customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdSendBirdOpenChannel data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdSendBirdOpenChannel freeze(Boolean freeze) { - this.freeze = freeze; - return this; - } - - /** - * Get freeze - * @return freeze - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getFreeze() { - return freeze; - } - - - @JsonProperty(JSON_PROPERTY_FREEZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFreeze(Boolean freeze) { - this.freeze = freeze; - } - - - public SendBirdSendBirdOpenChannel isDynamicPartitioned(Boolean isDynamicPartitioned) { - this.isDynamicPartitioned = isDynamicPartitioned; - return this; - } - - /** - * Get isDynamicPartitioned - * @return isDynamicPartitioned - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DYNAMIC_PARTITIONED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDynamicPartitioned() { - return isDynamicPartitioned; - } - - - @JsonProperty(JSON_PROPERTY_IS_DYNAMIC_PARTITIONED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDynamicPartitioned(Boolean isDynamicPartitioned) { - this.isDynamicPartitioned = isDynamicPartitioned; - } - - - public SendBirdSendBirdOpenChannel isEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - return this; - } - - /** - * Get isEphemeral - * @return isEphemeral - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsEphemeral() { - return isEphemeral; - } - - - @JsonProperty(JSON_PROPERTY_IS_EPHEMERAL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsEphemeral(Boolean isEphemeral) { - this.isEphemeral = isEphemeral; - } - - - public SendBirdSendBirdOpenChannel maxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - return this; - } - - /** - * Get maxLengthMessage - * @return maxLengthMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMaxLengthMessage() { - return maxLengthMessage; - } - - - @JsonProperty(JSON_PROPERTY_MAX_LENGTH_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMaxLengthMessage(Integer maxLengthMessage) { - this.maxLengthMessage = maxLengthMessage; - } - - - public SendBirdSendBirdOpenChannel name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - public SendBirdSendBirdOpenChannel operators(List operators) { - this.operators = operators; - return this; - } - - public SendBirdSendBirdOpenChannel addOperatorsItem(SendBirdSendBirdBasicUserInfo operatorsItem) { - if (this.operators == null) { - this.operators = new ArrayList<>(); - } - this.operators.add(operatorsItem); - return this; - } - - /** - * Get operators - * @return operators - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_OPERATORS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getOperators() { - return operators; - } - - - @JsonProperty(JSON_PROPERTY_OPERATORS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { - this.operators = operators; - } - - - public SendBirdSendBirdOpenChannel participantCount(Integer participantCount) { - this.participantCount = participantCount; - return this; - } - - /** - * Get participantCount - * @return participantCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PARTICIPANT_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getParticipantCount() { - return participantCount; - } - - - @JsonProperty(JSON_PROPERTY_PARTICIPANT_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setParticipantCount(Integer participantCount) { - this.participantCount = participantCount; - } - - - public SendBirdSendBirdOpenChannel metadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Object getMetadata() { - return metadata.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getMetadata_JsonNullable() { - return metadata; - } - - @JsonProperty(JSON_PROPERTY_METADATA) - public void setMetadata_JsonNullable(JsonNullable metadata) { - this.metadata = metadata; - } - - public void setMetadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - } - - - /** - * Return true if this SendBird.OpenChannel object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdOpenChannel sendBirdOpenChannel = (SendBirdSendBirdOpenChannel) o; - return Objects.equals(this.channelUrl, sendBirdOpenChannel.channelUrl) && - Objects.equals(this.coverUrl, sendBirdOpenChannel.coverUrl) && - Objects.equals(this.createdAt, sendBirdOpenChannel.createdAt) && - Objects.equals(this.customType, sendBirdOpenChannel.customType) && - Objects.equals(this.data, sendBirdOpenChannel.data) && - Objects.equals(this.freeze, sendBirdOpenChannel.freeze) && - Objects.equals(this.isDynamicPartitioned, sendBirdOpenChannel.isDynamicPartitioned) && - Objects.equals(this.isEphemeral, sendBirdOpenChannel.isEphemeral) && - Objects.equals(this.maxLengthMessage, sendBirdOpenChannel.maxLengthMessage) && - Objects.equals(this.name, sendBirdOpenChannel.name) && - Objects.equals(this.operators, sendBirdOpenChannel.operators) && - Objects.equals(this.participantCount, sendBirdOpenChannel.participantCount) && - equalsNullable(this.metadata, sendBirdOpenChannel.metadata); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(channelUrl, coverUrl, createdAt, customType, data, freeze, isDynamicPartitioned, isEphemeral, maxLengthMessage, name, operators, participantCount, hashCodeNullable(metadata)); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdOpenChannel {\n"); - sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); - sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" freeze: ").append(toIndentedString(freeze)).append("\n"); - sb.append(" isDynamicPartitioned: ").append(toIndentedString(isDynamicPartitioned)).append("\n"); - sb.append(" isEphemeral: ").append(toIndentedString(isEphemeral)).append("\n"); - sb.append(" maxLengthMessage: ").append(toIndentedString(maxLengthMessage)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" operators: ").append(toIndentedString(operators)).append("\n"); - sb.append(" participantCount: ").append(toIndentedString(participantCount)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java deleted file mode 100644 index 1383cf42..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfo.java +++ /dev/null @@ -1,317 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdFile; -import org.openapitools.client.model.SendBirdSendBirdUser; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdParentMessageInfo - */ -@JsonPropertyOrder({ - SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_MESSAGE, - SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_TYPE, - SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_TS, - SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_USER, - SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_FILE, - SendBirdSendBirdParentMessageInfo.JSON_PROPERTY_FILES -}) -@JsonTypeName("SendBird.ParentMessageInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdParentMessageInfo { - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private String message; - - public static final String JSON_PROPERTY_TYPE = "type"; - private String type; - - public static final String JSON_PROPERTY_TS = "ts"; - private Long ts; - - public static final String JSON_PROPERTY_USER = "user"; - private SendBirdSendBirdUser user; - - public static final String JSON_PROPERTY_FILE = "file"; - private SendBirdSendBirdFile _file; - - public static final String JSON_PROPERTY_FILES = "files"; - private List files = null; - - public SendBirdSendBirdParentMessageInfo() { - } - - public SendBirdSendBirdParentMessageInfo customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdSendBirdParentMessageInfo message(String message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(String message) { - this.message = message; - } - - - public SendBirdSendBirdParentMessageInfo type(String type) { - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getType() { - return type; - } - - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setType(String type) { - this.type = type; - } - - - public SendBirdSendBirdParentMessageInfo ts(Long ts) { - this.ts = ts; - return this; - } - - /** - * Get ts - * @return ts - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getTs() { - return ts; - } - - - @JsonProperty(JSON_PROPERTY_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTs(Long ts) { - this.ts = ts; - } - - - public SendBirdSendBirdParentMessageInfo user(SendBirdSendBirdUser user) { - this.user = user; - return this; - } - - /** - * Get user - * @return user - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdUser getUser() { - return user; - } - - - @JsonProperty(JSON_PROPERTY_USER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUser(SendBirdSendBirdUser user) { - this.user = user; - } - - - public SendBirdSendBirdParentMessageInfo _file(SendBirdSendBirdFile _file) { - this._file = _file; - return this; - } - - /** - * Get _file - * @return _file - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdFile getFile() { - return _file; - } - - - @JsonProperty(JSON_PROPERTY_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFile(SendBirdSendBirdFile _file) { - this._file = _file; - } - - - public SendBirdSendBirdParentMessageInfo files(List files) { - this.files = files; - return this; - } - - public SendBirdSendBirdParentMessageInfo addFilesItem(SendBirdSendBirdFile filesItem) { - if (this.files == null) { - this.files = new ArrayList<>(); - } - this.files.add(filesItem); - return this; - } - - /** - * Get files - * @return files - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_FILES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getFiles() { - return files; - } - - - @JsonProperty(JSON_PROPERTY_FILES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFiles(List files) { - this.files = files; - } - - - /** - * Return true if this SendBird.ParentMessageInfo object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdParentMessageInfo sendBirdParentMessageInfo = (SendBirdSendBirdParentMessageInfo) o; - return Objects.equals(this.customType, sendBirdParentMessageInfo.customType) && - Objects.equals(this.message, sendBirdParentMessageInfo.message) && - Objects.equals(this.type, sendBirdParentMessageInfo.type) && - Objects.equals(this.ts, sendBirdParentMessageInfo.ts) && - Objects.equals(this.user, sendBirdParentMessageInfo.user) && - Objects.equals(this._file, sendBirdParentMessageInfo._file) && - Objects.equals(this.files, sendBirdParentMessageInfo.files); - } - - @Override - public int hashCode() { - return Objects.hash(customType, message, type, ts, user, _file, files); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdParentMessageInfo {\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" ts: ").append(toIndentedString(ts)).append("\n"); - sb.append(" user: ").append(toIndentedString(user)).append("\n"); - sb.append(" _file: ").append(toIndentedString(_file)).append("\n"); - sb.append(" files: ").append(toIndentedString(files)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java deleted file mode 100644 index af3ee2e8..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOption.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonValue; - -/** - * Gets or Sets SendBird.PushTriggerOption - */ -public enum SendBirdSendBirdPushTriggerOption { - - ALL("all"), - - MENTION_ONLY("mention_only"), - - OFF("off"); - - private String value; - - SendBirdSendBirdPushTriggerOption(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SendBirdSendBirdPushTriggerOption fromValue(String value) { - for (SendBirdSendBirdPushTriggerOption b : SendBirdSendBirdPushTriggerOption.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java deleted file mode 100644 index cc010411..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdReaction.java +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdReaction - */ -@JsonPropertyOrder({ - SendBirdSendBirdReaction.JSON_PROPERTY_KEY, - SendBirdSendBirdReaction.JSON_PROPERTY_UPDATED_AT, - SendBirdSendBirdReaction.JSON_PROPERTY_USER_IDS -}) -@JsonTypeName("SendBird.Reaction") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdReaction { - public static final String JSON_PROPERTY_KEY = "key"; - private String key; - - public static final String JSON_PROPERTY_UPDATED_AT = "updated_at"; - private Long updatedAt; - - public static final String JSON_PROPERTY_USER_IDS = "user_ids"; - private List userIds = null; - - public SendBirdSendBirdReaction() { - } - - public SendBirdSendBirdReaction key(String key) { - this.key = key; - return this; - } - - /** - * Get key - * @return key - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_KEY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getKey() { - return key; - } - - - @JsonProperty(JSON_PROPERTY_KEY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setKey(String key) { - this.key = key; - } - - - public SendBirdSendBirdReaction updatedAt(Long updatedAt) { - this.updatedAt = updatedAt; - return this; - } - - /** - * Get updatedAt - * @return updatedAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UPDATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getUpdatedAt() { - return updatedAt; - } - - - @JsonProperty(JSON_PROPERTY_UPDATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUpdatedAt(Long updatedAt) { - this.updatedAt = updatedAt; - } - - - public SendBirdSendBirdReaction userIds(List userIds) { - this.userIds = userIds; - return this; - } - - public SendBirdSendBirdReaction addUserIdsItem(String userIdsItem) { - if (this.userIds == null) { - this.userIds = new ArrayList<>(); - } - this.userIds.add(userIdsItem); - return this; - } - - /** - * Get userIds - * @return userIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getUserIds() { - return userIds; - } - - - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUserIds(List userIds) { - this.userIds = userIds; - } - - - /** - * Return true if this SendBird.Reaction object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdReaction sendBirdReaction = (SendBirdSendBirdReaction) o; - return Objects.equals(this.key, sendBirdReaction.key) && - Objects.equals(this.updatedAt, sendBirdReaction.updatedAt) && - Objects.equals(this.userIds, sendBirdReaction.userIds); - } - - @Override - public int hashCode() { - return Objects.hash(key, updatedAt, userIds); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdReaction {\n"); - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java deleted file mode 100644 index c12dfb97..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdSmsFallback.java +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdSmsFallback - */ -@JsonPropertyOrder({ - SendBirdSendBirdSmsFallback.JSON_PROPERTY_WAIT_SECONDS, - SendBirdSendBirdSmsFallback.JSON_PROPERTY_EXCLUDE_USER_IDS -}) -@JsonTypeName("SendBird.SmsFallback") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdSmsFallback { - public static final String JSON_PROPERTY_WAIT_SECONDS = "wait_seconds"; - private Integer waitSeconds; - - public static final String JSON_PROPERTY_EXCLUDE_USER_IDS = "exclude_user_ids"; - private List excludeUserIds = null; - - public SendBirdSendBirdSmsFallback() { - } - - public SendBirdSendBirdSmsFallback waitSeconds(Integer waitSeconds) { - this.waitSeconds = waitSeconds; - return this; - } - - /** - * Get waitSeconds - * @return waitSeconds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_WAIT_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getWaitSeconds() { - return waitSeconds; - } - - - @JsonProperty(JSON_PROPERTY_WAIT_SECONDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setWaitSeconds(Integer waitSeconds) { - this.waitSeconds = waitSeconds; - } - - - public SendBirdSendBirdSmsFallback excludeUserIds(List excludeUserIds) { - this.excludeUserIds = excludeUserIds; - return this; - } - - public SendBirdSendBirdSmsFallback addExcludeUserIdsItem(String excludeUserIdsItem) { - if (this.excludeUserIds == null) { - this.excludeUserIds = new ArrayList<>(); - } - this.excludeUserIds.add(excludeUserIdsItem); - return this; - } - - /** - * Get excludeUserIds - * @return excludeUserIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_EXCLUDE_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getExcludeUserIds() { - return excludeUserIds; - } - - - @JsonProperty(JSON_PROPERTY_EXCLUDE_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExcludeUserIds(List excludeUserIds) { - this.excludeUserIds = excludeUserIds; - } - - - /** - * Return true if this SendBird.SmsFallback object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdSmsFallback sendBirdSmsFallback = (SendBirdSendBirdSmsFallback) o; - return Objects.equals(this.waitSeconds, sendBirdSmsFallback.waitSeconds) && - Objects.equals(this.excludeUserIds, sendBirdSmsFallback.excludeUserIds); - } - - @Override - public int hashCode() { - return Objects.hash(waitSeconds, excludeUserIds); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdSmsFallback {\n"); - sb.append(" waitSeconds: ").append(toIndentedString(waitSeconds)).append("\n"); - sb.append(" excludeUserIds: ").append(toIndentedString(excludeUserIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java deleted file mode 100644 index 033ccf52..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInner.java +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdSortedMetaarrayInner - */ -@JsonPropertyOrder({ - SendBirdSendBirdSortedMetaarrayInner.JSON_PROPERTY_KEY, - SendBirdSendBirdSortedMetaarrayInner.JSON_PROPERTY_VALUE -}) -@JsonTypeName("SendBird_SortedMetaarray_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdSortedMetaarrayInner { - public static final String JSON_PROPERTY_KEY = "key"; - private String key; - - public static final String JSON_PROPERTY_VALUE = "value"; - private List value = null; - - public SendBirdSendBirdSortedMetaarrayInner() { - } - - public SendBirdSendBirdSortedMetaarrayInner key(String key) { - this.key = key; - return this; - } - - /** - * Get key - * @return key - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_KEY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getKey() { - return key; - } - - - @JsonProperty(JSON_PROPERTY_KEY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setKey(String key) { - this.key = key; - } - - - public SendBirdSendBirdSortedMetaarrayInner value(List value) { - this.value = value; - return this; - } - - public SendBirdSendBirdSortedMetaarrayInner addValueItem(String valueItem) { - if (this.value == null) { - this.value = new ArrayList<>(); - } - this.value.add(valueItem); - return this; - } - - /** - * Get value - * @return value - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_VALUE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getValue() { - return value; - } - - - @JsonProperty(JSON_PROPERTY_VALUE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setValue(List value) { - this.value = value; - } - - - /** - * Return true if this SendBird_SortedMetaarray_inner object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdSortedMetaarrayInner sendBirdSortedMetaarrayInner = (SendBirdSendBirdSortedMetaarrayInner) o; - return Objects.equals(this.key, sendBirdSortedMetaarrayInner.key) && - Objects.equals(this.value, sendBirdSortedMetaarrayInner.value); - } - - @Override - public int hashCode() { - return Objects.hash(key, value); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdSortedMetaarrayInner {\n"); - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java deleted file mode 100644 index 63c0cc84..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdThumbnail.java +++ /dev/null @@ -1,273 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdSendBirdThumbnail - */ -@JsonPropertyOrder({ - SendBirdSendBirdThumbnail.JSON_PROPERTY_HEIGHT, - SendBirdSendBirdThumbnail.JSON_PROPERTY_PLAIN_URL, - SendBirdSendBirdThumbnail.JSON_PROPERTY_REAL_HEIGHT, - SendBirdSendBirdThumbnail.JSON_PROPERTY_REAL_WIDTH, - SendBirdSendBirdThumbnail.JSON_PROPERTY_URL, - SendBirdSendBirdThumbnail.JSON_PROPERTY_WIDTH -}) -@JsonTypeName("SendBird.Thumbnail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdThumbnail { - public static final String JSON_PROPERTY_HEIGHT = "height"; - private Integer height; - - public static final String JSON_PROPERTY_PLAIN_URL = "plain_url"; - private String plainUrl; - - public static final String JSON_PROPERTY_REAL_HEIGHT = "real_height"; - private Integer realHeight; - - public static final String JSON_PROPERTY_REAL_WIDTH = "real_width"; - private Integer realWidth; - - public static final String JSON_PROPERTY_URL = "url"; - private String url; - - public static final String JSON_PROPERTY_WIDTH = "width"; - private Integer width; - - public SendBirdSendBirdThumbnail() { - } - - public SendBirdSendBirdThumbnail height(Integer height) { - this.height = height; - return this; - } - - /** - * Get height - * @return height - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HEIGHT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getHeight() { - return height; - } - - - @JsonProperty(JSON_PROPERTY_HEIGHT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHeight(Integer height) { - this.height = height; - } - - - public SendBirdSendBirdThumbnail plainUrl(String plainUrl) { - this.plainUrl = plainUrl; - return this; - } - - /** - * Get plainUrl - * @return plainUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PLAIN_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getPlainUrl() { - return plainUrl; - } - - - @JsonProperty(JSON_PROPERTY_PLAIN_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPlainUrl(String plainUrl) { - this.plainUrl = plainUrl; - } - - - public SendBirdSendBirdThumbnail realHeight(Integer realHeight) { - this.realHeight = realHeight; - return this; - } - - /** - * Get realHeight - * @return realHeight - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_REAL_HEIGHT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getRealHeight() { - return realHeight; - } - - - @JsonProperty(JSON_PROPERTY_REAL_HEIGHT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRealHeight(Integer realHeight) { - this.realHeight = realHeight; - } - - - public SendBirdSendBirdThumbnail realWidth(Integer realWidth) { - this.realWidth = realWidth; - return this; - } - - /** - * Get realWidth - * @return realWidth - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_REAL_WIDTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getRealWidth() { - return realWidth; - } - - - @JsonProperty(JSON_PROPERTY_REAL_WIDTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRealWidth(Integer realWidth) { - this.realWidth = realWidth; - } - - - public SendBirdSendBirdThumbnail url(String url) { - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getUrl() { - return url; - } - - - @JsonProperty(JSON_PROPERTY_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUrl(String url) { - this.url = url; - } - - - public SendBirdSendBirdThumbnail width(Integer width) { - this.width = width; - return this; - } - - /** - * Get width - * @return width - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_WIDTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getWidth() { - return width; - } - - - @JsonProperty(JSON_PROPERTY_WIDTH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setWidth(Integer width) { - this.width = width; - } - - - /** - * Return true if this SendBird.Thumbnail object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdThumbnail sendBirdThumbnail = (SendBirdSendBirdThumbnail) o; - return Objects.equals(this.height, sendBirdThumbnail.height) && - Objects.equals(this.plainUrl, sendBirdThumbnail.plainUrl) && - Objects.equals(this.realHeight, sendBirdThumbnail.realHeight) && - Objects.equals(this.realWidth, sendBirdThumbnail.realWidth) && - Objects.equals(this.url, sendBirdThumbnail.url) && - Objects.equals(this.width, sendBirdThumbnail.width); - } - - @Override - public int hashCode() { - return Objects.hash(height, plainUrl, realHeight, realWidth, url, width); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdThumbnail {\n"); - sb.append(" height: ").append(toIndentedString(height)).append("\n"); - sb.append(" plainUrl: ").append(toIndentedString(plainUrl)).append("\n"); - sb.append(" realHeight: ").append(toIndentedString(realHeight)).append("\n"); - sb.append(" realWidth: ").append(toIndentedString(realWidth)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" width: ").append(toIndentedString(width)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java b/src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java deleted file mode 100644 index 39b7b282..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdSendbirdUser.java +++ /dev/null @@ -1,872 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * User - */ -@ApiModel(description = "User") -@JsonPropertyOrder({ - SendBirdSendBirdUser.JSON_PROPERTY_ACCESS_TOKEN, - SendBirdSendBirdUser.JSON_PROPERTY_CREATED_AT, - SendBirdSendBirdUser.JSON_PROPERTY_DISCOVERY_KEYS, - SendBirdSendBirdUser.JSON_PROPERTY_HAS_EVER_LOGGED_IN, - SendBirdSendBirdUser.JSON_PROPERTY_IS_ACTIVE, - SendBirdSendBirdUser.JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS, - SendBirdSendBirdUser.JSON_PROPERTY_IS_ONLINE, - SendBirdSendBirdUser.JSON_PROPERTY_IS_SHADOW_BLOCKED, - SendBirdSendBirdUser.JSON_PROPERTY_LAST_SEEN_AT, - SendBirdSendBirdUser.JSON_PROPERTY_LOCALE, - SendBirdSendBirdUser.JSON_PROPERTY_METADATA, - SendBirdSendBirdUser.JSON_PROPERTY_NICKNAME, - SendBirdSendBirdUser.JSON_PROPERTY_PREFERRED_LANGUAGES, - SendBirdSendBirdUser.JSON_PROPERTY_PROFILE_URL, - SendBirdSendBirdUser.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendBirdSendBirdUser.JSON_PROPERTY_USER_ID, - SendBirdSendBirdUser.JSON_PROPERTY_STATE, - SendBirdSendBirdUser.JSON_PROPERTY_UNREAD_CHANNEL_COUNT, - SendBirdSendBirdUser.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, - SendBirdSendBirdUser.JSON_PROPERTY_PHONE_NUMBER, - SendBirdSendBirdUser.JSON_PROPERTY_IS_CREATED -}) -@JsonTypeName("SendBird.User") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdSendBirdUser { - public static final String JSON_PROPERTY_ACCESS_TOKEN = "access_token"; - private String accessToken; - - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private Long createdAt; - - public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; - private JsonNullable> discoveryKeys = JsonNullable.>undefined(); - - public static final String JSON_PROPERTY_HAS_EVER_LOGGED_IN = "has_ever_logged_in"; - private Boolean hasEverLoggedIn; - - public static final String JSON_PROPERTY_IS_ACTIVE = "is_active"; - private Boolean isActive; - - public static final String JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS = "is_hide_me_from_friends"; - private Boolean isHideMeFromFriends; - - public static final String JSON_PROPERTY_IS_ONLINE = "is_online"; - private Boolean isOnline; - - public static final String JSON_PROPERTY_IS_SHADOW_BLOCKED = "is_shadow_blocked"; - private Boolean isShadowBlocked; - - public static final String JSON_PROPERTY_LAST_SEEN_AT = "last_seen_at"; - private Long lastSeenAt; - - public static final String JSON_PROPERTY_LOCALE = "locale"; - private String locale; - - public static final String JSON_PROPERTY_METADATA = "metadata"; - private JsonNullable metadata = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_NICKNAME = "nickname"; - private JsonNullable nickname = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_PREFERRED_LANGUAGES = "preferred_languages"; - private JsonNullable> preferredLanguages = JsonNullable.>undefined(); - - public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; - private String profileUrl = ""; - - public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; - private Boolean requireAuthForProfileImage; - - public static final String JSON_PROPERTY_USER_ID = "user_id"; - private String userId; - - /** - * Gets or Sets state - */ - public enum StateEnum { - EMPTY(""), - - INVITED("invited"), - - JOINED("joined"); - - private String value; - - StateEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static StateEnum fromValue(String value) { - for (StateEnum b : StateEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - return null; - } - } - - public static final String JSON_PROPERTY_STATE = "state"; - private JsonNullable state = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_UNREAD_CHANNEL_COUNT = "unread_channel_count"; - private Integer unreadChannelCount; - - public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; - private Integer unreadMessageCount; - - public static final String JSON_PROPERTY_PHONE_NUMBER = "phone_number"; - private String phoneNumber; - - public static final String JSON_PROPERTY_IS_CREATED = "is_created"; - private Boolean isCreated; - - public SendBirdSendBirdUser() { - } - - public SendBirdSendBirdUser accessToken(String accessToken) { - this.accessToken = accessToken; - return this; - } - - /** - * Get accessToken - * @return accessToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ACCESS_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getAccessToken() { - return accessToken; - } - - - @JsonProperty(JSON_PROPERTY_ACCESS_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAccessToken(String accessToken) { - this.accessToken = accessToken; - } - - - public SendBirdSendBirdUser createdAt(Long createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get createdAt - * @return createdAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getCreatedAt() { - return createdAt; - } - - - @JsonProperty(JSON_PROPERTY_CREATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedAt(Long createdAt) { - this.createdAt = createdAt; - } - - - public SendBirdSendBirdUser discoveryKeys(List discoveryKeys) { - this.discoveryKeys = JsonNullable.>of(discoveryKeys); - return this; - } - - public SendBirdSendBirdUser addDiscoveryKeysItem(String discoveryKeysItem) { - if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { - this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); - } - try { - this.discoveryKeys.get().add(discoveryKeysItem); - } catch (java.util.NoSuchElementException e) { - // this can never happen, as we make sure above that the value is present - } - return this; - } - - /** - * Get discoveryKeys - * @return discoveryKeys - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public List getDiscoveryKeys() { - return discoveryKeys.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable> getDiscoveryKeys_JsonNullable() { - return discoveryKeys; - } - - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) - public void setDiscoveryKeys_JsonNullable(JsonNullable> discoveryKeys) { - this.discoveryKeys = discoveryKeys; - } - - public void setDiscoveryKeys(List discoveryKeys) { - this.discoveryKeys = JsonNullable.>of(discoveryKeys); - } - - - public SendBirdSendBirdUser hasEverLoggedIn(Boolean hasEverLoggedIn) { - this.hasEverLoggedIn = hasEverLoggedIn; - return this; - } - - /** - * Get hasEverLoggedIn - * @return hasEverLoggedIn - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_HAS_EVER_LOGGED_IN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getHasEverLoggedIn() { - return hasEverLoggedIn; - } - - - @JsonProperty(JSON_PROPERTY_HAS_EVER_LOGGED_IN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHasEverLoggedIn(Boolean hasEverLoggedIn) { - this.hasEverLoggedIn = hasEverLoggedIn; - } - - - public SendBirdSendBirdUser isActive(Boolean isActive) { - this.isActive = isActive; - return this; - } - - /** - * Get isActive - * @return isActive - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_ACTIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsActive() { - return isActive; - } - - - @JsonProperty(JSON_PROPERTY_IS_ACTIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsActive(Boolean isActive) { - this.isActive = isActive; - } - - - public SendBirdSendBirdUser isHideMeFromFriends(Boolean isHideMeFromFriends) { - this.isHideMeFromFriends = isHideMeFromFriends; - return this; - } - - /** - * Get isHideMeFromFriends - * @return isHideMeFromFriends - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsHideMeFromFriends() { - return isHideMeFromFriends; - } - - - @JsonProperty(JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsHideMeFromFriends(Boolean isHideMeFromFriends) { - this.isHideMeFromFriends = isHideMeFromFriends; - } - - - public SendBirdSendBirdUser isOnline(Boolean isOnline) { - this.isOnline = isOnline; - return this; - } - - /** - * Get isOnline - * @return isOnline - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_ONLINE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsOnline() { - return isOnline; - } - - - @JsonProperty(JSON_PROPERTY_IS_ONLINE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsOnline(Boolean isOnline) { - this.isOnline = isOnline; - } - - - public SendBirdSendBirdUser isShadowBlocked(Boolean isShadowBlocked) { - this.isShadowBlocked = isShadowBlocked; - return this; - } - - /** - * Get isShadowBlocked - * @return isShadowBlocked - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SHADOW_BLOCKED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsShadowBlocked() { - return isShadowBlocked; - } - - - @JsonProperty(JSON_PROPERTY_IS_SHADOW_BLOCKED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsShadowBlocked(Boolean isShadowBlocked) { - this.isShadowBlocked = isShadowBlocked; - } - - - public SendBirdSendBirdUser lastSeenAt(Long lastSeenAt) { - this.lastSeenAt = lastSeenAt; - return this; - } - - /** - * Get lastSeenAt - * @return lastSeenAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getLastSeenAt() { - return lastSeenAt; - } - - - @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastSeenAt(Long lastSeenAt) { - this.lastSeenAt = lastSeenAt; - } - - - public SendBirdSendBirdUser locale(String locale) { - this.locale = locale; - return this; - } - - /** - * Get locale - * @return locale - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_LOCALE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getLocale() { - return locale; - } - - - @JsonProperty(JSON_PROPERTY_LOCALE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLocale(String locale) { - this.locale = locale; - } - - - public SendBirdSendBirdUser metadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public Object getMetadata() { - return metadata.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getMetadata_JsonNullable() { - return metadata; - } - - @JsonProperty(JSON_PROPERTY_METADATA) - public void setMetadata_JsonNullable(JsonNullable metadata) { - this.metadata = metadata; - } - - public void setMetadata(Object metadata) { - this.metadata = JsonNullable.of(metadata); - } - - - public SendBirdSendBirdUser nickname(String nickname) { - this.nickname = JsonNullable.of(nickname); - return this; - } - - /** - * Get nickname - * @return nickname - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getNickname() { - return nickname.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getNickname_JsonNullable() { - return nickname; - } - - @JsonProperty(JSON_PROPERTY_NICKNAME) - public void setNickname_JsonNullable(JsonNullable nickname) { - this.nickname = nickname; - } - - public void setNickname(String nickname) { - this.nickname = JsonNullable.of(nickname); - } - - - public SendBirdSendBirdUser preferredLanguages(List preferredLanguages) { - this.preferredLanguages = JsonNullable.>of(preferredLanguages); - return this; - } - - public SendBirdSendBirdUser addPreferredLanguagesItem(String preferredLanguagesItem) { - if (this.preferredLanguages == null || !this.preferredLanguages.isPresent()) { - this.preferredLanguages = JsonNullable.>of(new ArrayList<>()); - } - try { - this.preferredLanguages.get().add(preferredLanguagesItem); - } catch (java.util.NoSuchElementException e) { - // this can never happen, as we make sure above that the value is present - } - return this; - } - - /** - * Get preferredLanguages - * @return preferredLanguages - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public List getPreferredLanguages() { - return preferredLanguages.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable> getPreferredLanguages_JsonNullable() { - return preferredLanguages; - } - - @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) - public void setPreferredLanguages_JsonNullable(JsonNullable> preferredLanguages) { - this.preferredLanguages = preferredLanguages; - } - - public void setPreferredLanguages(List preferredLanguages) { - this.preferredLanguages = JsonNullable.>of(preferredLanguages); - } - - - public SendBirdSendBirdUser profileUrl(String profileUrl) { - this.profileUrl = profileUrl; - return this; - } - - /** - * Get profileUrl - * @return profileUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getProfileUrl() { - return profileUrl; - } - - - @JsonProperty(JSON_PROPERTY_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setProfileUrl(String profileUrl) { - this.profileUrl = profileUrl; - } - - - public SendBirdSendBirdUser requireAuthForProfileImage(Boolean requireAuthForProfileImage) { - this.requireAuthForProfileImage = requireAuthForProfileImage; - return this; - } - - /** - * Get requireAuthForProfileImage - * @return requireAuthForProfileImage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getRequireAuthForProfileImage() { - return requireAuthForProfileImage; - } - - - @JsonProperty(JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { - this.requireAuthForProfileImage = requireAuthForProfileImage; - } - - - public SendBirdSendBirdUser userId(String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getUserId() { - return userId; - } - - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserId(String userId) { - this.userId = userId; - } - - - public SendBirdSendBirdUser state(StateEnum state) { - this.state = JsonNullable.of(state); - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public StateEnum getState() { - return state.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getState_JsonNullable() { - return state; - } - - @JsonProperty(JSON_PROPERTY_STATE) - public void setState_JsonNullable(JsonNullable state) { - this.state = state; - } - - public void setState(StateEnum state) { - this.state = JsonNullable.of(state); - } - - - public SendBirdSendBirdUser unreadChannelCount(Integer unreadChannelCount) { - this.unreadChannelCount = unreadChannelCount; - return this; - } - - /** - * Get unreadChannelCount - * @return unreadChannelCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_CHANNEL_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadChannelCount() { - return unreadChannelCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_CHANNEL_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadChannelCount(Integer unreadChannelCount) { - this.unreadChannelCount = unreadChannelCount; - } - - - public SendBirdSendBirdUser unreadMessageCount(Integer unreadMessageCount) { - this.unreadMessageCount = unreadMessageCount; - return this; - } - - /** - * Get unreadMessageCount - * @return unreadMessageCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadMessageCount() { - return unreadMessageCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_MESSAGE_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadMessageCount(Integer unreadMessageCount) { - this.unreadMessageCount = unreadMessageCount; - } - - - public SendBirdSendBirdUser phoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - return this; - } - - /** - * Get phoneNumber - * @return phoneNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getPhoneNumber() { - return phoneNumber; - } - - - @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - } - - - public SendBirdSendBirdUser isCreated(Boolean isCreated) { - this.isCreated = isCreated; - return this; - } - - /** - * Get isCreated - * @return isCreated - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_CREATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsCreated() { - return isCreated; - } - - - @JsonProperty(JSON_PROPERTY_IS_CREATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsCreated(Boolean isCreated) { - this.isCreated = isCreated; - } - - - /** - * Return true if this SendBird.User object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdSendBirdUser sendBirdUser = (SendBirdSendBirdUser) o; - return Objects.equals(this.accessToken, sendBirdUser.accessToken) && - Objects.equals(this.createdAt, sendBirdUser.createdAt) && - equalsNullable(this.discoveryKeys, sendBirdUser.discoveryKeys) && - Objects.equals(this.hasEverLoggedIn, sendBirdUser.hasEverLoggedIn) && - Objects.equals(this.isActive, sendBirdUser.isActive) && - Objects.equals(this.isHideMeFromFriends, sendBirdUser.isHideMeFromFriends) && - Objects.equals(this.isOnline, sendBirdUser.isOnline) && - Objects.equals(this.isShadowBlocked, sendBirdUser.isShadowBlocked) && - Objects.equals(this.lastSeenAt, sendBirdUser.lastSeenAt) && - Objects.equals(this.locale, sendBirdUser.locale) && - equalsNullable(this.metadata, sendBirdUser.metadata) && - equalsNullable(this.nickname, sendBirdUser.nickname) && - equalsNullable(this.preferredLanguages, sendBirdUser.preferredLanguages) && - Objects.equals(this.profileUrl, sendBirdUser.profileUrl) && - Objects.equals(this.requireAuthForProfileImage, sendBirdUser.requireAuthForProfileImage) && - Objects.equals(this.userId, sendBirdUser.userId) && - equalsNullable(this.state, sendBirdUser.state) && - Objects.equals(this.unreadChannelCount, sendBirdUser.unreadChannelCount) && - Objects.equals(this.unreadMessageCount, sendBirdUser.unreadMessageCount) && - Objects.equals(this.phoneNumber, sendBirdUser.phoneNumber) && - Objects.equals(this.isCreated, sendBirdUser.isCreated); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(accessToken, createdAt, hashCodeNullable(discoveryKeys), hasEverLoggedIn, isActive, isHideMeFromFriends, isOnline, isShadowBlocked, lastSeenAt, locale, hashCodeNullable(metadata), hashCodeNullable(nickname), hashCodeNullable(preferredLanguages), profileUrl, requireAuthForProfileImage, userId, hashCodeNullable(state), unreadChannelCount, unreadMessageCount, phoneNumber, isCreated); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSendBirdUser {\n"); - sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" discoveryKeys: ").append(toIndentedString(discoveryKeys)).append("\n"); - sb.append(" hasEverLoggedIn: ").append(toIndentedString(hasEverLoggedIn)).append("\n"); - sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); - sb.append(" isHideMeFromFriends: ").append(toIndentedString(isHideMeFromFriends)).append("\n"); - sb.append(" isOnline: ").append(toIndentedString(isOnline)).append("\n"); - sb.append(" isShadowBlocked: ").append(toIndentedString(isShadowBlocked)).append("\n"); - sb.append(" lastSeenAt: ").append(toIndentedString(lastSeenAt)).append("\n"); - sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" nickname: ").append(toIndentedString(nickname)).append("\n"); - sb.append(" preferredLanguages: ").append(toIndentedString(preferredLanguages)).append("\n"); - sb.append(" profileUrl: ").append(toIndentedString(profileUrl)).append("\n"); - sb.append(" requireAuthForProfileImage: ").append(toIndentedString(requireAuthForProfileImage)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" unreadChannelCount: ").append(toIndentedString(unreadChannelCount)).append("\n"); - sb.append(" unreadMessageCount: ").append(toIndentedString(unreadMessageCount)).append("\n"); - sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); - sb.append(" isCreated: ").append(toIndentedString(isCreated)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java b/src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java deleted file mode 100644 index c4e3de2c..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequest.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdStartTypingIndicatorsRequest - */ -@JsonPropertyOrder({ - SendBirdStartTypingIndicatorsRequest.JSON_PROPERTY_USER_IDS -}) -@JsonTypeName("startTypingIndicators_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdStartTypingIndicatorsRequest { - public static final String JSON_PROPERTY_USER_IDS = "user_ids"; - private List userIds = new ArrayList<>(); - - public SendBirdStartTypingIndicatorsRequest() { - } - - public SendBirdStartTypingIndicatorsRequest userIds(List userIds) { - this.userIds = userIds; - return this; - } - - public SendBirdStartTypingIndicatorsRequest addUserIdsItem(String userIdsItem) { - this.userIds.add(userIdsItem); - return this; - } - - /** - * Get userIds - * @return userIds - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public List getUserIds() { - return userIds; - } - - - @JsonProperty(JSON_PROPERTY_USER_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setUserIds(List userIds) { - this.userIds = userIds; - } - - - /** - * Return true if this startTypingIndicators_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdStartTypingIndicatorsRequest startTypingIndicatorsRequest = (SendBirdStartTypingIndicatorsRequest) o; - return Objects.equals(this.userIds, startTypingIndicatorsRequest.userIds); - } - - @Override - public int hashCode() { - return Objects.hash(userIds); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdStartTypingIndicatorsRequest {\n"); - sb.append(" userIds: ").append(toIndentedString(userIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java deleted file mode 100644 index 03b38db6..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequest.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateAChannelMetadataRequest - */ -@JsonPropertyOrder({ - SendBirdUpdateAChannelMetadataRequest.JSON_PROPERTY_METADATA, - SendBirdUpdateAChannelMetadataRequest.JSON_PROPERTY_UPSERT -}) -@JsonTypeName("updateAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateAChannelMetadataRequest { - public static final String JSON_PROPERTY_METADATA = "metadata"; - private Object metadata; - - public static final String JSON_PROPERTY_UPSERT = "upsert"; - private Boolean upsert; - - public SendBirdUpdateAChannelMetadataRequest() { - } - - public SendBirdUpdateAChannelMetadataRequest metadata(Object metadata) { - this.metadata = metadata; - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Object getMetadata() { - return metadata; - } - - - @JsonProperty(JSON_PROPERTY_METADATA) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMetadata(Object metadata) { - this.metadata = metadata; - } - - - public SendBirdUpdateAChannelMetadataRequest upsert(Boolean upsert) { - this.upsert = upsert; - return this; - } - - /** - * Get upsert - * @return upsert - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UPSERT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getUpsert() { - return upsert; - } - - - @JsonProperty(JSON_PROPERTY_UPSERT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUpsert(Boolean upsert) { - this.upsert = upsert; - } - - - /** - * Return true if this updateAChannelMetadata_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateAChannelMetadataRequest updateAChannelMetadataRequest = (SendBirdUpdateAChannelMetadataRequest) o; - return Objects.equals(this.metadata, updateAChannelMetadataRequest.metadata) && - Objects.equals(this.upsert, updateAChannelMetadataRequest.upsert); - } - - @Override - public int hashCode() { - return Objects.hash(metadata, upsert); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateAChannelMetadataRequest {\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" upsert: ").append(toIndentedString(upsert)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java deleted file mode 100644 index 7576c6d9..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequest.java +++ /dev/null @@ -1,435 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateAGroupChannelRequest - */ -@JsonPropertyOrder({ - SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_ACCESS_CODE, - SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_COVER_FILE, - SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_COVER_URL, - SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_DATA, - SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_IS_DISTINCT, - SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_IS_PUBLIC, - SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_IS_SUPER, - SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_NAME, - SendBirdUpdateAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS -}) -@JsonTypeName("updateAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateAGroupChannelRequest { - public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; - private JsonNullable accessCode = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; - private File coverFile; - - public static final String JSON_PROPERTY_COVER_URL = "cover_url"; - private String coverUrl; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_IS_DISTINCT = "is_distinct"; - private Boolean isDistinct; - - public static final String JSON_PROPERTY_IS_PUBLIC = "is_public"; - private Boolean isPublic; - - public static final String JSON_PROPERTY_IS_SUPER = "is_super"; - private Boolean isSuper; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; - private List operatorIds = null; - - public SendBirdUpdateAGroupChannelRequest() { - } - - public SendBirdUpdateAGroupChannelRequest accessCode(String accessCode) { - this.accessCode = JsonNullable.of(accessCode); - return this; - } - - /** - * Get accessCode - * @return accessCode - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getAccessCode() { - return accessCode.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getAccessCode_JsonNullable() { - return accessCode; - } - - @JsonProperty(JSON_PROPERTY_ACCESS_CODE) - public void setAccessCode_JsonNullable(JsonNullable accessCode) { - this.accessCode = accessCode; - } - - public void setAccessCode(String accessCode) { - this.accessCode = JsonNullable.of(accessCode); - } - - - public SendBirdUpdateAGroupChannelRequest coverFile(File coverFile) { - this.coverFile = coverFile; - return this; - } - - /** - * Get coverFile - * @return coverFile - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public File getCoverFile() { - return coverFile; - } - - - @JsonProperty(JSON_PROPERTY_COVER_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverFile(File coverFile) { - this.coverFile = coverFile; - } - - - public SendBirdUpdateAGroupChannelRequest coverUrl(String coverUrl) { - this.coverUrl = coverUrl; - return this; - } - - /** - * Get coverUrl - * @return coverUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCoverUrl() { - return coverUrl; - } - - - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverUrl(String coverUrl) { - this.coverUrl = coverUrl; - } - - - public SendBirdUpdateAGroupChannelRequest customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdUpdateAGroupChannelRequest data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdUpdateAGroupChannelRequest isDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - return this; - } - - /** - * Get isDistinct - * @return isDistinct - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsDistinct() { - return isDistinct; - } - - - @JsonProperty(JSON_PROPERTY_IS_DISTINCT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsDistinct(Boolean isDistinct) { - this.isDistinct = isDistinct; - } - - - public SendBirdUpdateAGroupChannelRequest isPublic(Boolean isPublic) { - this.isPublic = isPublic; - return this; - } - - /** - * Get isPublic - * @return isPublic - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPublic() { - return isPublic; - } - - - @JsonProperty(JSON_PROPERTY_IS_PUBLIC) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPublic(Boolean isPublic) { - this.isPublic = isPublic; - } - - - public SendBirdUpdateAGroupChannelRequest isSuper(Boolean isSuper) { - this.isSuper = isSuper; - return this; - } - - /** - * Get isSuper - * @return isSuper - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsSuper() { - return isSuper; - } - - - @JsonProperty(JSON_PROPERTY_IS_SUPER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsSuper(Boolean isSuper) { - this.isSuper = isSuper; - } - - - public SendBirdUpdateAGroupChannelRequest name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - public SendBirdUpdateAGroupChannelRequest operatorIds(List operatorIds) { - this.operatorIds = operatorIds; - return this; - } - - public SendBirdUpdateAGroupChannelRequest addOperatorIdsItem(String operatorIdsItem) { - if (this.operatorIds == null) { - this.operatorIds = new ArrayList<>(); - } - this.operatorIds.add(operatorIdsItem); - return this; - } - - /** - * Get operatorIds - * @return operatorIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getOperatorIds() { - return operatorIds; - } - - - @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperatorIds(List operatorIds) { - this.operatorIds = operatorIds; - } - - - /** - * Return true if this updateAGroupChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateAGroupChannelRequest updateAGroupChannelRequest = (SendBirdUpdateAGroupChannelRequest) o; - return equalsNullable(this.accessCode, updateAGroupChannelRequest.accessCode) && - Objects.equals(this.coverFile, updateAGroupChannelRequest.coverFile) && - Objects.equals(this.coverUrl, updateAGroupChannelRequest.coverUrl) && - Objects.equals(this.customType, updateAGroupChannelRequest.customType) && - Objects.equals(this.data, updateAGroupChannelRequest.data) && - Objects.equals(this.isDistinct, updateAGroupChannelRequest.isDistinct) && - Objects.equals(this.isPublic, updateAGroupChannelRequest.isPublic) && - Objects.equals(this.isSuper, updateAGroupChannelRequest.isSuper) && - Objects.equals(this.name, updateAGroupChannelRequest.name) && - Objects.equals(this.operatorIds, updateAGroupChannelRequest.operatorIds); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(hashCodeNullable(accessCode), coverFile, coverUrl, customType, data, isDistinct, isPublic, isSuper, name, operatorIds); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateAGroupChannelRequest {\n"); - sb.append(" accessCode: ").append(toIndentedString(accessCode)).append("\n"); - sb.append(" coverFile: ").append(toIndentedString(coverFile)).append("\n"); - sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" isDistinct: ").append(toIndentedString(isDistinct)).append("\n"); - sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); - sb.append(" isSuper: ").append(toIndentedString(isSuper)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" operatorIds: ").append(toIndentedString(operatorIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java deleted file mode 100644 index 4e41e842..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateAMessageRequest.java +++ /dev/null @@ -1,352 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateAMessageRequest - */ -@JsonPropertyOrder({ - SendBirdUpdateAMessageRequest.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdUpdateAMessageRequest.JSON_PROPERTY_DATA, - SendBirdUpdateAMessageRequest.JSON_PROPERTY_MENTION_TYPE, - SendBirdUpdateAMessageRequest.JSON_PROPERTY_MENTIONED_USER_IDS, - SendBirdUpdateAMessageRequest.JSON_PROPERTY_MESSAGE, - SendBirdUpdateAMessageRequest.JSON_PROPERTY_URL, - SendBirdUpdateAMessageRequest.JSON_PROPERTY_MESSAGE_TYPE -}) -@JsonTypeName("updateAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateAMessageRequest { - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_MENTION_TYPE = "mention_type"; - private String mentionType; - - public static final String JSON_PROPERTY_MENTIONED_USER_IDS = "mentioned_user_ids"; - private List mentionedUserIds = null; - - public static final String JSON_PROPERTY_MESSAGE = "message"; - private String message; - - public static final String JSON_PROPERTY_URL = "url"; - private String url; - - /** - * Gets or Sets messageType - */ - public enum MessageTypeEnum { - MESG("MESG"), - - ADMM("ADMM"), - - FILE("FILE"); - - private String value; - - MessageTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static MessageTypeEnum fromValue(String value) { - for (MessageTypeEnum b : MessageTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_MESSAGE_TYPE = "message_type"; - private MessageTypeEnum messageType; - - public SendBirdUpdateAMessageRequest() { - } - - public SendBirdUpdateAMessageRequest customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdUpdateAMessageRequest data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdUpdateAMessageRequest mentionType(String mentionType) { - this.mentionType = mentionType; - return this; - } - - /** - * Get mentionType - * @return mentionType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getMentionType() { - return mentionType; - } - - - @JsonProperty(JSON_PROPERTY_MENTION_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionType(String mentionType) { - this.mentionType = mentionType; - } - - - public SendBirdUpdateAMessageRequest mentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - return this; - } - - public SendBirdUpdateAMessageRequest addMentionedUserIdsItem(String mentionedUserIdsItem) { - if (this.mentionedUserIds == null) { - this.mentionedUserIds = new ArrayList<>(); - } - this.mentionedUserIds.add(mentionedUserIdsItem); - return this; - } - - /** - * Get mentionedUserIds - * @return mentionedUserIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getMentionedUserIds() { - return mentionedUserIds; - } - - - @JsonProperty(JSON_PROPERTY_MENTIONED_USER_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMentionedUserIds(List mentionedUserIds) { - this.mentionedUserIds = mentionedUserIds; - } - - - public SendBirdUpdateAMessageRequest message(String message) { - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getMessage() { - return message; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMessage(String message) { - this.message = message; - } - - - public SendBirdUpdateAMessageRequest url(String url) { - this.url = url; - return this; - } - - /** - * Get url - * @return url - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getUrl() { - return url; - } - - - @JsonProperty(JSON_PROPERTY_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUrl(String url) { - this.url = url; - } - - - public SendBirdUpdateAMessageRequest messageType(MessageTypeEnum messageType) { - this.messageType = messageType; - return this; - } - - /** - * Get messageType - * @return messageType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public MessageTypeEnum getMessageType() { - return messageType; - } - - - @JsonProperty(JSON_PROPERTY_MESSAGE_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessageType(MessageTypeEnum messageType) { - this.messageType = messageType; - } - - - /** - * Return true if this updateAMessage_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateAMessageRequest updateAMessageRequest = (SendBirdUpdateAMessageRequest) o; - return Objects.equals(this.customType, updateAMessageRequest.customType) && - Objects.equals(this.data, updateAMessageRequest.data) && - Objects.equals(this.mentionType, updateAMessageRequest.mentionType) && - Objects.equals(this.mentionedUserIds, updateAMessageRequest.mentionedUserIds) && - Objects.equals(this.message, updateAMessageRequest.message) && - Objects.equals(this.url, updateAMessageRequest.url) && - Objects.equals(this.messageType, updateAMessageRequest.messageType); - } - - @Override - public int hashCode() { - return Objects.hash(customType, data, mentionType, mentionedUserIds, message, url, messageType); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateAMessageRequest {\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" mentionType: ").append(toIndentedString(mentionType)).append("\n"); - sb.append(" mentionedUserIds: ").append(toIndentedString(mentionedUserIds)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java deleted file mode 100644 index d2b028d3..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateAUserRequest.java +++ /dev/null @@ -1,443 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateAUserRequest - */ -@JsonPropertyOrder({ - SendBirdUpdateAUserRequest.JSON_PROPERTY_DISCOVERY_KEYS, - SendBirdUpdateAUserRequest.JSON_PROPERTY_IS_ACTIVE, - SendBirdUpdateAUserRequest.JSON_PROPERTY_ISSUE_ACCESS_TOKEN, - SendBirdUpdateAUserRequest.JSON_PROPERTY_LAST_SEEN_AT, - SendBirdUpdateAUserRequest.JSON_PROPERTY_LEAVE_ALL_WHEN_DEACTIVATED, - SendBirdUpdateAUserRequest.JSON_PROPERTY_NICKNAME, - SendBirdUpdateAUserRequest.JSON_PROPERTY_PREFERRED_LANGUAGES, - SendBirdUpdateAUserRequest.JSON_PROPERTY_PROFILE_FILE, - SendBirdUpdateAUserRequest.JSON_PROPERTY_PROFILE_URL -}) -@JsonTypeName("updateAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateAUserRequest { - public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; - private JsonNullable> discoveryKeys = JsonNullable.>undefined(); - - public static final String JSON_PROPERTY_IS_ACTIVE = "is_active"; - private Boolean isActive; - - public static final String JSON_PROPERTY_ISSUE_ACCESS_TOKEN = "issue_access_token"; - private Boolean issueAccessToken; - - public static final String JSON_PROPERTY_LAST_SEEN_AT = "last_seen_at"; - private Long lastSeenAt; - - public static final String JSON_PROPERTY_LEAVE_ALL_WHEN_DEACTIVATED = "leave_all_when_deactivated"; - private Boolean leaveAllWhenDeactivated; - - public static final String JSON_PROPERTY_NICKNAME = "nickname"; - private JsonNullable nickname = JsonNullable.undefined(); - - public static final String JSON_PROPERTY_PREFERRED_LANGUAGES = "preferred_languages"; - private JsonNullable> preferredLanguages = JsonNullable.>undefined(); - - public static final String JSON_PROPERTY_PROFILE_FILE = "profile_file"; - private File profileFile; - - public static final String JSON_PROPERTY_PROFILE_URL = "profile_url"; - private JsonNullable profileUrl = JsonNullable.undefined(); - - public SendBirdUpdateAUserRequest() { - } - - public SendBirdUpdateAUserRequest discoveryKeys(List discoveryKeys) { - this.discoveryKeys = JsonNullable.>of(discoveryKeys); - return this; - } - - public SendBirdUpdateAUserRequest addDiscoveryKeysItem(String discoveryKeysItem) { - if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { - this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); - } - try { - this.discoveryKeys.get().add(discoveryKeysItem); - } catch (java.util.NoSuchElementException e) { - // this can never happen, as we make sure above that the value is present - } - return this; - } - - /** - * Get discoveryKeys - * @return discoveryKeys - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public List getDiscoveryKeys() { - return discoveryKeys.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable> getDiscoveryKeys_JsonNullable() { - return discoveryKeys; - } - - @JsonProperty(JSON_PROPERTY_DISCOVERY_KEYS) - public void setDiscoveryKeys_JsonNullable(JsonNullable> discoveryKeys) { - this.discoveryKeys = discoveryKeys; - } - - public void setDiscoveryKeys(List discoveryKeys) { - this.discoveryKeys = JsonNullable.>of(discoveryKeys); - } - - - public SendBirdUpdateAUserRequest isActive(Boolean isActive) { - this.isActive = isActive; - return this; - } - - /** - * Get isActive - * @return isActive - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_ACTIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsActive() { - return isActive; - } - - - @JsonProperty(JSON_PROPERTY_IS_ACTIVE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsActive(Boolean isActive) { - this.isActive = isActive; - } - - - public SendBirdUpdateAUserRequest issueAccessToken(Boolean issueAccessToken) { - this.issueAccessToken = issueAccessToken; - return this; - } - - /** - * Get issueAccessToken - * @return issueAccessToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ISSUE_ACCESS_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIssueAccessToken() { - return issueAccessToken; - } - - - @JsonProperty(JSON_PROPERTY_ISSUE_ACCESS_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIssueAccessToken(Boolean issueAccessToken) { - this.issueAccessToken = issueAccessToken; - } - - - public SendBirdUpdateAUserRequest lastSeenAt(Long lastSeenAt) { - this.lastSeenAt = lastSeenAt; - return this; - } - - /** - * Get lastSeenAt - * @return lastSeenAt - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getLastSeenAt() { - return lastSeenAt; - } - - - @JsonProperty(JSON_PROPERTY_LAST_SEEN_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastSeenAt(Long lastSeenAt) { - this.lastSeenAt = lastSeenAt; - } - - - public SendBirdUpdateAUserRequest leaveAllWhenDeactivated(Boolean leaveAllWhenDeactivated) { - this.leaveAllWhenDeactivated = leaveAllWhenDeactivated; - return this; - } - - /** - * Get leaveAllWhenDeactivated - * @return leaveAllWhenDeactivated - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_LEAVE_ALL_WHEN_DEACTIVATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getLeaveAllWhenDeactivated() { - return leaveAllWhenDeactivated; - } - - - @JsonProperty(JSON_PROPERTY_LEAVE_ALL_WHEN_DEACTIVATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLeaveAllWhenDeactivated(Boolean leaveAllWhenDeactivated) { - this.leaveAllWhenDeactivated = leaveAllWhenDeactivated; - } - - - public SendBirdUpdateAUserRequest nickname(String nickname) { - this.nickname = JsonNullable.of(nickname); - return this; - } - - /** - * Get nickname - * @return nickname - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getNickname() { - return nickname.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getNickname_JsonNullable() { - return nickname; - } - - @JsonProperty(JSON_PROPERTY_NICKNAME) - public void setNickname_JsonNullable(JsonNullable nickname) { - this.nickname = nickname; - } - - public void setNickname(String nickname) { - this.nickname = JsonNullable.of(nickname); - } - - - public SendBirdUpdateAUserRequest preferredLanguages(List preferredLanguages) { - this.preferredLanguages = JsonNullable.>of(preferredLanguages); - return this; - } - - public SendBirdUpdateAUserRequest addPreferredLanguagesItem(String preferredLanguagesItem) { - if (this.preferredLanguages == null || !this.preferredLanguages.isPresent()) { - this.preferredLanguages = JsonNullable.>of(new ArrayList<>()); - } - try { - this.preferredLanguages.get().add(preferredLanguagesItem); - } catch (java.util.NoSuchElementException e) { - // this can never happen, as we make sure above that the value is present - } - return this; - } - - /** - * Get preferredLanguages - * @return preferredLanguages - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public List getPreferredLanguages() { - return preferredLanguages.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable> getPreferredLanguages_JsonNullable() { - return preferredLanguages; - } - - @JsonProperty(JSON_PROPERTY_PREFERRED_LANGUAGES) - public void setPreferredLanguages_JsonNullable(JsonNullable> preferredLanguages) { - this.preferredLanguages = preferredLanguages; - } - - public void setPreferredLanguages(List preferredLanguages) { - this.preferredLanguages = JsonNullable.>of(preferredLanguages); - } - - - public SendBirdUpdateAUserRequest profileFile(File profileFile) { - this.profileFile = profileFile; - return this; - } - - /** - * Get profileFile - * @return profileFile - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PROFILE_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public File getProfileFile() { - return profileFile; - } - - - @JsonProperty(JSON_PROPERTY_PROFILE_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setProfileFile(File profileFile) { - this.profileFile = profileFile; - } - - - public SendBirdUpdateAUserRequest profileUrl(String profileUrl) { - this.profileUrl = JsonNullable.of(profileUrl); - return this; - } - - /** - * Get profileUrl - * @return profileUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonIgnore - - public String getProfileUrl() { - return profileUrl.orElse(null); - } - - @JsonProperty(JSON_PROPERTY_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public JsonNullable getProfileUrl_JsonNullable() { - return profileUrl; - } - - @JsonProperty(JSON_PROPERTY_PROFILE_URL) - public void setProfileUrl_JsonNullable(JsonNullable profileUrl) { - this.profileUrl = profileUrl; - } - - public void setProfileUrl(String profileUrl) { - this.profileUrl = JsonNullable.of(profileUrl); - } - - - /** - * Return true if this updateAUser_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateAUserRequest updateAUserRequest = (SendBirdUpdateAUserRequest) o; - return equalsNullable(this.discoveryKeys, updateAUserRequest.discoveryKeys) && - Objects.equals(this.isActive, updateAUserRequest.isActive) && - Objects.equals(this.issueAccessToken, updateAUserRequest.issueAccessToken) && - Objects.equals(this.lastSeenAt, updateAUserRequest.lastSeenAt) && - Objects.equals(this.leaveAllWhenDeactivated, updateAUserRequest.leaveAllWhenDeactivated) && - equalsNullable(this.nickname, updateAUserRequest.nickname) && - equalsNullable(this.preferredLanguages, updateAUserRequest.preferredLanguages) && - Objects.equals(this.profileFile, updateAUserRequest.profileFile) && - equalsNullable(this.profileUrl, updateAUserRequest.profileUrl); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(hashCodeNullable(discoveryKeys), isActive, issueAccessToken, lastSeenAt, leaveAllWhenDeactivated, hashCodeNullable(nickname), hashCodeNullable(preferredLanguages), profileFile, hashCodeNullable(profileUrl)); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateAUserRequest {\n"); - sb.append(" discoveryKeys: ").append(toIndentedString(discoveryKeys)).append("\n"); - sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); - sb.append(" issueAccessToken: ").append(toIndentedString(issueAccessToken)).append("\n"); - sb.append(" lastSeenAt: ").append(toIndentedString(lastSeenAt)).append("\n"); - sb.append(" leaveAllWhenDeactivated: ").append(toIndentedString(leaveAllWhenDeactivated)).append("\n"); - sb.append(" nickname: ").append(toIndentedString(nickname)).append("\n"); - sb.append(" preferredLanguages: ").append(toIndentedString(preferredLanguages)).append("\n"); - sb.append(" profileFile: ").append(toIndentedString(profileFile)).append("\n"); - sb.append(" profileUrl: ").append(toIndentedString(profileUrl)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java deleted file mode 100644 index 1b928cb5..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequest.java +++ /dev/null @@ -1,284 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateAnOpenChannelRequest - */ -@JsonPropertyOrder({ - SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_COVER_FILE, - SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_COVER_URL, - SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_DATA, - SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_NAME, - SendBirdUpdateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS -}) -@JsonTypeName("updateAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateAnOpenChannelRequest { - public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; - private File coverFile; - - public static final String JSON_PROPERTY_COVER_URL = "cover_url"; - private String coverUrl; - - public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; - private String customType; - - public static final String JSON_PROPERTY_DATA = "data"; - private String data; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; - private List operatorIds = null; - - public SendBirdUpdateAnOpenChannelRequest() { - } - - public SendBirdUpdateAnOpenChannelRequest coverFile(File coverFile) { - this.coverFile = coverFile; - return this; - } - - /** - * Get coverFile - * @return coverFile - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public File getCoverFile() { - return coverFile; - } - - - @JsonProperty(JSON_PROPERTY_COVER_FILE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverFile(File coverFile) { - this.coverFile = coverFile; - } - - - public SendBirdUpdateAnOpenChannelRequest coverUrl(String coverUrl) { - this.coverUrl = coverUrl; - return this; - } - - /** - * Get coverUrl - * @return coverUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCoverUrl() { - return coverUrl; - } - - - @JsonProperty(JSON_PROPERTY_COVER_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCoverUrl(String coverUrl) { - this.coverUrl = coverUrl; - } - - - public SendBirdUpdateAnOpenChannelRequest customType(String customType) { - this.customType = customType; - return this; - } - - /** - * Get customType - * @return customType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getCustomType() { - return customType; - } - - - @JsonProperty(JSON_PROPERTY_CUSTOM_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCustomType(String customType) { - this.customType = customType; - } - - - public SendBirdUpdateAnOpenChannelRequest data(String data) { - this.data = data; - return this; - } - - /** - * Get data - * @return data - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getData() { - return data; - } - - - @JsonProperty(JSON_PROPERTY_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setData(String data) { - this.data = data; - } - - - public SendBirdUpdateAnOpenChannelRequest name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - public SendBirdUpdateAnOpenChannelRequest operatorIds(List operatorIds) { - this.operatorIds = operatorIds; - return this; - } - - public SendBirdUpdateAnOpenChannelRequest addOperatorIdsItem(String operatorIdsItem) { - if (this.operatorIds == null) { - this.operatorIds = new ArrayList<>(); - } - this.operatorIds.add(operatorIdsItem); - return this; - } - - /** - * Get operatorIds - * @return operatorIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getOperatorIds() { - return operatorIds; - } - - - @JsonProperty(JSON_PROPERTY_OPERATOR_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperatorIds(List operatorIds) { - this.operatorIds = operatorIds; - } - - - /** - * Return true if this updateAnOpenChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateAnOpenChannelRequest updateAnOpenChannelRequest = (SendBirdUpdateAnOpenChannelRequest) o; - return Objects.equals(this.coverFile, updateAnOpenChannelRequest.coverFile) && - Objects.equals(this.coverUrl, updateAnOpenChannelRequest.coverUrl) && - Objects.equals(this.customType, updateAnOpenChannelRequest.customType) && - Objects.equals(this.data, updateAnOpenChannelRequest.data) && - Objects.equals(this.name, updateAnOpenChannelRequest.name) && - Objects.equals(this.operatorIds, updateAnOpenChannelRequest.operatorIds); - } - - @Override - public int hashCode() { - return Objects.hash(coverFile, coverUrl, customType, data, name, operatorIds); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateAnOpenChannelRequest {\n"); - sb.append(" coverFile: ").append(toIndentedString(coverFile)).append("\n"); - sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); - sb.append(" customType: ").append(toIndentedString(customType)).append("\n"); - sb.append(" data: ").append(toIndentedString(data)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" operatorIds: ").append(toIndentedString(operatorIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java deleted file mode 100644 index 1cbc5263..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdData.java +++ /dev/null @@ -1,337 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateBotByIdData - */ -@JsonPropertyOrder({ - SendBirdUpdateBotByIdData.JSON_PROPERTY_BOT_USERID, - SendBirdUpdateBotByIdData.JSON_PROPERTY_BOT_NICKNAME, - SendBirdUpdateBotByIdData.JSON_PROPERTY_BOT_PROFILE_URL, - SendBirdUpdateBotByIdData.JSON_PROPERTY_BOT_CALLBACK_URL, - SendBirdUpdateBotByIdData.JSON_PROPERTY_IS_PRIVACY_MODE, - SendBirdUpdateBotByIdData.JSON_PROPERTY_ENABLE_MARK_AS_READ, - SendBirdUpdateBotByIdData.JSON_PROPERTY_SHOW_MEMBER, - SendBirdUpdateBotByIdData.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE -}) -@JsonTypeName("updateBotByIdData") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateBotByIdData { - public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; - private String botUserid; - - public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; - private String botNickname; - - public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; - private String botProfileUrl; - - public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; - private String botCallbackUrl; - - public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; - private Boolean isPrivacyMode; - - public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; - private Boolean enableMarkAsRead; - - public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; - private Boolean showMember; - - public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; - private Integer channelInvitationPreference; - - public SendBirdUpdateBotByIdData() { - } - - public SendBirdUpdateBotByIdData botUserid(String botUserid) { - this.botUserid = botUserid; - return this; - } - - /** - * Specifies the ID of the bot to update. - * @return botUserid - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the ID of the bot to update.") - @JsonProperty(JSON_PROPERTY_BOT_USERID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getBotUserid() { - return botUserid; - } - - - @JsonProperty(JSON_PROPERTY_BOT_USERID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBotUserid(String botUserid) { - this.botUserid = botUserid; - } - - - public SendBirdUpdateBotByIdData botNickname(String botNickname) { - this.botNickname = botNickname; - return this; - } - - /** - * Specifies the bot's nickname. The length is limited to 80 characters. - * @return botNickname - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the bot's nickname. The length is limited to 80 characters.") - @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getBotNickname() { - return botNickname; - } - - - @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBotNickname(String botNickname) { - this.botNickname = botNickname; - } - - - public SendBirdUpdateBotByIdData botProfileUrl(String botProfileUrl) { - this.botProfileUrl = botProfileUrl; - return this; - } - - /** - * Specifies the URL of the bot's profile image. The size is limited to 2,048 characters. - * @return botProfileUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the URL of the bot's profile image. The size is limited to 2,048 characters.") - @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getBotProfileUrl() { - return botProfileUrl; - } - - - @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBotProfileUrl(String botProfileUrl) { - this.botProfileUrl = botProfileUrl; - } - - - public SendBirdUpdateBotByIdData botCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - return this; - } - - /** - * Specifies the server URL where bot is located to receive all events, requests, and data forwarded from an application. For security reasons, it is highly recommended that you use an SSL server. The length is limited to 1,024 characters. - * @return botCallbackUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Specifies the server URL where bot is located to receive all events, requests, and data forwarded from an application. For security reasons, it is highly recommended that you use an SSL server. The length is limited to 1,024 characters.") - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public String getBotCallbackUrl() { - return botCallbackUrl; - } - - - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBotCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - } - - - public SendBirdUpdateBotByIdData isPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - return this; - } - - /** - * In the channels of where the bot is a member, determines whether to only forward the messages with the specific conditions to the bot or forword all messages to the bot, for privacy concerns. If set to true, only messages that start with a '/' or mention the bot_userid are forwarded to the bot. If set to false, all messages are forwarded. - * @return isPrivacyMode - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "In the channels of where the bot is a member, determines whether to only forward the messages with the specific conditions to the bot or forword all messages to the bot, for privacy concerns. If set to true, only messages that start with a '/' or mention the bot_userid are forwarded to the bot. If set to false, all messages are forwarded.") - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Boolean getIsPrivacyMode() { - return isPrivacyMode; - } - - - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setIsPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - } - - - public SendBirdUpdateBotByIdData enableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - return this; - } - - /** - * Determines whether to mark the bot's message as read upon sending it. (Default: true) - * @return enableMarkAsRead - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Determines whether to mark the bot's message as read upon sending it. (Default: true)") - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Boolean getEnableMarkAsRead() { - return enableMarkAsRead; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setEnableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - } - - - public SendBirdUpdateBotByIdData showMember(Boolean showMember) { - this.showMember = showMember; - return this; - } - - /** - * Determines whether to include information about the members of each channel in a callback response. (Default: false) - * @return showMember - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Determines whether to include information about the members of each channel in a callback response. (Default: false)") - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Boolean getShowMember() { - return showMember; - } - - - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setShowMember(Boolean showMember) { - this.showMember = showMember; - } - - - public SendBirdUpdateBotByIdData channelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - return this; - } - - /** - * Determines whether the bot automatically joins the channel when invited or joins the channel after manually accepting an invitation using the API. If set to 0, it automatically joins the channel. If set to 1, the latter takes place. (Default: 0) - * @return channelInvitationPreference - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Determines whether the bot automatically joins the channel when invited or joins the channel after manually accepting an invitation using the API. If set to 0, it automatically joins the channel. If set to 1, the latter takes place. (Default: 0)") - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public Integer getChannelInvitationPreference() { - return channelInvitationPreference; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setChannelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - } - - - /** - * Return true if this updateBotByIdData object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateBotByIdData updateBotByIdData = (SendBirdUpdateBotByIdData) o; - return Objects.equals(this.botUserid, updateBotByIdData.botUserid) && - Objects.equals(this.botNickname, updateBotByIdData.botNickname) && - Objects.equals(this.botProfileUrl, updateBotByIdData.botProfileUrl) && - Objects.equals(this.botCallbackUrl, updateBotByIdData.botCallbackUrl) && - Objects.equals(this.isPrivacyMode, updateBotByIdData.isPrivacyMode) && - Objects.equals(this.enableMarkAsRead, updateBotByIdData.enableMarkAsRead) && - Objects.equals(this.showMember, updateBotByIdData.showMember) && - Objects.equals(this.channelInvitationPreference, updateBotByIdData.channelInvitationPreference); - } - - @Override - public int hashCode() { - return Objects.hash(botUserid, botNickname, botProfileUrl, botCallbackUrl, isPrivacyMode, enableMarkAsRead, showMember, channelInvitationPreference); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateBotByIdData {\n"); - sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); - sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); - sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); - sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); - sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); - sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); - sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); - sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java deleted file mode 100644 index 13e2e92b..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponse.java +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdViewBotByIdResponseBot; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateBotByIdResponse - */ -@JsonPropertyOrder({ - SendBirdUpdateBotByIdResponse.JSON_PROPERTY_BOT, - SendBirdUpdateBotByIdResponse.JSON_PROPERTY_BOT_CALLBACK_URL, - SendBirdUpdateBotByIdResponse.JSON_PROPERTY_ENABLE_MARK_AS_READ, - SendBirdUpdateBotByIdResponse.JSON_PROPERTY_IS_PRIVACY_MODE, - SendBirdUpdateBotByIdResponse.JSON_PROPERTY_SHOW_MEMBER, - SendBirdUpdateBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE -}) -@JsonTypeName("updateBotByIdResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateBotByIdResponse { - public static final String JSON_PROPERTY_BOT = "bot"; - private SendBirdViewBotByIdResponseBot bot; - - public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; - private String botCallbackUrl; - - public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; - private Boolean enableMarkAsRead; - - public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; - private Boolean isPrivacyMode; - - public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; - private Boolean showMember; - - public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; - private Integer channelInvitationPreference; - - public SendBirdUpdateBotByIdResponse() { - } - - public SendBirdUpdateBotByIdResponse bot(SendBirdViewBotByIdResponseBot bot) { - this.bot = bot; - return this; - } - - /** - * Get bot - * @return bot - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdViewBotByIdResponseBot getBot() { - return bot; - } - - - @JsonProperty(JSON_PROPERTY_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBot(SendBirdViewBotByIdResponseBot bot) { - this.bot = bot; - } - - - public SendBirdUpdateBotByIdResponse botCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - return this; - } - - /** - * Get botCallbackUrl - * @return botCallbackUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotCallbackUrl() { - return botCallbackUrl; - } - - - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - } - - - public SendBirdUpdateBotByIdResponse enableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - return this; - } - - /** - * Get enableMarkAsRead - * @return enableMarkAsRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnableMarkAsRead() { - return enableMarkAsRead; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - } - - - public SendBirdUpdateBotByIdResponse isPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - return this; - } - - /** - * Get isPrivacyMode - * @return isPrivacyMode - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPrivacyMode() { - return isPrivacyMode; - } - - - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - } - - - public SendBirdUpdateBotByIdResponse showMember(Boolean showMember) { - this.showMember = showMember; - return this; - } - - /** - * Get showMember - * @return showMember - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getShowMember() { - return showMember; - } - - - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setShowMember(Boolean showMember) { - this.showMember = showMember; - } - - - public SendBirdUpdateBotByIdResponse channelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - return this; - } - - /** - * Get channelInvitationPreference - * @return channelInvitationPreference - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getChannelInvitationPreference() { - return channelInvitationPreference; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - } - - - /** - * Return true if this updateBotByIdResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateBotByIdResponse updateBotByIdResponse = (SendBirdUpdateBotByIdResponse) o; - return Objects.equals(this.bot, updateBotByIdResponse.bot) && - Objects.equals(this.botCallbackUrl, updateBotByIdResponse.botCallbackUrl) && - Objects.equals(this.enableMarkAsRead, updateBotByIdResponse.enableMarkAsRead) && - Objects.equals(this.isPrivacyMode, updateBotByIdResponse.isPrivacyMode) && - Objects.equals(this.showMember, updateBotByIdResponse.showMember) && - Objects.equals(this.channelInvitationPreference, updateBotByIdResponse.channelInvitationPreference); - } - - @Override - public int hashCode() { - return Objects.hash(bot, botCallbackUrl, enableMarkAsRead, isPrivacyMode, showMember, channelInvitationPreference); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateBotByIdResponse {\n"); - sb.append(" bot: ").append(toIndentedString(bot)).append("\n"); - sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); - sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); - sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); - sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); - sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java deleted file mode 100644 index fd40401a..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequest.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateChannelInvitationPreferenceRequest - */ -@JsonPropertyOrder({ - SendBirdUpdateChannelInvitationPreferenceRequest.JSON_PROPERTY_AUTO_ACCEPT -}) -@JsonTypeName("updateChannelInvitationPreference_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateChannelInvitationPreferenceRequest { - public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; - private Boolean autoAccept; - - public SendBirdUpdateChannelInvitationPreferenceRequest() { - } - - public SendBirdUpdateChannelInvitationPreferenceRequest autoAccept(Boolean autoAccept) { - this.autoAccept = autoAccept; - return this; - } - - /** - * Get autoAccept - * @return autoAccept - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getAutoAccept() { - return autoAccept; - } - - - @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAutoAccept(Boolean autoAccept) { - this.autoAccept = autoAccept; - } - - - /** - * Return true if this updateChannelInvitationPreference_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateChannelInvitationPreferenceRequest updateChannelInvitationPreferenceRequest = (SendBirdUpdateChannelInvitationPreferenceRequest) o; - return Objects.equals(this.autoAccept, updateChannelInvitationPreferenceRequest.autoAccept); - } - - @Override - public int hashCode() { - return Objects.hash(autoAccept); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateChannelInvitationPreferenceRequest {\n"); - sb.append(" autoAccept: ").append(toIndentedString(autoAccept)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java deleted file mode 100644 index 8c6f2327..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponse.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateChannelInvitationPreferenceResponse - */ -@JsonPropertyOrder({ - SendBirdUpdateChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT -}) -@JsonTypeName("updateChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateChannelInvitationPreferenceResponse { - public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; - private Boolean autoAccept; - - public SendBirdUpdateChannelInvitationPreferenceResponse() { - } - - public SendBirdUpdateChannelInvitationPreferenceResponse autoAccept(Boolean autoAccept) { - this.autoAccept = autoAccept; - return this; - } - - /** - * Get autoAccept - * @return autoAccept - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getAutoAccept() { - return autoAccept; - } - - - @JsonProperty(JSON_PROPERTY_AUTO_ACCEPT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAutoAccept(Boolean autoAccept) { - this.autoAccept = autoAccept; - } - - - /** - * Return true if this updateChannelInvitationPreferenceResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateChannelInvitationPreferenceResponse updateChannelInvitationPreferenceResponse = (SendBirdUpdateChannelInvitationPreferenceResponse) o; - return Objects.equals(this.autoAccept, updateChannelInvitationPreferenceResponse.autoAccept); - } - - @Override - public int hashCode() { - return Objects.hash(autoAccept); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateChannelInvitationPreferenceResponse {\n"); - sb.append(" autoAccept: ").append(toIndentedString(autoAccept)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java deleted file mode 100644 index 9472ef56..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequest.java +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateCountPreferenceOfAChannelRequest - */ -@JsonPropertyOrder({ - SendBirdUpdateCountPreferenceOfAChannelRequest.JSON_PROPERTY_COUNT_PREFERENCE -}) -@JsonTypeName("updateCountPreferenceOfAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateCountPreferenceOfAChannelRequest { - /** - * Gets or Sets countPreference - */ - public enum CountPreferenceEnum { - FALSE("false"), - - ALL("all"), - - UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), - - UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); - - private String value; - - CountPreferenceEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static CountPreferenceEnum fromValue(String value) { - for (CountPreferenceEnum b : CountPreferenceEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; - private CountPreferenceEnum countPreference; - - public SendBirdUpdateCountPreferenceOfAChannelRequest() { - } - - public SendBirdUpdateCountPreferenceOfAChannelRequest countPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - return this; - } - - /** - * Get countPreference - * @return countPreference - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public CountPreferenceEnum getCountPreference() { - return countPreference; - } - - - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setCountPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - } - - - /** - * Return true if this updateCountPreferenceOfAChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateCountPreferenceOfAChannelRequest updateCountPreferenceOfAChannelRequest = (SendBirdUpdateCountPreferenceOfAChannelRequest) o; - return Objects.equals(this.countPreference, updateCountPreferenceOfAChannelRequest.countPreference); - } - - @Override - public int hashCode() { - return Objects.hash(countPreference); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateCountPreferenceOfAChannelRequest {\n"); - sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java deleted file mode 100644 index a8125c0f..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponse.java +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateCountPreferenceOfChannelByUrlResponse - */ -@JsonPropertyOrder({ - SendBirdUpdateCountPreferenceOfChannelByUrlResponse.JSON_PROPERTY_COUNT_PREFERENCE -}) -@JsonTypeName("updateCountPreferenceOfChannelByUrlResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateCountPreferenceOfChannelByUrlResponse { - /** - * Gets or Sets countPreference - */ - public enum CountPreferenceEnum { - FALSE("false"), - - ALL("all"), - - UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), - - UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); - - private String value; - - CountPreferenceEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static CountPreferenceEnum fromValue(String value) { - for (CountPreferenceEnum b : CountPreferenceEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; - private CountPreferenceEnum countPreference; - - public SendBirdUpdateCountPreferenceOfChannelByUrlResponse() { - } - - public SendBirdUpdateCountPreferenceOfChannelByUrlResponse countPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - return this; - } - - /** - * Get countPreference - * @return countPreference - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public CountPreferenceEnum getCountPreference() { - return countPreference; - } - - - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCountPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - } - - - /** - * Return true if this updateCountPreferenceOfChannelByUrlResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateCountPreferenceOfChannelByUrlResponse updateCountPreferenceOfChannelByUrlResponse = (SendBirdUpdateCountPreferenceOfChannelByUrlResponse) o; - return Objects.equals(this.countPreference, updateCountPreferenceOfChannelByUrlResponse.countPreference); - } - - @Override - public int hashCode() { - return Objects.hash(countPreference); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateCountPreferenceOfChannelByUrlResponse {\n"); - sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java deleted file mode 100644 index ab60adb7..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequest.java +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateExtraDataInAMessageRequest - */ -@JsonPropertyOrder({ - SendBirdUpdateExtraDataInAMessageRequest.JSON_PROPERTY_MODE, - SendBirdUpdateExtraDataInAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY, - SendBirdUpdateExtraDataInAMessageRequest.JSON_PROPERTY_UPSERT -}) -@JsonTypeName("updateExtraDataInAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateExtraDataInAMessageRequest { - public static final String JSON_PROPERTY_MODE = "mode"; - private String mode; - - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; - - public static final String JSON_PROPERTY_UPSERT = "upsert"; - private Boolean upsert; - - public SendBirdUpdateExtraDataInAMessageRequest() { - } - - public SendBirdUpdateExtraDataInAMessageRequest mode(String mode) { - this.mode = mode; - return this; - } - - /** - * Get mode - * @return mode - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getMode() { - return mode; - } - - - @JsonProperty(JSON_PROPERTY_MODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMode(String mode) { - this.mode = mode; - } - - - public SendBirdUpdateExtraDataInAMessageRequest sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdUpdateExtraDataInAMessageRequest addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { - if (this.sortedMetaarray == null) { - this.sortedMetaarray = new ArrayList<>(); - } - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - public SendBirdUpdateExtraDataInAMessageRequest upsert(Boolean upsert) { - this.upsert = upsert; - return this; - } - - /** - * Get upsert - * @return upsert - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UPSERT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getUpsert() { - return upsert; - } - - - @JsonProperty(JSON_PROPERTY_UPSERT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUpsert(Boolean upsert) { - this.upsert = upsert; - } - - - /** - * Return true if this updateExtraDataInAMessage_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest = (SendBirdUpdateExtraDataInAMessageRequest) o; - return Objects.equals(this.mode, updateExtraDataInAMessageRequest.mode) && - Objects.equals(this.sortedMetaarray, updateExtraDataInAMessageRequest.sortedMetaarray) && - Objects.equals(this.upsert, updateExtraDataInAMessageRequest.upsert); - } - - @Override - public int hashCode() { - return Objects.hash(mode, sortedMetaarray, upsert); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateExtraDataInAMessageRequest {\n"); - sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append(" upsert: ").append(toIndentedString(upsert)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java deleted file mode 100644 index de95af32..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponse.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdSortedMetaarrayInner; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdateExtraDataInAMessageResponse - */ -@JsonPropertyOrder({ - SendBirdUpdateExtraDataInAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY -}) -@JsonTypeName("updateExtraDataInAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdateExtraDataInAMessageResponse { - public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; - - public SendBirdUpdateExtraDataInAMessageResponse() { - } - - public SendBirdUpdateExtraDataInAMessageResponse sortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - return this; - } - - public SendBirdUpdateExtraDataInAMessageResponse addSortedMetaarrayItem(SendBirdSendBirdSortedMetaarrayInner sortedMetaarrayItem) { - if (this.sortedMetaarray == null) { - this.sortedMetaarray = new ArrayList<>(); - } - this.sortedMetaarray.add(sortedMetaarrayItem); - return this; - } - - /** - * Get sortedMetaarray - * @return sortedMetaarray - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSortedMetaarray() { - return sortedMetaarray; - } - - - @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { - this.sortedMetaarray = sortedMetaarray; - } - - - /** - * Return true if this updateExtraDataInAMessageResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdateExtraDataInAMessageResponse updateExtraDataInAMessageResponse = (SendBirdUpdateExtraDataInAMessageResponse) o; - return Objects.equals(this.sortedMetaarray, updateExtraDataInAMessageResponse.sortedMetaarray); - } - - @Override - public int hashCode() { - return Objects.hash(sortedMetaarray); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdateExtraDataInAMessageResponse {\n"); - sb.append(" sortedMetaarray: ").append(toIndentedString(sortedMetaarray)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java deleted file mode 100644 index 764fe71a..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequest.java +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdatePushPreferencesForAChannelRequest - */ -@JsonPropertyOrder({ - SendBirdUpdatePushPreferencesForAChannelRequest.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdUpdatePushPreferencesForAChannelRequest.JSON_PROPERTY_PUSH_SOUND -}) -@JsonTypeName("updatePushPreferencesForAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdatePushPreferencesForAChannelRequest { - /** - * The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications. - */ - public enum PushTriggerOptionEnum { - DEFAULT("default"), - - ALL("all"), - - MENTION_ONLY("mention_only"), - - FALSE("false"); - - private String value; - - PushTriggerOptionEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static PushTriggerOptionEnum fromValue(String value) { - for (PushTriggerOptionEnum b : PushTriggerOptionEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private PushTriggerOptionEnum pushTriggerOption; - - public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; - private String pushSound; - - public SendBirdUpdatePushPreferencesForAChannelRequest() { - } - - public SendBirdUpdatePushPreferencesForAChannelRequest pushTriggerOption(PushTriggerOptionEnum pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - return this; - } - - /** - * The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications. - * @return pushTriggerOption - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications.") - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - - public PushTriggerOptionEnum getPushTriggerOption() { - return pushTriggerOption; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setPushTriggerOption(PushTriggerOptionEnum pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - } - - - public SendBirdUpdatePushPreferencesForAChannelRequest pushSound(String pushSound) { - this.pushSound = pushSound; - return this; - } - - /** - * Get pushSound - * @return pushSound - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getPushSound() { - return pushSound; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushSound(String pushSound) { - this.pushSound = pushSound; - } - - - /** - * Return true if this updatePushPreferencesForAChannel_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdatePushPreferencesForAChannelRequest updatePushPreferencesForAChannelRequest = (SendBirdUpdatePushPreferencesForAChannelRequest) o; - return Objects.equals(this.pushTriggerOption, updatePushPreferencesForAChannelRequest.pushTriggerOption) && - Objects.equals(this.pushSound, updatePushPreferencesForAChannelRequest.pushSound); - } - - @Override - public int hashCode() { - return Objects.hash(pushTriggerOption, pushSound); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdatePushPreferencesForAChannelRequest {\n"); - sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); - sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java deleted file mode 100644 index c23c3368..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponse.java +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdatePushPreferencesForAChannelResponse - */ -@JsonPropertyOrder({ - SendBirdUpdatePushPreferencesForAChannelResponse.JSON_PROPERTY_ENABLE, - SendBirdUpdatePushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_SOUND, - SendBirdUpdatePushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION -}) -@JsonTypeName("updatePushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdatePushPreferencesForAChannelResponse { - public static final String JSON_PROPERTY_ENABLE = "enable"; - private Boolean enable; - - public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; - private String pushSound; - - public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendBirdPushTriggerOption pushTriggerOption; - - public SendBirdUpdatePushPreferencesForAChannelResponse() { - } - - public SendBirdUpdatePushPreferencesForAChannelResponse enable(Boolean enable) { - this.enable = enable; - return this; - } - - /** - * Get enable - * @return enable - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnable() { - return enable; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnable(Boolean enable) { - this.enable = enable; - } - - - public SendBirdUpdatePushPreferencesForAChannelResponse pushSound(String pushSound) { - this.pushSound = pushSound; - return this; - } - - /** - * Get pushSound - * @return pushSound - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getPushSound() { - return pushSound; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushSound(String pushSound) { - this.pushSound = pushSound; - } - - - public SendBirdUpdatePushPreferencesForAChannelResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - return this; - } - - /** - * Get pushTriggerOption - * @return pushTriggerOption - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { - return pushTriggerOption; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - } - - - /** - * Return true if this updatePushPreferencesForAChannelResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdatePushPreferencesForAChannelResponse updatePushPreferencesForAChannelResponse = (SendBirdUpdatePushPreferencesForAChannelResponse) o; - return Objects.equals(this.enable, updatePushPreferencesForAChannelResponse.enable) && - Objects.equals(this.pushSound, updatePushPreferencesForAChannelResponse.pushSound) && - Objects.equals(this.pushTriggerOption, updatePushPreferencesForAChannelResponse.pushTriggerOption); - } - - @Override - public int hashCode() { - return Objects.hash(enable, pushSound, pushTriggerOption); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdatePushPreferencesForAChannelResponse {\n"); - sb.append(" enable: ").append(toIndentedString(enable)).append("\n"); - sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); - sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java deleted file mode 100644 index 6ed2bef0..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequest.java +++ /dev/null @@ -1,540 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdatePushPreferencesRequest - */ -@JsonPropertyOrder({ - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_DO_NOT_DISTURB, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_END_HOUR, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_END_MIN, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_PUSH_SOUND, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_SNOOZE_ENABLED, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_SNOOZE_END_TS, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_SNOOZE_START_TS, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_START_HOUR, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_START_MIN, - SendBirdUpdatePushPreferencesRequest.JSON_PROPERTY_TIMEZONE -}) -@JsonTypeName("updatePushPreferences_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdatePushPreferencesRequest { - public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; - private Boolean blockPushFromBots; - - public static final String JSON_PROPERTY_DO_NOT_DISTURB = "do_not_disturb"; - private Boolean doNotDisturb; - - public static final String JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES = "enable_push_for_replies"; - private Boolean enablePushForReplies; - - public static final String JSON_PROPERTY_END_HOUR = "end_hour"; - private Integer endHour; - - public static final String JSON_PROPERTY_END_MIN = "end_min"; - private Integer endMin; - - public static final String JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS = "push_blocked_bot_ids"; - private List pushBlockedBotIds = null; - - public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; - private String pushSound; - - public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendBirdPushTriggerOption pushTriggerOption; - - public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; - private Boolean snoozeEnabled; - - public static final String JSON_PROPERTY_SNOOZE_END_TS = "snooze_end_ts"; - private Long snoozeEndTs; - - public static final String JSON_PROPERTY_SNOOZE_START_TS = "snooze_start_ts"; - private Long snoozeStartTs; - - public static final String JSON_PROPERTY_START_HOUR = "start_hour"; - private Integer startHour; - - public static final String JSON_PROPERTY_START_MIN = "start_min"; - private Integer startMin; - - public static final String JSON_PROPERTY_TIMEZONE = "timezone"; - private String timezone; - - public SendBirdUpdatePushPreferencesRequest() { - } - - public SendBirdUpdatePushPreferencesRequest blockPushFromBots(Boolean blockPushFromBots) { - this.blockPushFromBots = blockPushFromBots; - return this; - } - - /** - * Get blockPushFromBots - * @return blockPushFromBots - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getBlockPushFromBots() { - return blockPushFromBots; - } - - - @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBlockPushFromBots(Boolean blockPushFromBots) { - this.blockPushFromBots = blockPushFromBots; - } - - - public SendBirdUpdatePushPreferencesRequest doNotDisturb(Boolean doNotDisturb) { - this.doNotDisturb = doNotDisturb; - return this; - } - - /** - * Get doNotDisturb - * @return doNotDisturb - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getDoNotDisturb() { - return doNotDisturb; - } - - - @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDoNotDisturb(Boolean doNotDisturb) { - this.doNotDisturb = doNotDisturb; - } - - - public SendBirdUpdatePushPreferencesRequest enablePushForReplies(Boolean enablePushForReplies) { - this.enablePushForReplies = enablePushForReplies; - return this; - } - - /** - * Get enablePushForReplies - * @return enablePushForReplies - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnablePushForReplies() { - return enablePushForReplies; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnablePushForReplies(Boolean enablePushForReplies) { - this.enablePushForReplies = enablePushForReplies; - } - - - public SendBirdUpdatePushPreferencesRequest endHour(Integer endHour) { - this.endHour = endHour; - return this; - } - - /** - * Get endHour - * @return endHour - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_END_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getEndHour() { - return endHour; - } - - - @JsonProperty(JSON_PROPERTY_END_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEndHour(Integer endHour) { - this.endHour = endHour; - } - - - public SendBirdUpdatePushPreferencesRequest endMin(Integer endMin) { - this.endMin = endMin; - return this; - } - - /** - * Get endMin - * @return endMin - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_END_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getEndMin() { - return endMin; - } - - - @JsonProperty(JSON_PROPERTY_END_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEndMin(Integer endMin) { - this.endMin = endMin; - } - - - public SendBirdUpdatePushPreferencesRequest pushBlockedBotIds(List pushBlockedBotIds) { - this.pushBlockedBotIds = pushBlockedBotIds; - return this; - } - - public SendBirdUpdatePushPreferencesRequest addPushBlockedBotIdsItem(String pushBlockedBotIdsItem) { - if (this.pushBlockedBotIds == null) { - this.pushBlockedBotIds = new ArrayList<>(); - } - this.pushBlockedBotIds.add(pushBlockedBotIdsItem); - return this; - } - - /** - * Get pushBlockedBotIds - * @return pushBlockedBotIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getPushBlockedBotIds() { - return pushBlockedBotIds; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushBlockedBotIds(List pushBlockedBotIds) { - this.pushBlockedBotIds = pushBlockedBotIds; - } - - - public SendBirdUpdatePushPreferencesRequest pushSound(String pushSound) { - this.pushSound = pushSound; - return this; - } - - /** - * Get pushSound - * @return pushSound - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getPushSound() { - return pushSound; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushSound(String pushSound) { - this.pushSound = pushSound; - } - - - public SendBirdUpdatePushPreferencesRequest pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - return this; - } - - /** - * Get pushTriggerOption - * @return pushTriggerOption - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { - return pushTriggerOption; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - } - - - public SendBirdUpdatePushPreferencesRequest snoozeEnabled(Boolean snoozeEnabled) { - this.snoozeEnabled = snoozeEnabled; - return this; - } - - /** - * Get snoozeEnabled - * @return snoozeEnabled - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getSnoozeEnabled() { - return snoozeEnabled; - } - - - @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSnoozeEnabled(Boolean snoozeEnabled) { - this.snoozeEnabled = snoozeEnabled; - } - - - public SendBirdUpdatePushPreferencesRequest snoozeEndTs(Long snoozeEndTs) { - this.snoozeEndTs = snoozeEndTs; - return this; - } - - /** - * Get snoozeEndTs - * @return snoozeEndTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getSnoozeEndTs() { - return snoozeEndTs; - } - - - @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSnoozeEndTs(Long snoozeEndTs) { - this.snoozeEndTs = snoozeEndTs; - } - - - public SendBirdUpdatePushPreferencesRequest snoozeStartTs(Long snoozeStartTs) { - this.snoozeStartTs = snoozeStartTs; - return this; - } - - /** - * Get snoozeStartTs - * @return snoozeStartTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getSnoozeStartTs() { - return snoozeStartTs; - } - - - @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSnoozeStartTs(Long snoozeStartTs) { - this.snoozeStartTs = snoozeStartTs; - } - - - public SendBirdUpdatePushPreferencesRequest startHour(Integer startHour) { - this.startHour = startHour; - return this; - } - - /** - * Get startHour - * @return startHour - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_START_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getStartHour() { - return startHour; - } - - - @JsonProperty(JSON_PROPERTY_START_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setStartHour(Integer startHour) { - this.startHour = startHour; - } - - - public SendBirdUpdatePushPreferencesRequest startMin(Integer startMin) { - this.startMin = startMin; - return this; - } - - /** - * Get startMin - * @return startMin - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_START_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getStartMin() { - return startMin; - } - - - @JsonProperty(JSON_PROPERTY_START_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setStartMin(Integer startMin) { - this.startMin = startMin; - } - - - public SendBirdUpdatePushPreferencesRequest timezone(String timezone) { - this.timezone = timezone; - return this; - } - - /** - * Get timezone - * @return timezone - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TIMEZONE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTimezone() { - return timezone; - } - - - @JsonProperty(JSON_PROPERTY_TIMEZONE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTimezone(String timezone) { - this.timezone = timezone; - } - - - /** - * Return true if this updatePushPreferences_request object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdatePushPreferencesRequest updatePushPreferencesRequest = (SendBirdUpdatePushPreferencesRequest) o; - return Objects.equals(this.blockPushFromBots, updatePushPreferencesRequest.blockPushFromBots) && - Objects.equals(this.doNotDisturb, updatePushPreferencesRequest.doNotDisturb) && - Objects.equals(this.enablePushForReplies, updatePushPreferencesRequest.enablePushForReplies) && - Objects.equals(this.endHour, updatePushPreferencesRequest.endHour) && - Objects.equals(this.endMin, updatePushPreferencesRequest.endMin) && - Objects.equals(this.pushBlockedBotIds, updatePushPreferencesRequest.pushBlockedBotIds) && - Objects.equals(this.pushSound, updatePushPreferencesRequest.pushSound) && - Objects.equals(this.pushTriggerOption, updatePushPreferencesRequest.pushTriggerOption) && - Objects.equals(this.snoozeEnabled, updatePushPreferencesRequest.snoozeEnabled) && - Objects.equals(this.snoozeEndTs, updatePushPreferencesRequest.snoozeEndTs) && - Objects.equals(this.snoozeStartTs, updatePushPreferencesRequest.snoozeStartTs) && - Objects.equals(this.startHour, updatePushPreferencesRequest.startHour) && - Objects.equals(this.startMin, updatePushPreferencesRequest.startMin) && - Objects.equals(this.timezone, updatePushPreferencesRequest.timezone); - } - - @Override - public int hashCode() { - return Objects.hash(blockPushFromBots, doNotDisturb, enablePushForReplies, endHour, endMin, pushBlockedBotIds, pushSound, pushTriggerOption, snoozeEnabled, snoozeEndTs, snoozeStartTs, startHour, startMin, timezone); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdatePushPreferencesRequest {\n"); - sb.append(" blockPushFromBots: ").append(toIndentedString(blockPushFromBots)).append("\n"); - sb.append(" doNotDisturb: ").append(toIndentedString(doNotDisturb)).append("\n"); - sb.append(" enablePushForReplies: ").append(toIndentedString(enablePushForReplies)).append("\n"); - sb.append(" endHour: ").append(toIndentedString(endHour)).append("\n"); - sb.append(" endMin: ").append(toIndentedString(endMin)).append("\n"); - sb.append(" pushBlockedBotIds: ").append(toIndentedString(pushBlockedBotIds)).append("\n"); - sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); - sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); - sb.append(" snoozeEnabled: ").append(toIndentedString(snoozeEnabled)).append("\n"); - sb.append(" snoozeEndTs: ").append(toIndentedString(snoozeEndTs)).append("\n"); - sb.append(" snoozeStartTs: ").append(toIndentedString(snoozeStartTs)).append("\n"); - sb.append(" startHour: ").append(toIndentedString(startHour)).append("\n"); - sb.append(" startMin: ").append(toIndentedString(startMin)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java deleted file mode 100644 index fb8a0d98..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponse.java +++ /dev/null @@ -1,540 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdUpdatePushPreferencesResponse - */ -@JsonPropertyOrder({ - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_DO_NOT_DISTURB, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_END_HOUR, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_END_MIN, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_PUSH_SOUND, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_SNOOZE_ENABLED, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_SNOOZE_END_TS, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_SNOOZE_START_TS, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_START_HOUR, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_START_MIN, - SendBirdUpdatePushPreferencesResponse.JSON_PROPERTY_TIMEZONE -}) -@JsonTypeName("updatePushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdUpdatePushPreferencesResponse { - public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; - private Boolean blockPushFromBots; - - public static final String JSON_PROPERTY_DO_NOT_DISTURB = "do_not_disturb"; - private Boolean doNotDisturb; - - public static final String JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES = "enable_push_for_replies"; - private Boolean enablePushForReplies; - - public static final String JSON_PROPERTY_END_HOUR = "end_hour"; - private Integer endHour; - - public static final String JSON_PROPERTY_END_MIN = "end_min"; - private Integer endMin; - - public static final String JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS = "push_blocked_bot_ids"; - private List pushBlockedBotIds = null; - - public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; - private String pushSound; - - public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendBirdPushTriggerOption pushTriggerOption; - - public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; - private Boolean snoozeEnabled; - - public static final String JSON_PROPERTY_SNOOZE_END_TS = "snooze_end_ts"; - private Long snoozeEndTs; - - public static final String JSON_PROPERTY_SNOOZE_START_TS = "snooze_start_ts"; - private Long snoozeStartTs; - - public static final String JSON_PROPERTY_START_HOUR = "start_hour"; - private Integer startHour; - - public static final String JSON_PROPERTY_START_MIN = "start_min"; - private Integer startMin; - - public static final String JSON_PROPERTY_TIMEZONE = "timezone"; - private String timezone; - - public SendBirdUpdatePushPreferencesResponse() { - } - - public SendBirdUpdatePushPreferencesResponse blockPushFromBots(Boolean blockPushFromBots) { - this.blockPushFromBots = blockPushFromBots; - return this; - } - - /** - * Get blockPushFromBots - * @return blockPushFromBots - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getBlockPushFromBots() { - return blockPushFromBots; - } - - - @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBlockPushFromBots(Boolean blockPushFromBots) { - this.blockPushFromBots = blockPushFromBots; - } - - - public SendBirdUpdatePushPreferencesResponse doNotDisturb(Boolean doNotDisturb) { - this.doNotDisturb = doNotDisturb; - return this; - } - - /** - * Get doNotDisturb - * @return doNotDisturb - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getDoNotDisturb() { - return doNotDisturb; - } - - - @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDoNotDisturb(Boolean doNotDisturb) { - this.doNotDisturb = doNotDisturb; - } - - - public SendBirdUpdatePushPreferencesResponse enablePushForReplies(Boolean enablePushForReplies) { - this.enablePushForReplies = enablePushForReplies; - return this; - } - - /** - * Get enablePushForReplies - * @return enablePushForReplies - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnablePushForReplies() { - return enablePushForReplies; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnablePushForReplies(Boolean enablePushForReplies) { - this.enablePushForReplies = enablePushForReplies; - } - - - public SendBirdUpdatePushPreferencesResponse endHour(Integer endHour) { - this.endHour = endHour; - return this; - } - - /** - * Get endHour - * @return endHour - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_END_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getEndHour() { - return endHour; - } - - - @JsonProperty(JSON_PROPERTY_END_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEndHour(Integer endHour) { - this.endHour = endHour; - } - - - public SendBirdUpdatePushPreferencesResponse endMin(Integer endMin) { - this.endMin = endMin; - return this; - } - - /** - * Get endMin - * @return endMin - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_END_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getEndMin() { - return endMin; - } - - - @JsonProperty(JSON_PROPERTY_END_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEndMin(Integer endMin) { - this.endMin = endMin; - } - - - public SendBirdUpdatePushPreferencesResponse pushBlockedBotIds(List pushBlockedBotIds) { - this.pushBlockedBotIds = pushBlockedBotIds; - return this; - } - - public SendBirdUpdatePushPreferencesResponse addPushBlockedBotIdsItem(String pushBlockedBotIdsItem) { - if (this.pushBlockedBotIds == null) { - this.pushBlockedBotIds = new ArrayList<>(); - } - this.pushBlockedBotIds.add(pushBlockedBotIdsItem); - return this; - } - - /** - * Get pushBlockedBotIds - * @return pushBlockedBotIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getPushBlockedBotIds() { - return pushBlockedBotIds; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushBlockedBotIds(List pushBlockedBotIds) { - this.pushBlockedBotIds = pushBlockedBotIds; - } - - - public SendBirdUpdatePushPreferencesResponse pushSound(String pushSound) { - this.pushSound = pushSound; - return this; - } - - /** - * Get pushSound - * @return pushSound - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getPushSound() { - return pushSound; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushSound(String pushSound) { - this.pushSound = pushSound; - } - - - public SendBirdUpdatePushPreferencesResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - return this; - } - - /** - * Get pushTriggerOption - * @return pushTriggerOption - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { - return pushTriggerOption; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - } - - - public SendBirdUpdatePushPreferencesResponse snoozeEnabled(Boolean snoozeEnabled) { - this.snoozeEnabled = snoozeEnabled; - return this; - } - - /** - * Get snoozeEnabled - * @return snoozeEnabled - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getSnoozeEnabled() { - return snoozeEnabled; - } - - - @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSnoozeEnabled(Boolean snoozeEnabled) { - this.snoozeEnabled = snoozeEnabled; - } - - - public SendBirdUpdatePushPreferencesResponse snoozeEndTs(Long snoozeEndTs) { - this.snoozeEndTs = snoozeEndTs; - return this; - } - - /** - * Get snoozeEndTs - * @return snoozeEndTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getSnoozeEndTs() { - return snoozeEndTs; - } - - - @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSnoozeEndTs(Long snoozeEndTs) { - this.snoozeEndTs = snoozeEndTs; - } - - - public SendBirdUpdatePushPreferencesResponse snoozeStartTs(Long snoozeStartTs) { - this.snoozeStartTs = snoozeStartTs; - return this; - } - - /** - * Get snoozeStartTs - * @return snoozeStartTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getSnoozeStartTs() { - return snoozeStartTs; - } - - - @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSnoozeStartTs(Long snoozeStartTs) { - this.snoozeStartTs = snoozeStartTs; - } - - - public SendBirdUpdatePushPreferencesResponse startHour(Integer startHour) { - this.startHour = startHour; - return this; - } - - /** - * Get startHour - * @return startHour - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_START_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getStartHour() { - return startHour; - } - - - @JsonProperty(JSON_PROPERTY_START_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setStartHour(Integer startHour) { - this.startHour = startHour; - } - - - public SendBirdUpdatePushPreferencesResponse startMin(Integer startMin) { - this.startMin = startMin; - return this; - } - - /** - * Get startMin - * @return startMin - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_START_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getStartMin() { - return startMin; - } - - - @JsonProperty(JSON_PROPERTY_START_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setStartMin(Integer startMin) { - this.startMin = startMin; - } - - - public SendBirdUpdatePushPreferencesResponse timezone(String timezone) { - this.timezone = timezone; - return this; - } - - /** - * Get timezone - * @return timezone - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TIMEZONE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTimezone() { - return timezone; - } - - - @JsonProperty(JSON_PROPERTY_TIMEZONE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTimezone(String timezone) { - this.timezone = timezone; - } - - - /** - * Return true if this updatePushPreferencesResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdUpdatePushPreferencesResponse updatePushPreferencesResponse = (SendBirdUpdatePushPreferencesResponse) o; - return Objects.equals(this.blockPushFromBots, updatePushPreferencesResponse.blockPushFromBots) && - Objects.equals(this.doNotDisturb, updatePushPreferencesResponse.doNotDisturb) && - Objects.equals(this.enablePushForReplies, updatePushPreferencesResponse.enablePushForReplies) && - Objects.equals(this.endHour, updatePushPreferencesResponse.endHour) && - Objects.equals(this.endMin, updatePushPreferencesResponse.endMin) && - Objects.equals(this.pushBlockedBotIds, updatePushPreferencesResponse.pushBlockedBotIds) && - Objects.equals(this.pushSound, updatePushPreferencesResponse.pushSound) && - Objects.equals(this.pushTriggerOption, updatePushPreferencesResponse.pushTriggerOption) && - Objects.equals(this.snoozeEnabled, updatePushPreferencesResponse.snoozeEnabled) && - Objects.equals(this.snoozeEndTs, updatePushPreferencesResponse.snoozeEndTs) && - Objects.equals(this.snoozeStartTs, updatePushPreferencesResponse.snoozeStartTs) && - Objects.equals(this.startHour, updatePushPreferencesResponse.startHour) && - Objects.equals(this.startMin, updatePushPreferencesResponse.startMin) && - Objects.equals(this.timezone, updatePushPreferencesResponse.timezone); - } - - @Override - public int hashCode() { - return Objects.hash(blockPushFromBots, doNotDisturb, enablePushForReplies, endHour, endMin, pushBlockedBotIds, pushSound, pushTriggerOption, snoozeEnabled, snoozeEndTs, snoozeStartTs, startHour, startMin, timezone); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUpdatePushPreferencesResponse {\n"); - sb.append(" blockPushFromBots: ").append(toIndentedString(blockPushFromBots)).append("\n"); - sb.append(" doNotDisturb: ").append(toIndentedString(doNotDisturb)).append("\n"); - sb.append(" enablePushForReplies: ").append(toIndentedString(enablePushForReplies)).append("\n"); - sb.append(" endHour: ").append(toIndentedString(endHour)).append("\n"); - sb.append(" endMin: ").append(toIndentedString(endMin)).append("\n"); - sb.append(" pushBlockedBotIds: ").append(toIndentedString(pushBlockedBotIds)).append("\n"); - sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); - sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); - sb.append(" snoozeEnabled: ").append(toIndentedString(snoozeEnabled)).append("\n"); - sb.append(" snoozeEndTs: ").append(toIndentedString(snoozeEndTs)).append("\n"); - sb.append(" snoozeStartTs: ").append(toIndentedString(snoozeStartTs)).append("\n"); - sb.append(" startHour: ").append(toIndentedString(startHour)).append("\n"); - sb.append(" startMin: ").append(toIndentedString(startMin)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdUser.java b/src/main/java/org/openapitools/client/model/SendBirdUser.java index 46c2ecd6..c858e71e 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUser.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUser.java @@ -39,31 +39,31 @@ */ @ApiModel(description = "User") @JsonPropertyOrder({ - SendBirdUser.JSON_PROPERTY_ACCESS_TOKEN, - SendBirdUser.JSON_PROPERTY_CREATED_AT, - SendBirdUser.JSON_PROPERTY_DISCOVERY_KEYS, - SendBirdUser.JSON_PROPERTY_HAS_EVER_LOGGED_IN, - SendBirdUser.JSON_PROPERTY_IS_ACTIVE, - SendBirdUser.JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS, - SendBirdUser.JSON_PROPERTY_IS_ONLINE, - SendBirdUser.JSON_PROPERTY_IS_SHADOW_BLOCKED, - SendBirdUser.JSON_PROPERTY_LAST_SEEN_AT, - SendBirdUser.JSON_PROPERTY_LOCALE, - SendBirdUser.JSON_PROPERTY_METADATA, - SendBirdUser.JSON_PROPERTY_NICKNAME, - SendBirdUser.JSON_PROPERTY_PREFERRED_LANGUAGES, - SendBirdUser.JSON_PROPERTY_PROFILE_URL, - SendBirdUser.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendBirdUser.JSON_PROPERTY_USER_ID, - SendBirdUser.JSON_PROPERTY_STATE, - SendBirdUser.JSON_PROPERTY_UNREAD_CHANNEL_COUNT, - SendBirdUser.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, - SendBirdUser.JSON_PROPERTY_PHONE_NUMBER, - SendBirdUser.JSON_PROPERTY_IS_CREATED + SendbirdUser.JSON_PROPERTY_ACCESS_TOKEN, + SendbirdUser.JSON_PROPERTY_CREATED_AT, + SendbirdUser.JSON_PROPERTY_DISCOVERY_KEYS, + SendbirdUser.JSON_PROPERTY_HAS_EVER_LOGGED_IN, + SendbirdUser.JSON_PROPERTY_IS_ACTIVE, + SendbirdUser.JSON_PROPERTY_IS_HIDE_ME_FROM_FRIENDS, + SendbirdUser.JSON_PROPERTY_IS_ONLINE, + SendbirdUser.JSON_PROPERTY_IS_SHADOW_BLOCKED, + SendbirdUser.JSON_PROPERTY_LAST_SEEN_AT, + SendbirdUser.JSON_PROPERTY_LOCALE, + SendbirdUser.JSON_PROPERTY_METADATA, + SendbirdUser.JSON_PROPERTY_NICKNAME, + SendbirdUser.JSON_PROPERTY_PREFERRED_LANGUAGES, + SendbirdUser.JSON_PROPERTY_PROFILE_URL, + SendbirdUser.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendbirdUser.JSON_PROPERTY_USER_ID, + SendbirdUser.JSON_PROPERTY_STATE, + SendbirdUser.JSON_PROPERTY_UNREAD_CHANNEL_COUNT, + SendbirdUser.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, + SendbirdUser.JSON_PROPERTY_PHONE_NUMBER, + SendbirdUser.JSON_PROPERTY_IS_CREATED }) -@JsonTypeName("SendBird.User") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdUser { +@JsonTypeName("Sendbird.User") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdUser { public static final String JSON_PROPERTY_ACCESS_TOKEN = "access_token"; private String accessToken; @@ -164,10 +164,10 @@ public static StateEnum fromValue(String value) { public static final String JSON_PROPERTY_IS_CREATED = "is_created"; private Boolean isCreated; - public SendBirdUser() { + public SendbirdUser() { } - public SendBirdUser accessToken(String accessToken) { + public SendbirdUser accessToken(String accessToken) { this.accessToken = accessToken; return this; } @@ -193,7 +193,7 @@ public void setAccessToken(String accessToken) { } - public SendBirdUser createdAt(Long createdAt) { + public SendbirdUser createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -219,12 +219,12 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdUser discoveryKeys(List discoveryKeys) { + public SendbirdUser discoveryKeys(List discoveryKeys) { this.discoveryKeys = JsonNullable.>of(discoveryKeys); return this; } - public SendBirdUser addDiscoveryKeysItem(String discoveryKeysItem) { + public SendbirdUser addDiscoveryKeysItem(String discoveryKeysItem) { if (this.discoveryKeys == null || !this.discoveryKeys.isPresent()) { this.discoveryKeys = JsonNullable.>of(new ArrayList<>()); } @@ -265,7 +265,7 @@ public void setDiscoveryKeys(List discoveryKeys) { } - public SendBirdUser hasEverLoggedIn(Boolean hasEverLoggedIn) { + public SendbirdUser hasEverLoggedIn(Boolean hasEverLoggedIn) { this.hasEverLoggedIn = hasEverLoggedIn; return this; } @@ -291,7 +291,7 @@ public void setHasEverLoggedIn(Boolean hasEverLoggedIn) { } - public SendBirdUser isActive(Boolean isActive) { + public SendbirdUser isActive(Boolean isActive) { this.isActive = isActive; return this; } @@ -317,7 +317,7 @@ public void setIsActive(Boolean isActive) { } - public SendBirdUser isHideMeFromFriends(Boolean isHideMeFromFriends) { + public SendbirdUser isHideMeFromFriends(Boolean isHideMeFromFriends) { this.isHideMeFromFriends = isHideMeFromFriends; return this; } @@ -343,7 +343,7 @@ public void setIsHideMeFromFriends(Boolean isHideMeFromFriends) { } - public SendBirdUser isOnline(Boolean isOnline) { + public SendbirdUser isOnline(Boolean isOnline) { this.isOnline = isOnline; return this; } @@ -369,7 +369,7 @@ public void setIsOnline(Boolean isOnline) { } - public SendBirdUser isShadowBlocked(Boolean isShadowBlocked) { + public SendbirdUser isShadowBlocked(Boolean isShadowBlocked) { this.isShadowBlocked = isShadowBlocked; return this; } @@ -395,7 +395,7 @@ public void setIsShadowBlocked(Boolean isShadowBlocked) { } - public SendBirdUser lastSeenAt(Long lastSeenAt) { + public SendbirdUser lastSeenAt(Long lastSeenAt) { this.lastSeenAt = lastSeenAt; return this; } @@ -421,7 +421,7 @@ public void setLastSeenAt(Long lastSeenAt) { } - public SendBirdUser locale(String locale) { + public SendbirdUser locale(String locale) { this.locale = locale; return this; } @@ -447,7 +447,7 @@ public void setLocale(String locale) { } - public SendBirdUser metadata(Object metadata) { + public SendbirdUser metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -481,7 +481,7 @@ public void setMetadata(Object metadata) { } - public SendBirdUser nickname(String nickname) { + public SendbirdUser nickname(String nickname) { this.nickname = JsonNullable.of(nickname); return this; } @@ -515,12 +515,12 @@ public void setNickname(String nickname) { } - public SendBirdUser preferredLanguages(List preferredLanguages) { + public SendbirdUser preferredLanguages(List preferredLanguages) { this.preferredLanguages = JsonNullable.>of(preferredLanguages); return this; } - public SendBirdUser addPreferredLanguagesItem(String preferredLanguagesItem) { + public SendbirdUser addPreferredLanguagesItem(String preferredLanguagesItem) { if (this.preferredLanguages == null || !this.preferredLanguages.isPresent()) { this.preferredLanguages = JsonNullable.>of(new ArrayList<>()); } @@ -561,7 +561,7 @@ public void setPreferredLanguages(List preferredLanguages) { } - public SendBirdUser profileUrl(String profileUrl) { + public SendbirdUser profileUrl(String profileUrl) { this.profileUrl = profileUrl; return this; } @@ -587,7 +587,7 @@ public void setProfileUrl(String profileUrl) { } - public SendBirdUser requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + public SendbirdUser requireAuthForProfileImage(Boolean requireAuthForProfileImage) { this.requireAuthForProfileImage = requireAuthForProfileImage; return this; } @@ -613,7 +613,7 @@ public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { } - public SendBirdUser userId(String userId) { + public SendbirdUser userId(String userId) { this.userId = userId; return this; } @@ -639,7 +639,7 @@ public void setUserId(String userId) { } - public SendBirdUser state(StateEnum state) { + public SendbirdUser state(StateEnum state) { this.state = JsonNullable.of(state); return this; } @@ -673,7 +673,7 @@ public void setState(StateEnum state) { } - public SendBirdUser unreadChannelCount(Integer unreadChannelCount) { + public SendbirdUser unreadChannelCount(Integer unreadChannelCount) { this.unreadChannelCount = unreadChannelCount; return this; } @@ -699,7 +699,7 @@ public void setUnreadChannelCount(Integer unreadChannelCount) { } - public SendBirdUser unreadMessageCount(Integer unreadMessageCount) { + public SendbirdUser unreadMessageCount(Integer unreadMessageCount) { this.unreadMessageCount = unreadMessageCount; return this; } @@ -725,7 +725,7 @@ public void setUnreadMessageCount(Integer unreadMessageCount) { } - public SendBirdUser phoneNumber(String phoneNumber) { + public SendbirdUser phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } @@ -751,7 +751,7 @@ public void setPhoneNumber(String phoneNumber) { } - public SendBirdUser isCreated(Boolean isCreated) { + public SendbirdUser isCreated(Boolean isCreated) { this.isCreated = isCreated; return this; } @@ -778,7 +778,7 @@ public void setIsCreated(Boolean isCreated) { /** - * Return true if this SendBird.User object is equal to o. + * Return true if this Sendbird.User object is equal to o. */ @Override public boolean equals(Object o) { @@ -788,28 +788,28 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdUser sendBirdUser = (SendBirdUser) o; - return Objects.equals(this.accessToken, sendBirdUser.accessToken) && - Objects.equals(this.createdAt, sendBirdUser.createdAt) && - equalsNullable(this.discoveryKeys, sendBirdUser.discoveryKeys) && - Objects.equals(this.hasEverLoggedIn, sendBirdUser.hasEverLoggedIn) && - Objects.equals(this.isActive, sendBirdUser.isActive) && - Objects.equals(this.isHideMeFromFriends, sendBirdUser.isHideMeFromFriends) && - Objects.equals(this.isOnline, sendBirdUser.isOnline) && - Objects.equals(this.isShadowBlocked, sendBirdUser.isShadowBlocked) && - Objects.equals(this.lastSeenAt, sendBirdUser.lastSeenAt) && - Objects.equals(this.locale, sendBirdUser.locale) && - equalsNullable(this.metadata, sendBirdUser.metadata) && - equalsNullable(this.nickname, sendBirdUser.nickname) && - equalsNullable(this.preferredLanguages, sendBirdUser.preferredLanguages) && - Objects.equals(this.profileUrl, sendBirdUser.profileUrl) && - Objects.equals(this.requireAuthForProfileImage, sendBirdUser.requireAuthForProfileImage) && - Objects.equals(this.userId, sendBirdUser.userId) && - equalsNullable(this.state, sendBirdUser.state) && - Objects.equals(this.unreadChannelCount, sendBirdUser.unreadChannelCount) && - Objects.equals(this.unreadMessageCount, sendBirdUser.unreadMessageCount) && - Objects.equals(this.phoneNumber, sendBirdUser.phoneNumber) && - Objects.equals(this.isCreated, sendBirdUser.isCreated); + SendbirdUser sendbirdUser = (SendbirdUser) o; + return Objects.equals(this.accessToken, sendbirdUser.accessToken) && + Objects.equals(this.createdAt, sendbirdUser.createdAt) && + equalsNullable(this.discoveryKeys, sendbirdUser.discoveryKeys) && + Objects.equals(this.hasEverLoggedIn, sendbirdUser.hasEverLoggedIn) && + Objects.equals(this.isActive, sendbirdUser.isActive) && + Objects.equals(this.isHideMeFromFriends, sendbirdUser.isHideMeFromFriends) && + Objects.equals(this.isOnline, sendbirdUser.isOnline) && + Objects.equals(this.isShadowBlocked, sendbirdUser.isShadowBlocked) && + Objects.equals(this.lastSeenAt, sendbirdUser.lastSeenAt) && + Objects.equals(this.locale, sendbirdUser.locale) && + equalsNullable(this.metadata, sendbirdUser.metadata) && + equalsNullable(this.nickname, sendbirdUser.nickname) && + equalsNullable(this.preferredLanguages, sendbirdUser.preferredLanguages) && + Objects.equals(this.profileUrl, sendbirdUser.profileUrl) && + Objects.equals(this.requireAuthForProfileImage, sendbirdUser.requireAuthForProfileImage) && + Objects.equals(this.userId, sendbirdUser.userId) && + equalsNullable(this.state, sendbirdUser.state) && + Objects.equals(this.unreadChannelCount, sendbirdUser.unreadChannelCount) && + Objects.equals(this.unreadMessageCount, sendbirdUser.unreadMessageCount) && + Objects.equals(this.phoneNumber, sendbirdUser.phoneNumber) && + Objects.equals(this.isCreated, sendbirdUser.isCreated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -831,7 +831,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdUser {\n"); + sb.append("class SendbirdUser {\n"); sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" discoveryKeys: ").append(toIndentedString(discoveryKeys)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java deleted file mode 100644 index 2352f97f..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponse.java +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdViewBotByIdResponseBot; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdViewBotByIdResponse - */ -@JsonPropertyOrder({ - SendBirdViewBotByIdResponse.JSON_PROPERTY_BOT, - SendBirdViewBotByIdResponse.JSON_PROPERTY_BOT_CALLBACK_URL, - SendBirdViewBotByIdResponse.JSON_PROPERTY_ENABLE_MARK_AS_READ, - SendBirdViewBotByIdResponse.JSON_PROPERTY_IS_PRIVACY_MODE, - SendBirdViewBotByIdResponse.JSON_PROPERTY_SHOW_MEMBER, - SendBirdViewBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE -}) -@JsonTypeName("viewBotByIdResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdViewBotByIdResponse { - public static final String JSON_PROPERTY_BOT = "bot"; - private SendBirdViewBotByIdResponseBot bot; - - public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; - private String botCallbackUrl; - - public static final String JSON_PROPERTY_ENABLE_MARK_AS_READ = "enable_mark_as_read"; - private Boolean enableMarkAsRead; - - public static final String JSON_PROPERTY_IS_PRIVACY_MODE = "is_privacy_mode"; - private Boolean isPrivacyMode; - - public static final String JSON_PROPERTY_SHOW_MEMBER = "show_member"; - private Boolean showMember; - - public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference"; - private Integer channelInvitationPreference; - - public SendBirdViewBotByIdResponse() { - } - - public SendBirdViewBotByIdResponse bot(SendBirdViewBotByIdResponseBot bot) { - this.bot = bot; - return this; - } - - /** - * Get bot - * @return bot - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdViewBotByIdResponseBot getBot() { - return bot; - } - - - @JsonProperty(JSON_PROPERTY_BOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBot(SendBirdViewBotByIdResponseBot bot) { - this.bot = bot; - } - - - public SendBirdViewBotByIdResponse botCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - return this; - } - - /** - * Get botCallbackUrl - * @return botCallbackUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotCallbackUrl() { - return botCallbackUrl; - } - - - @JsonProperty(JSON_PROPERTY_BOT_CALLBACK_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotCallbackUrl(String botCallbackUrl) { - this.botCallbackUrl = botCallbackUrl; - } - - - public SendBirdViewBotByIdResponse enableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - return this; - } - - /** - * Get enableMarkAsRead - * @return enableMarkAsRead - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnableMarkAsRead() { - return enableMarkAsRead; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE_MARK_AS_READ) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnableMarkAsRead(Boolean enableMarkAsRead) { - this.enableMarkAsRead = enableMarkAsRead; - } - - - public SendBirdViewBotByIdResponse isPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - return this; - } - - /** - * Get isPrivacyMode - * @return isPrivacyMode - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsPrivacyMode() { - return isPrivacyMode; - } - - - @JsonProperty(JSON_PROPERTY_IS_PRIVACY_MODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsPrivacyMode(Boolean isPrivacyMode) { - this.isPrivacyMode = isPrivacyMode; - } - - - public SendBirdViewBotByIdResponse showMember(Boolean showMember) { - this.showMember = showMember; - return this; - } - - /** - * Get showMember - * @return showMember - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getShowMember() { - return showMember; - } - - - @JsonProperty(JSON_PROPERTY_SHOW_MEMBER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setShowMember(Boolean showMember) { - this.showMember = showMember; - } - - - public SendBirdViewBotByIdResponse channelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - return this; - } - - /** - * Get channelInvitationPreference - * @return channelInvitationPreference - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getChannelInvitationPreference() { - return channelInvitationPreference; - } - - - @JsonProperty(JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannelInvitationPreference(Integer channelInvitationPreference) { - this.channelInvitationPreference = channelInvitationPreference; - } - - - /** - * Return true if this viewBotByIdResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdViewBotByIdResponse viewBotByIdResponse = (SendBirdViewBotByIdResponse) o; - return Objects.equals(this.bot, viewBotByIdResponse.bot) && - Objects.equals(this.botCallbackUrl, viewBotByIdResponse.botCallbackUrl) && - Objects.equals(this.enableMarkAsRead, viewBotByIdResponse.enableMarkAsRead) && - Objects.equals(this.isPrivacyMode, viewBotByIdResponse.isPrivacyMode) && - Objects.equals(this.showMember, viewBotByIdResponse.showMember) && - Objects.equals(this.channelInvitationPreference, viewBotByIdResponse.channelInvitationPreference); - } - - @Override - public int hashCode() { - return Objects.hash(bot, botCallbackUrl, enableMarkAsRead, isPrivacyMode, showMember, channelInvitationPreference); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdViewBotByIdResponse {\n"); - sb.append(" bot: ").append(toIndentedString(bot)).append("\n"); - sb.append(" botCallbackUrl: ").append(toIndentedString(botCallbackUrl)).append("\n"); - sb.append(" enableMarkAsRead: ").append(toIndentedString(enableMarkAsRead)).append("\n"); - sb.append(" isPrivacyMode: ").append(toIndentedString(isPrivacyMode)).append("\n"); - sb.append(" showMember: ").append(toIndentedString(showMember)).append("\n"); - sb.append(" channelInvitationPreference: ").append(toIndentedString(channelInvitationPreference)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java b/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java deleted file mode 100644 index 6d3d6d6b..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBot.java +++ /dev/null @@ -1,273 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdViewBotByIdResponseBot - */ -@JsonPropertyOrder({ - SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_TOKEN, - SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_PROFILE_URL, - SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_USERID, - SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_NICKNAME, - SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_TYPE, - SendBirdViewBotByIdResponseBot.JSON_PROPERTY_BOT_METADATA -}) -@JsonTypeName("viewBotByIdResponse_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdViewBotByIdResponseBot { - public static final String JSON_PROPERTY_BOT_TOKEN = "bot_token"; - private String botToken; - - public static final String JSON_PROPERTY_BOT_PROFILE_URL = "bot_profile_url"; - private String botProfileUrl; - - public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; - private String botUserid; - - public static final String JSON_PROPERTY_BOT_NICKNAME = "bot_nickname"; - private String botNickname; - - public static final String JSON_PROPERTY_BOT_TYPE = "bot_type"; - private String botType; - - public static final String JSON_PROPERTY_BOT_METADATA = "bot_metadata"; - private Object botMetadata; - - public SendBirdViewBotByIdResponseBot() { - } - - public SendBirdViewBotByIdResponseBot botToken(String botToken) { - this.botToken = botToken; - return this; - } - - /** - * Get botToken - * @return botToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotToken() { - return botToken; - } - - - @JsonProperty(JSON_PROPERTY_BOT_TOKEN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotToken(String botToken) { - this.botToken = botToken; - } - - - public SendBirdViewBotByIdResponseBot botProfileUrl(String botProfileUrl) { - this.botProfileUrl = botProfileUrl; - return this; - } - - /** - * Get botProfileUrl - * @return botProfileUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotProfileUrl() { - return botProfileUrl; - } - - - @JsonProperty(JSON_PROPERTY_BOT_PROFILE_URL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotProfileUrl(String botProfileUrl) { - this.botProfileUrl = botProfileUrl; - } - - - public SendBirdViewBotByIdResponseBot botUserid(String botUserid) { - this.botUserid = botUserid; - return this; - } - - /** - * Get botUserid - * @return botUserid - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_USERID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotUserid() { - return botUserid; - } - - - @JsonProperty(JSON_PROPERTY_BOT_USERID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotUserid(String botUserid) { - this.botUserid = botUserid; - } - - - public SendBirdViewBotByIdResponseBot botNickname(String botNickname) { - this.botNickname = botNickname; - return this; - } - - /** - * Get botNickname - * @return botNickname - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotNickname() { - return botNickname; - } - - - @JsonProperty(JSON_PROPERTY_BOT_NICKNAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotNickname(String botNickname) { - this.botNickname = botNickname; - } - - - public SendBirdViewBotByIdResponseBot botType(String botType) { - this.botType = botType; - return this; - } - - /** - * Get botType - * @return botType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getBotType() { - return botType; - } - - - @JsonProperty(JSON_PROPERTY_BOT_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotType(String botType) { - this.botType = botType; - } - - - public SendBirdViewBotByIdResponseBot botMetadata(Object botMetadata) { - this.botMetadata = botMetadata; - return this; - } - - /** - * Get botMetadata - * @return botMetadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BOT_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getBotMetadata() { - return botMetadata; - } - - - @JsonProperty(JSON_PROPERTY_BOT_METADATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBotMetadata(Object botMetadata) { - this.botMetadata = botMetadata; - } - - - /** - * Return true if this viewBotByIdResponse_bot object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdViewBotByIdResponseBot viewBotByIdResponseBot = (SendBirdViewBotByIdResponseBot) o; - return Objects.equals(this.botToken, viewBotByIdResponseBot.botToken) && - Objects.equals(this.botProfileUrl, viewBotByIdResponseBot.botProfileUrl) && - Objects.equals(this.botUserid, viewBotByIdResponseBot.botUserid) && - Objects.equals(this.botNickname, viewBotByIdResponseBot.botNickname) && - Objects.equals(this.botType, viewBotByIdResponseBot.botType) && - Objects.equals(this.botMetadata, viewBotByIdResponseBot.botMetadata); - } - - @Override - public int hashCode() { - return Objects.hash(botToken, botProfileUrl, botUserid, botNickname, botType, botMetadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdViewBotByIdResponseBot {\n"); - sb.append(" botToken: ").append(toIndentedString(botToken)).append("\n"); - sb.append(" botProfileUrl: ").append(toIndentedString(botProfileUrl)).append("\n"); - sb.append(" botUserid: ").append(toIndentedString(botUserid)).append("\n"); - sb.append(" botNickname: ").append(toIndentedString(botNickname)).append("\n"); - sb.append(" botType: ").append(toIndentedString(botType)).append("\n"); - sb.append(" botMetadata: ").append(toIndentedString(botMetadata)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java deleted file mode 100644 index 91d4b86b..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponse.java +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdViewCountPreferenceOfAChannelResponse - */ -@JsonPropertyOrder({ - SendBirdViewCountPreferenceOfAChannelResponse.JSON_PROPERTY_COUNT_PREFERENCE -}) -@JsonTypeName("viewCountPreferenceOfAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdViewCountPreferenceOfAChannelResponse { - /** - * Gets or Sets countPreference - */ - public enum CountPreferenceEnum { - FALSE("false"), - - ALL("all"), - - UNREAD_MESSAGE_COUNT_ONLY("unread_message_count_only"), - - UNREAD_MENTIONED_COUNT_ONLY("unread_mentioned_count_only"); - - private String value; - - CountPreferenceEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static CountPreferenceEnum fromValue(String value) { - for (CountPreferenceEnum b : CountPreferenceEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_COUNT_PREFERENCE = "count_preference"; - private CountPreferenceEnum countPreference; - - public SendBirdViewCountPreferenceOfAChannelResponse() { - } - - public SendBirdViewCountPreferenceOfAChannelResponse countPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - return this; - } - - /** - * Get countPreference - * @return countPreference - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public CountPreferenceEnum getCountPreference() { - return countPreference; - } - - - @JsonProperty(JSON_PROPERTY_COUNT_PREFERENCE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCountPreference(CountPreferenceEnum countPreference) { - this.countPreference = countPreference; - } - - - /** - * Return true if this viewCountPreferenceOfAChannelResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdViewCountPreferenceOfAChannelResponse viewCountPreferenceOfAChannelResponse = (SendBirdViewCountPreferenceOfAChannelResponse) o; - return Objects.equals(this.countPreference, viewCountPreferenceOfAChannelResponse.countPreference); - } - - @Override - public int hashCode() { - return Objects.hash(countPreference); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdViewCountPreferenceOfAChannelResponse {\n"); - sb.append(" countPreference: ").append(toIndentedString(countPreference)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java deleted file mode 100644 index b7d34cec..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdViewNumberOfChannelsWithUnreadMessagesResponse - */ -@JsonPropertyOrder({ - SendBirdViewNumberOfChannelsWithUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT -}) -@JsonTypeName("viewNumberOfChannelsWithUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdViewNumberOfChannelsWithUnreadMessagesResponse { - public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; - private Integer unreadCount; - - public SendBirdViewNumberOfChannelsWithUnreadMessagesResponse() { - } - - public SendBirdViewNumberOfChannelsWithUnreadMessagesResponse unreadCount(Integer unreadCount) { - this.unreadCount = unreadCount; - return this; - } - - /** - * Get unreadCount - * @return unreadCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadCount() { - return unreadCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadCount(Integer unreadCount) { - this.unreadCount = unreadCount; - } - - - /** - * Return true if this viewNumberOfChannelsWithUnreadMessagesResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdViewNumberOfChannelsWithUnreadMessagesResponse viewNumberOfChannelsWithUnreadMessagesResponse = (SendBirdViewNumberOfChannelsWithUnreadMessagesResponse) o; - return Objects.equals(this.unreadCount, viewNumberOfChannelsWithUnreadMessagesResponse.unreadCount); - } - - @Override - public int hashCode() { - return Objects.hash(unreadCount); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdViewNumberOfChannelsWithUnreadMessagesResponse {\n"); - sb.append(" unreadCount: ").append(toIndentedString(unreadCount)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java deleted file mode 100644 index 4793ebb6..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponse.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdViewNumberOfDailyActiveUsersResponse - */ -@JsonPropertyOrder({ - SendBirdViewNumberOfDailyActiveUsersResponse.JSON_PROPERTY_DAU -}) -@JsonTypeName("viewNumberOfDailyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdViewNumberOfDailyActiveUsersResponse { - public static final String JSON_PROPERTY_DAU = "dau"; - private Integer dau; - - public SendBirdViewNumberOfDailyActiveUsersResponse() { - } - - public SendBirdViewNumberOfDailyActiveUsersResponse dau(Integer dau) { - this.dau = dau; - return this; - } - - /** - * Get dau - * @return dau - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DAU) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getDau() { - return dau; - } - - - @JsonProperty(JSON_PROPERTY_DAU) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDau(Integer dau) { - this.dau = dau; - } - - - /** - * Return true if this viewNumberOfDailyActiveUsersResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdViewNumberOfDailyActiveUsersResponse viewNumberOfDailyActiveUsersResponse = (SendBirdViewNumberOfDailyActiveUsersResponse) o; - return Objects.equals(this.dau, viewNumberOfDailyActiveUsersResponse.dau); - } - - @Override - public int hashCode() { - return Objects.hash(dau); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdViewNumberOfDailyActiveUsersResponse {\n"); - sb.append(" dau: ").append(toIndentedString(dau)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java deleted file mode 100644 index 94cf3fd3..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponse.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdViewNumberOfMonthlyActiveUsersResponse - */ -@JsonPropertyOrder({ - SendBirdViewNumberOfMonthlyActiveUsersResponse.JSON_PROPERTY_MAU -}) -@JsonTypeName("viewNumberOfMonthlyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdViewNumberOfMonthlyActiveUsersResponse { - public static final String JSON_PROPERTY_MAU = "mau"; - private Integer mau; - - public SendBirdViewNumberOfMonthlyActiveUsersResponse() { - } - - public SendBirdViewNumberOfMonthlyActiveUsersResponse mau(Integer mau) { - this.mau = mau; - return this; - } - - /** - * Get mau - * @return mau - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_MAU) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getMau() { - return mau; - } - - - @JsonProperty(JSON_PROPERTY_MAU) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMau(Integer mau) { - this.mau = mau; - } - - - /** - * Return true if this viewNumberOfMonthlyActiveUsersResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdViewNumberOfMonthlyActiveUsersResponse viewNumberOfMonthlyActiveUsersResponse = (SendBirdViewNumberOfMonthlyActiveUsersResponse) o; - return Objects.equals(this.mau, viewNumberOfMonthlyActiveUsersResponse.mau); - } - - @Override - public int hashCode() { - return Objects.hash(mau); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdViewNumberOfMonthlyActiveUsersResponse {\n"); - sb.append(" mau: ").append(toIndentedString(mau)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java deleted file mode 100644 index 6f98426a..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponse.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdViewNumberOfUnreadMessagesResponse - */ -@JsonPropertyOrder({ - SendBirdViewNumberOfUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT -}) -@JsonTypeName("viewNumberOfUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdViewNumberOfUnreadMessagesResponse { - public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; - private Integer unreadCount; - - public SendBirdViewNumberOfUnreadMessagesResponse() { - } - - public SendBirdViewNumberOfUnreadMessagesResponse unreadCount(Integer unreadCount) { - this.unreadCount = unreadCount; - return this; - } - - /** - * Get unreadCount - * @return unreadCount - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNREAD_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getUnreadCount() { - return unreadCount; - } - - - @JsonProperty(JSON_PROPERTY_UNREAD_COUNT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnreadCount(Integer unreadCount) { - this.unreadCount = unreadCount; - } - - - /** - * Return true if this viewNumberOfUnreadMessagesResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdViewNumberOfUnreadMessagesResponse viewNumberOfUnreadMessagesResponse = (SendBirdViewNumberOfUnreadMessagesResponse) o; - return Objects.equals(this.unreadCount, viewNumberOfUnreadMessagesResponse.unreadCount); - } - - @Override - public int hashCode() { - return Objects.hash(unreadCount); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdViewNumberOfUnreadMessagesResponse {\n"); - sb.append(" unreadCount: ").append(toIndentedString(unreadCount)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java deleted file mode 100644 index 4b32cb72..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponse.java +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdViewPushPreferencesForAChannelResponse - */ -@JsonPropertyOrder({ - SendBirdViewPushPreferencesForAChannelResponse.JSON_PROPERTY_ENABLE, - SendBirdViewPushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_SOUND, - SendBirdViewPushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION -}) -@JsonTypeName("viewPushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdViewPushPreferencesForAChannelResponse { - public static final String JSON_PROPERTY_ENABLE = "enable"; - private Boolean enable; - - public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; - private String pushSound; - - public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendBirdPushTriggerOption pushTriggerOption; - - public SendBirdViewPushPreferencesForAChannelResponse() { - } - - public SendBirdViewPushPreferencesForAChannelResponse enable(Boolean enable) { - this.enable = enable; - return this; - } - - /** - * Get enable - * @return enable - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnable() { - return enable; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnable(Boolean enable) { - this.enable = enable; - } - - - public SendBirdViewPushPreferencesForAChannelResponse pushSound(String pushSound) { - this.pushSound = pushSound; - return this; - } - - /** - * Get pushSound - * @return pushSound - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getPushSound() { - return pushSound; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushSound(String pushSound) { - this.pushSound = pushSound; - } - - - public SendBirdViewPushPreferencesForAChannelResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - return this; - } - - /** - * Get pushTriggerOption - * @return pushTriggerOption - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { - return pushTriggerOption; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - } - - - /** - * Return true if this viewPushPreferencesForAChannelResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdViewPushPreferencesForAChannelResponse viewPushPreferencesForAChannelResponse = (SendBirdViewPushPreferencesForAChannelResponse) o; - return Objects.equals(this.enable, viewPushPreferencesForAChannelResponse.enable) && - Objects.equals(this.pushSound, viewPushPreferencesForAChannelResponse.pushSound) && - Objects.equals(this.pushTriggerOption, viewPushPreferencesForAChannelResponse.pushTriggerOption); - } - - @Override - public int hashCode() { - return Objects.hash(enable, pushSound, pushTriggerOption); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdViewPushPreferencesForAChannelResponse {\n"); - sb.append(" enable: ").append(toIndentedString(enable)).append("\n"); - sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); - sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java deleted file mode 100644 index cfe5d5dc..00000000 --- a/src/main/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponse.java +++ /dev/null @@ -1,540 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import java.util.Arrays; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendBirdPushTriggerOption; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.sendbird.client.JSON; - - -/** - * SendBirdViewPushPreferencesResponse - */ -@JsonPropertyOrder({ - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_DO_NOT_DISTURB, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_END_HOUR, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_END_MIN, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_PUSH_SOUND, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_SNOOZE_ENABLED, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_SNOOZE_END_TS, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_SNOOZE_START_TS, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_START_HOUR, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_START_MIN, - SendBirdViewPushPreferencesResponse.JSON_PROPERTY_TIMEZONE -}) -@JsonTypeName("viewPushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:07:44.254699+09:00[Asia/Seoul]") -public class SendBirdViewPushPreferencesResponse { - public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; - private Boolean blockPushFromBots; - - public static final String JSON_PROPERTY_DO_NOT_DISTURB = "do_not_disturb"; - private Boolean doNotDisturb; - - public static final String JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES = "enable_push_for_replies"; - private Boolean enablePushForReplies; - - public static final String JSON_PROPERTY_END_HOUR = "end_hour"; - private Integer endHour; - - public static final String JSON_PROPERTY_END_MIN = "end_min"; - private Integer endMin; - - public static final String JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS = "push_blocked_bot_ids"; - private List pushBlockedBotIds = null; - - public static final String JSON_PROPERTY_PUSH_SOUND = "push_sound"; - private String pushSound; - - public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdSendBirdPushTriggerOption pushTriggerOption; - - public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; - private Boolean snoozeEnabled; - - public static final String JSON_PROPERTY_SNOOZE_END_TS = "snooze_end_ts"; - private Long snoozeEndTs; - - public static final String JSON_PROPERTY_SNOOZE_START_TS = "snooze_start_ts"; - private Long snoozeStartTs; - - public static final String JSON_PROPERTY_START_HOUR = "start_hour"; - private Integer startHour; - - public static final String JSON_PROPERTY_START_MIN = "start_min"; - private Integer startMin; - - public static final String JSON_PROPERTY_TIMEZONE = "timezone"; - private String timezone; - - public SendBirdViewPushPreferencesResponse() { - } - - public SendBirdViewPushPreferencesResponse blockPushFromBots(Boolean blockPushFromBots) { - this.blockPushFromBots = blockPushFromBots; - return this; - } - - /** - * Get blockPushFromBots - * @return blockPushFromBots - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getBlockPushFromBots() { - return blockPushFromBots; - } - - - @JsonProperty(JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBlockPushFromBots(Boolean blockPushFromBots) { - this.blockPushFromBots = blockPushFromBots; - } - - - public SendBirdViewPushPreferencesResponse doNotDisturb(Boolean doNotDisturb) { - this.doNotDisturb = doNotDisturb; - return this; - } - - /** - * Get doNotDisturb - * @return doNotDisturb - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getDoNotDisturb() { - return doNotDisturb; - } - - - @JsonProperty(JSON_PROPERTY_DO_NOT_DISTURB) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDoNotDisturb(Boolean doNotDisturb) { - this.doNotDisturb = doNotDisturb; - } - - - public SendBirdViewPushPreferencesResponse enablePushForReplies(Boolean enablePushForReplies) { - this.enablePushForReplies = enablePushForReplies; - return this; - } - - /** - * Get enablePushForReplies - * @return enablePushForReplies - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getEnablePushForReplies() { - return enablePushForReplies; - } - - - @JsonProperty(JSON_PROPERTY_ENABLE_PUSH_FOR_REPLIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEnablePushForReplies(Boolean enablePushForReplies) { - this.enablePushForReplies = enablePushForReplies; - } - - - public SendBirdViewPushPreferencesResponse endHour(Integer endHour) { - this.endHour = endHour; - return this; - } - - /** - * Get endHour - * @return endHour - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_END_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getEndHour() { - return endHour; - } - - - @JsonProperty(JSON_PROPERTY_END_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEndHour(Integer endHour) { - this.endHour = endHour; - } - - - public SendBirdViewPushPreferencesResponse endMin(Integer endMin) { - this.endMin = endMin; - return this; - } - - /** - * Get endMin - * @return endMin - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_END_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getEndMin() { - return endMin; - } - - - @JsonProperty(JSON_PROPERTY_END_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setEndMin(Integer endMin) { - this.endMin = endMin; - } - - - public SendBirdViewPushPreferencesResponse pushBlockedBotIds(List pushBlockedBotIds) { - this.pushBlockedBotIds = pushBlockedBotIds; - return this; - } - - public SendBirdViewPushPreferencesResponse addPushBlockedBotIdsItem(String pushBlockedBotIdsItem) { - if (this.pushBlockedBotIds == null) { - this.pushBlockedBotIds = new ArrayList<>(); - } - this.pushBlockedBotIds.add(pushBlockedBotIdsItem); - return this; - } - - /** - * Get pushBlockedBotIds - * @return pushBlockedBotIds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getPushBlockedBotIds() { - return pushBlockedBotIds; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_BLOCKED_BOT_IDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushBlockedBotIds(List pushBlockedBotIds) { - this.pushBlockedBotIds = pushBlockedBotIds; - } - - - public SendBirdViewPushPreferencesResponse pushSound(String pushSound) { - this.pushSound = pushSound; - return this; - } - - /** - * Get pushSound - * @return pushSound - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getPushSound() { - return pushSound; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_SOUND) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushSound(String pushSound) { - this.pushSound = pushSound; - } - - - public SendBirdViewPushPreferencesResponse pushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - return this; - } - - /** - * Get pushTriggerOption - * @return pushTriggerOption - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public SendBirdSendBirdPushTriggerOption getPushTriggerOption() { - return pushTriggerOption; - } - - - @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdSendBirdPushTriggerOption pushTriggerOption) { - this.pushTriggerOption = pushTriggerOption; - } - - - public SendBirdViewPushPreferencesResponse snoozeEnabled(Boolean snoozeEnabled) { - this.snoozeEnabled = snoozeEnabled; - return this; - } - - /** - * Get snoozeEnabled - * @return snoozeEnabled - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getSnoozeEnabled() { - return snoozeEnabled; - } - - - @JsonProperty(JSON_PROPERTY_SNOOZE_ENABLED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSnoozeEnabled(Boolean snoozeEnabled) { - this.snoozeEnabled = snoozeEnabled; - } - - - public SendBirdViewPushPreferencesResponse snoozeEndTs(Long snoozeEndTs) { - this.snoozeEndTs = snoozeEndTs; - return this; - } - - /** - * Get snoozeEndTs - * @return snoozeEndTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getSnoozeEndTs() { - return snoozeEndTs; - } - - - @JsonProperty(JSON_PROPERTY_SNOOZE_END_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSnoozeEndTs(Long snoozeEndTs) { - this.snoozeEndTs = snoozeEndTs; - } - - - public SendBirdViewPushPreferencesResponse snoozeStartTs(Long snoozeStartTs) { - this.snoozeStartTs = snoozeStartTs; - return this; - } - - /** - * Get snoozeStartTs - * @return snoozeStartTs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Long getSnoozeStartTs() { - return snoozeStartTs; - } - - - @JsonProperty(JSON_PROPERTY_SNOOZE_START_TS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSnoozeStartTs(Long snoozeStartTs) { - this.snoozeStartTs = snoozeStartTs; - } - - - public SendBirdViewPushPreferencesResponse startHour(Integer startHour) { - this.startHour = startHour; - return this; - } - - /** - * Get startHour - * @return startHour - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_START_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getStartHour() { - return startHour; - } - - - @JsonProperty(JSON_PROPERTY_START_HOUR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setStartHour(Integer startHour) { - this.startHour = startHour; - } - - - public SendBirdViewPushPreferencesResponse startMin(Integer startMin) { - this.startMin = startMin; - return this; - } - - /** - * Get startMin - * @return startMin - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_START_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getStartMin() { - return startMin; - } - - - @JsonProperty(JSON_PROPERTY_START_MIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setStartMin(Integer startMin) { - this.startMin = startMin; - } - - - public SendBirdViewPushPreferencesResponse timezone(String timezone) { - this.timezone = timezone; - return this; - } - - /** - * Get timezone - * @return timezone - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_TIMEZONE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTimezone() { - return timezone; - } - - - @JsonProperty(JSON_PROPERTY_TIMEZONE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTimezone(String timezone) { - this.timezone = timezone; - } - - - /** - * Return true if this viewPushPreferencesResponse object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SendBirdViewPushPreferencesResponse viewPushPreferencesResponse = (SendBirdViewPushPreferencesResponse) o; - return Objects.equals(this.blockPushFromBots, viewPushPreferencesResponse.blockPushFromBots) && - Objects.equals(this.doNotDisturb, viewPushPreferencesResponse.doNotDisturb) && - Objects.equals(this.enablePushForReplies, viewPushPreferencesResponse.enablePushForReplies) && - Objects.equals(this.endHour, viewPushPreferencesResponse.endHour) && - Objects.equals(this.endMin, viewPushPreferencesResponse.endMin) && - Objects.equals(this.pushBlockedBotIds, viewPushPreferencesResponse.pushBlockedBotIds) && - Objects.equals(this.pushSound, viewPushPreferencesResponse.pushSound) && - Objects.equals(this.pushTriggerOption, viewPushPreferencesResponse.pushTriggerOption) && - Objects.equals(this.snoozeEnabled, viewPushPreferencesResponse.snoozeEnabled) && - Objects.equals(this.snoozeEndTs, viewPushPreferencesResponse.snoozeEndTs) && - Objects.equals(this.snoozeStartTs, viewPushPreferencesResponse.snoozeStartTs) && - Objects.equals(this.startHour, viewPushPreferencesResponse.startHour) && - Objects.equals(this.startMin, viewPushPreferencesResponse.startMin) && - Objects.equals(this.timezone, viewPushPreferencesResponse.timezone); - } - - @Override - public int hashCode() { - return Objects.hash(blockPushFromBots, doNotDisturb, enablePushForReplies, endHour, endMin, pushBlockedBotIds, pushSound, pushTriggerOption, snoozeEnabled, snoozeEndTs, snoozeStartTs, startHour, startMin, timezone); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdViewPushPreferencesResponse {\n"); - sb.append(" blockPushFromBots: ").append(toIndentedString(blockPushFromBots)).append("\n"); - sb.append(" doNotDisturb: ").append(toIndentedString(doNotDisturb)).append("\n"); - sb.append(" enablePushForReplies: ").append(toIndentedString(enablePushForReplies)).append("\n"); - sb.append(" endHour: ").append(toIndentedString(endHour)).append("\n"); - sb.append(" endMin: ").append(toIndentedString(endMin)).append("\n"); - sb.append(" pushBlockedBotIds: ").append(toIndentedString(pushBlockedBotIds)).append("\n"); - sb.append(" pushSound: ").append(toIndentedString(pushSound)).append("\n"); - sb.append(" pushTriggerOption: ").append(toIndentedString(pushTriggerOption)).append("\n"); - sb.append(" snoozeEnabled: ").append(toIndentedString(snoozeEnabled)).append("\n"); - sb.append(" snoozeEndTs: ").append(toIndentedString(snoozeEndTs)).append("\n"); - sb.append(" snoozeStartTs: ").append(toIndentedString(snoozeStartTs)).append("\n"); - sb.append(" startHour: ").append(toIndentedString(startHour)).append("\n"); - sb.append(" startMin: ").append(toIndentedString(startMin)).append("\n"); - sb.append(" timezone: ").append(toIndentedString(timezone)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java index 232cb309..288f448b 100644 --- a/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java @@ -27,8 +27,8 @@ import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdFile; -import org.openapitools.client.model.SendBirdSortedMetaarrayInner; +import org.openapitools.client.model.SendbirdFile; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -60,7 +60,7 @@ SendFileMessageRequestBody.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendFileMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class SendFileMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; @@ -81,7 +81,7 @@ public class SendFileMessageRequestBody { private String dedupId; public static final String JSON_PROPERTY_FILES = "files"; - private SendBirdFile files; + private SendbirdFile files; public static final String JSON_PROPERTY_IS_SILENT = "is_silent"; private Boolean isSilent; @@ -173,7 +173,7 @@ public static MessageTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_SOUND = "sound"; private String sound; @@ -352,7 +352,7 @@ public void setDedupId(String dedupId) { } - public SendFileMessageRequestBody files(SendBirdFile files) { + public SendFileMessageRequestBody files(SendbirdFile files) { this.files = files; return this; } @@ -366,14 +366,14 @@ public SendFileMessageRequestBody files(SendBirdFile files) { @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SendBirdFile getFiles() { + public SendbirdFile getFiles() { return files; } @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setFiles(SendBirdFile files) { + public void setFiles(SendbirdFile files) { this.files = files; } @@ -568,12 +568,12 @@ public void setSendPush(Boolean sendPush) { } - public SendFileMessageRequestBody sortedMetaarray(List sortedMetaarray) { + public SendFileMessageRequestBody sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendFileMessageRequestBody addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendFileMessageRequestBody addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -590,14 +590,14 @@ public SendFileMessageRequestBody addSortedMetaarrayItem(SendBirdSortedMetaarray @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java index a4d86b22..9ff2827f 100644 --- a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java @@ -27,8 +27,8 @@ import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSortedMetaarrayInner; import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplate; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -58,7 +58,7 @@ SendTextMessageRequestBody.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendTextMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class SendTextMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; @@ -177,7 +177,7 @@ public static MessageTypeEnum fromValue(String value) { private Boolean sendPush; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_SOUND = "sound"; private String sound; @@ -612,12 +612,12 @@ public void setSendPush(Boolean sendPush) { } - public SendTextMessageRequestBody sortedMetaarray(List sortedMetaarray) { + public SendTextMessageRequestBody sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public SendTextMessageRequestBody addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { + public SendTextMessageRequestBody addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -634,14 +634,14 @@ public SendTextMessageRequestBody addSortedMetaarrayItem(SendBirdSortedMetaarray @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java index abe7c44a..bb8458d0 100644 --- a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java +++ b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java @@ -55,7 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") @JsonDeserialize(using = SendTextMessageRequestBodyPushMessageTemplate.SendTextMessageRequestBodyPushMessageTemplateDeserializer.class) @JsonSerialize(using = SendTextMessageRequestBodyPushMessageTemplate.SendTextMessageRequestBodyPushMessageTemplateSerializer.class) public class SendTextMessageRequestBodyPushMessageTemplate extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java b/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java index c21a0781..fe402bb3 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java +++ b/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java @@ -33,21 +33,21 @@ /** - * SendBirdBasicUserInfo + * SendbirdBasicUserInfo */ @JsonPropertyOrder({ - SendBirdBasicUserInfo.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, - SendBirdBasicUserInfo.JSON_PROPERTY_IS_ACTIVE, - SendBirdBasicUserInfo.JSON_PROPERTY_IS_BLOCKED_BY_ME, - SendBirdBasicUserInfo.JSON_PROPERTY_ROLE, - SendBirdBasicUserInfo.JSON_PROPERTY_NICKNAME, - SendBirdBasicUserInfo.JSON_PROPERTY_USER_ID, - SendBirdBasicUserInfo.JSON_PROPERTY_PROFILE_URL, - SendBirdBasicUserInfo.JSON_PROPERTY_METADATA + SendbirdBasicUserInfo.JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE, + SendbirdBasicUserInfo.JSON_PROPERTY_IS_ACTIVE, + SendbirdBasicUserInfo.JSON_PROPERTY_IS_BLOCKED_BY_ME, + SendbirdBasicUserInfo.JSON_PROPERTY_ROLE, + SendbirdBasicUserInfo.JSON_PROPERTY_NICKNAME, + SendbirdBasicUserInfo.JSON_PROPERTY_USER_ID, + SendbirdBasicUserInfo.JSON_PROPERTY_PROFILE_URL, + SendbirdBasicUserInfo.JSON_PROPERTY_METADATA }) -@JsonTypeName("SendBird.BasicUserInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdBasicUserInfo { +@JsonTypeName("Sendbird.BasicUserInfo") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdBasicUserInfo { public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; private Boolean requireAuthForProfileImage; @@ -109,10 +109,10 @@ public static RoleEnum fromValue(String value) { public static final String JSON_PROPERTY_METADATA = "metadata"; private JsonNullable metadata = JsonNullable.undefined(); - public SendBirdBasicUserInfo() { + public SendbirdBasicUserInfo() { } - public SendBirdBasicUserInfo requireAuthForProfileImage(Boolean requireAuthForProfileImage) { + public SendbirdBasicUserInfo requireAuthForProfileImage(Boolean requireAuthForProfileImage) { this.requireAuthForProfileImage = requireAuthForProfileImage; return this; } @@ -138,7 +138,7 @@ public void setRequireAuthForProfileImage(Boolean requireAuthForProfileImage) { } - public SendBirdBasicUserInfo isActive(Boolean isActive) { + public SendbirdBasicUserInfo isActive(Boolean isActive) { this.isActive = isActive; return this; } @@ -164,7 +164,7 @@ public void setIsActive(Boolean isActive) { } - public SendBirdBasicUserInfo isBlockedByMe(Boolean isBlockedByMe) { + public SendbirdBasicUserInfo isBlockedByMe(Boolean isBlockedByMe) { this.isBlockedByMe = isBlockedByMe; return this; } @@ -190,7 +190,7 @@ public void setIsBlockedByMe(Boolean isBlockedByMe) { } - public SendBirdBasicUserInfo role(RoleEnum role) { + public SendbirdBasicUserInfo role(RoleEnum role) { this.role = role; return this; } @@ -216,7 +216,7 @@ public void setRole(RoleEnum role) { } - public SendBirdBasicUserInfo nickname(String nickname) { + public SendbirdBasicUserInfo nickname(String nickname) { this.nickname = JsonNullable.of(nickname); return this; } @@ -250,7 +250,7 @@ public void setNickname(String nickname) { } - public SendBirdBasicUserInfo userId(String userId) { + public SendbirdBasicUserInfo userId(String userId) { this.userId = userId; return this; } @@ -276,7 +276,7 @@ public void setUserId(String userId) { } - public SendBirdBasicUserInfo profileUrl(String profileUrl) { + public SendbirdBasicUserInfo profileUrl(String profileUrl) { this.profileUrl = profileUrl; return this; } @@ -302,7 +302,7 @@ public void setProfileUrl(String profileUrl) { } - public SendBirdBasicUserInfo metadata(Object metadata) { + public SendbirdBasicUserInfo metadata(Object metadata) { this.metadata = JsonNullable.of(metadata); return this; } @@ -337,7 +337,7 @@ public void setMetadata(Object metadata) { /** - * Return true if this SendBird.BasicUserInfo object is equal to o. + * Return true if this Sendbird.BasicUserInfo object is equal to o. */ @Override public boolean equals(Object o) { @@ -347,15 +347,15 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdBasicUserInfo sendBirdBasicUserInfo = (SendBirdBasicUserInfo) o; - return Objects.equals(this.requireAuthForProfileImage, sendBirdBasicUserInfo.requireAuthForProfileImage) && - Objects.equals(this.isActive, sendBirdBasicUserInfo.isActive) && - Objects.equals(this.isBlockedByMe, sendBirdBasicUserInfo.isBlockedByMe) && - Objects.equals(this.role, sendBirdBasicUserInfo.role) && - equalsNullable(this.nickname, sendBirdBasicUserInfo.nickname) && - Objects.equals(this.userId, sendBirdBasicUserInfo.userId) && - Objects.equals(this.profileUrl, sendBirdBasicUserInfo.profileUrl) && - equalsNullable(this.metadata, sendBirdBasicUserInfo.metadata); + SendbirdBasicUserInfo sendbirdBasicUserInfo = (SendbirdBasicUserInfo) o; + return Objects.equals(this.requireAuthForProfileImage, sendbirdBasicUserInfo.requireAuthForProfileImage) && + Objects.equals(this.isActive, sendbirdBasicUserInfo.isActive) && + Objects.equals(this.isBlockedByMe, sendbirdBasicUserInfo.isBlockedByMe) && + Objects.equals(this.role, sendbirdBasicUserInfo.role) && + equalsNullable(this.nickname, sendbirdBasicUserInfo.nickname) && + Objects.equals(this.userId, sendbirdBasicUserInfo.userId) && + Objects.equals(this.profileUrl, sendbirdBasicUserInfo.profileUrl) && + equalsNullable(this.metadata, sendbirdBasicUserInfo.metadata); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -377,7 +377,7 @@ private static int hashCodeNullable(JsonNullable a) { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdBasicUserInfo {\n"); + sb.append("class SendbirdBasicUserInfo {\n"); sb.append(" requireAuthForProfileImage: ").append(toIndentedString(requireAuthForProfileImage)).append("\n"); sb.append(" isActive: ").append(toIndentedString(isActive)).append("\n"); sb.append(" isBlockedByMe: ").append(toIndentedString(isBlockedByMe)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java b/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java index fc6ddb4a..356bcf0d 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java +++ b/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java @@ -29,25 +29,25 @@ /** - * SendBirdDisappearingMessage + * SendbirdDisappearingMessage */ @JsonPropertyOrder({ - SendBirdDisappearingMessage.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdDisappearingMessage.JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ + SendbirdDisappearingMessage.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendbirdDisappearingMessage.JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ }) -@JsonTypeName("SendBird.DisappearingMessage") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdDisappearingMessage { +@JsonTypeName("Sendbird.DisappearingMessage") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdDisappearingMessage { public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; public static final String JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ = "is_triggered_by_message_read"; private Boolean isTriggeredByMessageRead; - public SendBirdDisappearingMessage() { + public SendbirdDisappearingMessage() { } - public SendBirdDisappearingMessage messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendbirdDisappearingMessage messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -73,7 +73,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendBirdDisappearingMessage isTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { + public SendbirdDisappearingMessage isTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { this.isTriggeredByMessageRead = isTriggeredByMessageRead; return this; } @@ -100,7 +100,7 @@ public void setIsTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { /** - * Return true if this SendBird.DisappearingMessage object is equal to o. + * Return true if this Sendbird.DisappearingMessage object is equal to o. */ @Override public boolean equals(Object o) { @@ -110,9 +110,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdDisappearingMessage sendBirdDisappearingMessage = (SendBirdDisappearingMessage) o; - return Objects.equals(this.messageSurvivalSeconds, sendBirdDisappearingMessage.messageSurvivalSeconds) && - Objects.equals(this.isTriggeredByMessageRead, sendBirdDisappearingMessage.isTriggeredByMessageRead); + SendbirdDisappearingMessage sendbirdDisappearingMessage = (SendbirdDisappearingMessage) o; + return Objects.equals(this.messageSurvivalSeconds, sendbirdDisappearingMessage.messageSurvivalSeconds) && + Objects.equals(this.isTriggeredByMessageRead, sendbirdDisappearingMessage.isTriggeredByMessageRead); } @Override @@ -123,7 +123,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdDisappearingMessage {\n"); + sb.append("class SendbirdDisappearingMessage {\n"); sb.append(" messageSurvivalSeconds: ").append(toIndentedString(messageSurvivalSeconds)).append("\n"); sb.append(" isTriggeredByMessageRead: ").append(toIndentedString(isTriggeredByMessageRead)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java index 9aceace1..92bba574 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java +++ b/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java @@ -35,22 +35,22 @@ */ @ApiModel(description = "Specifies the extended message payload which is used to send a message with a custom message type.") @JsonPropertyOrder({ - SendBirdExtendedMessagePayload.JSON_PROPERTY_CUSTOM_VIEW, - SendBirdExtendedMessagePayload.JSON_PROPERTY_SUGGESTED_REPLIES + SendbirdExtendedMessagePayload.JSON_PROPERTY_CUSTOM_VIEW, + SendbirdExtendedMessagePayload.JSON_PROPERTY_SUGGESTED_REPLIES }) -@JsonTypeName("SendBird.ExtendedMessagePayload") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdExtendedMessagePayload { +@JsonTypeName("Sendbird.ExtendedMessagePayload") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdExtendedMessagePayload { public static final String JSON_PROPERTY_CUSTOM_VIEW = "custom_view"; private Object customView; public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; private List suggestedReplies = null; - public SendBirdExtendedMessagePayload() { + public SendbirdExtendedMessagePayload() { } - public SendBirdExtendedMessagePayload customView(Object customView) { + public SendbirdExtendedMessagePayload customView(Object customView) { this.customView = customView; return this; } @@ -76,12 +76,12 @@ public void setCustomView(Object customView) { } - public SendBirdExtendedMessagePayload suggestedReplies(List suggestedReplies) { + public SendbirdExtendedMessagePayload suggestedReplies(List suggestedReplies) { this.suggestedReplies = suggestedReplies; return this; } - public SendBirdExtendedMessagePayload addSuggestedRepliesItem(String suggestedRepliesItem) { + public SendbirdExtendedMessagePayload addSuggestedRepliesItem(String suggestedRepliesItem) { if (this.suggestedReplies == null) { this.suggestedReplies = new ArrayList<>(); } @@ -111,7 +111,7 @@ public void setSuggestedReplies(List suggestedReplies) { /** - * Return true if this SendBird.ExtendedMessagePayload object is equal to o. + * Return true if this Sendbird.ExtendedMessagePayload object is equal to o. */ @Override public boolean equals(Object o) { @@ -121,9 +121,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdExtendedMessagePayload sendBirdExtendedMessagePayload = (SendBirdExtendedMessagePayload) o; - return Objects.equals(this.customView, sendBirdExtendedMessagePayload.customView) && - Objects.equals(this.suggestedReplies, sendBirdExtendedMessagePayload.suggestedReplies); + SendbirdExtendedMessagePayload sendbirdExtendedMessagePayload = (SendbirdExtendedMessagePayload) o; + return Objects.equals(this.customView, sendbirdExtendedMessagePayload.customView) && + Objects.equals(this.suggestedReplies, sendbirdExtendedMessagePayload.suggestedReplies); } @Override @@ -134,7 +134,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdExtendedMessagePayload {\n"); + sb.append("class SendbirdExtendedMessagePayload {\n"); sb.append(" customView: ").append(toIndentedString(customView)).append("\n"); sb.append(" suggestedReplies: ").append(toIndentedString(suggestedReplies)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java index cd0d2ce7..3ef6e8e1 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java @@ -28,60 +28,60 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.openapitools.client.model.SendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdDisappearingMessage; -import org.openapitools.client.model.SendBirdGroupChannelDetailChannel; -import org.openapitools.client.model.SendBirdMember; -import org.openapitools.client.model.SendBirdMessageResponse; -import org.openapitools.client.model.SendBirdSmsFallback; -import org.openapitools.client.model.SendBirdUser; +import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendbirdDisappearingMessage; +import org.openapitools.client.model.SendbirdGroupChannelDetailChannel; +import org.openapitools.client.model.SendbirdMember; +import org.openapitools.client.model.SendbirdMessageResponse; +import org.openapitools.client.model.SendbirdSmsFallback; +import org.openapitools.client.model.SendbirdUser; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; /** - * SendBirdGroupChannelDetail + * SendbirdGroupChannelDetail */ @JsonPropertyOrder({ - SendBirdGroupChannelDetail.JSON_PROPERTY_CHANNEL, - SendBirdGroupChannelDetail.JSON_PROPERTY_CHANNEL_URL, - SendBirdGroupChannelDetail.JSON_PROPERTY_COVER_URL, - SendBirdGroupChannelDetail.JSON_PROPERTY_CREATED_AT, - SendBirdGroupChannelDetail.JSON_PROPERTY_CREATED_BY, - SendBirdGroupChannelDetail.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdGroupChannelDetail.JSON_PROPERTY_DATA, - SendBirdGroupChannelDetail.JSON_PROPERTY_DELIVERY_RECEIPT, - SendBirdGroupChannelDetail.JSON_PROPERTY_DISAPPEARING_MESSAGE, - SendBirdGroupChannelDetail.JSON_PROPERTY_FREEZE, - SendBirdGroupChannelDetail.JSON_PROPERTY_HAS_AI_BOT, - SendBirdGroupChannelDetail.JSON_PROPERTY_HAS_BOT, - SendBirdGroupChannelDetail.JSON_PROPERTY_ID, - SendBirdGroupChannelDetail.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, - SendBirdGroupChannelDetail.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, - SendBirdGroupChannelDetail.JSON_PROPERTY_IS_BROADCAST, - SendBirdGroupChannelDetail.JSON_PROPERTY_IS_DISCOVERABLE, - SendBirdGroupChannelDetail.JSON_PROPERTY_IS_DISTINCT, - SendBirdGroupChannelDetail.JSON_PROPERTY_IS_EPHEMERAL, - SendBirdGroupChannelDetail.JSON_PROPERTY_IS_PUBLIC, - SendBirdGroupChannelDetail.JSON_PROPERTY_IS_SUPER, - SendBirdGroupChannelDetail.JSON_PROPERTY_JOINED_MEMBER_COUNT, - SendBirdGroupChannelDetail.JSON_PROPERTY_LAST_MESSAGE, - SendBirdGroupChannelDetail.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdGroupChannelDetail.JSON_PROPERTY_MEMBER_COUNT, - SendBirdGroupChannelDetail.JSON_PROPERTY_MEMBERS, - SendBirdGroupChannelDetail.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, - SendBirdGroupChannelDetail.JSON_PROPERTY_NAME, - SendBirdGroupChannelDetail.JSON_PROPERTY_OPERATORS, - SendBirdGroupChannelDetail.JSON_PROPERTY_READ_RECEIPT, - SendBirdGroupChannelDetail.JSON_PROPERTY_SMS_FALLBACK, - SendBirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MENTION_COUNT, - SendBirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MESSAGE_COUNT + SendbirdGroupChannelDetail.JSON_PROPERTY_CHANNEL, + SendbirdGroupChannelDetail.JSON_PROPERTY_CHANNEL_URL, + SendbirdGroupChannelDetail.JSON_PROPERTY_COVER_URL, + SendbirdGroupChannelDetail.JSON_PROPERTY_CREATED_AT, + SendbirdGroupChannelDetail.JSON_PROPERTY_CREATED_BY, + SendbirdGroupChannelDetail.JSON_PROPERTY_CUSTOM_TYPE, + SendbirdGroupChannelDetail.JSON_PROPERTY_DATA, + SendbirdGroupChannelDetail.JSON_PROPERTY_DELIVERY_RECEIPT, + SendbirdGroupChannelDetail.JSON_PROPERTY_DISAPPEARING_MESSAGE, + SendbirdGroupChannelDetail.JSON_PROPERTY_FREEZE, + SendbirdGroupChannelDetail.JSON_PROPERTY_HAS_AI_BOT, + SendbirdGroupChannelDetail.JSON_PROPERTY_HAS_BOT, + SendbirdGroupChannelDetail.JSON_PROPERTY_ID, + SendbirdGroupChannelDetail.JSON_PROPERTY_IGNORE_PROFANITY_FILTER, + SendbirdGroupChannelDetail.JSON_PROPERTY_IS_ACCESS_CODE_REQUIRED, + SendbirdGroupChannelDetail.JSON_PROPERTY_IS_BROADCAST, + SendbirdGroupChannelDetail.JSON_PROPERTY_IS_DISCOVERABLE, + SendbirdGroupChannelDetail.JSON_PROPERTY_IS_DISTINCT, + SendbirdGroupChannelDetail.JSON_PROPERTY_IS_EPHEMERAL, + SendbirdGroupChannelDetail.JSON_PROPERTY_IS_PUBLIC, + SendbirdGroupChannelDetail.JSON_PROPERTY_IS_SUPER, + SendbirdGroupChannelDetail.JSON_PROPERTY_JOINED_MEMBER_COUNT, + SendbirdGroupChannelDetail.JSON_PROPERTY_LAST_MESSAGE, + SendbirdGroupChannelDetail.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendbirdGroupChannelDetail.JSON_PROPERTY_MEMBER_COUNT, + SendbirdGroupChannelDetail.JSON_PROPERTY_MEMBERS, + SendbirdGroupChannelDetail.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, + SendbirdGroupChannelDetail.JSON_PROPERTY_NAME, + SendbirdGroupChannelDetail.JSON_PROPERTY_OPERATORS, + SendbirdGroupChannelDetail.JSON_PROPERTY_READ_RECEIPT, + SendbirdGroupChannelDetail.JSON_PROPERTY_SMS_FALLBACK, + SendbirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MENTION_COUNT, + SendbirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MESSAGE_COUNT }) -@JsonTypeName("SendBird.GroupChannelDetail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdGroupChannelDetail { +@JsonTypeName("Sendbird.GroupChannelDetail") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdGroupChannelDetail { public static final String JSON_PROPERTY_CHANNEL = "channel"; - private SendBirdGroupChannelDetailChannel channel; + private SendbirdGroupChannelDetailChannel channel; public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -93,7 +93,7 @@ public class SendBirdGroupChannelDetail { private Long createdAt; public static final String JSON_PROPERTY_CREATED_BY = "created_by"; - private SendBirdBasicUserInfo createdBy; + private SendbirdBasicUserInfo createdBy; public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -105,7 +105,7 @@ public class SendBirdGroupChannelDetail { private Map deliveryReceipt = null; public static final String JSON_PROPERTY_DISAPPEARING_MESSAGE = "disappearing_message"; - private SendBirdDisappearingMessage disappearingMessage; + private SendbirdDisappearingMessage disappearingMessage; public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; @@ -147,7 +147,7 @@ public class SendBirdGroupChannelDetail { private Integer joinedMemberCount; public static final String JSON_PROPERTY_LAST_MESSAGE = "last_message"; - private SendBirdMessageResponse lastMessage; + private SendbirdMessageResponse lastMessage; public static final String JSON_PROPERTY_MAX_LENGTH_MESSAGE = "max_length_message"; private Integer maxLengthMessage; @@ -156,7 +156,7 @@ public class SendBirdGroupChannelDetail { private Integer memberCount; public static final String JSON_PROPERTY_MEMBERS = "members"; - private List members = null; + private List members = null; public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -165,13 +165,13 @@ public class SendBirdGroupChannelDetail { private String name; public static final String JSON_PROPERTY_OPERATORS = "operators"; - private List operators = null; + private List operators = null; public static final String JSON_PROPERTY_READ_RECEIPT = "read_receipt"; private Map readReceipt = null; public static final String JSON_PROPERTY_SMS_FALLBACK = "sms_fallback"; - private SendBirdSmsFallback smsFallback; + private SendbirdSmsFallback smsFallback; public static final String JSON_PROPERTY_UNREAD_MENTION_COUNT = "unread_mention_count"; private Integer unreadMentionCount; @@ -179,10 +179,10 @@ public class SendBirdGroupChannelDetail { public static final String JSON_PROPERTY_UNREAD_MESSAGE_COUNT = "unread_message_count"; private Integer unreadMessageCount; - public SendBirdGroupChannelDetail() { + public SendbirdGroupChannelDetail() { } - public SendBirdGroupChannelDetail channel(SendBirdGroupChannelDetailChannel channel) { + public SendbirdGroupChannelDetail channel(SendbirdGroupChannelDetailChannel channel) { this.channel = channel; return this; } @@ -196,19 +196,19 @@ public SendBirdGroupChannelDetail channel(SendBirdGroupChannelDetailChannel chan @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdGroupChannelDetailChannel getChannel() { + public SendbirdGroupChannelDetailChannel getChannel() { return channel; } @JsonProperty(JSON_PROPERTY_CHANNEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChannel(SendBirdGroupChannelDetailChannel channel) { + public void setChannel(SendbirdGroupChannelDetailChannel channel) { this.channel = channel; } - public SendBirdGroupChannelDetail channelUrl(String channelUrl) { + public SendbirdGroupChannelDetail channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -234,7 +234,7 @@ public void setChannelUrl(String channelUrl) { } - public SendBirdGroupChannelDetail coverUrl(String coverUrl) { + public SendbirdGroupChannelDetail coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -260,7 +260,7 @@ public void setCoverUrl(String coverUrl) { } - public SendBirdGroupChannelDetail createdAt(Long createdAt) { + public SendbirdGroupChannelDetail createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -286,7 +286,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdGroupChannelDetail createdBy(SendBirdBasicUserInfo createdBy) { + public SendbirdGroupChannelDetail createdBy(SendbirdBasicUserInfo createdBy) { this.createdBy = createdBy; return this; } @@ -300,19 +300,19 @@ public SendBirdGroupChannelDetail createdBy(SendBirdBasicUserInfo createdBy) { @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdBasicUserInfo getCreatedBy() { + public SendbirdBasicUserInfo getCreatedBy() { return createdBy; } @JsonProperty(JSON_PROPERTY_CREATED_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreatedBy(SendBirdBasicUserInfo createdBy) { + public void setCreatedBy(SendbirdBasicUserInfo createdBy) { this.createdBy = createdBy; } - public SendBirdGroupChannelDetail customType(String customType) { + public SendbirdGroupChannelDetail customType(String customType) { this.customType = customType; return this; } @@ -338,7 +338,7 @@ public void setCustomType(String customType) { } - public SendBirdGroupChannelDetail data(String data) { + public SendbirdGroupChannelDetail data(String data) { this.data = data; return this; } @@ -364,12 +364,12 @@ public void setData(String data) { } - public SendBirdGroupChannelDetail deliveryReceipt(Map deliveryReceipt) { + public SendbirdGroupChannelDetail deliveryReceipt(Map deliveryReceipt) { this.deliveryReceipt = deliveryReceipt; return this; } - public SendBirdGroupChannelDetail putDeliveryReceiptItem(String key, Long deliveryReceiptItem) { + public SendbirdGroupChannelDetail putDeliveryReceiptItem(String key, Long deliveryReceiptItem) { if (this.deliveryReceipt == null) { this.deliveryReceipt = new HashMap<>(); } @@ -398,7 +398,7 @@ public void setDeliveryReceipt(Map deliveryReceipt) { } - public SendBirdGroupChannelDetail disappearingMessage(SendBirdDisappearingMessage disappearingMessage) { + public SendbirdGroupChannelDetail disappearingMessage(SendbirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; return this; } @@ -412,19 +412,19 @@ public SendBirdGroupChannelDetail disappearingMessage(SendBirdDisappearingMessag @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdDisappearingMessage getDisappearingMessage() { + public SendbirdDisappearingMessage getDisappearingMessage() { return disappearingMessage; } @JsonProperty(JSON_PROPERTY_DISAPPEARING_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDisappearingMessage(SendBirdDisappearingMessage disappearingMessage) { + public void setDisappearingMessage(SendbirdDisappearingMessage disappearingMessage) { this.disappearingMessage = disappearingMessage; } - public SendBirdGroupChannelDetail freeze(Boolean freeze) { + public SendbirdGroupChannelDetail freeze(Boolean freeze) { this.freeze = freeze; return this; } @@ -450,7 +450,7 @@ public void setFreeze(Boolean freeze) { } - public SendBirdGroupChannelDetail hasAiBot(Boolean hasAiBot) { + public SendbirdGroupChannelDetail hasAiBot(Boolean hasAiBot) { this.hasAiBot = hasAiBot; return this; } @@ -476,7 +476,7 @@ public void setHasAiBot(Boolean hasAiBot) { } - public SendBirdGroupChannelDetail hasBot(Boolean hasBot) { + public SendbirdGroupChannelDetail hasBot(Boolean hasBot) { this.hasBot = hasBot; return this; } @@ -502,7 +502,7 @@ public void setHasBot(Boolean hasBot) { } - public SendBirdGroupChannelDetail id(Integer id) { + public SendbirdGroupChannelDetail id(Integer id) { this.id = id; return this; } @@ -528,7 +528,7 @@ public void setId(Integer id) { } - public SendBirdGroupChannelDetail ignoreProfanityFilter(Boolean ignoreProfanityFilter) { + public SendbirdGroupChannelDetail ignoreProfanityFilter(Boolean ignoreProfanityFilter) { this.ignoreProfanityFilter = ignoreProfanityFilter; return this; } @@ -554,7 +554,7 @@ public void setIgnoreProfanityFilter(Boolean ignoreProfanityFilter) { } - public SendBirdGroupChannelDetail isAccessCodeRequired(Boolean isAccessCodeRequired) { + public SendbirdGroupChannelDetail isAccessCodeRequired(Boolean isAccessCodeRequired) { this.isAccessCodeRequired = isAccessCodeRequired; return this; } @@ -580,7 +580,7 @@ public void setIsAccessCodeRequired(Boolean isAccessCodeRequired) { } - public SendBirdGroupChannelDetail isBroadcast(Boolean isBroadcast) { + public SendbirdGroupChannelDetail isBroadcast(Boolean isBroadcast) { this.isBroadcast = isBroadcast; return this; } @@ -606,7 +606,7 @@ public void setIsBroadcast(Boolean isBroadcast) { } - public SendBirdGroupChannelDetail isDiscoverable(Boolean isDiscoverable) { + public SendbirdGroupChannelDetail isDiscoverable(Boolean isDiscoverable) { this.isDiscoverable = isDiscoverable; return this; } @@ -632,7 +632,7 @@ public void setIsDiscoverable(Boolean isDiscoverable) { } - public SendBirdGroupChannelDetail isDistinct(Boolean isDistinct) { + public SendbirdGroupChannelDetail isDistinct(Boolean isDistinct) { this.isDistinct = isDistinct; return this; } @@ -658,7 +658,7 @@ public void setIsDistinct(Boolean isDistinct) { } - public SendBirdGroupChannelDetail isEphemeral(Boolean isEphemeral) { + public SendbirdGroupChannelDetail isEphemeral(Boolean isEphemeral) { this.isEphemeral = isEphemeral; return this; } @@ -684,7 +684,7 @@ public void setIsEphemeral(Boolean isEphemeral) { } - public SendBirdGroupChannelDetail isPublic(Boolean isPublic) { + public SendbirdGroupChannelDetail isPublic(Boolean isPublic) { this.isPublic = isPublic; return this; } @@ -710,7 +710,7 @@ public void setIsPublic(Boolean isPublic) { } - public SendBirdGroupChannelDetail isSuper(Boolean isSuper) { + public SendbirdGroupChannelDetail isSuper(Boolean isSuper) { this.isSuper = isSuper; return this; } @@ -736,7 +736,7 @@ public void setIsSuper(Boolean isSuper) { } - public SendBirdGroupChannelDetail joinedMemberCount(Integer joinedMemberCount) { + public SendbirdGroupChannelDetail joinedMemberCount(Integer joinedMemberCount) { this.joinedMemberCount = joinedMemberCount; return this; } @@ -762,7 +762,7 @@ public void setJoinedMemberCount(Integer joinedMemberCount) { } - public SendBirdGroupChannelDetail lastMessage(SendBirdMessageResponse lastMessage) { + public SendbirdGroupChannelDetail lastMessage(SendbirdMessageResponse lastMessage) { this.lastMessage = lastMessage; return this; } @@ -776,19 +776,19 @@ public SendBirdGroupChannelDetail lastMessage(SendBirdMessageResponse lastMessag @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdMessageResponse getLastMessage() { + public SendbirdMessageResponse getLastMessage() { return lastMessage; } @JsonProperty(JSON_PROPERTY_LAST_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setLastMessage(SendBirdMessageResponse lastMessage) { + public void setLastMessage(SendbirdMessageResponse lastMessage) { this.lastMessage = lastMessage; } - public SendBirdGroupChannelDetail maxLengthMessage(Integer maxLengthMessage) { + public SendbirdGroupChannelDetail maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -814,7 +814,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendBirdGroupChannelDetail memberCount(Integer memberCount) { + public SendbirdGroupChannelDetail memberCount(Integer memberCount) { this.memberCount = memberCount; return this; } @@ -840,12 +840,12 @@ public void setMemberCount(Integer memberCount) { } - public SendBirdGroupChannelDetail members(List members) { + public SendbirdGroupChannelDetail members(List members) { this.members = members; return this; } - public SendBirdGroupChannelDetail addMembersItem(SendBirdMember membersItem) { + public SendbirdGroupChannelDetail addMembersItem(SendbirdMember membersItem) { if (this.members == null) { this.members = new ArrayList<>(); } @@ -862,19 +862,19 @@ public SendBirdGroupChannelDetail addMembersItem(SendBirdMember membersItem) { @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getMembers() { + public List getMembers() { return members; } @JsonProperty(JSON_PROPERTY_MEMBERS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembers(List members) { + public void setMembers(List members) { this.members = members; } - public SendBirdGroupChannelDetail messageSurvivalSeconds(Integer messageSurvivalSeconds) { + public SendbirdGroupChannelDetail messageSurvivalSeconds(Integer messageSurvivalSeconds) { this.messageSurvivalSeconds = messageSurvivalSeconds; return this; } @@ -900,7 +900,7 @@ public void setMessageSurvivalSeconds(Integer messageSurvivalSeconds) { } - public SendBirdGroupChannelDetail name(String name) { + public SendbirdGroupChannelDetail name(String name) { this.name = name; return this; } @@ -926,12 +926,12 @@ public void setName(String name) { } - public SendBirdGroupChannelDetail operators(List operators) { + public SendbirdGroupChannelDetail operators(List operators) { this.operators = operators; return this; } - public SendBirdGroupChannelDetail addOperatorsItem(SendBirdUser operatorsItem) { + public SendbirdGroupChannelDetail addOperatorsItem(SendbirdUser operatorsItem) { if (this.operators == null) { this.operators = new ArrayList<>(); } @@ -948,24 +948,24 @@ public SendBirdGroupChannelDetail addOperatorsItem(SendBirdUser operatorsItem) { @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getOperators() { + public List getOperators() { return operators; } @JsonProperty(JSON_PROPERTY_OPERATORS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOperators(List operators) { + public void setOperators(List operators) { this.operators = operators; } - public SendBirdGroupChannelDetail readReceipt(Map readReceipt) { + public SendbirdGroupChannelDetail readReceipt(Map readReceipt) { this.readReceipt = readReceipt; return this; } - public SendBirdGroupChannelDetail putReadReceiptItem(String key, Long readReceiptItem) { + public SendbirdGroupChannelDetail putReadReceiptItem(String key, Long readReceiptItem) { if (this.readReceipt == null) { this.readReceipt = new HashMap<>(); } @@ -994,7 +994,7 @@ public void setReadReceipt(Map readReceipt) { } - public SendBirdGroupChannelDetail smsFallback(SendBirdSmsFallback smsFallback) { + public SendbirdGroupChannelDetail smsFallback(SendbirdSmsFallback smsFallback) { this.smsFallback = smsFallback; return this; } @@ -1008,19 +1008,19 @@ public SendBirdGroupChannelDetail smsFallback(SendBirdSmsFallback smsFallback) { @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdSmsFallback getSmsFallback() { + public SendbirdSmsFallback getSmsFallback() { return smsFallback; } @JsonProperty(JSON_PROPERTY_SMS_FALLBACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSmsFallback(SendBirdSmsFallback smsFallback) { + public void setSmsFallback(SendbirdSmsFallback smsFallback) { this.smsFallback = smsFallback; } - public SendBirdGroupChannelDetail unreadMentionCount(Integer unreadMentionCount) { + public SendbirdGroupChannelDetail unreadMentionCount(Integer unreadMentionCount) { this.unreadMentionCount = unreadMentionCount; return this; } @@ -1046,7 +1046,7 @@ public void setUnreadMentionCount(Integer unreadMentionCount) { } - public SendBirdGroupChannelDetail unreadMessageCount(Integer unreadMessageCount) { + public SendbirdGroupChannelDetail unreadMessageCount(Integer unreadMessageCount) { this.unreadMessageCount = unreadMessageCount; return this; } @@ -1073,7 +1073,7 @@ public void setUnreadMessageCount(Integer unreadMessageCount) { /** - * Return true if this SendBird.GroupChannelDetail object is equal to o. + * Return true if this Sendbird.GroupChannelDetail object is equal to o. */ @Override public boolean equals(Object o) { @@ -1083,40 +1083,40 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdGroupChannelDetail sendBirdGroupChannelDetail = (SendBirdGroupChannelDetail) o; - return Objects.equals(this.channel, sendBirdGroupChannelDetail.channel) && - Objects.equals(this.channelUrl, sendBirdGroupChannelDetail.channelUrl) && - Objects.equals(this.coverUrl, sendBirdGroupChannelDetail.coverUrl) && - Objects.equals(this.createdAt, sendBirdGroupChannelDetail.createdAt) && - Objects.equals(this.createdBy, sendBirdGroupChannelDetail.createdBy) && - Objects.equals(this.customType, sendBirdGroupChannelDetail.customType) && - Objects.equals(this.data, sendBirdGroupChannelDetail.data) && - Objects.equals(this.deliveryReceipt, sendBirdGroupChannelDetail.deliveryReceipt) && - Objects.equals(this.disappearingMessage, sendBirdGroupChannelDetail.disappearingMessage) && - Objects.equals(this.freeze, sendBirdGroupChannelDetail.freeze) && - Objects.equals(this.hasAiBot, sendBirdGroupChannelDetail.hasAiBot) && - Objects.equals(this.hasBot, sendBirdGroupChannelDetail.hasBot) && - Objects.equals(this.id, sendBirdGroupChannelDetail.id) && - Objects.equals(this.ignoreProfanityFilter, sendBirdGroupChannelDetail.ignoreProfanityFilter) && - Objects.equals(this.isAccessCodeRequired, sendBirdGroupChannelDetail.isAccessCodeRequired) && - Objects.equals(this.isBroadcast, sendBirdGroupChannelDetail.isBroadcast) && - Objects.equals(this.isDiscoverable, sendBirdGroupChannelDetail.isDiscoverable) && - Objects.equals(this.isDistinct, sendBirdGroupChannelDetail.isDistinct) && - Objects.equals(this.isEphemeral, sendBirdGroupChannelDetail.isEphemeral) && - Objects.equals(this.isPublic, sendBirdGroupChannelDetail.isPublic) && - Objects.equals(this.isSuper, sendBirdGroupChannelDetail.isSuper) && - Objects.equals(this.joinedMemberCount, sendBirdGroupChannelDetail.joinedMemberCount) && - Objects.equals(this.lastMessage, sendBirdGroupChannelDetail.lastMessage) && - Objects.equals(this.maxLengthMessage, sendBirdGroupChannelDetail.maxLengthMessage) && - Objects.equals(this.memberCount, sendBirdGroupChannelDetail.memberCount) && - Objects.equals(this.members, sendBirdGroupChannelDetail.members) && - Objects.equals(this.messageSurvivalSeconds, sendBirdGroupChannelDetail.messageSurvivalSeconds) && - Objects.equals(this.name, sendBirdGroupChannelDetail.name) && - Objects.equals(this.operators, sendBirdGroupChannelDetail.operators) && - Objects.equals(this.readReceipt, sendBirdGroupChannelDetail.readReceipt) && - Objects.equals(this.smsFallback, sendBirdGroupChannelDetail.smsFallback) && - Objects.equals(this.unreadMentionCount, sendBirdGroupChannelDetail.unreadMentionCount) && - Objects.equals(this.unreadMessageCount, sendBirdGroupChannelDetail.unreadMessageCount); + SendbirdGroupChannelDetail sendbirdGroupChannelDetail = (SendbirdGroupChannelDetail) o; + return Objects.equals(this.channel, sendbirdGroupChannelDetail.channel) && + Objects.equals(this.channelUrl, sendbirdGroupChannelDetail.channelUrl) && + Objects.equals(this.coverUrl, sendbirdGroupChannelDetail.coverUrl) && + Objects.equals(this.createdAt, sendbirdGroupChannelDetail.createdAt) && + Objects.equals(this.createdBy, sendbirdGroupChannelDetail.createdBy) && + Objects.equals(this.customType, sendbirdGroupChannelDetail.customType) && + Objects.equals(this.data, sendbirdGroupChannelDetail.data) && + Objects.equals(this.deliveryReceipt, sendbirdGroupChannelDetail.deliveryReceipt) && + Objects.equals(this.disappearingMessage, sendbirdGroupChannelDetail.disappearingMessage) && + Objects.equals(this.freeze, sendbirdGroupChannelDetail.freeze) && + Objects.equals(this.hasAiBot, sendbirdGroupChannelDetail.hasAiBot) && + Objects.equals(this.hasBot, sendbirdGroupChannelDetail.hasBot) && + Objects.equals(this.id, sendbirdGroupChannelDetail.id) && + Objects.equals(this.ignoreProfanityFilter, sendbirdGroupChannelDetail.ignoreProfanityFilter) && + Objects.equals(this.isAccessCodeRequired, sendbirdGroupChannelDetail.isAccessCodeRequired) && + Objects.equals(this.isBroadcast, sendbirdGroupChannelDetail.isBroadcast) && + Objects.equals(this.isDiscoverable, sendbirdGroupChannelDetail.isDiscoverable) && + Objects.equals(this.isDistinct, sendbirdGroupChannelDetail.isDistinct) && + Objects.equals(this.isEphemeral, sendbirdGroupChannelDetail.isEphemeral) && + Objects.equals(this.isPublic, sendbirdGroupChannelDetail.isPublic) && + Objects.equals(this.isSuper, sendbirdGroupChannelDetail.isSuper) && + Objects.equals(this.joinedMemberCount, sendbirdGroupChannelDetail.joinedMemberCount) && + Objects.equals(this.lastMessage, sendbirdGroupChannelDetail.lastMessage) && + Objects.equals(this.maxLengthMessage, sendbirdGroupChannelDetail.maxLengthMessage) && + Objects.equals(this.memberCount, sendbirdGroupChannelDetail.memberCount) && + Objects.equals(this.members, sendbirdGroupChannelDetail.members) && + Objects.equals(this.messageSurvivalSeconds, sendbirdGroupChannelDetail.messageSurvivalSeconds) && + Objects.equals(this.name, sendbirdGroupChannelDetail.name) && + Objects.equals(this.operators, sendbirdGroupChannelDetail.operators) && + Objects.equals(this.readReceipt, sendbirdGroupChannelDetail.readReceipt) && + Objects.equals(this.smsFallback, sendbirdGroupChannelDetail.smsFallback) && + Objects.equals(this.unreadMentionCount, sendbirdGroupChannelDetail.unreadMentionCount) && + Objects.equals(this.unreadMessageCount, sendbirdGroupChannelDetail.unreadMessageCount); } @Override @@ -1127,7 +1127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdGroupChannelDetail {\n"); + sb.append("class SendbirdGroupChannelDetail {\n"); sb.append(" channel: ").append(toIndentedString(channel)).append("\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java index 6a9676b2..a26a9f55 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java @@ -29,21 +29,21 @@ /** - * SendBirdGroupChannelDetailChannel + * SendbirdGroupChannelDetailChannel */ @JsonPropertyOrder({ - SendBirdGroupChannelDetailChannel.JSON_PROPERTY_CHANNEL_URL, - SendBirdGroupChannelDetailChannel.JSON_PROPERTY_COVER_URL, - SendBirdGroupChannelDetailChannel.JSON_PROPERTY_CREATED_AT, - SendBirdGroupChannelDetailChannel.JSON_PROPERTY_CUSTOM_TYPE, - SendBirdGroupChannelDetailChannel.JSON_PROPERTY_DATA, - SendBirdGroupChannelDetailChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, - SendBirdGroupChannelDetailChannel.JSON_PROPERTY_MEMBER_COUNT, - SendBirdGroupChannelDetailChannel.JSON_PROPERTY_NAME + SendbirdGroupChannelDetailChannel.JSON_PROPERTY_CHANNEL_URL, + SendbirdGroupChannelDetailChannel.JSON_PROPERTY_COVER_URL, + SendbirdGroupChannelDetailChannel.JSON_PROPERTY_CREATED_AT, + SendbirdGroupChannelDetailChannel.JSON_PROPERTY_CUSTOM_TYPE, + SendbirdGroupChannelDetailChannel.JSON_PROPERTY_DATA, + SendbirdGroupChannelDetailChannel.JSON_PROPERTY_MAX_LENGTH_MESSAGE, + SendbirdGroupChannelDetailChannel.JSON_PROPERTY_MEMBER_COUNT, + SendbirdGroupChannelDetailChannel.JSON_PROPERTY_NAME }) -@JsonTypeName("SendBird_GroupChannelDetail_channel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdGroupChannelDetailChannel { +@JsonTypeName("Sendbird_GroupChannelDetail_channel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdGroupChannelDetailChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -68,10 +68,10 @@ public class SendBirdGroupChannelDetailChannel { public static final String JSON_PROPERTY_NAME = "name"; private String name; - public SendBirdGroupChannelDetailChannel() { + public SendbirdGroupChannelDetailChannel() { } - public SendBirdGroupChannelDetailChannel channelUrl(String channelUrl) { + public SendbirdGroupChannelDetailChannel channelUrl(String channelUrl) { this.channelUrl = channelUrl; return this; } @@ -97,7 +97,7 @@ public void setChannelUrl(String channelUrl) { } - public SendBirdGroupChannelDetailChannel coverUrl(String coverUrl) { + public SendbirdGroupChannelDetailChannel coverUrl(String coverUrl) { this.coverUrl = coverUrl; return this; } @@ -123,7 +123,7 @@ public void setCoverUrl(String coverUrl) { } - public SendBirdGroupChannelDetailChannel createdAt(Long createdAt) { + public SendbirdGroupChannelDetailChannel createdAt(Long createdAt) { this.createdAt = createdAt; return this; } @@ -149,7 +149,7 @@ public void setCreatedAt(Long createdAt) { } - public SendBirdGroupChannelDetailChannel customType(String customType) { + public SendbirdGroupChannelDetailChannel customType(String customType) { this.customType = customType; return this; } @@ -175,7 +175,7 @@ public void setCustomType(String customType) { } - public SendBirdGroupChannelDetailChannel data(String data) { + public SendbirdGroupChannelDetailChannel data(String data) { this.data = data; return this; } @@ -201,7 +201,7 @@ public void setData(String data) { } - public SendBirdGroupChannelDetailChannel maxLengthMessage(Integer maxLengthMessage) { + public SendbirdGroupChannelDetailChannel maxLengthMessage(Integer maxLengthMessage) { this.maxLengthMessage = maxLengthMessage; return this; } @@ -227,7 +227,7 @@ public void setMaxLengthMessage(Integer maxLengthMessage) { } - public SendBirdGroupChannelDetailChannel memberCount(Integer memberCount) { + public SendbirdGroupChannelDetailChannel memberCount(Integer memberCount) { this.memberCount = memberCount; return this; } @@ -253,7 +253,7 @@ public void setMemberCount(Integer memberCount) { } - public SendBirdGroupChannelDetailChannel name(String name) { + public SendbirdGroupChannelDetailChannel name(String name) { this.name = name; return this; } @@ -280,7 +280,7 @@ public void setName(String name) { /** - * Return true if this SendBird_GroupChannelDetail_channel object is equal to o. + * Return true if this Sendbird_GroupChannelDetail_channel object is equal to o. */ @Override public boolean equals(Object o) { @@ -290,15 +290,15 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdGroupChannelDetailChannel sendBirdGroupChannelDetailChannel = (SendBirdGroupChannelDetailChannel) o; - return Objects.equals(this.channelUrl, sendBirdGroupChannelDetailChannel.channelUrl) && - Objects.equals(this.coverUrl, sendBirdGroupChannelDetailChannel.coverUrl) && - Objects.equals(this.createdAt, sendBirdGroupChannelDetailChannel.createdAt) && - Objects.equals(this.customType, sendBirdGroupChannelDetailChannel.customType) && - Objects.equals(this.data, sendBirdGroupChannelDetailChannel.data) && - Objects.equals(this.maxLengthMessage, sendBirdGroupChannelDetailChannel.maxLengthMessage) && - Objects.equals(this.memberCount, sendBirdGroupChannelDetailChannel.memberCount) && - Objects.equals(this.name, sendBirdGroupChannelDetailChannel.name); + SendbirdGroupChannelDetailChannel sendbirdGroupChannelDetailChannel = (SendbirdGroupChannelDetailChannel) o; + return Objects.equals(this.channelUrl, sendbirdGroupChannelDetailChannel.channelUrl) && + Objects.equals(this.coverUrl, sendbirdGroupChannelDetailChannel.coverUrl) && + Objects.equals(this.createdAt, sendbirdGroupChannelDetailChannel.createdAt) && + Objects.equals(this.customType, sendbirdGroupChannelDetailChannel.customType) && + Objects.equals(this.data, sendbirdGroupChannelDetailChannel.data) && + Objects.equals(this.maxLengthMessage, sendbirdGroupChannelDetailChannel.maxLengthMessage) && + Objects.equals(this.memberCount, sendbirdGroupChannelDetailChannel.memberCount) && + Objects.equals(this.name, sendbirdGroupChannelDetailChannel.name); } @Override @@ -309,7 +309,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdGroupChannelDetailChannel {\n"); + sb.append("class SendbirdGroupChannelDetailChannel {\n"); sb.append(" channelUrl: ").append(toIndentedString(channelUrl)).append("\n"); sb.append(" coverUrl: ").append(toIndentedString(coverUrl)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java index f916f664..11431f24 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java @@ -26,14 +26,14 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdBasicUserInfo; -import org.openapitools.client.model.SendBirdFile; -import org.openapitools.client.model.SendBirdMessageResponse; -import org.openapitools.client.model.SendBirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendBirdMessageResponseMessageEvents; -import org.openapitools.client.model.SendBirdParentMessageInfo; -import org.openapitools.client.model.SendBirdReaction; -import org.openapitools.client.model.SendBirdSortedMetaarrayInner; +import org.openapitools.client.model.SendbirdBasicUserInfo; +import org.openapitools.client.model.SendbirdFile; +import org.openapitools.client.model.SendbirdMessageResponse; +import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload; +import org.openapitools.client.model.SendbirdMessageResponseMessageEvents; +import org.openapitools.client.model.SendbirdParentMessageInfo; +import org.openapitools.client.model.SendbirdReaction; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.annotation.JsonIgnore; import org.openapitools.jackson.nullable.JsonNullable; @@ -68,132 +68,132 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendBirdGroupChannelLastMessage.SendBirdGroupChannelLastMessageDeserializer.class) -@JsonSerialize(using = SendBirdGroupChannelLastMessage.SendBirdGroupChannelLastMessageSerializer.class) -public class SendBirdGroupChannelLastMessage extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendBirdGroupChannelLastMessage.class.getName()); +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendbirdGroupChannelLastMessage.SendbirdGroupChannelLastMessageDeserializer.class) +@JsonSerialize(using = SendbirdGroupChannelLastMessage.SendbirdGroupChannelLastMessageSerializer.class) +public class SendbirdGroupChannelLastMessage extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendbirdGroupChannelLastMessage.class.getName()); - public static class SendBirdGroupChannelLastMessageSerializer extends StdSerializer { - public SendBirdGroupChannelLastMessageSerializer(Class t) { + public static class SendbirdGroupChannelLastMessageSerializer extends StdSerializer { + public SendbirdGroupChannelLastMessageSerializer(Class t) { super(t); } - public SendBirdGroupChannelLastMessageSerializer() { + public SendbirdGroupChannelLastMessageSerializer() { this(null); } @Override - public void serialize(SendBirdGroupChannelLastMessage value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + public void serialize(SendbirdGroupChannelLastMessage value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.getActualInstance()); } } - public static class SendBirdGroupChannelLastMessageDeserializer extends StdDeserializer { - public SendBirdGroupChannelLastMessageDeserializer() { - this(SendBirdGroupChannelLastMessage.class); + public static class SendbirdGroupChannelLastMessageDeserializer extends StdDeserializer { + public SendbirdGroupChannelLastMessageDeserializer() { + this(SendbirdGroupChannelLastMessage.class); } - public SendBirdGroupChannelLastMessageDeserializer(Class vc) { + public SendbirdGroupChannelLastMessageDeserializer(Class vc) { super(vc); } @Override - public SendBirdGroupChannelLastMessage deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + public SendbirdGroupChannelLastMessage deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { JsonNode tree = jp.readValueAsTree(); Object deserialized = null; boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); int match = 0; JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendBirdMessageResponse + // deserialize SendbirdMessageResponse try { boolean attemptParsing = true; // ensure that we respect type coercion as set on the client ObjectMapper - if (SendBirdMessageResponse.class.equals(Integer.class) || SendBirdMessageResponse.class.equals(Long.class) || SendBirdMessageResponse.class.equals(Float.class) || SendBirdMessageResponse.class.equals(Double.class) || SendBirdMessageResponse.class.equals(Boolean.class) || SendBirdMessageResponse.class.equals(String.class)) { + if (SendbirdMessageResponse.class.equals(Integer.class) || SendbirdMessageResponse.class.equals(Long.class) || SendbirdMessageResponse.class.equals(Float.class) || SendbirdMessageResponse.class.equals(Double.class) || SendbirdMessageResponse.class.equals(Boolean.class) || SendbirdMessageResponse.class.equals(String.class)) { attemptParsing = typeCoercion; if (!attemptParsing) { - attemptParsing |= ((SendBirdMessageResponse.class.equals(Integer.class) || SendBirdMessageResponse.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendBirdMessageResponse.class.equals(Float.class) || SendBirdMessageResponse.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendBirdMessageResponse.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendBirdMessageResponse.class.equals(String.class) && token == JsonToken.VALUE_STRING); + attemptParsing |= ((SendbirdMessageResponse.class.equals(Integer.class) || SendbirdMessageResponse.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendbirdMessageResponse.class.equals(Float.class) || SendbirdMessageResponse.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendbirdMessageResponse.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendbirdMessageResponse.class.equals(String.class) && token == JsonToken.VALUE_STRING); } } if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdMessageResponse.class); + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendbirdMessageResponse.class); // TODO: there is no validation against JSON schema constraints // (min, max, enum, pattern...), this does not perform a strict JSON // validation, which means the 'match' count may be higher than it should be. match++; - log.log(Level.FINER, "Input data matches schema 'SendBirdMessageResponse'"); + log.log(Level.FINER, "Input data matches schema 'SendbirdMessageResponse'"); } } catch (Exception e) { // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendBirdMessageResponse'", e); + log.log(Level.FINER, "Input data does not match schema 'SendbirdMessageResponse'", e); } if (match == 1) { - SendBirdGroupChannelLastMessage ret = new SendBirdGroupChannelLastMessage(); + SendbirdGroupChannelLastMessage ret = new SendbirdGroupChannelLastMessage(); ret.setActualInstance(deserialized); return ret; } - throw new IOException(String.format("Failed deserialization for SendBirdGroupChannelLastMessage: %d classes match result, expected 1", match)); + throw new IOException(String.format("Failed deserialization for SendbirdGroupChannelLastMessage: %d classes match result, expected 1", match)); } /** * Handle deserialization of the 'null' value. */ @Override - public SendBirdGroupChannelLastMessage getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendBirdGroupChannelLastMessage cannot be null"); + public SendbirdGroupChannelLastMessage getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendbirdGroupChannelLastMessage cannot be null"); } } // store a list of schema names defined in oneOf public static final Map schemas = new HashMap(); - public SendBirdGroupChannelLastMessage() { + public SendbirdGroupChannelLastMessage() { super("oneOf", Boolean.FALSE); } - public SendBirdGroupChannelLastMessage(SendBirdMessageResponse o) { + public SendbirdGroupChannelLastMessage(SendbirdMessageResponse o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } static { - schemas.put("SendBirdMessageResponse", new GenericType() { + schemas.put("SendbirdMessageResponse", new GenericType() { }); - JSON.registerDescendants(SendBirdGroupChannelLastMessage.class, Collections.unmodifiableMap(schemas)); + JSON.registerDescendants(SendbirdGroupChannelLastMessage.class, Collections.unmodifiableMap(schemas)); } @Override public Map getSchemas() { - return SendBirdGroupChannelLastMessage.schemas; + return SendbirdGroupChannelLastMessage.schemas; } /** * Set the instance that matches the oneOf child schema, check * the instance parameter is valid against the oneOf child schemas: - * SendBirdMessageResponse + * SendbirdMessageResponse * * It could be an instance of the 'oneOf' schemas. * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). */ @Override public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendBirdMessageResponse.class, instance, new HashSet>())) { + if (JSON.isInstanceOf(SendbirdMessageResponse.class, instance, new HashSet>())) { super.setActualInstance(instance); return; } - throw new RuntimeException("Invalid instance type. Must be SendBirdMessageResponse"); + throw new RuntimeException("Invalid instance type. Must be SendbirdMessageResponse"); } /** * Get the actual instance, which can be the following: - * SendBirdMessageResponse + * SendbirdMessageResponse * - * @return The actual instance (SendBirdMessageResponse) + * @return The actual instance (SendbirdMessageResponse) */ @Override public Object getActualInstance() { @@ -201,14 +201,14 @@ public Object getActualInstance() { } /** - * Get the actual instance of `SendBirdMessageResponse`. If the actual instance is not `SendBirdMessageResponse`, + * Get the actual instance of `SendbirdMessageResponse`. If the actual instance is not `SendbirdMessageResponse`, * the ClassCastException will be thrown. * - * @return The actual instance of `SendBirdMessageResponse` - * @throws ClassCastException if the instance is not `SendBirdMessageResponse` + * @return The actual instance of `SendbirdMessageResponse` + * @throws ClassCastException if the instance is not `SendbirdMessageResponse` */ - public SendBirdMessageResponse getSendBirdMessageResponse() throws ClassCastException { - return (SendBirdMessageResponse)super.getActualInstance(); + public SendbirdMessageResponse getSendbirdMessageResponse() throws ClassCastException { + return (SendbirdMessageResponse)super.getActualInstance(); } } diff --git a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java index ae5f9a25..615f8a60 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java +++ b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdExtendedMessagePayload; +import org.openapitools.client.model.SendbirdExtendedMessagePayload; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -57,132 +57,132 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -@JsonDeserialize(using = SendBirdMessageResponseExtendedMessagePayload.SendBirdMessageResponseExtendedMessagePayloadDeserializer.class) -@JsonSerialize(using = SendBirdMessageResponseExtendedMessagePayload.SendBirdMessageResponseExtendedMessagePayloadSerializer.class) -public class SendBirdMessageResponseExtendedMessagePayload extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(SendBirdMessageResponseExtendedMessagePayload.class.getName()); +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@JsonDeserialize(using = SendbirdMessageResponseExtendedMessagePayload.SendbirdMessageResponseExtendedMessagePayloadDeserializer.class) +@JsonSerialize(using = SendbirdMessageResponseExtendedMessagePayload.SendbirdMessageResponseExtendedMessagePayloadSerializer.class) +public class SendbirdMessageResponseExtendedMessagePayload extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(SendbirdMessageResponseExtendedMessagePayload.class.getName()); - public static class SendBirdMessageResponseExtendedMessagePayloadSerializer extends StdSerializer { - public SendBirdMessageResponseExtendedMessagePayloadSerializer(Class t) { + public static class SendbirdMessageResponseExtendedMessagePayloadSerializer extends StdSerializer { + public SendbirdMessageResponseExtendedMessagePayloadSerializer(Class t) { super(t); } - public SendBirdMessageResponseExtendedMessagePayloadSerializer() { + public SendbirdMessageResponseExtendedMessagePayloadSerializer() { this(null); } @Override - public void serialize(SendBirdMessageResponseExtendedMessagePayload value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { + public void serialize(SendbirdMessageResponseExtendedMessagePayload value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.getActualInstance()); } } - public static class SendBirdMessageResponseExtendedMessagePayloadDeserializer extends StdDeserializer { - public SendBirdMessageResponseExtendedMessagePayloadDeserializer() { - this(SendBirdMessageResponseExtendedMessagePayload.class); + public static class SendbirdMessageResponseExtendedMessagePayloadDeserializer extends StdDeserializer { + public SendbirdMessageResponseExtendedMessagePayloadDeserializer() { + this(SendbirdMessageResponseExtendedMessagePayload.class); } - public SendBirdMessageResponseExtendedMessagePayloadDeserializer(Class vc) { + public SendbirdMessageResponseExtendedMessagePayloadDeserializer(Class vc) { super(vc); } @Override - public SendBirdMessageResponseExtendedMessagePayload deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { + public SendbirdMessageResponseExtendedMessagePayload deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { JsonNode tree = jp.readValueAsTree(); Object deserialized = null; boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); int match = 0; JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize SendBirdExtendedMessagePayload + // deserialize SendbirdExtendedMessagePayload try { boolean attemptParsing = true; // ensure that we respect type coercion as set on the client ObjectMapper - if (SendBirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdExtendedMessagePayload.class.equals(Long.class) || SendBirdExtendedMessagePayload.class.equals(Float.class) || SendBirdExtendedMessagePayload.class.equals(Double.class) || SendBirdExtendedMessagePayload.class.equals(Boolean.class) || SendBirdExtendedMessagePayload.class.equals(String.class)) { + if (SendbirdExtendedMessagePayload.class.equals(Integer.class) || SendbirdExtendedMessagePayload.class.equals(Long.class) || SendbirdExtendedMessagePayload.class.equals(Float.class) || SendbirdExtendedMessagePayload.class.equals(Double.class) || SendbirdExtendedMessagePayload.class.equals(Boolean.class) || SendbirdExtendedMessagePayload.class.equals(String.class)) { attemptParsing = typeCoercion; if (!attemptParsing) { - attemptParsing |= ((SendBirdExtendedMessagePayload.class.equals(Integer.class) || SendBirdExtendedMessagePayload.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= ((SendBirdExtendedMessagePayload.class.equals(Float.class) || SendBirdExtendedMessagePayload.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= (SendBirdExtendedMessagePayload.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); - attemptParsing |= (SendBirdExtendedMessagePayload.class.equals(String.class) && token == JsonToken.VALUE_STRING); + attemptParsing |= ((SendbirdExtendedMessagePayload.class.equals(Integer.class) || SendbirdExtendedMessagePayload.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= ((SendbirdExtendedMessagePayload.class.equals(Float.class) || SendbirdExtendedMessagePayload.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= (SendbirdExtendedMessagePayload.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); + attemptParsing |= (SendbirdExtendedMessagePayload.class.equals(String.class) && token == JsonToken.VALUE_STRING); } } if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(SendBirdExtendedMessagePayload.class); + deserialized = tree.traverse(jp.getCodec()).readValueAs(SendbirdExtendedMessagePayload.class); // TODO: there is no validation against JSON schema constraints // (min, max, enum, pattern...), this does not perform a strict JSON // validation, which means the 'match' count may be higher than it should be. match++; - log.log(Level.FINER, "Input data matches schema 'SendBirdExtendedMessagePayload'"); + log.log(Level.FINER, "Input data matches schema 'SendbirdExtendedMessagePayload'"); } } catch (Exception e) { // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'SendBirdExtendedMessagePayload'", e); + log.log(Level.FINER, "Input data does not match schema 'SendbirdExtendedMessagePayload'", e); } if (match == 1) { - SendBirdMessageResponseExtendedMessagePayload ret = new SendBirdMessageResponseExtendedMessagePayload(); + SendbirdMessageResponseExtendedMessagePayload ret = new SendbirdMessageResponseExtendedMessagePayload(); ret.setActualInstance(deserialized); return ret; } - throw new IOException(String.format("Failed deserialization for SendBirdMessageResponseExtendedMessagePayload: %d classes match result, expected 1", match)); + throw new IOException(String.format("Failed deserialization for SendbirdMessageResponseExtendedMessagePayload: %d classes match result, expected 1", match)); } /** * Handle deserialization of the 'null' value. */ @Override - public SendBirdMessageResponseExtendedMessagePayload getNullValue(DeserializationContext ctxt) throws JsonMappingException { - throw new JsonMappingException(ctxt.getParser(), "SendBirdMessageResponseExtendedMessagePayload cannot be null"); + public SendbirdMessageResponseExtendedMessagePayload getNullValue(DeserializationContext ctxt) throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "SendbirdMessageResponseExtendedMessagePayload cannot be null"); } } // store a list of schema names defined in oneOf public static final Map schemas = new HashMap(); - public SendBirdMessageResponseExtendedMessagePayload() { + public SendbirdMessageResponseExtendedMessagePayload() { super("oneOf", Boolean.FALSE); } - public SendBirdMessageResponseExtendedMessagePayload(SendBirdExtendedMessagePayload o) { + public SendbirdMessageResponseExtendedMessagePayload(SendbirdExtendedMessagePayload o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } static { - schemas.put("SendBirdExtendedMessagePayload", new GenericType() { + schemas.put("SendbirdExtendedMessagePayload", new GenericType() { }); - JSON.registerDescendants(SendBirdMessageResponseExtendedMessagePayload.class, Collections.unmodifiableMap(schemas)); + JSON.registerDescendants(SendbirdMessageResponseExtendedMessagePayload.class, Collections.unmodifiableMap(schemas)); } @Override public Map getSchemas() { - return SendBirdMessageResponseExtendedMessagePayload.schemas; + return SendbirdMessageResponseExtendedMessagePayload.schemas; } /** * Set the instance that matches the oneOf child schema, check * the instance parameter is valid against the oneOf child schemas: - * SendBirdExtendedMessagePayload + * SendbirdExtendedMessagePayload * * It could be an instance of the 'oneOf' schemas. * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). */ @Override public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(SendBirdExtendedMessagePayload.class, instance, new HashSet>())) { + if (JSON.isInstanceOf(SendbirdExtendedMessagePayload.class, instance, new HashSet>())) { super.setActualInstance(instance); return; } - throw new RuntimeException("Invalid instance type. Must be SendBirdExtendedMessagePayload"); + throw new RuntimeException("Invalid instance type. Must be SendbirdExtendedMessagePayload"); } /** * Get the actual instance, which can be the following: - * SendBirdExtendedMessagePayload + * SendbirdExtendedMessagePayload * - * @return The actual instance (SendBirdExtendedMessagePayload) + * @return The actual instance (SendbirdExtendedMessagePayload) */ @Override public Object getActualInstance() { @@ -190,14 +190,14 @@ public Object getActualInstance() { } /** - * Get the actual instance of `SendBirdExtendedMessagePayload`. If the actual instance is not `SendBirdExtendedMessagePayload`, + * Get the actual instance of `SendbirdExtendedMessagePayload`. If the actual instance is not `SendbirdExtendedMessagePayload`, * the ClassCastException will be thrown. * - * @return The actual instance of `SendBirdExtendedMessagePayload` - * @throws ClassCastException if the instance is not `SendBirdExtendedMessagePayload` + * @return The actual instance of `SendbirdExtendedMessagePayload` + * @throws ClassCastException if the instance is not `SendbirdExtendedMessagePayload` */ - public SendBirdExtendedMessagePayload getSendBirdExtendedMessagePayload() throws ClassCastException { - return (SendBirdExtendedMessagePayload)super.getActualInstance(); + public SendbirdExtendedMessagePayload getSendbirdExtendedMessagePayload() throws ClassCastException { + return (SendbirdExtendedMessagePayload)super.getActualInstance(); } } diff --git a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java index 1b382452..f4edef30 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java +++ b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java @@ -29,17 +29,17 @@ /** - * SendBirdMessageResponseMessageEvents + * SendbirdMessageResponseMessageEvents */ @JsonPropertyOrder({ - SendBirdMessageResponseMessageEvents.JSON_PROPERTY_SEND_PUSH_NOTIFICATION, - SendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_UNREAD_COUNT, - SendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_MENTION_COUNT, - SendBirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_LAST_MESSAGE + SendbirdMessageResponseMessageEvents.JSON_PROPERTY_SEND_PUSH_NOTIFICATION, + SendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_UNREAD_COUNT, + SendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_MENTION_COUNT, + SendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_LAST_MESSAGE }) -@JsonTypeName("SendBird_MessageResponse_message_events") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdMessageResponseMessageEvents { +@JsonTypeName("Sendbird_MessageResponse_message_events") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdMessageResponseMessageEvents { public static final String JSON_PROPERTY_SEND_PUSH_NOTIFICATION = "send_push_notification"; private String sendPushNotification; @@ -52,10 +52,10 @@ public class SendBirdMessageResponseMessageEvents { public static final String JSON_PROPERTY_UPDATE_LAST_MESSAGE = "update_last_message"; private Boolean updateLastMessage; - public SendBirdMessageResponseMessageEvents() { + public SendbirdMessageResponseMessageEvents() { } - public SendBirdMessageResponseMessageEvents sendPushNotification(String sendPushNotification) { + public SendbirdMessageResponseMessageEvents sendPushNotification(String sendPushNotification) { this.sendPushNotification = sendPushNotification; return this; } @@ -81,7 +81,7 @@ public void setSendPushNotification(String sendPushNotification) { } - public SendBirdMessageResponseMessageEvents updateUnreadCount(Boolean updateUnreadCount) { + public SendbirdMessageResponseMessageEvents updateUnreadCount(Boolean updateUnreadCount) { this.updateUnreadCount = updateUnreadCount; return this; } @@ -107,7 +107,7 @@ public void setUpdateUnreadCount(Boolean updateUnreadCount) { } - public SendBirdMessageResponseMessageEvents updateMentionCount(Boolean updateMentionCount) { + public SendbirdMessageResponseMessageEvents updateMentionCount(Boolean updateMentionCount) { this.updateMentionCount = updateMentionCount; return this; } @@ -133,7 +133,7 @@ public void setUpdateMentionCount(Boolean updateMentionCount) { } - public SendBirdMessageResponseMessageEvents updateLastMessage(Boolean updateLastMessage) { + public SendbirdMessageResponseMessageEvents updateLastMessage(Boolean updateLastMessage) { this.updateLastMessage = updateLastMessage; return this; } @@ -160,7 +160,7 @@ public void setUpdateLastMessage(Boolean updateLastMessage) { /** - * Return true if this SendBird_MessageResponse_message_events object is equal to o. + * Return true if this Sendbird_MessageResponse_message_events object is equal to o. */ @Override public boolean equals(Object o) { @@ -170,11 +170,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdMessageResponseMessageEvents sendBirdMessageResponseMessageEvents = (SendBirdMessageResponseMessageEvents) o; - return Objects.equals(this.sendPushNotification, sendBirdMessageResponseMessageEvents.sendPushNotification) && - Objects.equals(this.updateUnreadCount, sendBirdMessageResponseMessageEvents.updateUnreadCount) && - Objects.equals(this.updateMentionCount, sendBirdMessageResponseMessageEvents.updateMentionCount) && - Objects.equals(this.updateLastMessage, sendBirdMessageResponseMessageEvents.updateLastMessage); + SendbirdMessageResponseMessageEvents sendbirdMessageResponseMessageEvents = (SendbirdMessageResponseMessageEvents) o; + return Objects.equals(this.sendPushNotification, sendbirdMessageResponseMessageEvents.sendPushNotification) && + Objects.equals(this.updateUnreadCount, sendbirdMessageResponseMessageEvents.updateUnreadCount) && + Objects.equals(this.updateMentionCount, sendbirdMessageResponseMessageEvents.updateMentionCount) && + Objects.equals(this.updateLastMessage, sendbirdMessageResponseMessageEvents.updateLastMessage); } @Override @@ -185,7 +185,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdMessageResponseMessageEvents {\n"); + sb.append("class SendbirdMessageResponseMessageEvents {\n"); sb.append(" sendPushNotification: ").append(toIndentedString(sendPushNotification)).append("\n"); sb.append(" updateUnreadCount: ").append(toIndentedString(updateUnreadCount)).append("\n"); sb.append(" updateMentionCount: ").append(toIndentedString(updateMentionCount)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java b/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java index bb66051d..c8af774e 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java +++ b/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java @@ -25,9 +25,9 @@ import com.fasterxml.jackson.annotation.JsonValue; /** - * Gets or Sets SendBird.PushTriggerOption + * Gets or Sets Sendbird.PushTriggerOption */ -public enum SendBirdPushTriggerOption { +public enum SendbirdPushTriggerOption { ALL("all"), @@ -37,7 +37,7 @@ public enum SendBirdPushTriggerOption { private String value; - SendBirdPushTriggerOption(String value) { + SendbirdPushTriggerOption(String value) { this.value = value; } @@ -52,8 +52,8 @@ public String toString() { } @JsonCreator - public static SendBirdPushTriggerOption fromValue(String value) { - for (SendBirdPushTriggerOption b : SendBirdPushTriggerOption.values()) { + public static SendbirdPushTriggerOption fromValue(String value) { + for (SendbirdPushTriggerOption b : SendbirdPushTriggerOption.values()) { if (b.value.equals(value)) { return b; } diff --git a/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java b/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java index d64f7108..662ad9c0 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java +++ b/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java @@ -31,25 +31,25 @@ /** - * SendBirdSmsFallback + * SendbirdSmsFallback */ @JsonPropertyOrder({ - SendBirdSmsFallback.JSON_PROPERTY_WAIT_SECONDS, - SendBirdSmsFallback.JSON_PROPERTY_EXCLUDE_USER_IDS + SendbirdSmsFallback.JSON_PROPERTY_WAIT_SECONDS, + SendbirdSmsFallback.JSON_PROPERTY_EXCLUDE_USER_IDS }) -@JsonTypeName("SendBird.SmsFallback") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdSmsFallback { +@JsonTypeName("Sendbird.SmsFallback") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdSmsFallback { public static final String JSON_PROPERTY_WAIT_SECONDS = "wait_seconds"; private Integer waitSeconds; public static final String JSON_PROPERTY_EXCLUDE_USER_IDS = "exclude_user_ids"; private List excludeUserIds = null; - public SendBirdSmsFallback() { + public SendbirdSmsFallback() { } - public SendBirdSmsFallback waitSeconds(Integer waitSeconds) { + public SendbirdSmsFallback waitSeconds(Integer waitSeconds) { this.waitSeconds = waitSeconds; return this; } @@ -75,12 +75,12 @@ public void setWaitSeconds(Integer waitSeconds) { } - public SendBirdSmsFallback excludeUserIds(List excludeUserIds) { + public SendbirdSmsFallback excludeUserIds(List excludeUserIds) { this.excludeUserIds = excludeUserIds; return this; } - public SendBirdSmsFallback addExcludeUserIdsItem(String excludeUserIdsItem) { + public SendbirdSmsFallback addExcludeUserIdsItem(String excludeUserIdsItem) { if (this.excludeUserIds == null) { this.excludeUserIds = new ArrayList<>(); } @@ -110,7 +110,7 @@ public void setExcludeUserIds(List excludeUserIds) { /** - * Return true if this SendBird.SmsFallback object is equal to o. + * Return true if this Sendbird.SmsFallback object is equal to o. */ @Override public boolean equals(Object o) { @@ -120,9 +120,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSmsFallback sendBirdSmsFallback = (SendBirdSmsFallback) o; - return Objects.equals(this.waitSeconds, sendBirdSmsFallback.waitSeconds) && - Objects.equals(this.excludeUserIds, sendBirdSmsFallback.excludeUserIds); + SendbirdSmsFallback sendbirdSmsFallback = (SendbirdSmsFallback) o; + return Objects.equals(this.waitSeconds, sendbirdSmsFallback.waitSeconds) && + Objects.equals(this.excludeUserIds, sendbirdSmsFallback.excludeUserIds); } @Override @@ -133,7 +133,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSmsFallback {\n"); + sb.append("class SendbirdSmsFallback {\n"); sb.append(" waitSeconds: ").append(toIndentedString(waitSeconds)).append("\n"); sb.append(" excludeUserIds: ").append(toIndentedString(excludeUserIds)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java b/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java index 5d45d4bd..ae85092f 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java +++ b/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java @@ -31,25 +31,25 @@ /** - * SendBirdSortedMetaarrayInner + * SendbirdSortedMetaarrayInner */ @JsonPropertyOrder({ - SendBirdSortedMetaarrayInner.JSON_PROPERTY_KEY, - SendBirdSortedMetaarrayInner.JSON_PROPERTY_VALUE + SendbirdSortedMetaarrayInner.JSON_PROPERTY_KEY, + SendbirdSortedMetaarrayInner.JSON_PROPERTY_VALUE }) -@JsonTypeName("SendBird_SortedMetaarray_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdSortedMetaarrayInner { +@JsonTypeName("Sendbird_SortedMetaarray_inner") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdSortedMetaarrayInner { public static final String JSON_PROPERTY_KEY = "key"; private String key; public static final String JSON_PROPERTY_VALUE = "value"; private List value = null; - public SendBirdSortedMetaarrayInner() { + public SendbirdSortedMetaarrayInner() { } - public SendBirdSortedMetaarrayInner key(String key) { + public SendbirdSortedMetaarrayInner key(String key) { this.key = key; return this; } @@ -75,12 +75,12 @@ public void setKey(String key) { } - public SendBirdSortedMetaarrayInner value(List value) { + public SendbirdSortedMetaarrayInner value(List value) { this.value = value; return this; } - public SendBirdSortedMetaarrayInner addValueItem(String valueItem) { + public SendbirdSortedMetaarrayInner addValueItem(String valueItem) { if (this.value == null) { this.value = new ArrayList<>(); } @@ -110,7 +110,7 @@ public void setValue(List value) { /** - * Return true if this SendBird_SortedMetaarray_inner object is equal to o. + * Return true if this Sendbird_SortedMetaarray_inner object is equal to o. */ @Override public boolean equals(Object o) { @@ -120,9 +120,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdSortedMetaarrayInner sendBirdSortedMetaarrayInner = (SendBirdSortedMetaarrayInner) o; - return Objects.equals(this.key, sendBirdSortedMetaarrayInner.key) && - Objects.equals(this.value, sendBirdSortedMetaarrayInner.value); + SendbirdSortedMetaarrayInner sendbirdSortedMetaarrayInner = (SendbirdSortedMetaarrayInner) o; + return Objects.equals(this.key, sendbirdSortedMetaarrayInner.key) && + Objects.equals(this.value, sendbirdSortedMetaarrayInner.value); } @Override @@ -133,7 +133,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdSortedMetaarrayInner {\n"); + sb.append("class SendbirdSortedMetaarrayInner {\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); diff --git a/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java b/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java index e8ab8aa9..047041ff 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java +++ b/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java @@ -29,19 +29,19 @@ /** - * SendBirdThumbnail + * SendbirdThumbnail */ @JsonPropertyOrder({ - SendBirdThumbnail.JSON_PROPERTY_HEIGHT, - SendBirdThumbnail.JSON_PROPERTY_PLAIN_URL, - SendBirdThumbnail.JSON_PROPERTY_REAL_HEIGHT, - SendBirdThumbnail.JSON_PROPERTY_REAL_WIDTH, - SendBirdThumbnail.JSON_PROPERTY_URL, - SendBirdThumbnail.JSON_PROPERTY_WIDTH + SendbirdThumbnail.JSON_PROPERTY_HEIGHT, + SendbirdThumbnail.JSON_PROPERTY_PLAIN_URL, + SendbirdThumbnail.JSON_PROPERTY_REAL_HEIGHT, + SendbirdThumbnail.JSON_PROPERTY_REAL_WIDTH, + SendbirdThumbnail.JSON_PROPERTY_URL, + SendbirdThumbnail.JSON_PROPERTY_WIDTH }) -@JsonTypeName("SendBird.Thumbnail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") -public class SendBirdThumbnail { +@JsonTypeName("Sendbird.Thumbnail") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +public class SendbirdThumbnail { public static final String JSON_PROPERTY_HEIGHT = "height"; private Integer height; @@ -60,10 +60,10 @@ public class SendBirdThumbnail { public static final String JSON_PROPERTY_WIDTH = "width"; private Integer width; - public SendBirdThumbnail() { + public SendbirdThumbnail() { } - public SendBirdThumbnail height(Integer height) { + public SendbirdThumbnail height(Integer height) { this.height = height; return this; } @@ -89,7 +89,7 @@ public void setHeight(Integer height) { } - public SendBirdThumbnail plainUrl(String plainUrl) { + public SendbirdThumbnail plainUrl(String plainUrl) { this.plainUrl = plainUrl; return this; } @@ -115,7 +115,7 @@ public void setPlainUrl(String plainUrl) { } - public SendBirdThumbnail realHeight(Integer realHeight) { + public SendbirdThumbnail realHeight(Integer realHeight) { this.realHeight = realHeight; return this; } @@ -141,7 +141,7 @@ public void setRealHeight(Integer realHeight) { } - public SendBirdThumbnail realWidth(Integer realWidth) { + public SendbirdThumbnail realWidth(Integer realWidth) { this.realWidth = realWidth; return this; } @@ -167,7 +167,7 @@ public void setRealWidth(Integer realWidth) { } - public SendBirdThumbnail url(String url) { + public SendbirdThumbnail url(String url) { this.url = url; return this; } @@ -193,7 +193,7 @@ public void setUrl(String url) { } - public SendBirdThumbnail width(Integer width) { + public SendbirdThumbnail width(Integer width) { this.width = width; return this; } @@ -220,7 +220,7 @@ public void setWidth(Integer width) { /** - * Return true if this SendBird.Thumbnail object is equal to o. + * Return true if this Sendbird.Thumbnail object is equal to o. */ @Override public boolean equals(Object o) { @@ -230,13 +230,13 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SendBirdThumbnail sendBirdThumbnail = (SendBirdThumbnail) o; - return Objects.equals(this.height, sendBirdThumbnail.height) && - Objects.equals(this.plainUrl, sendBirdThumbnail.plainUrl) && - Objects.equals(this.realHeight, sendBirdThumbnail.realHeight) && - Objects.equals(this.realWidth, sendBirdThumbnail.realWidth) && - Objects.equals(this.url, sendBirdThumbnail.url) && - Objects.equals(this.width, sendBirdThumbnail.width); + SendbirdThumbnail sendbirdThumbnail = (SendbirdThumbnail) o; + return Objects.equals(this.height, sendbirdThumbnail.height) && + Objects.equals(this.plainUrl, sendbirdThumbnail.plainUrl) && + Objects.equals(this.realHeight, sendbirdThumbnail.realHeight) && + Objects.equals(this.realWidth, sendbirdThumbnail.realWidth) && + Objects.equals(this.url, sendbirdThumbnail.url) && + Objects.equals(this.width, sendbirdThumbnail.width); } @Override @@ -247,7 +247,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SendBirdThumbnail {\n"); + sb.append("class SendbirdThumbnail {\n"); sb.append(" height: ").append(toIndentedString(height)).append("\n"); sb.append(" plainUrl: ").append(toIndentedString(plainUrl)).append("\n"); sb.append(" realHeight: ").append(toIndentedString(realHeight)).append("\n"); diff --git a/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java b/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java index 72718272..58bfd0ba 100644 --- a/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java +++ b/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java @@ -37,7 +37,7 @@ StartTypingIndicatorsRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("startTypingIndicators_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class StartTypingIndicatorsRequest { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java index 02412f8a..bf36a262 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java @@ -36,7 +36,7 @@ UpdateAChannelMetadataRequest.JSON_PROPERTY_UPSERT }) @JsonTypeName("updateAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateAChannelMetadataRequest { public static final String JSON_PROPERTY_METADATA = "metadata"; private Object metadata; diff --git a/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java index 9d7d9bc5..01cdebc4 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java @@ -51,7 +51,7 @@ UpdateAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("updateAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateAGroupChannelRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java b/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java index bc43c6f9..32711966 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java @@ -43,7 +43,7 @@ UpdateAMessageRequest.JSON_PROPERTY_MESSAGE_TYPE }) @JsonTypeName("updateAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateAMessageRequest { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; diff --git a/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java b/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java index 17ff0f05..34c84001 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java @@ -50,7 +50,7 @@ UpdateAUserRequest.JSON_PROPERTY_PROFILE_URL }) @JsonTypeName("updateAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateAUserRequest { public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; private JsonNullable> discoveryKeys = JsonNullable.>undefined(); diff --git a/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java index 1437d39f..db80519d 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java @@ -43,7 +43,7 @@ UpdateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("updateAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateAnOpenChannelRequest { public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; private File coverFile; diff --git a/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java b/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java index 53bcdc99..9b44c818 100644 --- a/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java +++ b/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java @@ -42,7 +42,7 @@ UpdateBotByIdData.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("updateBotByIdData") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateBotByIdData { public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; private String botUserid; diff --git a/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java b/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java index 2bbbe4ac..cf20db6d 100644 --- a/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java @@ -41,7 +41,7 @@ UpdateBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("updateBotByIdResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateBotByIdResponse { public static final String JSON_PROPERTY_BOT = "bot"; private ViewBotByIdResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java index c018f797..6ba60786 100644 --- a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java @@ -35,7 +35,7 @@ UpdateChannelInvitationPreferenceRequest.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("updateChannelInvitationPreference_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateChannelInvitationPreferenceRequest { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java index 0d0886e4..d23a02b3 100644 --- a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java @@ -35,7 +35,7 @@ UpdateChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("updateChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateChannelInvitationPreferenceResponse { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java index 01bcbed2..e2b2e61f 100644 --- a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java @@ -35,7 +35,7 @@ UpdateCountPreferenceOfAChannelRequest.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("updateCountPreferenceOfAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateCountPreferenceOfAChannelRequest { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java index 3c8d0829..a58fc4a9 100644 --- a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java @@ -35,7 +35,7 @@ UpdateCountPreferenceOfChannelByUrlResponse.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("updateCountPreferenceOfChannelByUrlResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateCountPreferenceOfChannelByUrlResponse { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java index 1531c435..abbb08f4 100644 --- a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSortedMetaarrayInner; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -40,13 +40,13 @@ UpdateExtraDataInAMessageRequest.JSON_PROPERTY_UPSERT }) @JsonTypeName("updateExtraDataInAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateExtraDataInAMessageRequest { public static final String JSON_PROPERTY_MODE = "mode"; private String mode; public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public static final String JSON_PROPERTY_UPSERT = "upsert"; private Boolean upsert; @@ -80,12 +80,12 @@ public void setMode(String mode) { } - public UpdateExtraDataInAMessageRequest sortedMetaarray(List sortedMetaarray) { + public UpdateExtraDataInAMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public UpdateExtraDataInAMessageRequest addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { + public UpdateExtraDataInAMessageRequest addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -102,14 +102,14 @@ public UpdateExtraDataInAMessageRequest addSortedMetaarrayItem(SendBirdSortedMet @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java index 7435d8c6..47e0fc2c 100644 --- a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdSortedMetaarrayInner; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,20 +38,20 @@ UpdateExtraDataInAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("updateExtraDataInAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdateExtraDataInAMessageResponse { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; - private List sortedMetaarray = null; + private List sortedMetaarray = null; public UpdateExtraDataInAMessageResponse() { } - public UpdateExtraDataInAMessageResponse sortedMetaarray(List sortedMetaarray) { + public UpdateExtraDataInAMessageResponse sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } - public UpdateExtraDataInAMessageResponse addSortedMetaarrayItem(SendBirdSortedMetaarrayInner sortedMetaarrayItem) { + public UpdateExtraDataInAMessageResponse addSortedMetaarrayItem(SendbirdSortedMetaarrayInner sortedMetaarrayItem) { if (this.sortedMetaarray == null) { this.sortedMetaarray = new ArrayList<>(); } @@ -68,14 +68,14 @@ public UpdateExtraDataInAMessageResponse addSortedMetaarrayItem(SendBirdSortedMe @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSortedMetaarray() { + public List getSortedMetaarray() { return sortedMetaarray; } @JsonProperty(JSON_PROPERTY_SORTED_METAARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSortedMetaarray(List sortedMetaarray) { + public void setSortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; } diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java index 4bf90e04..0bee2390 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java @@ -36,7 +36,7 @@ UpdatePushPreferencesForAChannelRequest.JSON_PROPERTY_PUSH_SOUND }) @JsonTypeName("updatePushPreferencesForAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdatePushPreferencesForAChannelRequest { /** * The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications. diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java index d2bd62a4..50831431 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdPushTriggerOption; +import org.openapitools.client.model.SendbirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,7 +38,7 @@ UpdatePushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION }) @JsonTypeName("updatePushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdatePushPreferencesForAChannelResponse { public static final String JSON_PROPERTY_ENABLE = "enable"; private Boolean enable; @@ -47,7 +47,7 @@ public class UpdatePushPreferencesForAChannelResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdPushTriggerOption pushTriggerOption; + private SendbirdPushTriggerOption pushTriggerOption; public UpdatePushPreferencesForAChannelResponse() { } @@ -104,7 +104,7 @@ public void setPushSound(String pushSound) { } - public UpdatePushPreferencesForAChannelResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public UpdatePushPreferencesForAChannelResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -118,14 +118,14 @@ public UpdatePushPreferencesForAChannelResponse pushTriggerOption(SendBirdPushTr @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdPushTriggerOption getPushTriggerOption() { + public SendbirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java index 5c5c021a..05e906ae 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdPushTriggerOption; +import org.openapitools.client.model.SendbirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -51,7 +51,7 @@ UpdatePushPreferencesRequest.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("updatePushPreferences_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdatePushPreferencesRequest { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; @@ -75,7 +75,7 @@ public class UpdatePushPreferencesRequest { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdPushTriggerOption pushTriggerOption; + private SendbirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; private Boolean snoozeEnabled; @@ -288,7 +288,7 @@ public void setPushSound(String pushSound) { } - public UpdatePushPreferencesRequest pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public UpdatePushPreferencesRequest pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -302,14 +302,14 @@ public UpdatePushPreferencesRequest pushTriggerOption(SendBirdPushTriggerOption @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdPushTriggerOption getPushTriggerOption() { + public SendbirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java index 95583600..bed49982 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdPushTriggerOption; +import org.openapitools.client.model.SendbirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -51,7 +51,7 @@ UpdatePushPreferencesResponse.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("updatePushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UpdatePushPreferencesResponse { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; @@ -75,7 +75,7 @@ public class UpdatePushPreferencesResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdPushTriggerOption pushTriggerOption; + private SendbirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; private Boolean snoozeEnabled; @@ -288,7 +288,7 @@ public void setPushSound(String pushSound) { } - public UpdatePushPreferencesResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public UpdatePushPreferencesResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -302,14 +302,14 @@ public UpdatePushPreferencesResponse pushTriggerOption(SendBirdPushTriggerOption @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdPushTriggerOption getPushTriggerOption() { + public SendbirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java b/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java index 885c72aa..3d623c47 100644 --- a/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java @@ -41,7 +41,7 @@ ViewBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("viewBotByIdResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ViewBotByIdResponse { public static final String JSON_PROPERTY_BOT = "bot"; private ViewBotByIdResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java b/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java index 81be7ffb..ee4e564b 100644 --- a/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java +++ b/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java @@ -40,7 +40,7 @@ ViewBotByIdResponseBot.JSON_PROPERTY_BOT_METADATA }) @JsonTypeName("viewBotByIdResponse_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ViewBotByIdResponseBot { public static final String JSON_PROPERTY_BOT_TOKEN = "bot_token"; private String botToken; diff --git a/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java b/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java index 86d37b51..4bba91ff 100644 --- a/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java @@ -35,7 +35,7 @@ ViewCountPreferenceOfAChannelResponse.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("viewCountPreferenceOfAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ViewCountPreferenceOfAChannelResponse { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java index 47fb1097..20477cf2 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java @@ -35,7 +35,7 @@ ViewNumberOfChannelsWithUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT }) @JsonTypeName("viewNumberOfChannelsWithUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ViewNumberOfChannelsWithUnreadMessagesResponse { public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; private Integer unreadCount; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java index d4d9f7f6..9dc61fad 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java @@ -35,7 +35,7 @@ ViewNumberOfDailyActiveUsersResponse.JSON_PROPERTY_DAU }) @JsonTypeName("viewNumberOfDailyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ViewNumberOfDailyActiveUsersResponse { public static final String JSON_PROPERTY_DAU = "dau"; private Integer dau; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java index 5b7c7792..851307fd 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java @@ -35,7 +35,7 @@ ViewNumberOfMonthlyActiveUsersResponse.JSON_PROPERTY_MAU }) @JsonTypeName("viewNumberOfMonthlyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ViewNumberOfMonthlyActiveUsersResponse { public static final String JSON_PROPERTY_MAU = "mau"; private Integer mau; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java index 50a218ec..afcec829 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java @@ -35,7 +35,7 @@ ViewNumberOfUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT }) @JsonTypeName("viewNumberOfUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ViewNumberOfUnreadMessagesResponse { public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; private Integer unreadCount; diff --git a/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java index 93d4a571..8758f7fc 100644 --- a/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java @@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdPushTriggerOption; +import org.openapitools.client.model.SendbirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -38,7 +38,7 @@ ViewPushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION }) @JsonTypeName("viewPushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ViewPushPreferencesForAChannelResponse { public static final String JSON_PROPERTY_ENABLE = "enable"; private Boolean enable; @@ -47,7 +47,7 @@ public class ViewPushPreferencesForAChannelResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdPushTriggerOption pushTriggerOption; + private SendbirdPushTriggerOption pushTriggerOption; public ViewPushPreferencesForAChannelResponse() { } @@ -104,7 +104,7 @@ public void setPushSound(String pushSound) { } - public ViewPushPreferencesForAChannelResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public ViewPushPreferencesForAChannelResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -118,14 +118,14 @@ public ViewPushPreferencesForAChannelResponse pushTriggerOption(SendBirdPushTrig @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdPushTriggerOption getPushTriggerOption() { + public SendbirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java index 7c9bf48b..84d3c5b3 100644 --- a/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; import java.util.ArrayList; import java.util.List; -import org.openapitools.client.model.SendBirdPushTriggerOption; +import org.openapitools.client.model.SendbirdPushTriggerOption; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.sendbird.client.JSON; @@ -51,7 +51,7 @@ ViewPushPreferencesResponse.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("viewPushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ViewPushPreferencesResponse { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; @@ -75,7 +75,7 @@ public class ViewPushPreferencesResponse { private String pushSound; public static final String JSON_PROPERTY_PUSH_TRIGGER_OPTION = "push_trigger_option"; - private SendBirdPushTriggerOption pushTriggerOption; + private SendbirdPushTriggerOption pushTriggerOption; public static final String JSON_PROPERTY_SNOOZE_ENABLED = "snooze_enabled"; private Boolean snoozeEnabled; @@ -288,7 +288,7 @@ public void setPushSound(String pushSound) { } - public ViewPushPreferencesResponse pushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public ViewPushPreferencesResponse pushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; return this; } @@ -302,14 +302,14 @@ public ViewPushPreferencesResponse pushTriggerOption(SendBirdPushTriggerOption p @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SendBirdPushTriggerOption getPushTriggerOption() { + public SendbirdPushTriggerOption getPushTriggerOption() { return pushTriggerOption; } @JsonProperty(JSON_PROPERTY_PUSH_TRIGGER_OPTION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPushTriggerOption(SendBirdPushTriggerOption pushTriggerOption) { + public void setPushTriggerOption(SendbirdPushTriggerOption pushTriggerOption) { this.pushTriggerOption = pushTriggerOption; } diff --git a/src/main/java/org/sendbird/client/ApiClient.java b/src/main/java/org/sendbird/client/ApiClient.java index 3a4d0575..d0b861e7 100644 --- a/src/main/java/org/sendbird/client/ApiClient.java +++ b/src/main/java/org/sendbird/client/ApiClient.java @@ -66,7 +66,7 @@ /** *

ApiClient class.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ApiClient extends JavaTimeFormatter { protected Map defaultHeaderMap = new HashMap(); protected Map defaultCookieMap = new HashMap(); diff --git a/src/main/java/org/sendbird/client/ApiException.java b/src/main/java/org/sendbird/client/ApiException.java index f219137e..f3c57e06 100644 --- a/src/main/java/org/sendbird/client/ApiException.java +++ b/src/main/java/org/sendbird/client/ApiException.java @@ -19,7 +19,7 @@ /** * API Exception */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/src/main/java/org/sendbird/client/Configuration.java b/src/main/java/org/sendbird/client/Configuration.java index 79b2e4c3..ef6ee80e 100644 --- a/src/main/java/org/sendbird/client/Configuration.java +++ b/src/main/java/org/sendbird/client/Configuration.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/org/sendbird/client/JSON.java b/src/main/java/org/sendbird/client/JSON.java index 991922bb..15d2f097 100644 --- a/src/main/java/org/sendbird/client/JSON.java +++ b/src/main/java/org/sendbird/client/JSON.java @@ -15,7 +15,7 @@ import javax.ws.rs.core.GenericType; import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class JSON implements ContextResolver { private ObjectMapper mapper; diff --git a/src/main/java/org/sendbird/client/JavaTimeFormatter.java b/src/main/java/org/sendbird/client/JavaTimeFormatter.java index 37928e23..0ffc2070 100644 --- a/src/main/java/org/sendbird/client/JavaTimeFormatter.java +++ b/src/main/java/org/sendbird/client/JavaTimeFormatter.java @@ -20,7 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/src/main/java/org/sendbird/client/Pair.java b/src/main/java/org/sendbird/client/Pair.java index 1148d8be..9fce16fa 100644 --- a/src/main/java/org/sendbird/client/Pair.java +++ b/src/main/java/org/sendbird/client/Pair.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/org/sendbird/client/StringUtil.java b/src/main/java/org/sendbird/client/StringUtil.java index 3e345b89..caab4535 100644 --- a/src/main/java/org/sendbird/client/StringUtil.java +++ b/src/main/java/org/sendbird/client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/org/sendbird/client/api/AnnouncementApi.java b/src/main/java/org/sendbird/client/api/AnnouncementApi.java index 72a511cc..7ed9f379 100644 --- a/src/main/java/org/sendbird/client/api/AnnouncementApi.java +++ b/src/main/java/org/sendbird/client/api/AnnouncementApi.java @@ -16,7 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class AnnouncementApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/BotApi.java b/src/main/java/org/sendbird/client/api/BotApi.java index aaf319b5..52bc1aa1 100644 --- a/src/main/java/org/sendbird/client/api/BotApi.java +++ b/src/main/java/org/sendbird/client/api/BotApi.java @@ -15,9 +15,9 @@ import org.openapitools.client.model.JoinChannelsRequest; import org.openapitools.client.model.ListBotsResponse; import org.openapitools.client.model.SendABotMessageResponse; -import org.openapitools.client.model.SendBirdExtendedMessagePayload; -import org.openapitools.client.model.SendBirdGroupChannelDetail; -import org.openapitools.client.model.SendBirdSortedMetaarrayInner; +import org.openapitools.client.model.SendbirdExtendedMessagePayload; +import org.openapitools.client.model.SendbirdGroupChannelDetail; +import org.openapitools.client.model.SendbirdSortedMetaarrayInner; import org.openapitools.client.model.UpdateBotByIdData; import org.openapitools.client.model.UpdateBotByIdResponse; import org.openapitools.client.model.ViewBotByIdResponse; @@ -27,7 +27,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class BotApi { private ApiClient apiClient; @@ -272,7 +272,7 @@ public APIdeleteBotByIdRequest deleteBotById(String botUserid) throws ApiExcepti return new APIdeleteBotByIdRequest(botUserid); } -private ApiResponse joinChannelsWithHttpInfo(String botUserid, String apiToken, JoinChannelsRequest joinChannelsRequest) throws ApiException { +private ApiResponse joinChannelsWithHttpInfo(String botUserid, String apiToken, JoinChannelsRequest joinChannelsRequest) throws ApiException { Object localVarPostBody = joinChannelsRequest; // verify the required parameter 'botUserid' is set @@ -308,7 +308,7 @@ private ApiResponse joinChannelsWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("BotApi.joinChannels", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -346,7 +346,7 @@ public APIjoinChannelsRequest joinChannelsRequest(JoinChannelsRequest joinChanne /** * Execute joinChannels request - * @return SendBirdGroupChannelDetail + * @return SendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -356,13 +356,13 @@ public APIjoinChannelsRequest joinChannelsRequest(JoinChannelsRequest joinChanne */ - public SendBirdGroupChannelDetail execute() throws ApiException { + public SendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute joinChannels request with HTTP info returned - * @return ApiResponse<SendBirdGroupChannelDetail> + * @return ApiResponse<SendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -371,7 +371,7 @@ public SendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return joinChannelsWithHttpInfo(botUserid, apiToken, joinChannelsRequest); } } @@ -731,7 +731,7 @@ public APIlistBotsRequest listBots() throws ApiException { return new APIlistBotsRequest(); } -private ApiResponse sendABotMessageWithHttpInfo(String botUserid, String messageType, String channelUrl, String apiToken, String message, List mentioned, SendBirdExtendedMessagePayload extendedMessagePayload, File _file, Boolean requireAuth, String mentionType, List mentionedUserIds, Boolean isSilent, List sortedMetaarray, String apnsBundleId, Object appleCriticalAlertOptions, String sound, BigDecimal volume, Long createdAt, String customType, String data, String dedupId, Boolean markAsRead, Boolean sendPush) throws ApiException { +private ApiResponse sendABotMessageWithHttpInfo(String botUserid, String messageType, String channelUrl, String apiToken, String message, List mentioned, SendbirdExtendedMessagePayload extendedMessagePayload, File _file, Boolean requireAuth, String mentionType, List mentionedUserIds, Boolean isSilent, List sortedMetaarray, String apnsBundleId, Object appleCriticalAlertOptions, String sound, BigDecimal volume, Long createdAt, String customType, String data, String dedupId, Boolean markAsRead, Boolean sendPush) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'botUserid' is set @@ -833,13 +833,13 @@ public class APIsendABotMessageRequest { private String apiToken; private String message; private List mentioned; - private SendBirdExtendedMessagePayload extendedMessagePayload; + private SendbirdExtendedMessagePayload extendedMessagePayload; private File _file; private Boolean requireAuth; private String mentionType; private List mentionedUserIds; private Boolean isSilent; - private List sortedMetaarray; + private List sortedMetaarray; private String apnsBundleId; private Object appleCriticalAlertOptions; private String sound; @@ -910,7 +910,7 @@ public APIsendABotMessageRequest mentioned(List mentioned) { * @param extendedMessagePayload (optional) * @return APIsendABotMessageRequest */ - public APIsendABotMessageRequest extendedMessagePayload(SendBirdExtendedMessagePayload extendedMessagePayload) { + public APIsendABotMessageRequest extendedMessagePayload(SendbirdExtendedMessagePayload extendedMessagePayload) { this.extendedMessagePayload = extendedMessagePayload; return this; } @@ -970,7 +970,7 @@ public APIsendABotMessageRequest isSilent(Boolean isSilent) { * @param sortedMetaarray (optional) * @return APIsendABotMessageRequest */ - public APIsendABotMessageRequest sortedMetaarray(List sortedMetaarray) { + public APIsendABotMessageRequest sortedMetaarray(List sortedMetaarray) { this.sortedMetaarray = sortedMetaarray; return this; } diff --git a/src/main/java/org/sendbird/client/api/GroupChannelApi.java b/src/main/java/org/sendbird/client/api/GroupChannelApi.java index a1f49dce..98948400 100644 --- a/src/main/java/org/sendbird/client/api/GroupChannelApi.java +++ b/src/main/java/org/sendbird/client/api/GroupChannelApi.java @@ -23,7 +23,7 @@ import org.openapitools.client.model.RegisterOperatorsToAGroupChannelRequest; import org.openapitools.client.model.ResetChatHistoryRequest; import org.openapitools.client.model.ResetChatHistoryResponse; -import org.openapitools.client.model.SendBirdGroupChannelDetail; +import org.openapitools.client.model.SendbirdGroupChannelDetail; import org.openapitools.client.model.StartTypingIndicatorsRequest; import org.openapitools.client.model.UpdateAGroupChannelRequest; @@ -32,7 +32,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class GroupChannelApi { private ApiClient apiClient; @@ -63,7 +63,7 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse acceptAnInvitationWithHttpInfo(String channelUrl, String apiToken, AcceptAnInvitationRequest acceptAnInvitationRequest) throws ApiException { +private ApiResponse acceptAnInvitationWithHttpInfo(String channelUrl, String apiToken, AcceptAnInvitationRequest acceptAnInvitationRequest) throws ApiException { Object localVarPostBody = acceptAnInvitationRequest; // verify the required parameter 'channelUrl' is set @@ -99,7 +99,7 @@ private ApiResponse acceptAnInvitationWithHttpInfo(S String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.acceptAnInvitation", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -137,7 +137,7 @@ public APIacceptAnInvitationRequest acceptAnInvitationRequest(AcceptAnInvitation /** * Execute acceptAnInvitation request - * @return SendBirdGroupChannelDetail + * @return SendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -147,13 +147,13 @@ public APIacceptAnInvitationRequest acceptAnInvitationRequest(AcceptAnInvitation */ - public SendBirdGroupChannelDetail execute() throws ApiException { + public SendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute acceptAnInvitation request with HTTP info returned - * @return ApiResponse<SendBirdGroupChannelDetail> + * @return ApiResponse<SendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -162,7 +162,7 @@ public SendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return acceptAnInvitationWithHttpInfo(channelUrl, apiToken, acceptAnInvitationRequest); } } @@ -430,7 +430,7 @@ public APIcheckIfMemberRequest checkIfMember(String channelUrl, String userId) t return new APIcheckIfMemberRequest(channelUrl, userId); } -private ApiResponse createAGroupChannelWithHttpInfo(String apiToken, CreateAGroupChannelRequest createAGroupChannelRequest) throws ApiException { +private ApiResponse createAGroupChannelWithHttpInfo(String apiToken, CreateAGroupChannelRequest createAGroupChannelRequest) throws ApiException { Object localVarPostBody = createAGroupChannelRequest; // create path and map variables @@ -460,7 +460,7 @@ private ApiResponse createAGroupChannelWithHttpInfo( String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.createAGroupChannel", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -496,7 +496,7 @@ public APIcreateAGroupChannelRequest createAGroupChannelRequest(CreateAGroupChan /** * Execute createAGroupChannel request - * @return SendBirdGroupChannelDetail + * @return SendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -506,13 +506,13 @@ public APIcreateAGroupChannelRequest createAGroupChannelRequest(CreateAGroupChan */ - public SendBirdGroupChannelDetail execute() throws ApiException { + public SendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAGroupChannel request with HTTP info returned - * @return ApiResponse<SendBirdGroupChannelDetail> + * @return ApiResponse<SendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -521,7 +521,7 @@ public SendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return createAGroupChannelWithHttpInfo(apiToken, createAGroupChannelRequest); } } @@ -1044,7 +1044,7 @@ public APIinviteAsMembersRequest inviteAsMembers(String channelUrl) throws ApiEx return new APIinviteAsMembersRequest(channelUrl); } -private ApiResponse joinAChannelWithHttpInfo(String channelUrl, String apiToken, JoinAChannelRequest joinAChannelRequest) throws ApiException { +private ApiResponse joinAChannelWithHttpInfo(String channelUrl, String apiToken, JoinAChannelRequest joinAChannelRequest) throws ApiException { Object localVarPostBody = joinAChannelRequest; // verify the required parameter 'channelUrl' is set @@ -1080,7 +1080,7 @@ private ApiResponse joinAChannelWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.joinAChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1118,7 +1118,7 @@ public APIjoinAChannelRequest joinAChannelRequest(JoinAChannelRequest joinAChann /** * Execute joinAChannel request - * @return SendBirdGroupChannelDetail + * @return SendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -1128,13 +1128,13 @@ public APIjoinAChannelRequest joinAChannelRequest(JoinAChannelRequest joinAChann */ - public SendBirdGroupChannelDetail execute() throws ApiException { + public SendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute joinAChannel request with HTTP info returned - * @return ApiResponse<SendBirdGroupChannelDetail> + * @return ApiResponse<SendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -1143,7 +1143,7 @@ public SendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return joinAChannelWithHttpInfo(channelUrl, apiToken, joinAChannelRequest); } } @@ -2807,7 +2807,7 @@ public APIunhideAChannelRequest unhideAChannel(String channelUrl) throws ApiExce return new APIunhideAChannelRequest(channelUrl); } -private ApiResponse updateAGroupChannelWithHttpInfo(String channelUrl, String apiToken, UpdateAGroupChannelRequest updateAGroupChannelRequest) throws ApiException { +private ApiResponse updateAGroupChannelWithHttpInfo(String channelUrl, String apiToken, UpdateAGroupChannelRequest updateAGroupChannelRequest) throws ApiException { Object localVarPostBody = updateAGroupChannelRequest; // verify the required parameter 'channelUrl' is set @@ -2843,7 +2843,7 @@ private ApiResponse updateAGroupChannelWithHttpInfo( String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("GroupChannelApi.updateAGroupChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2881,7 +2881,7 @@ public APIupdateAGroupChannelRequest updateAGroupChannelRequest(UpdateAGroupChan /** * Execute updateAGroupChannel request - * @return SendBirdGroupChannelDetail + * @return SendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -2891,13 +2891,13 @@ public APIupdateAGroupChannelRequest updateAGroupChannelRequest(UpdateAGroupChan */ - public SendBirdGroupChannelDetail execute() throws ApiException { + public SendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAGroupChannel request with HTTP info returned - * @return ApiResponse<SendBirdGroupChannelDetail> + * @return ApiResponse<SendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -2906,7 +2906,7 @@ public SendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return updateAGroupChannelWithHttpInfo(channelUrl, apiToken, updateAGroupChannelRequest); } } diff --git a/src/main/java/org/sendbird/client/api/MessageApi.java b/src/main/java/org/sendbird/client/api/MessageApi.java index 7c2c2451..e6131318 100644 --- a/src/main/java/org/sendbird/client/api/MessageApi.java +++ b/src/main/java/org/sendbird/client/api/MessageApi.java @@ -15,7 +15,7 @@ import org.openapitools.client.model.MarkChannelMessagesAsReadRequest; import org.openapitools.client.model.MigrateMessagesRequest; import org.openapitools.client.model.SendAMessageRequest; -import org.openapitools.client.model.SendBirdMessageResponse; +import org.openapitools.client.model.SendbirdMessageResponse; import org.openapitools.client.model.UpdateAMessageRequest; import org.openapitools.client.model.UpdateExtraDataInAMessageRequest; import org.openapitools.client.model.UpdateExtraDataInAMessageResponse; @@ -25,7 +25,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class MessageApi { private ApiClient apiClient; @@ -315,7 +315,7 @@ public APIdeleteAMessageRequest deleteAMessage(String channelType, String channe return new APIdeleteAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse getAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, Boolean includeReactions, Boolean includeThreadInfo, Boolean includeParentMessageInfo, Boolean includePollDetails, Boolean withSortedMetaArray, String apiToken) throws ApiException { +private ApiResponse getAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, Boolean includeReactions, Boolean includeThreadInfo, Boolean includeParentMessageInfo, Boolean includePollDetails, Boolean withSortedMetaArray, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelType' is set @@ -368,7 +368,7 @@ private ApiResponse getAMessageWithHttpInfo(String chan String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.getAMessage", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -454,7 +454,7 @@ public APIgetAMessageRequest apiToken(String apiToken) { /** * Execute getAMessage request - * @return SendBirdMessageResponse + * @return SendbirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -464,13 +464,13 @@ public APIgetAMessageRequest apiToken(String apiToken) { */ - public SendBirdMessageResponse execute() throws ApiException { + public SendbirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getAMessage request with HTTP info returned - * @return ApiResponse<SendBirdMessageResponse> + * @return ApiResponse<SendbirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -479,7 +479,7 @@ public SendBirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getAMessageWithHttpInfo(channelType, channelUrl, messageId, includeReactions, includeThreadInfo, includeParentMessageInfo, includePollDetails, withSortedMetaArray, apiToken); } } @@ -1349,7 +1349,7 @@ public APIremoveExtraDataFromAMessageRequest removeExtraDataFromAMessage(String return new APIremoveExtraDataFromAMessageRequest(channelType, channelUrl, messageId); } -private ApiResponse sendAMessageWithHttpInfo(String channelType, String channelUrl, String apiToken, SendAMessageRequest sendAMessageRequest) throws ApiException { +private ApiResponse sendAMessageWithHttpInfo(String channelType, String channelUrl, String apiToken, SendAMessageRequest sendAMessageRequest) throws ApiException { Object localVarPostBody = sendAMessageRequest; // verify the required parameter 'channelType' is set @@ -1391,7 +1391,7 @@ private ApiResponse sendAMessageWithHttpInfo(String cha String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.sendAMessage", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1431,7 +1431,7 @@ public APIsendAMessageRequest sendAMessageRequest(SendAMessageRequest sendAMessa /** * Execute sendAMessage request - * @return SendBirdMessageResponse + * @return SendbirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1441,13 +1441,13 @@ public APIsendAMessageRequest sendAMessageRequest(SendAMessageRequest sendAMessa */ - public SendBirdMessageResponse execute() throws ApiException { + public SendbirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute sendAMessage request with HTTP info returned - * @return ApiResponse<SendBirdMessageResponse> + * @return ApiResponse<SendbirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1456,7 +1456,7 @@ public SendBirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return sendAMessageWithHttpInfo(channelType, channelUrl, apiToken, sendAMessageRequest); } } @@ -1475,7 +1475,7 @@ public APIsendAMessageRequest sendAMessage(String channelType, String channelUrl return new APIsendAMessageRequest(channelType, channelUrl); } -private ApiResponse updateAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, UpdateAMessageRequest updateAMessageRequest) throws ApiException { +private ApiResponse updateAMessageWithHttpInfo(String channelType, String channelUrl, Long messageId, String apiToken, UpdateAMessageRequest updateAMessageRequest) throws ApiException { Object localVarPostBody = updateAMessageRequest; // verify the required parameter 'channelType' is set @@ -1523,7 +1523,7 @@ private ApiResponse updateAMessageWithHttpInfo(String c String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("MessageApi.updateAMessage", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1565,7 +1565,7 @@ public APIupdateAMessageRequest updateAMessageRequest(UpdateAMessageRequest upda /** * Execute updateAMessage request - * @return SendBirdMessageResponse + * @return SendbirdMessageResponse * @throws ApiException if fails to make API call * @http.response.details @@ -1575,13 +1575,13 @@ public APIupdateAMessageRequest updateAMessageRequest(UpdateAMessageRequest upda */ - public SendBirdMessageResponse execute() throws ApiException { + public SendbirdMessageResponse execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAMessage request with HTTP info returned - * @return ApiResponse<SendBirdMessageResponse> + * @return ApiResponse<SendbirdMessageResponse> * @throws ApiException if fails to make API call * @http.response.details
@@ -1590,7 +1590,7 @@ public SendBirdMessageResponse execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return updateAMessageWithHttpInfo(channelType, channelUrl, messageId, apiToken, updateAMessageRequest); } } diff --git a/src/main/java/org/sendbird/client/api/MetadataApi.java b/src/main/java/org/sendbird/client/api/MetadataApi.java index 4cb668b9..16c3106c 100644 --- a/src/main/java/org/sendbird/client/api/MetadataApi.java +++ b/src/main/java/org/sendbird/client/api/MetadataApi.java @@ -17,7 +17,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class MetadataApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/ModerationApi.java b/src/main/java/org/sendbird/client/api/ModerationApi.java index 915627f4..2f900a77 100644 --- a/src/main/java/org/sendbird/client/api/ModerationApi.java +++ b/src/main/java/org/sendbird/client/api/ModerationApi.java @@ -13,15 +13,15 @@ import org.openapitools.client.model.FreezeAGroupChannelRequest; import org.openapitools.client.model.FreezeAnOpenChannelRequest; import org.openapitools.client.model.ListBlockedUsersResponse; -import org.openapitools.client.model.SendBirdGroupChannelDetail; -import org.openapitools.client.model.SendBirdOpenChannel; +import org.openapitools.client.model.SendbirdGroupChannelDetail; +import org.openapitools.client.model.SendbirdOpenChannel; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ModerationApi { private ApiClient apiClient; @@ -169,7 +169,7 @@ public APIblockAUserRequest blockAUser(String userId) throws ApiException { return new APIblockAUserRequest(userId); } -private ApiResponse freezeAGroupChannelWithHttpInfo(String channelUrl, String apiToken, FreezeAGroupChannelRequest freezeAGroupChannelRequest) throws ApiException { +private ApiResponse freezeAGroupChannelWithHttpInfo(String channelUrl, String apiToken, FreezeAGroupChannelRequest freezeAGroupChannelRequest) throws ApiException { Object localVarPostBody = freezeAGroupChannelRequest; // verify the required parameter 'channelUrl' is set @@ -205,7 +205,7 @@ private ApiResponse freezeAGroupChannelWithHttpInfo( String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.freezeAGroupChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -243,7 +243,7 @@ public APIfreezeAGroupChannelRequest freezeAGroupChannelRequest(FreezeAGroupChan /** * Execute freezeAGroupChannel request - * @return SendBirdGroupChannelDetail + * @return SendbirdGroupChannelDetail * @throws ApiException if fails to make API call * @http.response.details @@ -253,13 +253,13 @@ public APIfreezeAGroupChannelRequest freezeAGroupChannelRequest(FreezeAGroupChan */ - public SendBirdGroupChannelDetail execute() throws ApiException { + public SendbirdGroupChannelDetail execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute freezeAGroupChannel request with HTTP info returned - * @return ApiResponse<SendBirdGroupChannelDetail> + * @return ApiResponse<SendbirdGroupChannelDetail> * @throws ApiException if fails to make API call * @http.response.details
@@ -268,7 +268,7 @@ public SendBirdGroupChannelDetail execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return freezeAGroupChannelWithHttpInfo(channelUrl, apiToken, freezeAGroupChannelRequest); } } @@ -286,7 +286,7 @@ public APIfreezeAGroupChannelRequest freezeAGroupChannel(String channelUrl) thro return new APIfreezeAGroupChannelRequest(channelUrl); } -private ApiResponse freezeAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, FreezeAnOpenChannelRequest freezeAnOpenChannelRequest) throws ApiException { +private ApiResponse freezeAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, FreezeAnOpenChannelRequest freezeAnOpenChannelRequest) throws ApiException { Object localVarPostBody = freezeAnOpenChannelRequest; // verify the required parameter 'channelUrl' is set @@ -322,7 +322,7 @@ private ApiResponse freezeAnOpenChannelWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("ModerationApi.freezeAnOpenChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -360,7 +360,7 @@ public APIfreezeAnOpenChannelRequest freezeAnOpenChannelRequest(FreezeAnOpenChan /** * Execute freezeAnOpenChannel request - * @return SendBirdOpenChannel + * @return SendbirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -370,13 +370,13 @@ public APIfreezeAnOpenChannelRequest freezeAnOpenChannelRequest(FreezeAnOpenChan */ - public SendBirdOpenChannel execute() throws ApiException { + public SendbirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute freezeAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdOpenChannel> + * @return ApiResponse<SendbirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -385,7 +385,7 @@ public SendBirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return freezeAnOpenChannelWithHttpInfo(channelUrl, apiToken, freezeAnOpenChannelRequest); } } diff --git a/src/main/java/org/sendbird/client/api/OpenChannelApi.java b/src/main/java/org/sendbird/client/api/OpenChannelApi.java index 1683ea81..54794a45 100644 --- a/src/main/java/org/sendbird/client/api/OpenChannelApi.java +++ b/src/main/java/org/sendbird/client/api/OpenChannelApi.java @@ -12,7 +12,7 @@ import org.openapitools.client.model.ListOpenChannelsResponse; import org.openapitools.client.model.ListOperatorsResponse; import org.openapitools.client.model.RegisterOperatorsToAGroupChannelRequest; -import org.openapitools.client.model.SendBirdOpenChannel; +import org.openapitools.client.model.SendbirdOpenChannel; import org.openapitools.client.model.UpdateAnOpenChannelRequest; import java.util.ArrayList; @@ -20,7 +20,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class OpenChannelApi { private ApiClient apiClient; @@ -51,7 +51,7 @@ public void setApiClient(ApiClient apiClient) { } -private ApiResponse createAnOpenChannelWithHttpInfo(String apiToken, CreateAnOpenChannelRequest createAnOpenChannelRequest) throws ApiException { +private ApiResponse createAnOpenChannelWithHttpInfo(String apiToken, CreateAnOpenChannelRequest createAnOpenChannelRequest) throws ApiException { Object localVarPostBody = createAnOpenChannelRequest; // create path and map variables @@ -81,7 +81,7 @@ private ApiResponse createAnOpenChannelWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.createAnOpenChannel", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -117,7 +117,7 @@ public APIcreateAnOpenChannelRequest createAnOpenChannelRequest(CreateAnOpenChan /** * Execute createAnOpenChannel request - * @return SendBirdOpenChannel + * @return SendbirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -127,13 +127,13 @@ public APIcreateAnOpenChannelRequest createAnOpenChannelRequest(CreateAnOpenChan */ - public SendBirdOpenChannel execute() throws ApiException { + public SendbirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdOpenChannel> + * @return ApiResponse<SendbirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -142,7 +142,7 @@ public SendBirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return createAnOpenChannelWithHttpInfo(apiToken, createAnOpenChannelRequest); } } @@ -265,7 +265,7 @@ public APIdeleteAnOpenChannelRequest deleteAnOpenChannel(String channelUrl) thro return new APIdeleteAnOpenChannelRequest(channelUrl); } -private ApiResponse getAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, Boolean includeOperators) throws ApiException { +private ApiResponse getAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, Boolean includeOperators) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'channelUrl' is set @@ -302,7 +302,7 @@ private ApiResponse getAnOpenChannelWithHttpInfo(String cha String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.getAnOpenChannel", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -340,7 +340,7 @@ public APIgetAnOpenChannelRequest includeOperators(Boolean includeOperators) { /** * Execute getAnOpenChannel request - * @return SendBirdOpenChannel + * @return SendbirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -350,13 +350,13 @@ public APIgetAnOpenChannelRequest includeOperators(Boolean includeOperators) { */ - public SendBirdOpenChannel execute() throws ApiException { + public SendbirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute getAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdOpenChannel> + * @return ApiResponse<SendbirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -365,7 +365,7 @@ public SendBirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return getAnOpenChannelWithHttpInfo(channelUrl, apiToken, includeOperators); } } @@ -958,7 +958,7 @@ public APIunregisterOperatorsRequest unregisterOperators(String channelUrl) thro return new APIunregisterOperatorsRequest(channelUrl); } -private ApiResponse updateAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, UpdateAnOpenChannelRequest updateAnOpenChannelRequest) throws ApiException { +private ApiResponse updateAnOpenChannelWithHttpInfo(String channelUrl, String apiToken, UpdateAnOpenChannelRequest updateAnOpenChannelRequest) throws ApiException { Object localVarPostBody = updateAnOpenChannelRequest; // verify the required parameter 'channelUrl' is set @@ -994,7 +994,7 @@ private ApiResponse updateAnOpenChannelWithHttpInfo(String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("OpenChannelApi.updateAnOpenChannel", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -1032,7 +1032,7 @@ public APIupdateAnOpenChannelRequest updateAnOpenChannelRequest(UpdateAnOpenChan /** * Execute updateAnOpenChannel request - * @return SendBirdOpenChannel + * @return SendbirdOpenChannel * @throws ApiException if fails to make API call * @http.response.details @@ -1042,13 +1042,13 @@ public APIupdateAnOpenChannelRequest updateAnOpenChannelRequest(UpdateAnOpenChan */ - public SendBirdOpenChannel execute() throws ApiException { + public SendbirdOpenChannel execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAnOpenChannel request with HTTP info returned - * @return ApiResponse<SendBirdOpenChannel> + * @return ApiResponse<SendbirdOpenChannel> * @throws ApiException if fails to make API call * @http.response.details
@@ -1057,7 +1057,7 @@ public SendBirdOpenChannel execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return updateAnOpenChannelWithHttpInfo(channelUrl, apiToken, updateAnOpenChannelRequest); } } diff --git a/src/main/java/org/sendbird/client/api/StatisticsApi.java b/src/main/java/org/sendbird/client/api/StatisticsApi.java index f4e9dcb7..782e1765 100644 --- a/src/main/java/org/sendbird/client/api/StatisticsApi.java +++ b/src/main/java/org/sendbird/client/api/StatisticsApi.java @@ -16,7 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class StatisticsApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/UserApi.java b/src/main/java/org/sendbird/client/api/UserApi.java index 64c88a47..683ca7d7 100644 --- a/src/main/java/org/sendbird/client/api/UserApi.java +++ b/src/main/java/org/sendbird/client/api/UserApi.java @@ -24,7 +24,7 @@ import org.openapitools.client.model.MarkChannelMessagesAsReadRequest; import org.openapitools.client.model.RemoveARegistrationOrDeviceTokenResponse; import org.openapitools.client.model.RemoveAllRegistrationOrDeviceTokenResponse; -import org.openapitools.client.model.SendBirdUser; +import org.openapitools.client.model.SendbirdUser; import org.openapitools.client.model.UpdateAUserRequest; import org.openapitools.client.model.UpdateChannelInvitationPreferenceRequest; import org.openapitools.client.model.UpdateChannelInvitationPreferenceResponse; @@ -45,7 +45,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class UserApi { private ApiClient apiClient; @@ -319,7 +319,7 @@ public APIchooseAPushNotificationContentTemplateRequest chooseAPushNotificationC return new APIchooseAPushNotificationContentTemplateRequest(userId); } -private ApiResponse createAUserWithHttpInfo(String apiToken, CreateAUserRequest createAUserRequest) throws ApiException { +private ApiResponse createAUserWithHttpInfo(String apiToken, CreateAUserRequest createAUserRequest) throws ApiException { Object localVarPostBody = createAUserRequest; // create path and map variables @@ -349,7 +349,7 @@ private ApiResponse createAUserWithHttpInfo(String apiToken, Creat String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.createAUser", localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -385,7 +385,7 @@ public APIcreateAUserRequest createAUserRequest(CreateAUserRequest createAUserRe /** * Execute createAUser request - * @return SendBirdUser + * @return SendbirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -395,13 +395,13 @@ public APIcreateAUserRequest createAUserRequest(CreateAUserRequest createAUserRe */ - public SendBirdUser execute() throws ApiException { + public SendbirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute createAUser request with HTTP info returned - * @return ApiResponse<SendBirdUser> + * @return ApiResponse<SendbirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -410,7 +410,7 @@ public SendBirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return createAUserWithHttpInfo(apiToken, createAUserRequest); } } @@ -2376,7 +2376,7 @@ public APIresetPushPreferencesRequest resetPushPreferences(String userId) throws return new APIresetPushPreferencesRequest(userId); } -private ApiResponse updateAUserWithHttpInfo(String userId, String apiToken, UpdateAUserRequest updateAUserRequest) throws ApiException { +private ApiResponse updateAUserWithHttpInfo(String userId, String apiToken, UpdateAUserRequest updateAUserRequest) throws ApiException { Object localVarPostBody = updateAUserRequest; // verify the required parameter 'userId' is set @@ -2412,7 +2412,7 @@ private ApiResponse updateAUserWithHttpInfo(String userId, String String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.updateAUser", localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -2450,7 +2450,7 @@ public APIupdateAUserRequest updateAUserRequest(UpdateAUserRequest updateAUserRe /** * Execute updateAUser request - * @return SendBirdUser + * @return SendbirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -2460,13 +2460,13 @@ public APIupdateAUserRequest updateAUserRequest(UpdateAUserRequest updateAUserRe */ - public SendBirdUser execute() throws ApiException { + public SendbirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute updateAUser request with HTTP info returned - * @return ApiResponse<SendBirdUser> + * @return ApiResponse<SendbirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -2475,7 +2475,7 @@ public SendBirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return updateAUserWithHttpInfo(userId, apiToken, updateAUserRequest); } } @@ -2979,7 +2979,7 @@ public APIupdatePushPreferencesForAChannelRequest updatePushPreferencesForAChann return new APIupdatePushPreferencesForAChannelRequest(userId, channelUrl); } -private ApiResponse viewAUserWithHttpInfo(String userId, Boolean includeUnreadCount, String customTypes, String superMode, String apiToken) throws ApiException { +private ApiResponse viewAUserWithHttpInfo(String userId, Boolean includeUnreadCount, String customTypes, String superMode, String apiToken) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'userId' is set @@ -3018,7 +3018,7 @@ private ApiResponse viewAUserWithHttpInfo(String userId, Boolean i String[] localVarAuthNames = new String[] { }; - GenericType localVarReturnType = new GenericType() {}; + GenericType localVarReturnType = new GenericType() {}; return apiClient.invokeAPI("UserApi.viewAUser", localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, @@ -3078,7 +3078,7 @@ public APIviewAUserRequest apiToken(String apiToken) { /** * Execute viewAUser request - * @return SendBirdUser + * @return SendbirdUser * @throws ApiException if fails to make API call * @http.response.details @@ -3088,13 +3088,13 @@ public APIviewAUserRequest apiToken(String apiToken) { */ - public SendBirdUser execute() throws ApiException { + public SendbirdUser execute() throws ApiException { return this.executeWithHttpInfo().getData(); } /** * Execute viewAUser request with HTTP info returned - * @return ApiResponse<SendBirdUser> + * @return ApiResponse<SendbirdUser> * @throws ApiException if fails to make API call * @http.response.details
@@ -3103,7 +3103,7 @@ public SendBirdUser execute() throws ApiException {
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { + public ApiResponse executeWithHttpInfo() throws ApiException { return viewAUserWithHttpInfo(userId, includeUnreadCount, customTypes, superMode, apiToken); } } diff --git a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java index 2bf1810c..30126cc7 100644 --- a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java +++ b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java index a52fde7c..8bfe2a33 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java @@ -23,7 +23,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java index 373a82b5..a3d92fb6 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:09:26.119651+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/src/test/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequestTest.java deleted file mode 100644 index 06ec7718..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdAcceptAnInvitationRequestTest.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdAcceptAnInvitationRequest - */ -public class SendBirdAcceptAnInvitationRequestTest { - private final SendBirdAcceptAnInvitationRequest model = new SendBirdAcceptAnInvitationRequest(); - - /** - * Model tests for SendBirdAcceptAnInvitationRequest - */ - @Test - public void testSendBirdAcceptAnInvitationRequest() { - // TODO: test SendBirdAcceptAnInvitationRequest - } - - /** - * Test the property 'accessCode' - */ - @Test - public void accessCodeTest() { - // TODO: test accessCode - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequestTest.java deleted file mode 100644 index a74f2d51..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenRequestTest.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdAddARegistrationOrDeviceTokenRequest - */ -public class SendBirdAddARegistrationOrDeviceTokenRequestTest { - private final SendBirdAddARegistrationOrDeviceTokenRequest model = new SendBirdAddARegistrationOrDeviceTokenRequest(); - - /** - * Model tests for SendBirdAddARegistrationOrDeviceTokenRequest - */ - @Test - public void testSendBirdAddARegistrationOrDeviceTokenRequest() { - // TODO: test SendBirdAddARegistrationOrDeviceTokenRequest - } - - /** - * Test the property 'apnsDeviceToken' - */ - @Test - public void apnsDeviceTokenTest() { - // TODO: test apnsDeviceToken - } - - /** - * Test the property 'gcmRegToken' - */ - @Test - public void gcmRegTokenTest() { - // TODO: test gcmRegToken - } - - /** - * Test the property 'huaweiDeviceToken' - */ - @Test - public void huaweiDeviceTokenTest() { - // TODO: test huaweiDeviceToken - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponseTest.java deleted file mode 100644 index 8b22d371..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdAddARegistrationOrDeviceTokenResponseTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdAddARegistrationOrDeviceTokenResponse - */ -public class SendBirdAddARegistrationOrDeviceTokenResponseTest { - private final SendBirdAddARegistrationOrDeviceTokenResponse model = new SendBirdAddARegistrationOrDeviceTokenResponse(); - - /** - * Model tests for SendBirdAddARegistrationOrDeviceTokenResponse - */ - @Test - public void testSendBirdAddARegistrationOrDeviceTokenResponse() { - // TODO: test SendBirdAddARegistrationOrDeviceTokenResponse - } - - /** - * Test the property 'token' - */ - @Test - public void tokenTest() { - // TODO: test token - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'user' - */ - @Test - public void userTest() { - // TODO: test user - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequestTest.java deleted file mode 100644 index 75abd66c..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageRequestTest.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdAddExtraDataToAMessageRequest - */ -public class SendBirdAddExtraDataToAMessageRequestTest { - private final SendBirdAddExtraDataToAMessageRequest model = new SendBirdAddExtraDataToAMessageRequest(); - - /** - * Model tests for SendBirdAddExtraDataToAMessageRequest - */ - @Test - public void testSendBirdAddExtraDataToAMessageRequest() { - // TODO: test SendBirdAddExtraDataToAMessageRequest - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponseTest.java deleted file mode 100644 index ab8efdc9..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdAddExtraDataToAMessageResponseTest.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdAddExtraDataToAMessageResponse - */ -public class SendBirdAddExtraDataToAMessageResponseTest { - private final SendBirdAddExtraDataToAMessageResponse model = new SendBirdAddExtraDataToAMessageResponse(); - - /** - * Model tests for SendBirdAddExtraDataToAMessageResponse - */ - @Test - public void testSendBirdAddExtraDataToAMessageResponse() { - // TODO: test SendBirdAddExtraDataToAMessageResponse - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdBlockAUserRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdBlockAUserRequestTest.java deleted file mode 100644 index 00cbfbe2..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdBlockAUserRequestTest.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdBlockAUserRequest - */ -public class SendBirdBlockAUserRequestTest { - private final SendBirdBlockAUserRequest model = new SendBirdBlockAUserRequest(); - - /** - * Model tests for SendBirdBlockAUserRequest - */ - @Test - public void testSendBirdBlockAUserRequest() { - // TODO: test SendBirdBlockAUserRequest - } - - /** - * Test the property 'targetId' - */ - @Test - public void targetIdTest() { - // TODO: test targetId - } - - /** - * Test the property 'userIds' - */ - @Test - public void userIdsTest() { - // TODO: test userIds - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdBlockAUserResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdBlockAUserResponseTest.java deleted file mode 100644 index 805b90f7..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdBlockAUserResponseTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdUser; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdBlockAUserResponse - */ -public class SendBirdBlockAUserResponseTest { - private final SendBirdBlockAUserResponse model = new SendBirdBlockAUserResponse(); - - /** - * Model tests for SendBirdBlockAUserResponse - */ - @Test - public void testSendBirdBlockAUserResponse() { - // TODO: test SendBirdBlockAUserResponse - } - - /** - * Test the property 'users' - */ - @Test - public void usersTest() { - // TODO: test users - } - - /** - * Test the property 'next' - */ - @Test - public void nextTest() { - // TODO: test next - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCheckIfMemberResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdCheckIfMemberResponseTest.java deleted file mode 100644 index d40f4e9f..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdCheckIfMemberResponseTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdCheckIfMemberResponse - */ -public class SendBirdCheckIfMemberResponseTest { - private final SendBirdCheckIfMemberResponse model = new SendBirdCheckIfMemberResponse(); - - /** - * Model tests for SendBirdCheckIfMemberResponse - */ - @Test - public void testSendBirdCheckIfMemberResponse() { - // TODO: test SendBirdCheckIfMemberResponse - } - - /** - * Test the property 'isMember' - */ - @Test - public void isMemberTest() { - // TODO: test isMember - } - - /** - * Test the property 'state' - */ - @Test - public void stateTest() { - // TODO: test state - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequestTest.java deleted file mode 100644 index 02514587..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateRequestTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdChooseAPushNotificationContentTemplateRequest - */ -public class SendBirdChooseAPushNotificationContentTemplateRequestTest { - private final SendBirdChooseAPushNotificationContentTemplateRequest model = new SendBirdChooseAPushNotificationContentTemplateRequest(); - - /** - * Model tests for SendBirdChooseAPushNotificationContentTemplateRequest - */ - @Test - public void testSendBirdChooseAPushNotificationContentTemplateRequest() { - // TODO: test SendBirdChooseAPushNotificationContentTemplateRequest - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponseTest.java deleted file mode 100644 index 2a2aa799..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdChooseAPushNotificationContentTemplateResponseTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdChooseAPushNotificationContentTemplateResponse - */ -public class SendBirdChooseAPushNotificationContentTemplateResponseTest { - private final SendBirdChooseAPushNotificationContentTemplateResponse model = new SendBirdChooseAPushNotificationContentTemplateResponse(); - - /** - * Model tests for SendBirdChooseAPushNotificationContentTemplateResponse - */ - @Test - public void testSendBirdChooseAPushNotificationContentTemplateResponse() { - // TODO: test SendBirdChooseAPushNotificationContentTemplateResponse - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateABotRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateABotRequestTest.java deleted file mode 100644 index 39d1352c..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdCreateABotRequestTest.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdCreateABotRequest - */ -public class SendBirdCreateABotRequestTest { - private final SendBirdCreateABotRequest model = new SendBirdCreateABotRequest(); - - /** - * Model tests for SendBirdCreateABotRequest - */ - @Test - public void testSendBirdCreateABotRequest() { - // TODO: test SendBirdCreateABotRequest - } - - /** - * Test the property 'botCallbackUrl' - */ - @Test - public void botCallbackUrlTest() { - // TODO: test botCallbackUrl - } - - /** - * Test the property 'botNickname' - */ - @Test - public void botNicknameTest() { - // TODO: test botNickname - } - - /** - * Test the property 'botProfileUrl' - */ - @Test - public void botProfileUrlTest() { - // TODO: test botProfileUrl - } - - /** - * Test the property 'botType' - */ - @Test - public void botTypeTest() { - // TODO: test botType - } - - /** - * Test the property 'botUserid' - */ - @Test - public void botUseridTest() { - // TODO: test botUserid - } - - /** - * Test the property 'isPrivacyMode' - */ - @Test - public void isPrivacyModeTest() { - // TODO: test isPrivacyMode - } - - /** - * Test the property 'channelInvitationPreference' - */ - @Test - public void channelInvitationPreferenceTest() { - // TODO: test channelInvitationPreference - } - - /** - * Test the property 'enableMarkAsRead' - */ - @Test - public void enableMarkAsReadTest() { - // TODO: test enableMarkAsRead - } - - /** - * Test the property 'showMember' - */ - @Test - public void showMemberTest() { - // TODO: test showMember - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseBotTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseBotTest.java deleted file mode 100644 index 9824e28c..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseBotTest.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdCreateABotResponseBot - */ -public class SendBirdCreateABotResponseBotTest { - private final SendBirdCreateABotResponseBot model = new SendBirdCreateABotResponseBot(); - - /** - * Model tests for SendBirdCreateABotResponseBot - */ - @Test - public void testSendBirdCreateABotResponseBot() { - // TODO: test SendBirdCreateABotResponseBot - } - - /** - * Test the property 'aiAgentType' - */ - @Test - public void aiAgentTypeTest() { - // TODO: test aiAgentType - } - - /** - * Test the property 'botMetadata' - */ - @Test - public void botMetadataTest() { - // TODO: test botMetadata - } - - /** - * Test the property 'botNickname' - */ - @Test - public void botNicknameTest() { - // TODO: test botNickname - } - - /** - * Test the property 'botProfileUrl' - */ - @Test - public void botProfileUrlTest() { - // TODO: test botProfileUrl - } - - /** - * Test the property 'botRequireAuthForProfileImage' - */ - @Test - public void botRequireAuthForProfileImageTest() { - // TODO: test botRequireAuthForProfileImage - } - - /** - * Test the property 'botToken' - */ - @Test - public void botTokenTest() { - // TODO: test botToken - } - - /** - * Test the property 'botType' - */ - @Test - public void botTypeTest() { - // TODO: test botType - } - - /** - * Test the property 'botUserid' - */ - @Test - public void botUseridTest() { - // TODO: test botUserid - } - - /** - * Test the property 'feedback' - */ - @Test - public void feedbackTest() { - // TODO: test feedback - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseTest.java deleted file mode 100644 index 4692ef65..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdCreateABotResponseTest.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdCreateABotResponseBot; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyle; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdCreateABotResponse - */ -public class SendBirdCreateABotResponseTest { - private final SendBirdCreateABotResponse model = new SendBirdCreateABotResponse(); - - /** - * Model tests for SendBirdCreateABotResponse - */ - @Test - public void testSendBirdCreateABotResponse() { - // TODO: test SendBirdCreateABotResponse - } - - /** - * Test the property 'bot' - */ - @Test - public void botTest() { - // TODO: test bot - } - - /** - * Test the property 'botCallbackUrl' - */ - @Test - public void botCallbackUrlTest() { - // TODO: test botCallbackUrl - } - - /** - * Test the property 'botStyle' - */ - @Test - public void botStyleTest() { - // TODO: test botStyle - } - - /** - * Test the property 'channelInvitationPreference' - */ - @Test - public void channelInvitationPreferenceTest() { - // TODO: test channelInvitationPreference - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'enableMarkAsRead' - */ - @Test - public void enableMarkAsReadTest() { - // TODO: test enableMarkAsRead - } - - /** - * Test the property 'isPrivacyMode' - */ - @Test - public void isPrivacyModeTest() { - // TODO: test isPrivacyMode - } - - /** - * Test the property 'showMember' - */ - @Test - public void showMemberTest() { - // TODO: test showMember - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequestTest.java deleted file mode 100644 index 27c7d5ec..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataRequestTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdCreateAChannelMetadataRequest - */ -public class SendBirdCreateAChannelMetadataRequestTest { - private final SendBirdCreateAChannelMetadataRequest model = new SendBirdCreateAChannelMetadataRequest(); - - /** - * Model tests for SendBirdCreateAChannelMetadataRequest - */ - @Test - public void testSendBirdCreateAChannelMetadataRequest() { - // TODO: test SendBirdCreateAChannelMetadataRequest - } - - /** - * Test the property 'includeTs' - */ - @Test - public void includeTsTest() { - // TODO: test includeTs - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponseTest.java deleted file mode 100644 index f8c0b921..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdCreateAChannelMetadataResponseTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdCreateAChannelMetadataResponse - */ -public class SendBirdCreateAChannelMetadataResponseTest { - private final SendBirdCreateAChannelMetadataResponse model = new SendBirdCreateAChannelMetadataResponse(); - - /** - * Model tests for SendBirdCreateAChannelMetadataResponse - */ - @Test - public void testSendBirdCreateAChannelMetadataResponse() { - // TODO: test SendBirdCreateAChannelMetadataResponse - } - - /** - * Test the property 'includeTs' - */ - @Test - public void includeTsTest() { - // TODO: test includeTs - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequestTest.java deleted file mode 100644 index 05810bb2..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdCreateAGroupChannelRequestTest.java +++ /dev/null @@ -1,202 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdUser; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdCreateAGroupChannelRequest - */ -public class SendBirdCreateAGroupChannelRequestTest { - private final SendBirdCreateAGroupChannelRequest model = new SendBirdCreateAGroupChannelRequest(); - - /** - * Model tests for SendBirdCreateAGroupChannelRequest - */ - @Test - public void testSendBirdCreateAGroupChannelRequest() { - // TODO: test SendBirdCreateAGroupChannelRequest - } - - /** - * Test the property 'accessCode' - */ - @Test - public void accessCodeTest() { - // TODO: test accessCode - } - - /** - * Test the property 'blockSdkUserChannelJoin' - */ - @Test - public void blockSdkUserChannelJoinTest() { - // TODO: test blockSdkUserChannelJoin - } - - /** - * Test the property 'channelUrl' - */ - @Test - public void channelUrlTest() { - // TODO: test channelUrl - } - - /** - * Test the property 'coverFile' - */ - @Test - public void coverFileTest() { - // TODO: test coverFile - } - - /** - * Test the property 'coverUrl' - */ - @Test - public void coverUrlTest() { - // TODO: test coverUrl - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'hiddenStatus' - */ - @Test - public void hiddenStatusTest() { - // TODO: test hiddenStatus - } - - /** - * Test the property 'invitationStatus' - */ - @Test - public void invitationStatusTest() { - // TODO: test invitationStatus - } - - /** - * Test the property 'inviterId' - */ - @Test - public void inviterIdTest() { - // TODO: test inviterId - } - - /** - * Test the property 'isDistinct' - */ - @Test - public void isDistinctTest() { - // TODO: test isDistinct - } - - /** - * Test the property 'isEphemeral' - */ - @Test - public void isEphemeralTest() { - // TODO: test isEphemeral - } - - /** - * Test the property 'isPublic' - */ - @Test - public void isPublicTest() { - // TODO: test isPublic - } - - /** - * Test the property 'isSuper' - */ - @Test - public void isSuperTest() { - // TODO: test isSuper - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'operatorIds' - */ - @Test - public void operatorIdsTest() { - // TODO: test operatorIds - } - - /** - * Test the property 'strict' - */ - @Test - public void strictTest() { - // TODO: test strict - } - - /** - * Test the property 'userIds' - */ - @Test - public void userIdsTest() { - // TODO: test userIds - } - - /** - * Test the property 'users' - */ - @Test - public void usersTest() { - // TODO: test users - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateAUserRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateAUserRequestTest.java deleted file mode 100644 index f260befe..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdCreateAUserRequestTest.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdCreateAUserRequest - */ -public class SendBirdCreateAUserRequestTest { - private final SendBirdCreateAUserRequest model = new SendBirdCreateAUserRequest(); - - /** - * Model tests for SendBirdCreateAUserRequest - */ - @Test - public void testSendBirdCreateAUserRequest() { - // TODO: test SendBirdCreateAUserRequest - } - - /** - * Test the property 'discoveryKeys' - */ - @Test - public void discoveryKeysTest() { - // TODO: test discoveryKeys - } - - /** - * Test the property 'issueAccessToken' - */ - @Test - public void issueAccessTokenTest() { - // TODO: test issueAccessToken - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'nickname' - */ - @Test - public void nicknameTest() { - // TODO: test nickname - } - - /** - * Test the property 'profileFile' - */ - @Test - public void profileFileTest() { - // TODO: test profileFile - } - - /** - * Test the property 'profileUrl' - */ - @Test - public void profileUrlTest() { - // TODO: test profileUrl - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequestTest.java deleted file mode 100644 index 98ab8ebf..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdCreateAnOpenChannelRequestTest.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdCreateAnOpenChannelRequest - */ -public class SendBirdCreateAnOpenChannelRequestTest { - private final SendBirdCreateAnOpenChannelRequest model = new SendBirdCreateAnOpenChannelRequest(); - - /** - * Model tests for SendBirdCreateAnOpenChannelRequest - */ - @Test - public void testSendBirdCreateAnOpenChannelRequest() { - // TODO: test SendBirdCreateAnOpenChannelRequest - } - - /** - * Test the property 'isDynamicPartitioned' - */ - @Test - public void isDynamicPartitionedTest() { - // TODO: test isDynamicPartitioned - } - - /** - * Test the property 'channelUrl' - */ - @Test - public void channelUrlTest() { - // TODO: test channelUrl - } - - /** - * Test the property 'coverFile' - */ - @Test - public void coverFileTest() { - // TODO: test coverFile - } - - /** - * Test the property 'coverUrl' - */ - @Test - public void coverUrlTest() { - // TODO: test coverUrl - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'isEphemeral' - */ - @Test - public void isEphemeralTest() { - // TODO: test isEphemeral - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'operatorIds' - */ - @Test - public void operatorIdsTest() { - // TODO: test operatorIds - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenRequestTest.java deleted file mode 100644 index 1728bb8c..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenRequestTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdCreateUserTokenRequest - */ -public class SendBirdCreateUserTokenRequestTest { - private final SendBirdCreateUserTokenRequest model = new SendBirdCreateUserTokenRequest(); - - /** - * Model tests for SendBirdCreateUserTokenRequest - */ - @Test - public void testSendBirdCreateUserTokenRequest() { - // TODO: test SendBirdCreateUserTokenRequest - } - - /** - * Test the property 'expiresAt' - */ - @Test - public void expiresAtTest() { - // TODO: test expiresAt - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenResponseTest.java deleted file mode 100644 index 800eee89..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdCreateUserTokenResponseTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdCreateUserTokenResponse - */ -public class SendBirdCreateUserTokenResponseTest { - private final SendBirdCreateUserTokenResponse model = new SendBirdCreateUserTokenResponse(); - - /** - * Model tests for SendBirdCreateUserTokenResponse - */ - @Test - public void testSendBirdCreateUserTokenResponse() { - // TODO: test SendBirdCreateUserTokenResponse - } - - /** - * Test the property 'expiresAt' - */ - @Test - public void expiresAtTest() { - // TODO: test expiresAt - } - - /** - * Test the property 'token' - */ - @Test - public void tokenTest() { - // TODO: test token - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequestTest.java deleted file mode 100644 index b5c3b817..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdFreezeAGroupChannelRequestTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdFreezeAGroupChannelRequest - */ -public class SendBirdFreezeAGroupChannelRequestTest { - private final SendBirdFreezeAGroupChannelRequest model = new SendBirdFreezeAGroupChannelRequest(); - - /** - * Model tests for SendBirdFreezeAGroupChannelRequest - */ - @Test - public void testSendBirdFreezeAGroupChannelRequest() { - // TODO: test SendBirdFreezeAGroupChannelRequest - } - - /** - * Test the property 'freeze' - */ - @Test - public void freezeTest() { - // TODO: test freeze - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequestTest.java deleted file mode 100644 index 422b5f4e..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdFreezeAnOpenChannelRequestTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdFreezeAnOpenChannelRequest - */ -public class SendBirdFreezeAnOpenChannelRequestTest { - private final SendBirdFreezeAnOpenChannelRequest model = new SendBirdFreezeAnOpenChannelRequest(); - - /** - * Model tests for SendBirdFreezeAnOpenChannelRequest - */ - @Test - public void testSendBirdFreezeAnOpenChannelRequest() { - // TODO: test SendBirdFreezeAnOpenChannelRequest - } - - /** - * Test the property 'freeze' - */ - @Test - public void freezeTest() { - // TODO: test freeze - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOfTest.java b/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOfTest.java deleted file mode 100644 index cfa87305..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseAllOfTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdGetAGroupChannelResponseAllOf - */ -public class SendBirdGetAGroupChannelResponseAllOfTest { - private final SendBirdGetAGroupChannelResponseAllOf model = new SendBirdGetAGroupChannelResponseAllOf(); - - /** - * Model tests for SendBirdGetAGroupChannelResponseAllOf - */ - @Test - public void testSendBirdGetAGroupChannelResponseAllOf() { - // TODO: test SendBirdGetAGroupChannelResponseAllOf - } - - /** - * Test the property 'channel' - */ - @Test - public void channelTest() { - // TODO: test channel - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseTest.java deleted file mode 100644 index d870fdb3..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdGetAGroupChannelResponseTest.java +++ /dev/null @@ -1,427 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.openapitools.client.model.SendBirdGetAGroupChannelResponseAllOf; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendbirdGroupChannel; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdSendbirdMember; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSendbirdSmsFallback; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdGetAGroupChannelResponse - */ -public class SendBirdGetAGroupChannelResponseTest { - private final SendBirdGetAGroupChannelResponse model = new SendBirdGetAGroupChannelResponse(); - - /** - * Model tests for SendBirdGetAGroupChannelResponse - */ - @Test - public void testSendBirdGetAGroupChannelResponse() { - // TODO: test SendBirdGetAGroupChannelResponse - } - - /** - * Test the property 'channel' - */ - @Test - public void channelTest() { - // TODO: test channel - } - - /** - * Test the property 'channelUrl' - */ - @Test - public void channelUrlTest() { - // TODO: test channelUrl - } - - /** - * Test the property 'countPreference' - */ - @Test - public void countPreferenceTest() { - // TODO: test countPreference - } - - /** - * Test the property 'coverUrl' - */ - @Test - public void coverUrlTest() { - // TODO: test coverUrl - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'createdBy' - */ - @Test - public void createdByTest() { - // TODO: test createdBy - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'deliveryReceipt' - */ - @Test - public void deliveryReceiptTest() { - // TODO: test deliveryReceipt - } - - /** - * Test the property 'disappearingMessage' - */ - @Test - public void disappearingMessageTest() { - // TODO: test disappearingMessage - } - - /** - * Test the property 'freeze' - */ - @Test - public void freezeTest() { - // TODO: test freeze - } - - /** - * Test the property 'hasAiBot' - */ - @Test - public void hasAiBotTest() { - // TODO: test hasAiBot - } - - /** - * Test the property 'hasBot' - */ - @Test - public void hasBotTest() { - // TODO: test hasBot - } - - /** - * Test the property 'hiddenState' - */ - @Test - public void hiddenStateTest() { - // TODO: test hiddenState - } - - /** - * Test the property 'ignoreProfanityFilter' - */ - @Test - public void ignoreProfanityFilterTest() { - // TODO: test ignoreProfanityFilter - } - - /** - * Test the property 'invitedAt' - */ - @Test - public void invitedAtTest() { - // TODO: test invitedAt - } - - /** - * Test the property 'inviter' - */ - @Test - public void inviterTest() { - // TODO: test inviter - } - - /** - * Test the property 'isAccessCodeRequired' - */ - @Test - public void isAccessCodeRequiredTest() { - // TODO: test isAccessCodeRequired - } - - /** - * Test the property 'isBroadcast' - */ - @Test - public void isBroadcastTest() { - // TODO: test isBroadcast - } - - /** - * Test the property 'isDiscoverable' - */ - @Test - public void isDiscoverableTest() { - // TODO: test isDiscoverable - } - - /** - * Test the property 'isDistinct' - */ - @Test - public void isDistinctTest() { - // TODO: test isDistinct - } - - /** - * Test the property 'isEphemeral' - */ - @Test - public void isEphemeralTest() { - // TODO: test isEphemeral - } - - /** - * Test the property 'isExclusive' - */ - @Test - public void isExclusiveTest() { - // TODO: test isExclusive - } - - /** - * Test the property 'isHidden' - */ - @Test - public void isHiddenTest() { - // TODO: test isHidden - } - - /** - * Test the property 'isMuted' - */ - @Test - public void isMutedTest() { - // TODO: test isMuted - } - - /** - * Test the property 'isPublic' - */ - @Test - public void isPublicTest() { - // TODO: test isPublic - } - - /** - * Test the property 'isPushEnabled' - */ - @Test - public void isPushEnabledTest() { - // TODO: test isPushEnabled - } - - /** - * Test the property 'isSuper' - */ - @Test - public void isSuperTest() { - // TODO: test isSuper - } - - /** - * Test the property 'joinedMemberCount' - */ - @Test - public void joinedMemberCountTest() { - // TODO: test joinedMemberCount - } - - /** - * Test the property 'joinedTs' - */ - @Test - public void joinedTsTest() { - // TODO: test joinedTs - } - - /** - * Test the property 'lastMessage' - */ - @Test - public void lastMessageTest() { - // TODO: test lastMessage - } - - /** - * Test the property 'maxLengthMessage' - */ - @Test - public void maxLengthMessageTest() { - // TODO: test maxLengthMessage - } - - /** - * Test the property 'memberCount' - */ - @Test - public void memberCountTest() { - // TODO: test memberCount - } - - /** - * Test the property 'memberState' - */ - @Test - public void memberStateTest() { - // TODO: test memberState - } - - /** - * Test the property 'members' - */ - @Test - public void membersTest() { - // TODO: test members - } - - /** - * Test the property 'messageSurvivalSeconds' - */ - @Test - public void messageSurvivalSecondsTest() { - // TODO: test messageSurvivalSeconds - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'myRole' - */ - @Test - public void myRoleTest() { - // TODO: test myRole - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'pushTriggerOption' - */ - @Test - public void pushTriggerOptionTest() { - // TODO: test pushTriggerOption - } - - /** - * Test the property 'readReceipt' - */ - @Test - public void readReceiptTest() { - // TODO: test readReceipt - } - - /** - * Test the property 'smsFallback' - */ - @Test - public void smsFallbackTest() { - // TODO: test smsFallback - } - - /** - * Test the property 'tsMessageOffset' - */ - @Test - public void tsMessageOffsetTest() { - // TODO: test tsMessageOffset - } - - /** - * Test the property 'unreadMentionCount' - */ - @Test - public void unreadMentionCountTest() { - // TODO: test unreadMentionCount - } - - /** - * Test the property 'unreadMessageCount' - */ - @Test - public void unreadMessageCountTest() { - // TODO: test unreadMessageCount - } - - /** - * Test the property 'userLastRead' - */ - @Test - public void userLastReadTest() { - // TODO: test userLastRead - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponseTest.java deleted file mode 100644 index 2320d274..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdGetChannelInvitationPreferenceResponseTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdGetChannelInvitationPreferenceResponse - */ -public class SendBirdGetChannelInvitationPreferenceResponseTest { - private final SendBirdGetChannelInvitationPreferenceResponse model = new SendBirdGetChannelInvitationPreferenceResponse(); - - /** - * Model tests for SendBirdGetChannelInvitationPreferenceResponse - */ - @Test - public void testSendBirdGetChannelInvitationPreferenceResponse() { - // TODO: test SendBirdGetChannelInvitationPreferenceResponse - } - - /** - * Test the property 'autoAccept' - */ - @Test - public void autoAcceptTest() { - // TODO: test autoAccept - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponseTest.java deleted file mode 100644 index 4e1aaf4a..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdGetTotalNumberOfMessagesInAChannelResponseTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdGetTotalNumberOfMessagesInAChannelResponse - */ -public class SendBirdGetTotalNumberOfMessagesInAChannelResponseTest { - private final SendBirdGetTotalNumberOfMessagesInAChannelResponse model = new SendBirdGetTotalNumberOfMessagesInAChannelResponse(); - - /** - * Model tests for SendBirdGetTotalNumberOfMessagesInAChannelResponse - */ - @Test - public void testSendBirdGetTotalNumberOfMessagesInAChannelResponse() { - // TODO: test SendBirdGetTotalNumberOfMessagesInAChannelResponse - } - - /** - * Test the property 'total' - */ - @Test - public void totalTest() { - // TODO: test total - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponseTest.java deleted file mode 100644 index 93034457..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdGroupChannelListMembersResponseTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdMember; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdGroupChannelListMembersResponse - */ -public class SendBirdGroupChannelListMembersResponseTest { - private final SendBirdGroupChannelListMembersResponse model = new SendBirdGroupChannelListMembersResponse(); - - /** - * Model tests for SendBirdGroupChannelListMembersResponse - */ - @Test - public void testSendBirdGroupChannelListMembersResponse() { - // TODO: test SendBirdGroupChannelListMembersResponse - } - - /** - * Test the property 'members' - */ - @Test - public void membersTest() { - // TODO: test members - } - - /** - * Test the property 'next' - */ - @Test - public void nextTest() { - // TODO: test next - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponseTest.java deleted file mode 100644 index f67825ec..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdGroupChatListChannelsResponseTest.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdGroupChannel; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdGroupChatListChannelsResponse - */ -public class SendBirdGroupChatListChannelsResponseTest { - private final SendBirdGroupChatListChannelsResponse model = new SendBirdGroupChatListChannelsResponse(); - - /** - * Model tests for SendBirdGroupChatListChannelsResponse - */ - @Test - public void testSendBirdGroupChatListChannelsResponse() { - // TODO: test SendBirdGroupChatListChannelsResponse - } - - /** - * Test the property 'channels' - */ - @Test - public void channelsTest() { - // TODO: test channels - } - - /** - * Test the property 'next' - */ - @Test - public void nextTest() { - // TODO: test next - } - - /** - * Test the property 'ts' - */ - @Test - public void tsTest() { - // TODO: test ts - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdHideAChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdHideAChannelRequestTest.java deleted file mode 100644 index 3c4b102f..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdHideAChannelRequestTest.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdHideAChannelRequest - */ -public class SendBirdHideAChannelRequestTest { - private final SendBirdHideAChannelRequest model = new SendBirdHideAChannelRequest(); - - /** - * Model tests for SendBirdHideAChannelRequest - */ - @Test - public void testSendBirdHideAChannelRequest() { - // TODO: test SendBirdHideAChannelRequest - } - - /** - * Test the property 'allowAutoUnhide' - */ - @Test - public void allowAutoUnhideTest() { - // TODO: test allowAutoUnhide - } - - /** - * Test the property 'hidePreviousMessages' - */ - @Test - public void hidePreviousMessagesTest() { - // TODO: test hidePreviousMessages - } - - /** - * Test the property 'shouldHideAll' - */ - @Test - public void shouldHideAllTest() { - // TODO: test shouldHideAll - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersRequestTest.java deleted file mode 100644 index 2e5a43fa..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersRequestTest.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdInviteAsMembersRequest - */ -public class SendBirdInviteAsMembersRequestTest { - private final SendBirdInviteAsMembersRequest model = new SendBirdInviteAsMembersRequest(); - - /** - * Model tests for SendBirdInviteAsMembersRequest - */ - @Test - public void testSendBirdInviteAsMembersRequest() { - // TODO: test SendBirdInviteAsMembersRequest - } - - /** - * Test the property 'hiddenStatus' - */ - @Test - public void hiddenStatusTest() { - // TODO: test hiddenStatus - } - - /** - * Test the property 'invitationStatus' - */ - @Test - public void invitationStatusTest() { - // TODO: test invitationStatus - } - - /** - * Test the property 'inviterId' - */ - @Test - public void inviterIdTest() { - // TODO: test inviterId - } - - /** - * Test the property 'userIds' - */ - @Test - public void userIdsTest() { - // TODO: test userIds - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOfTest.java b/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOfTest.java deleted file mode 100644 index 2d0bc6e3..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseAllOfTest.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdUser; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdInviteAsMembersResponseAllOf - */ -public class SendBirdInviteAsMembersResponseAllOfTest { - private final SendBirdInviteAsMembersResponseAllOf model = new SendBirdInviteAsMembersResponseAllOf(); - - /** - * Model tests for SendBirdInviteAsMembersResponseAllOf - */ - @Test - public void testSendBirdInviteAsMembersResponseAllOf() { - // TODO: test SendBirdInviteAsMembersResponseAllOf - } - - /** - * Test the property 'operators' - */ - @Test - public void operatorsTest() { - // TODO: test operators - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseTest.java deleted file mode 100644 index ad5bdc9a..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdInviteAsMembersResponseTest.java +++ /dev/null @@ -1,427 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.openapitools.client.model.SendBirdInviteAsMembersResponseAllOf; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendbirdGroupChannel; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdSendbirdMember; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSendbirdSmsFallback; -import org.openapitools.client.model.SendBirdSendbirdUser; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdInviteAsMembersResponse - */ -public class SendBirdInviteAsMembersResponseTest { - private final SendBirdInviteAsMembersResponse model = new SendBirdInviteAsMembersResponse(); - - /** - * Model tests for SendBirdInviteAsMembersResponse - */ - @Test - public void testSendBirdInviteAsMembersResponse() { - // TODO: test SendBirdInviteAsMembersResponse - } - - /** - * Test the property 'channelUrl' - */ - @Test - public void channelUrlTest() { - // TODO: test channelUrl - } - - /** - * Test the property 'countPreference' - */ - @Test - public void countPreferenceTest() { - // TODO: test countPreference - } - - /** - * Test the property 'coverUrl' - */ - @Test - public void coverUrlTest() { - // TODO: test coverUrl - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'createdBy' - */ - @Test - public void createdByTest() { - // TODO: test createdBy - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'deliveryReceipt' - */ - @Test - public void deliveryReceiptTest() { - // TODO: test deliveryReceipt - } - - /** - * Test the property 'disappearingMessage' - */ - @Test - public void disappearingMessageTest() { - // TODO: test disappearingMessage - } - - /** - * Test the property 'freeze' - */ - @Test - public void freezeTest() { - // TODO: test freeze - } - - /** - * Test the property 'hasAiBot' - */ - @Test - public void hasAiBotTest() { - // TODO: test hasAiBot - } - - /** - * Test the property 'hasBot' - */ - @Test - public void hasBotTest() { - // TODO: test hasBot - } - - /** - * Test the property 'hiddenState' - */ - @Test - public void hiddenStateTest() { - // TODO: test hiddenState - } - - /** - * Test the property 'ignoreProfanityFilter' - */ - @Test - public void ignoreProfanityFilterTest() { - // TODO: test ignoreProfanityFilter - } - - /** - * Test the property 'invitedAt' - */ - @Test - public void invitedAtTest() { - // TODO: test invitedAt - } - - /** - * Test the property 'inviter' - */ - @Test - public void inviterTest() { - // TODO: test inviter - } - - /** - * Test the property 'isAccessCodeRequired' - */ - @Test - public void isAccessCodeRequiredTest() { - // TODO: test isAccessCodeRequired - } - - /** - * Test the property 'isBroadcast' - */ - @Test - public void isBroadcastTest() { - // TODO: test isBroadcast - } - - /** - * Test the property 'isDiscoverable' - */ - @Test - public void isDiscoverableTest() { - // TODO: test isDiscoverable - } - - /** - * Test the property 'isDistinct' - */ - @Test - public void isDistinctTest() { - // TODO: test isDistinct - } - - /** - * Test the property 'isEphemeral' - */ - @Test - public void isEphemeralTest() { - // TODO: test isEphemeral - } - - /** - * Test the property 'isExclusive' - */ - @Test - public void isExclusiveTest() { - // TODO: test isExclusive - } - - /** - * Test the property 'isHidden' - */ - @Test - public void isHiddenTest() { - // TODO: test isHidden - } - - /** - * Test the property 'isMuted' - */ - @Test - public void isMutedTest() { - // TODO: test isMuted - } - - /** - * Test the property 'isPublic' - */ - @Test - public void isPublicTest() { - // TODO: test isPublic - } - - /** - * Test the property 'isPushEnabled' - */ - @Test - public void isPushEnabledTest() { - // TODO: test isPushEnabled - } - - /** - * Test the property 'isSuper' - */ - @Test - public void isSuperTest() { - // TODO: test isSuper - } - - /** - * Test the property 'joinedMemberCount' - */ - @Test - public void joinedMemberCountTest() { - // TODO: test joinedMemberCount - } - - /** - * Test the property 'joinedTs' - */ - @Test - public void joinedTsTest() { - // TODO: test joinedTs - } - - /** - * Test the property 'lastMessage' - */ - @Test - public void lastMessageTest() { - // TODO: test lastMessage - } - - /** - * Test the property 'maxLengthMessage' - */ - @Test - public void maxLengthMessageTest() { - // TODO: test maxLengthMessage - } - - /** - * Test the property 'memberCount' - */ - @Test - public void memberCountTest() { - // TODO: test memberCount - } - - /** - * Test the property 'memberState' - */ - @Test - public void memberStateTest() { - // TODO: test memberState - } - - /** - * Test the property 'members' - */ - @Test - public void membersTest() { - // TODO: test members - } - - /** - * Test the property 'messageSurvivalSeconds' - */ - @Test - public void messageSurvivalSecondsTest() { - // TODO: test messageSurvivalSeconds - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'myRole' - */ - @Test - public void myRoleTest() { - // TODO: test myRole - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'pushTriggerOption' - */ - @Test - public void pushTriggerOptionTest() { - // TODO: test pushTriggerOption - } - - /** - * Test the property 'readReceipt' - */ - @Test - public void readReceiptTest() { - // TODO: test readReceipt - } - - /** - * Test the property 'smsFallback' - */ - @Test - public void smsFallbackTest() { - // TODO: test smsFallback - } - - /** - * Test the property 'tsMessageOffset' - */ - @Test - public void tsMessageOffsetTest() { - // TODO: test tsMessageOffset - } - - /** - * Test the property 'unreadMentionCount' - */ - @Test - public void unreadMentionCountTest() { - // TODO: test unreadMentionCount - } - - /** - * Test the property 'unreadMessageCount' - */ - @Test - public void unreadMessageCountTest() { - // TODO: test unreadMessageCount - } - - /** - * Test the property 'userLastRead' - */ - @Test - public void userLastReadTest() { - // TODO: test userLastRead - } - - /** - * Test the property 'operators' - */ - @Test - public void operatorsTest() { - // TODO: test operators - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdJoinAChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdJoinAChannelRequestTest.java deleted file mode 100644 index 7bca77b6..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdJoinAChannelRequestTest.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdJoinAChannelRequest - */ -public class SendBirdJoinAChannelRequestTest { - private final SendBirdJoinAChannelRequest model = new SendBirdJoinAChannelRequest(); - - /** - * Model tests for SendBirdJoinAChannelRequest - */ - @Test - public void testSendBirdJoinAChannelRequest() { - // TODO: test SendBirdJoinAChannelRequest - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - - /** - * Test the property 'accessCode' - */ - @Test - public void accessCodeTest() { - // TODO: test accessCode - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdJoinChannelsRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdJoinChannelsRequestTest.java deleted file mode 100644 index 4b04da4e..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdJoinChannelsRequestTest.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdJoinChannelsRequest - */ -public class SendBirdJoinChannelsRequestTest { - private final SendBirdJoinChannelsRequest model = new SendBirdJoinChannelsRequest(); - - /** - * Model tests for SendBirdJoinChannelsRequest - */ - @Test - public void testSendBirdJoinChannelsRequest() { - // TODO: test SendBirdJoinChannelsRequest - } - - /** - * Test the property 'channelUrls' - */ - @Test - public void channelUrlsTest() { - // TODO: test channelUrls - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdLeaveAChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdLeaveAChannelRequestTest.java deleted file mode 100644 index 841a6ef9..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdLeaveAChannelRequestTest.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdLeaveAChannelRequest - */ -public class SendBirdLeaveAChannelRequestTest { - private final SendBirdLeaveAChannelRequest model = new SendBirdLeaveAChannelRequest(); - - /** - * Model tests for SendBirdLeaveAChannelRequest - */ - @Test - public void testSendBirdLeaveAChannelRequest() { - // TODO: test SendBirdLeaveAChannelRequest - } - - /** - * Test the property 'userIds' - */ - @Test - public void userIdsTest() { - // TODO: test userIds - } - - /** - * Test the property 'shouldLeaveAll' - */ - @Test - public void shouldLeaveAllTest() { - // TODO: test shouldLeaveAll - } - - /** - * Test the property 'shouldRemoveOperatorStatus' - */ - @Test - public void shouldRemoveOperatorStatusTest() { - // TODO: test shouldRemoveOperatorStatus - } - - /** - * Test the property 'reason' - */ - @Test - public void reasonTest() { - // TODO: test reason - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequestTest.java deleted file mode 100644 index 06211ea7..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdLeaveMyGroupChannelsRequestTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdLeaveMyGroupChannelsRequest - */ -public class SendBirdLeaveMyGroupChannelsRequestTest { - private final SendBirdLeaveMyGroupChannelsRequest model = new SendBirdLeaveMyGroupChannelsRequest(); - - /** - * Model tests for SendBirdLeaveMyGroupChannelsRequest - */ - @Test - public void testSendBirdLeaveMyGroupChannelsRequest() { - // TODO: test SendBirdLeaveMyGroupChannelsRequest - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBlockedUsersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBlockedUsersResponseTest.java deleted file mode 100644 index a600df21..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListBlockedUsersResponseTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdUser; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListBlockedUsersResponse - */ -public class SendBirdListBlockedUsersResponseTest { - private final SendBirdListBlockedUsersResponse model = new SendBirdListBlockedUsersResponse(); - - /** - * Model tests for SendBirdListBlockedUsersResponse - */ - @Test - public void testSendBirdListBlockedUsersResponse() { - // TODO: test SendBirdListBlockedUsersResponse - } - - /** - * Test the property 'users' - */ - @Test - public void usersTest() { - // TODO: test users - } - - /** - * Test the property 'next' - */ - @Test - public void nextTest() { - // TODO: test next - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColorTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColorTest.java deleted file mode 100644 index b2c803ea..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleColorTest.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListBotsResponseBotsInnerBotStyleColor - */ -public class SendBirdListBotsResponseBotsInnerBotStyleColorTest { - private final SendBirdListBotsResponseBotsInnerBotStyleColor model = new SendBirdListBotsResponseBotsInnerBotStyleColor(); - - /** - * Model tests for SendBirdListBotsResponseBotsInnerBotStyleColor - */ - @Test - public void testSendBirdListBotsResponseBotsInnerBotStyleColor() { - // TODO: test SendBirdListBotsResponseBotsInnerBotStyleColor - } - - /** - * Test the property 'accentColor' - */ - @Test - public void accentColorTest() { - // TODO: test accentColor - } - - /** - * Test the property 'botMessageColor' - */ - @Test - public void botMessageColorTest() { - // TODO: test botMessageColor - } - - /** - * Test the property 'theme' - */ - @Test - public void themeTest() { - // TODO: test theme - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleTest.java deleted file mode 100644 index fc12a93d..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotStyleTest.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyleColor; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListBotsResponseBotsInnerBotStyle - */ -public class SendBirdListBotsResponseBotsInnerBotStyleTest { - private final SendBirdListBotsResponseBotsInnerBotStyle model = new SendBirdListBotsResponseBotsInnerBotStyle(); - - /** - * Model tests for SendBirdListBotsResponseBotsInnerBotStyle - */ - @Test - public void testSendBirdListBotsResponseBotsInnerBotStyle() { - // TODO: test SendBirdListBotsResponseBotsInnerBotStyle - } - - /** - * Test the property 'autoOpen' - */ - @Test - public void autoOpenTest() { - // TODO: test autoOpen - } - - /** - * Test the property 'color' - */ - @Test - public void colorTest() { - // TODO: test color - } - - /** - * Test the property 'toggleButtonType' - */ - @Test - public void toggleButtonTypeTest() { - // TODO: test toggleButtonType - } - - /** - * Test the property 'toggleButtonUrl' - */ - @Test - public void toggleButtonUrlTest() { - // TODO: test toggleButtonUrl - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotTest.java deleted file mode 100644 index 7716fb0f..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerBotTest.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListBotsResponseBotsInnerBot - */ -public class SendBirdListBotsResponseBotsInnerBotTest { - private final SendBirdListBotsResponseBotsInnerBot model = new SendBirdListBotsResponseBotsInnerBot(); - - /** - * Model tests for SendBirdListBotsResponseBotsInnerBot - */ - @Test - public void testSendBirdListBotsResponseBotsInnerBot() { - // TODO: test SendBirdListBotsResponseBotsInnerBot - } - - /** - * Test the property 'aiAgentType' - */ - @Test - public void aiAgentTypeTest() { - // TODO: test aiAgentType - } - - /** - * Test the property 'botMetadata' - */ - @Test - public void botMetadataTest() { - // TODO: test botMetadata - } - - /** - * Test the property 'botNickname' - */ - @Test - public void botNicknameTest() { - // TODO: test botNickname - } - - /** - * Test the property 'botProfileUrl' - */ - @Test - public void botProfileUrlTest() { - // TODO: test botProfileUrl - } - - /** - * Test the property 'botRequireAuthForProfileImage' - */ - @Test - public void botRequireAuthForProfileImageTest() { - // TODO: test botRequireAuthForProfileImage - } - - /** - * Test the property 'botToken' - */ - @Test - public void botTokenTest() { - // TODO: test botToken - } - - /** - * Test the property 'botType' - */ - @Test - public void botTypeTest() { - // TODO: test botType - } - - /** - * Test the property 'botUserid' - */ - @Test - public void botUseridTest() { - // TODO: test botUserid - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest.java deleted file mode 100644 index f8aff4f0..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListBotsResponseBotsInnerFirstMessagesInnerData - */ -public class SendBirdListBotsResponseBotsInnerFirstMessagesInnerDataTest { - private final SendBirdListBotsResponseBotsInnerFirstMessagesInnerData model = new SendBirdListBotsResponseBotsInnerFirstMessagesInnerData(); - - /** - * Model tests for SendBirdListBotsResponseBotsInnerFirstMessagesInnerData - */ - @Test - public void testSendBirdListBotsResponseBotsInnerFirstMessagesInnerData() { - // TODO: test SendBirdListBotsResponseBotsInnerFirstMessagesInnerData - } - - /** - * Test the property 'suggestedReplies' - */ - @Test - public void suggestedRepliesTest() { - // TODO: test suggestedReplies - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest.java deleted file mode 100644 index c69860c2..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerFirstMessagesInnerData; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListBotsResponseBotsInnerFirstMessagesInner - */ -public class SendBirdListBotsResponseBotsInnerFirstMessagesInnerTest { - private final SendBirdListBotsResponseBotsInnerFirstMessagesInner model = new SendBirdListBotsResponseBotsInnerFirstMessagesInner(); - - /** - * Model tests for SendBirdListBotsResponseBotsInnerFirstMessagesInner - */ - @Test - public void testSendBirdListBotsResponseBotsInnerFirstMessagesInner() { - // TODO: test SendBirdListBotsResponseBotsInnerFirstMessagesInner - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguardTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguardTest.java deleted file mode 100644 index b17a0de5..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerSafeguardTest.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListBotsResponseBotsInnerSafeguard - */ -public class SendBirdListBotsResponseBotsInnerSafeguardTest { - private final SendBirdListBotsResponseBotsInnerSafeguard model = new SendBirdListBotsResponseBotsInnerSafeguard(); - - /** - * Model tests for SendBirdListBotsResponseBotsInnerSafeguard - */ - @Test - public void testSendBirdListBotsResponseBotsInnerSafeguard() { - // TODO: test SendBirdListBotsResponseBotsInnerSafeguard - } - - /** - * Test the property 'bannedPhrases' - */ - @Test - public void bannedPhrasesTest() { - // TODO: test bannedPhrases - } - - /** - * Test the property 'enabled' - */ - @Test - public void enabledTest() { - // TODO: test enabled - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'piiMasking' - */ - @Test - public void piiMaskingTest() { - // TODO: test piiMasking - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerTest.java deleted file mode 100644 index b99d906c..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseBotsInnerTest.java +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBot; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerBotStyle; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerFirstMessagesInner; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInnerSafeguard; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListBotsResponseBotsInner - */ -public class SendBirdListBotsResponseBotsInnerTest { - private final SendBirdListBotsResponseBotsInner model = new SendBirdListBotsResponseBotsInner(); - - /** - * Model tests for SendBirdListBotsResponseBotsInner - */ - @Test - public void testSendBirdListBotsResponseBotsInner() { - // TODO: test SendBirdListBotsResponseBotsInner - } - - /** - * Test the property 'bot' - */ - @Test - public void botTest() { - // TODO: test bot - } - - /** - * Test the property 'botCallbackUrl' - */ - @Test - public void botCallbackUrlTest() { - // TODO: test botCallbackUrl - } - - /** - * Test the property 'botStyle' - */ - @Test - public void botStyleTest() { - // TODO: test botStyle - } - - /** - * Test the property 'channelInvitationPreference' - */ - @Test - public void channelInvitationPreferenceTest() { - // TODO: test channelInvitationPreference - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'enableMarkAsRead' - */ - @Test - public void enableMarkAsReadTest() { - // TODO: test enableMarkAsRead - } - - /** - * Test the property 'firstMessages' - */ - @Test - public void firstMessagesTest() { - // TODO: test firstMessages - } - - /** - * Test the property 'isPrivacyMode' - */ - @Test - public void isPrivacyModeTest() { - // TODO: test isPrivacyMode - } - - /** - * Test the property 'safeguard' - */ - @Test - public void safeguardTest() { - // TODO: test safeguard - } - - /** - * Test the property 'showMember' - */ - @Test - public void showMemberTest() { - // TODO: test showMember - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseTest.java deleted file mode 100644 index 33b18ac2..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListBotsResponseTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdListBotsResponseBotsInner; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListBotsResponse - */ -public class SendBirdListBotsResponseTest { - private final SendBirdListBotsResponse model = new SendBirdListBotsResponse(); - - /** - * Model tests for SendBirdListBotsResponse - */ - @Test - public void testSendBirdListBotsResponse() { - // TODO: test SendBirdListBotsResponse - } - - /** - * Test the property 'bots' - */ - @Test - public void botsTest() { - // TODO: test bots - } - - /** - * Test the property 'next' - */ - @Test - public void nextTest() { - // TODO: test next - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListMessagesResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListMessagesResponseTest.java deleted file mode 100644 index 7d30546d..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListMessagesResponseTest.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdMessageResponse; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListMessagesResponse - */ -public class SendBirdListMessagesResponseTest { - private final SendBirdListMessagesResponse model = new SendBirdListMessagesResponse(); - - /** - * Model tests for SendBirdListMessagesResponse - */ - @Test - public void testSendBirdListMessagesResponse() { - // TODO: test SendBirdListMessagesResponse - } - - /** - * Test the property 'messages' - */ - @Test - public void messagesTest() { - // TODO: test messages - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponseTest.java deleted file mode 100644 index 7f215c26..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListMyGroupChannelsResponseTest.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdGroupChannel; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListMyGroupChannelsResponse - */ -public class SendBirdListMyGroupChannelsResponseTest { - private final SendBirdListMyGroupChannelsResponse model = new SendBirdListMyGroupChannelsResponse(); - - /** - * Model tests for SendBirdListMyGroupChannelsResponse - */ - @Test - public void testSendBirdListMyGroupChannelsResponse() { - // TODO: test SendBirdListMyGroupChannelsResponse - } - - /** - * Test the property 'channels' - */ - @Test - public void channelsTest() { - // TODO: test channels - } - - /** - * Test the property 'next' - */ - @Test - public void nextTest() { - // TODO: test next - } - - /** - * Test the property 'ts' - */ - @Test - public void tsTest() { - // TODO: test ts - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListOpenChannelsResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListOpenChannelsResponseTest.java deleted file mode 100644 index 541431e3..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListOpenChannelsResponseTest.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdOpenChannel; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListOpenChannelsResponse - */ -public class SendBirdListOpenChannelsResponseTest { - private final SendBirdListOpenChannelsResponse model = new SendBirdListOpenChannelsResponse(); - - /** - * Model tests for SendBirdListOpenChannelsResponse - */ - @Test - public void testSendBirdListOpenChannelsResponse() { - // TODO: test SendBirdListOpenChannelsResponse - } - - /** - * Test the property 'channels' - */ - @Test - public void channelsTest() { - // TODO: test channels - } - - /** - * Test the property 'next' - */ - @Test - public void nextTest() { - // TODO: test next - } - - /** - * Test the property 'ts' - */ - @Test - public void tsTest() { - // TODO: test ts - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListOperatorsResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListOperatorsResponseTest.java deleted file mode 100644 index 0bc718f3..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListOperatorsResponseTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListOperatorsResponse - */ -public class SendBirdListOperatorsResponseTest { - private final SendBirdListOperatorsResponse model = new SendBirdListOperatorsResponse(); - - /** - * Model tests for SendBirdListOperatorsResponse - */ - @Test - public void testSendBirdListOperatorsResponse() { - // TODO: test SendBirdListOperatorsResponse - } - - /** - * Test the property 'next' - */ - @Test - public void nextTest() { - // TODO: test next - } - - /** - * Test the property 'operators' - */ - @Test - public void operatorsTest() { - // TODO: test operators - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponseTest.java deleted file mode 100644 index a8d7584c..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListRegistrationOrDeviceTokensResponseTest.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListRegistrationOrDeviceTokensResponse - */ -public class SendBirdListRegistrationOrDeviceTokensResponseTest { - private final SendBirdListRegistrationOrDeviceTokensResponse model = new SendBirdListRegistrationOrDeviceTokensResponse(); - - /** - * Model tests for SendBirdListRegistrationOrDeviceTokensResponse - */ - @Test - public void testSendBirdListRegistrationOrDeviceTokensResponse() { - // TODO: test SendBirdListRegistrationOrDeviceTokensResponse - } - - /** - * Test the property 'token' - */ - @Test - public void tokenTest() { - // TODO: test token - } - - /** - * Test the property 'tokens' - */ - @Test - public void tokensTest() { - // TODO: test tokens - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'user' - */ - @Test - public void userTest() { - // TODO: test user - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdListUsersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdListUsersResponseTest.java deleted file mode 100644 index 1706d762..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdListUsersResponseTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdUser; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdListUsersResponse - */ -public class SendBirdListUsersResponseTest { - private final SendBirdListUsersResponse model = new SendBirdListUsersResponse(); - - /** - * Model tests for SendBirdListUsersResponse - */ - @Test - public void testSendBirdListUsersResponse() { - // TODO: test SendBirdListUsersResponse - } - - /** - * Test the property 'next' - */ - @Test - public void nextTest() { - // TODO: test next - } - - /** - * Test the property 'users' - */ - @Test - public void usersTest() { - // TODO: test users - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequestTest.java deleted file mode 100644 index 2a127b8f..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdMarkAllMessagesAsReadRequestTest.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdMarkAllMessagesAsReadRequest - */ -public class SendBirdMarkAllMessagesAsReadRequestTest { - private final SendBirdMarkAllMessagesAsReadRequest model = new SendBirdMarkAllMessagesAsReadRequest(); - - /** - * Model tests for SendBirdMarkAllMessagesAsReadRequest - */ - @Test - public void testSendBirdMarkAllMessagesAsReadRequest() { - // TODO: test SendBirdMarkAllMessagesAsReadRequest - } - - /** - * Test the property 'channelUrls' - */ - @Test - public void channelUrlsTest() { - // TODO: test channelUrls - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequestTest.java deleted file mode 100644 index 6f55f69d..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdMarkChannelMessagesAsReadRequestTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdMarkChannelMessagesAsReadRequest - */ -public class SendBirdMarkChannelMessagesAsReadRequestTest { - private final SendBirdMarkChannelMessagesAsReadRequest model = new SendBirdMarkChannelMessagesAsReadRequest(); - - /** - * Model tests for SendBirdMarkChannelMessagesAsReadRequest - */ - @Test - public void testSendBirdMarkChannelMessagesAsReadRequest() { - // TODO: test SendBirdMarkChannelMessagesAsReadRequest - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequestTest.java deleted file mode 100644 index 25c848fe..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesAdminMessageRequestTest.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdMigrateMessagesAdminMessageRequest - */ -public class SendBirdMigrateMessagesAdminMessageRequestTest { - private final SendBirdMigrateMessagesAdminMessageRequest model = new SendBirdMigrateMessagesAdminMessageRequest(); - - /** - * Model tests for SendBirdMigrateMessagesAdminMessageRequest - */ - @Test - public void testSendBirdMigrateMessagesAdminMessageRequest() { - // TODO: test SendBirdMigrateMessagesAdminMessageRequest - } - - /** - * Test the property 'messageType' - */ - @Test - public void messageTypeTest() { - // TODO: test messageType - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'timestamp' - */ - @Test - public void timestampTest() { - // TODO: test timestamp - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'isSilent' - */ - @Test - public void isSilentTest() { - // TODO: test isSilent - } - - /** - * Test the property 'mentionedUserIds' - */ - @Test - public void mentionedUserIdsTest() { - // TODO: test mentionedUserIds - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'dedupId' - */ - @Test - public void dedupIdTest() { - // TODO: test dedupId - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestTest.java deleted file mode 100644 index 89bc69a1..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestTest.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequestThumbnailsInner; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdMigrateMessagesFileMessageRequest - */ -public class SendBirdMigrateMessagesFileMessageRequestTest { - private final SendBirdMigrateMessagesFileMessageRequest model = new SendBirdMigrateMessagesFileMessageRequest(); - - /** - * Model tests for SendBirdMigrateMessagesFileMessageRequest - */ - @Test - public void testSendBirdMigrateMessagesFileMessageRequest() { - // TODO: test SendBirdMigrateMessagesFileMessageRequest - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - - /** - * Test the property 'messageType' - */ - @Test - public void messageTypeTest() { - // TODO: test messageType - } - - /** - * Test the property 'url' - */ - @Test - public void urlTest() { - // TODO: test url - } - - /** - * Test the property 'timestamp' - */ - @Test - public void timestampTest() { - // TODO: test timestamp - } - - /** - * Test the property 'fileName' - */ - @Test - public void fileNameTest() { - // TODO: test fileName - } - - /** - * Test the property 'fileSize' - */ - @Test - public void fileSizeTest() { - // TODO: test fileSize - } - - /** - * Test the property 'fileType' - */ - @Test - public void fileTypeTest() { - // TODO: test fileType - } - - /** - * Test the property 'thumbnails' - */ - @Test - public void thumbnailsTest() { - // TODO: test thumbnails - } - - /** - * Test the property 'requireAuth' - */ - @Test - public void requireAuthTest() { - // TODO: test requireAuth - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'customField' - */ - @Test - public void customFieldTest() { - // TODO: test customField - } - - /** - * Test the property 'mentionedUserIds' - */ - @Test - public void mentionedUserIdsTest() { - // TODO: test mentionedUserIds - } - - /** - * Test the property 'dedupId' - */ - @Test - public void dedupIdTest() { - // TODO: test dedupId - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest.java deleted file mode 100644 index 68c75f83..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdMigrateMessagesFileMessageRequestThumbnailsInner - */ -public class SendBirdMigrateMessagesFileMessageRequestThumbnailsInnerTest { - private final SendBirdMigrateMessagesFileMessageRequestThumbnailsInner model = new SendBirdMigrateMessagesFileMessageRequestThumbnailsInner(); - - /** - * Model tests for SendBirdMigrateMessagesFileMessageRequestThumbnailsInner - */ - @Test - public void testSendBirdMigrateMessagesFileMessageRequestThumbnailsInner() { - // TODO: test SendBirdMigrateMessagesFileMessageRequestThumbnailsInner - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInnerTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInnerTest.java deleted file mode 100644 index 9fa74736..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestMessagesInnerTest.java +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdMigrateMessagesAdminMessageRequest; -import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequest; -import org.openapitools.client.model.SendBirdMigrateMessagesFileMessageRequestThumbnailsInner; -import org.openapitools.client.model.SendBirdMigrateMessagesTextMessageRequest; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdMigrateMessagesRequestMessagesInner - */ -public class SendBirdMigrateMessagesRequestMessagesInnerTest { - private final SendBirdMigrateMessagesRequestMessagesInner model = new SendBirdMigrateMessagesRequestMessagesInner(); - - /** - * Model tests for SendBirdMigrateMessagesRequestMessagesInner - */ - @Test - public void testSendBirdMigrateMessagesRequestMessagesInner() { - // TODO: test SendBirdMigrateMessagesRequestMessagesInner - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - - /** - * Test the property 'messageType' - */ - @Test - public void messageTypeTest() { - // TODO: test messageType - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'timestamp' - */ - @Test - public void timestampTest() { - // TODO: test timestamp - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'mentionedUserIds' - */ - @Test - public void mentionedUserIdsTest() { - // TODO: test mentionedUserIds - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'dedupId' - */ - @Test - public void dedupIdTest() { - // TODO: test dedupId - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - - /** - * Test the property 'url' - */ - @Test - public void urlTest() { - // TODO: test url - } - - /** - * Test the property 'fileName' - */ - @Test - public void fileNameTest() { - // TODO: test fileName - } - - /** - * Test the property 'fileSize' - */ - @Test - public void fileSizeTest() { - // TODO: test fileSize - } - - /** - * Test the property 'fileType' - */ - @Test - public void fileTypeTest() { - // TODO: test fileType - } - - /** - * Test the property 'thumbnails' - */ - @Test - public void thumbnailsTest() { - // TODO: test thumbnails - } - - /** - * Test the property 'requireAuth' - */ - @Test - public void requireAuthTest() { - // TODO: test requireAuth - } - - /** - * Test the property 'customField' - */ - @Test - public void customFieldTest() { - // TODO: test customField - } - - /** - * Test the property 'isSilent' - */ - @Test - public void isSilentTest() { - // TODO: test isSilent - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestTest.java deleted file mode 100644 index 5e4d9ae2..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesRequestTest.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdMigrateMessagesRequestMessagesInner; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdMigrateMessagesRequest - */ -public class SendBirdMigrateMessagesRequestTest { - private final SendBirdMigrateMessagesRequest model = new SendBirdMigrateMessagesRequest(); - - /** - * Model tests for SendBirdMigrateMessagesRequest - */ - @Test - public void testSendBirdMigrateMessagesRequest() { - // TODO: test SendBirdMigrateMessagesRequest - } - - /** - * Test the property 'messages' - */ - @Test - public void messagesTest() { - // TODO: test messages - } - - /** - * Test the property 'updateReadTs' - */ - @Test - public void updateReadTsTest() { - // TODO: test updateReadTs - } - - /** - * Test the property 'rewindReadTs' - */ - @Test - public void rewindReadTsTest() { - // TODO: test rewindReadTs - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequestTest.java deleted file mode 100644 index 8157ad43..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdMigrateMessagesTextMessageRequestTest.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdMigrateMessagesTextMessageRequest - */ -public class SendBirdMigrateMessagesTextMessageRequestTest { - private final SendBirdMigrateMessagesTextMessageRequest model = new SendBirdMigrateMessagesTextMessageRequest(); - - /** - * Model tests for SendBirdMigrateMessagesTextMessageRequest - */ - @Test - public void testSendBirdMigrateMessagesTextMessageRequest() { - // TODO: test SendBirdMigrateMessagesTextMessageRequest - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - - /** - * Test the property 'messageType' - */ - @Test - public void messageTypeTest() { - // TODO: test messageType - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'timestamp' - */ - @Test - public void timestampTest() { - // TODO: test timestamp - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'mentionedUserIds' - */ - @Test - public void mentionedUserIdsTest() { - // TODO: test mentionedUserIds - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'dedupId' - */ - @Test - public void dedupIdTest() { - // TODO: test dedupId - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequestTest.java deleted file mode 100644 index 1eebc6ab..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdRegisterOperatorsToAGroupChannelRequestTest.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdRegisterOperatorsToAGroupChannelRequest - */ -public class SendBirdRegisterOperatorsToAGroupChannelRequestTest { - private final SendBirdRegisterOperatorsToAGroupChannelRequest model = new SendBirdRegisterOperatorsToAGroupChannelRequest(); - - /** - * Model tests for SendBirdRegisterOperatorsToAGroupChannelRequest - */ - @Test - public void testSendBirdRegisterOperatorsToAGroupChannelRequest() { - // TODO: test SendBirdRegisterOperatorsToAGroupChannelRequest - } - - /** - * Test the property 'operatorIds' - */ - @Test - public void operatorIdsTest() { - // TODO: test operatorIds - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponseTest.java deleted file mode 100644 index 8c117f3c..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdRemoveARegistrationOrDeviceTokenResponseTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdRemoveARegistrationOrDeviceTokenResponse - */ -public class SendBirdRemoveARegistrationOrDeviceTokenResponseTest { - private final SendBirdRemoveARegistrationOrDeviceTokenResponse model = new SendBirdRemoveARegistrationOrDeviceTokenResponse(); - - /** - * Model tests for SendBirdRemoveARegistrationOrDeviceTokenResponse - */ - @Test - public void testSendBirdRemoveARegistrationOrDeviceTokenResponse() { - // TODO: test SendBirdRemoveARegistrationOrDeviceTokenResponse - } - - /** - * Test the property 'token' - */ - @Test - public void tokenTest() { - // TODO: test token - } - - /** - * Test the property 'user' - */ - @Test - public void userTest() { - // TODO: test user - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest.java deleted file mode 100644 index 6e2f7abf..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdRemoveAllRegistrationOrDeviceTokenResponse - */ -public class SendBirdRemoveAllRegistrationOrDeviceTokenResponseTest { - private final SendBirdRemoveAllRegistrationOrDeviceTokenResponse model = new SendBirdRemoveAllRegistrationOrDeviceTokenResponse(); - - /** - * Model tests for SendBirdRemoveAllRegistrationOrDeviceTokenResponse - */ - @Test - public void testSendBirdRemoveAllRegistrationOrDeviceTokenResponse() { - // TODO: test SendBirdRemoveAllRegistrationOrDeviceTokenResponse - } - - /** - * Test the property 'token' - */ - @Test - public void tokenTest() { - // TODO: test token - } - - /** - * Test the property 'user' - */ - @Test - public void userTest() { - // TODO: test user - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryRequestTest.java deleted file mode 100644 index d4959296..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryRequestTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdResetChatHistoryRequest - */ -public class SendBirdResetChatHistoryRequestTest { - private final SendBirdResetChatHistoryRequest model = new SendBirdResetChatHistoryRequest(); - - /** - * Model tests for SendBirdResetChatHistoryRequest - */ - @Test - public void testSendBirdResetChatHistoryRequest() { - // TODO: test SendBirdResetChatHistoryRequest - } - - /** - * Test the property 'resetAll' - */ - @Test - public void resetAllTest() { - // TODO: test resetAll - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryResponseTest.java deleted file mode 100644 index 7c71fbd8..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdResetChatHistoryResponseTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdResetChatHistoryResponse - */ -public class SendBirdResetChatHistoryResponseTest { - private final SendBirdResetChatHistoryResponse model = new SendBirdResetChatHistoryResponse(); - - /** - * Model tests for SendBirdResetChatHistoryResponse - */ - @Test - public void testSendBirdResetChatHistoryResponse() { - // TODO: test SendBirdResetChatHistoryResponse - } - - /** - * Test the property 'tsMessageOffset' - */ - @Test - public void tsMessageOffsetTest() { - // TODO: test tsMessageOffset - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest.java b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest.java deleted file mode 100644 index fe8bb952..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdScheduleAnAnnouncementRequestCreateChannelOptions - */ -public class SendBirdScheduleAnAnnouncementRequestCreateChannelOptionsTest { - private final SendBirdScheduleAnAnnouncementRequestCreateChannelOptions model = new SendBirdScheduleAnAnnouncementRequestCreateChannelOptions(); - - /** - * Model tests for SendBirdScheduleAnAnnouncementRequestCreateChannelOptions - */ - @Test - public void testSendBirdScheduleAnAnnouncementRequestCreateChannelOptions() { - // TODO: test SendBirdScheduleAnAnnouncementRequestCreateChannelOptions - } - - /** - * Test the property 'coverUrl' - */ - @Test - public void coverUrlTest() { - // TODO: test coverUrl - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'distinct' - */ - @Test - public void distinctTest() { - // TODO: test distinct - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessageTest.java b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessageTest.java deleted file mode 100644 index fb914b03..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestMessageTest.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdScheduleAnAnnouncementRequestMessage - */ -public class SendBirdScheduleAnAnnouncementRequestMessageTest { - private final SendBirdScheduleAnAnnouncementRequestMessage model = new SendBirdScheduleAnAnnouncementRequestMessage(); - - /** - * Model tests for SendBirdScheduleAnAnnouncementRequestMessage - */ - @Test - public void testSendBirdScheduleAnAnnouncementRequestMessage() { - // TODO: test SendBirdScheduleAnAnnouncementRequestMessage - } - - /** - * Test the property 'content' - */ - @Test - public void contentTest() { - // TODO: test content - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestTest.java deleted file mode 100644 index 465fc4f0..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementRequestTest.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestCreateChannelOptions; -import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestMessage; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdScheduleAnAnnouncementRequest - */ -public class SendBirdScheduleAnAnnouncementRequestTest { - private final SendBirdScheduleAnAnnouncementRequest model = new SendBirdScheduleAnAnnouncementRequest(); - - /** - * Model tests for SendBirdScheduleAnAnnouncementRequest - */ - @Test - public void testSendBirdScheduleAnAnnouncementRequest() { - // TODO: test SendBirdScheduleAnAnnouncementRequest - } - - /** - * Test the property 'announcementGroup' - */ - @Test - public void announcementGroupTest() { - // TODO: test announcementGroup - } - - /** - * Test the property 'assignSenderAsChannelInviter' - */ - @Test - public void assignSenderAsChannelInviterTest() { - // TODO: test assignSenderAsChannelInviter - } - - /** - * Test the property 'ceaseAt' - */ - @Test - public void ceaseAtTest() { - // TODO: test ceaseAt - } - - /** - * Test the property 'createChannel' - */ - @Test - public void createChannelTest() { - // TODO: test createChannel - } - - /** - * Test the property 'createChannelOptions' - */ - @Test - public void createChannelOptionsTest() { - // TODO: test createChannelOptions - } - - /** - * Test the property 'enablePush' - */ - @Test - public void enablePushTest() { - // TODO: test enablePush - } - - /** - * Test the property 'endAt' - */ - @Test - public void endAtTest() { - // TODO: test endAt - } - - /** - * Test the property 'keepChannelHiddenForSender' - */ - @Test - public void keepChannelHiddenForSenderTest() { - // TODO: test keepChannelHiddenForSender - } - - /** - * Test the property 'markAsRead' - */ - @Test - public void markAsReadTest() { - // TODO: test markAsRead - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'resumeAt' - */ - @Test - public void resumeAtTest() { - // TODO: test resumeAt - } - - /** - * Test the property 'scheduledAt' - */ - @Test - public void scheduledAtTest() { - // TODO: test scheduledAt - } - - /** - * Test the property 'sendToFrozenChannels' - */ - @Test - public void sendToFrozenChannelsTest() { - // TODO: test sendToFrozenChannels - } - - /** - * Test the property 'targetAt' - */ - @Test - public void targetAtTest() { - // TODO: test targetAt - } - - /** - * Test the property 'targetChannelType' - */ - @Test - public void targetChannelTypeTest() { - // TODO: test targetChannelType - } - - /** - * Test the property 'targetCustomType' - */ - @Test - public void targetCustomTypeTest() { - // TODO: test targetCustomType - } - - /** - * Test the property 'targetList' - */ - @Test - public void targetListTest() { - // TODO: test targetList - } - - /** - * Test the property 'uniqueId' - */ - @Test - public void uniqueIdTest() { - // TODO: test uniqueId - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessageTest.java b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessageTest.java deleted file mode 100644 index effcb792..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseMessageTest.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdScheduleAnAnnouncementResponseMessage - */ -public class SendBirdScheduleAnAnnouncementResponseMessageTest { - private final SendBirdScheduleAnAnnouncementResponseMessage model = new SendBirdScheduleAnAnnouncementResponseMessage(); - - /** - * Model tests for SendBirdScheduleAnAnnouncementResponseMessage - */ - @Test - public void testSendBirdScheduleAnAnnouncementResponseMessage() { - // TODO: test SendBirdScheduleAnAnnouncementResponseMessage - } - - /** - * Test the property 'content' - */ - @Test - public void contentTest() { - // TODO: test content - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'messageRetentionHour' - */ - @Test - public void messageRetentionHourTest() { - // TODO: test messageRetentionHour - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseTest.java deleted file mode 100644 index 47adfec5..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdScheduleAnAnnouncementResponseTest.java +++ /dev/null @@ -1,237 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import org.openapitools.client.model.SendBirdScheduleAnAnnouncementRequestCreateChannelOptions; -import org.openapitools.client.model.SendBirdScheduleAnAnnouncementResponseMessage; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdScheduleAnAnnouncementResponse - */ -public class SendBirdScheduleAnAnnouncementResponseTest { - private final SendBirdScheduleAnAnnouncementResponse model = new SendBirdScheduleAnAnnouncementResponse(); - - /** - * Model tests for SendBirdScheduleAnAnnouncementResponse - */ - @Test - public void testSendBirdScheduleAnAnnouncementResponse() { - // TODO: test SendBirdScheduleAnAnnouncementResponse - } - - /** - * Test the property 'announcementGroup' - */ - @Test - public void announcementGroupTest() { - // TODO: test announcementGroup - } - - /** - * Test the property 'ceaseAt' - */ - @Test - public void ceaseAtTest() { - // TODO: test ceaseAt - } - - /** - * Test the property 'completedAt' - */ - @Test - public void completedAtTest() { - // TODO: test completedAt - } - - /** - * Test the property 'createChannel' - */ - @Test - public void createChannelTest() { - // TODO: test createChannel - } - - /** - * Test the property 'createChannelOptions' - */ - @Test - public void createChannelOptionsTest() { - // TODO: test createChannelOptions - } - - /** - * Test the property 'enablePush' - */ - @Test - public void enablePushTest() { - // TODO: test enablePush - } - - /** - * Test the property 'endAt' - */ - @Test - public void endAtTest() { - // TODO: test endAt - } - - /** - * Test the property 'markAsRead' - */ - @Test - public void markAsReadTest() { - // TODO: test markAsRead - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'openCount' - */ - @Test - public void openCountTest() { - // TODO: test openCount - } - - /** - * Test the property 'openRate' - */ - @Test - public void openRateTest() { - // TODO: test openRate - } - - /** - * Test the property 'priority' - */ - @Test - public void priorityTest() { - // TODO: test priority - } - - /** - * Test the property 'resumeAt' - */ - @Test - public void resumeAtTest() { - // TODO: test resumeAt - } - - /** - * Test the property 'scheduledAt' - */ - @Test - public void scheduledAtTest() { - // TODO: test scheduledAt - } - - /** - * Test the property 'sendToFrozenChannels' - */ - @Test - public void sendToFrozenChannelsTest() { - // TODO: test sendToFrozenChannels - } - - /** - * Test the property 'sentChannelCount' - */ - @Test - public void sentChannelCountTest() { - // TODO: test sentChannelCount - } - - /** - * Test the property 'sentUserCount' - */ - @Test - public void sentUserCountTest() { - // TODO: test sentUserCount - } - - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } - - /** - * Test the property 'targetAt' - */ - @Test - public void targetAtTest() { - // TODO: test targetAt - } - - /** - * Test the property 'targetChannelCount' - */ - @Test - public void targetChannelCountTest() { - // TODO: test targetChannelCount - } - - /** - * Test the property 'targetChannelType' - */ - @Test - public void targetChannelTypeTest() { - // TODO: test targetChannelType - } - - /** - * Test the property 'targetCustomType' - */ - @Test - public void targetCustomTypeTest() { - // TODO: test targetCustomType - } - - /** - * Test the property 'targetUserCount' - */ - @Test - public void targetUserCountTest() { - // TODO: test targetUserCount - } - - /** - * Test the property 'uniqueId' - */ - @Test - public void uniqueIdTest() { - // TODO: test uniqueId - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendABotMessageResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendABotMessageResponseTest.java deleted file mode 100644 index d161625b..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendABotMessageResponseTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdMessageResponse; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendABotMessageResponse - */ -public class SendBirdSendABotMessageResponseTest { - private final SendBirdSendABotMessageResponse model = new SendBirdSendABotMessageResponse(); - - /** - * Model tests for SendBirdSendABotMessageResponse - */ - @Test - public void testSendBirdSendABotMessageResponse() { - // TODO: test SendBirdSendABotMessageResponse - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOfTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOfTest.java deleted file mode 100644 index 8c4ec01e..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateOneOfTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendAMessageRequestPushMessageTemplateOneOf - */ -public class SendBirdSendAMessageRequestPushMessageTemplateOneOfTest { - private final SendBirdSendAMessageRequestPushMessageTemplateOneOf model = new SendBirdSendAMessageRequestPushMessageTemplateOneOf(); - - /** - * Model tests for SendBirdSendAMessageRequestPushMessageTemplateOneOf - */ - @Test - public void testSendBirdSendAMessageRequestPushMessageTemplateOneOf() { - // TODO: test SendBirdSendAMessageRequestPushMessageTemplateOneOf - } - - /** - * Test the property 'title' - */ - @Test - public void titleTest() { - // TODO: test title - } - - /** - * Test the property 'body' - */ - @Test - public void bodyTest() { - // TODO: test body - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateTest.java deleted file mode 100644 index a3fb663d..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestPushMessageTemplateTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplateOneOf; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendAMessageRequestPushMessageTemplate - */ -public class SendBirdSendAMessageRequestPushMessageTemplateTest { - private final SendBirdSendAMessageRequestPushMessageTemplate model = new SendBirdSendAMessageRequestPushMessageTemplate(); - - /** - * Model tests for SendBirdSendAMessageRequestPushMessageTemplate - */ - @Test - public void testSendBirdSendAMessageRequestPushMessageTemplate() { - // TODO: test SendBirdSendAMessageRequestPushMessageTemplate - } - - /** - * Test the property 'title' - */ - @Test - public void titleTest() { - // TODO: test title - } - - /** - * Test the property 'body' - */ - @Test - public void bodyTest() { - // TODO: test body - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestTest.java deleted file mode 100644 index 82f25d3c..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendAMessageRequestTest.java +++ /dev/null @@ -1,256 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplate; -import org.openapitools.client.model.SendBirdSendbirdFile; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendAMessageRequest - */ -public class SendBirdSendAMessageRequestTest { - private final SendBirdSendAMessageRequest model = new SendBirdSendAMessageRequest(); - - /** - * Model tests for SendBirdSendAMessageRequest - */ - @Test - public void testSendBirdSendAMessageRequest() { - // TODO: test SendBirdSendAMessageRequest - } - - /** - * Test the property 'messageType' - */ - @Test - public void messageTypeTest() { - // TODO: test messageType - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'pushMessageTemplate' - */ - @Test - public void pushMessageTemplateTest() { - // TODO: test pushMessageTemplate - } - - /** - * Test the property 'pollId' - */ - @Test - public void pollIdTest() { - // TODO: test pollId - } - - /** - * Test the property 'files' - */ - @Test - public void filesTest() { - // TODO: test files - } - - /** - * Test the property 'requireAuth' - */ - @Test - public void requireAuthTest() { - // TODO: test requireAuth - } - - /** - * Test the property 'thumbnail1' - */ - @Test - public void thumbnail1Test() { - // TODO: test thumbnail1 - } - - /** - * Test the property 'thumbnail2' - */ - @Test - public void thumbnail2Test() { - // TODO: test thumbnail2 - } - - /** - * Test the property 'thumbnail3' - */ - @Test - public void thumbnail3Test() { - // TODO: test thumbnail3 - } - - /** - * Test the property 'thumbnails' - */ - @Test - public void thumbnailsTest() { - // TODO: test thumbnails - } - - /** - * Test the property 'apnsBundleId' - */ - @Test - public void apnsBundleIdTest() { - // TODO: test apnsBundleId - } - - /** - * Test the property 'appleCriticalAlertOptions' - */ - @Test - public void appleCriticalAlertOptionsTest() { - // TODO: test appleCriticalAlertOptions - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'dedupId' - */ - @Test - public void dedupIdTest() { - // TODO: test dedupId - } - - /** - * Test the property 'includePollDetails' - */ - @Test - public void includePollDetailsTest() { - // TODO: test includePollDetails - } - - /** - * Test the property 'isSilent' - */ - @Test - public void isSilentTest() { - // TODO: test isSilent - } - - /** - * Test the property 'markAsRead' - */ - @Test - public void markAsReadTest() { - // TODO: test markAsRead - } - - /** - * Test the property 'mentionType' - */ - @Test - public void mentionTypeTest() { - // TODO: test mentionType - } - - /** - * Test the property 'mentionedUserIds' - */ - @Test - public void mentionedUserIdsTest() { - // TODO: test mentionedUserIds - } - - /** - * Test the property 'sendPush' - */ - @Test - public void sendPushTest() { - // TODO: test sendPush - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - - /** - * Test the property 'sound' - */ - @Test - public void soundTest() { - // TODO: test sound - } - - /** - * Test the property 'volume' - */ - @Test - public void volumeTest() { - // TODO: test volume - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBodyTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBodyTest.java deleted file mode 100644 index 88b144e9..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendAdminMessageRequestBodyTest.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendTextMessageRequestBodyPushMessageTemplate; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendAdminMessageRequestBody - */ -public class SendBirdSendAdminMessageRequestBodyTest { - private final SendBirdSendAdminMessageRequestBody model = new SendBirdSendAdminMessageRequestBody(); - - /** - * Model tests for SendBirdSendAdminMessageRequestBody - */ - @Test - public void testSendBirdSendAdminMessageRequestBody() { - // TODO: test SendBirdSendAdminMessageRequestBody - } - - /** - * Test the property 'apnsBundleId' - */ - @Test - public void apnsBundleIdTest() { - // TODO: test apnsBundleId - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'dedupId' - */ - @Test - public void dedupIdTest() { - // TODO: test dedupId - } - - /** - * Test the property 'isSilent' - */ - @Test - public void isSilentTest() { - // TODO: test isSilent - } - - /** - * Test the property 'mentionType' - */ - @Test - public void mentionTypeTest() { - // TODO: test mentionType - } - - /** - * Test the property 'mentionedUserIds' - */ - @Test - public void mentionedUserIdsTest() { - // TODO: test mentionedUserIds - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'messageType' - */ - @Test - public void messageTypeTest() { - // TODO: test messageType - } - - /** - * Test the property 'pushMessageTemplate' - */ - @Test - public void pushMessageTemplateTest() { - // TODO: test pushMessageTemplate - } - - /** - * Test the property 'sendPush' - */ - @Test - public void sendPushTest() { - // TODO: test sendPush - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBodyTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBodyTest.java deleted file mode 100644 index b67bbe27..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendFileMessageRequestBodyTest.java +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdFile; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendFileMessageRequestBody - */ -public class SendBirdSendFileMessageRequestBodyTest { - private final SendBirdSendFileMessageRequestBody model = new SendBirdSendFileMessageRequestBody(); - - /** - * Model tests for SendBirdSendFileMessageRequestBody - */ - @Test - public void testSendBirdSendFileMessageRequestBody() { - // TODO: test SendBirdSendFileMessageRequestBody - } - - /** - * Test the property 'apnsBundleId' - */ - @Test - public void apnsBundleIdTest() { - // TODO: test apnsBundleId - } - - /** - * Test the property 'appleCriticalAlertOptions' - */ - @Test - public void appleCriticalAlertOptionsTest() { - // TODO: test appleCriticalAlertOptions - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'dedupId' - */ - @Test - public void dedupIdTest() { - // TODO: test dedupId - } - - /** - * Test the property 'files' - */ - @Test - public void filesTest() { - // TODO: test files - } - - /** - * Test the property 'isSilent' - */ - @Test - public void isSilentTest() { - // TODO: test isSilent - } - - /** - * Test the property 'markAsRead' - */ - @Test - public void markAsReadTest() { - // TODO: test markAsRead - } - - /** - * Test the property 'mentionType' - */ - @Test - public void mentionTypeTest() { - // TODO: test mentionType - } - - /** - * Test the property 'mentionedUserIds' - */ - @Test - public void mentionedUserIdsTest() { - // TODO: test mentionedUserIds - } - - /** - * Test the property 'messageType' - */ - @Test - public void messageTypeTest() { - // TODO: test messageType - } - - /** - * Test the property 'requireAuth' - */ - @Test - public void requireAuthTest() { - // TODO: test requireAuth - } - - /** - * Test the property 'sendPush' - */ - @Test - public void sendPushTest() { - // TODO: test sendPush - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - - /** - * Test the property 'sound' - */ - @Test - public void soundTest() { - // TODO: test sound - } - - /** - * Test the property 'thumbnail1' - */ - @Test - public void thumbnail1Test() { - // TODO: test thumbnail1 - } - - /** - * Test the property 'thumbnail2' - */ - @Test - public void thumbnail2Test() { - // TODO: test thumbnail2 - } - - /** - * Test the property 'thumbnail3' - */ - @Test - public void thumbnail3Test() { - // TODO: test thumbnail3 - } - - /** - * Test the property 'thumbnails' - */ - @Test - public void thumbnailsTest() { - // TODO: test thumbnails - } - - /** - * Test the property 'volume' - */ - @Test - public void volumeTest() { - // TODO: test volume - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplateTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplateTest.java deleted file mode 100644 index 7ade934e..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyPushMessageTemplateTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendAMessageRequestPushMessageTemplateOneOf; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendTextMessageRequestBodyPushMessageTemplate - */ -public class SendBirdSendTextMessageRequestBodyPushMessageTemplateTest { - private final SendBirdSendTextMessageRequestBodyPushMessageTemplate model = new SendBirdSendTextMessageRequestBodyPushMessageTemplate(); - - /** - * Model tests for SendBirdSendTextMessageRequestBodyPushMessageTemplate - */ - @Test - public void testSendBirdSendTextMessageRequestBodyPushMessageTemplate() { - // TODO: test SendBirdSendTextMessageRequestBodyPushMessageTemplate - } - - /** - * Test the property 'title' - */ - @Test - public void titleTest() { - // TODO: test title - } - - /** - * Test the property 'body' - */ - @Test - public void bodyTest() { - // TODO: test body - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyTest.java deleted file mode 100644 index 606119da..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendTextMessageRequestBodyTest.java +++ /dev/null @@ -1,199 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendTextMessageRequestBodyPushMessageTemplate; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendTextMessageRequestBody - */ -public class SendBirdSendTextMessageRequestBodyTest { - private final SendBirdSendTextMessageRequestBody model = new SendBirdSendTextMessageRequestBody(); - - /** - * Model tests for SendBirdSendTextMessageRequestBody - */ - @Test - public void testSendBirdSendTextMessageRequestBody() { - // TODO: test SendBirdSendTextMessageRequestBody - } - - /** - * Test the property 'apnsBundleId' - */ - @Test - public void apnsBundleIdTest() { - // TODO: test apnsBundleId - } - - /** - * Test the property 'appleCriticalAlertOptions' - */ - @Test - public void appleCriticalAlertOptionsTest() { - // TODO: test appleCriticalAlertOptions - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'dedupId' - */ - @Test - public void dedupIdTest() { - // TODO: test dedupId - } - - /** - * Test the property 'includePollDetails' - */ - @Test - public void includePollDetailsTest() { - // TODO: test includePollDetails - } - - /** - * Test the property 'isSilent' - */ - @Test - public void isSilentTest() { - // TODO: test isSilent - } - - /** - * Test the property 'markAsRead' - */ - @Test - public void markAsReadTest() { - // TODO: test markAsRead - } - - /** - * Test the property 'mentionType' - */ - @Test - public void mentionTypeTest() { - // TODO: test mentionType - } - - /** - * Test the property 'mentionedUserIds' - */ - @Test - public void mentionedUserIdsTest() { - // TODO: test mentionedUserIds - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'messageType' - */ - @Test - public void messageTypeTest() { - // TODO: test messageType - } - - /** - * Test the property 'pollId' - */ - @Test - public void pollIdTest() { - // TODO: test pollId - } - - /** - * Test the property 'pushMessageTemplate' - */ - @Test - public void pushMessageTemplateTest() { - // TODO: test pushMessageTemplate - } - - /** - * Test the property 'sendPush' - */ - @Test - public void sendPushTest() { - // TODO: test sendPush - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - - /** - * Test the property 'sound' - */ - @Test - public void soundTest() { - // TODO: test sound - } - - /** - * Test the property 'volume' - */ - @Test - public void volumeTest() { - // TODO: test volume - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfoTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfoTest.java deleted file mode 100644 index fffae873..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdBasicUserInfoTest.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdBasicUserInfo - */ -public class SendBirdSendbirdBasicUserInfoTest { - private final SendBirdSendbirdBasicUserInfo model = new SendBirdSendbirdBasicUserInfo(); - - /** - * Model tests for SendBirdSendbirdBasicUserInfo - */ - @Test - public void testSendBirdSendbirdBasicUserInfo() { - // TODO: test SendBirdSendbirdBasicUserInfo - } - - /** - * Test the property 'requireAuthForProfileImage' - */ - @Test - public void requireAuthForProfileImageTest() { - // TODO: test requireAuthForProfileImage - } - - /** - * Test the property 'isActive' - */ - @Test - public void isActiveTest() { - // TODO: test isActive - } - - /** - * Test the property 'isBlockedByMe' - */ - @Test - public void isBlockedByMeTest() { - // TODO: test isBlockedByMe - } - - /** - * Test the property 'role' - */ - @Test - public void roleTest() { - // TODO: test role - } - - /** - * Test the property 'nickname' - */ - @Test - public void nicknameTest() { - // TODO: test nickname - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - - /** - * Test the property 'profileUrl' - */ - @Test - public void profileUrlTest() { - // TODO: test profileUrl - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessageTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessageTest.java deleted file mode 100644 index 47a05b7d..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdDisappearingMessageTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdDisappearingMessage - */ -public class SendBirdSendbirdDisappearingMessageTest { - private final SendBirdSendbirdDisappearingMessage model = new SendBirdSendbirdDisappearingMessage(); - - /** - * Model tests for SendBirdSendbirdDisappearingMessage - */ - @Test - public void testSendBirdSendbirdDisappearingMessage() { - // TODO: test SendBirdSendbirdDisappearingMessage - } - - /** - * Test the property 'messageSurvivalSeconds' - */ - @Test - public void messageSurvivalSecondsTest() { - // TODO: test messageSurvivalSeconds - } - - /** - * Test the property 'isTriggeredByMessageRead' - */ - @Test - public void isTriggeredByMessageReadTest() { - // TODO: test isTriggeredByMessageRead - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayloadTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayloadTest.java deleted file mode 100644 index 230bdfd4..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdExtendedMessagePayloadTest.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdExtendedMessagePayload - */ -public class SendBirdSendbirdExtendedMessagePayloadTest { - private final SendBirdSendbirdExtendedMessagePayload model = new SendBirdSendbirdExtendedMessagePayload(); - - /** - * Model tests for SendBirdSendbirdExtendedMessagePayload - */ - @Test - public void testSendBirdSendbirdExtendedMessagePayload() { - // TODO: test SendBirdSendbirdExtendedMessagePayload - } - - /** - * Test the property 'customView' - */ - @Test - public void customViewTest() { - // TODO: test customView - } - - /** - * Test the property 'suggestedReplies' - */ - @Test - public void suggestedRepliesTest() { - // TODO: test suggestedReplies - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdFileTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdFileTest.java deleted file mode 100644 index 14411498..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdFileTest.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdThumbnail; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdFile - */ -public class SendBirdSendbirdFileTest { - private final SendBirdSendbirdFile model = new SendBirdSendbirdFile(); - - /** - * Model tests for SendBirdSendbirdFile - */ - @Test - public void testSendBirdSendbirdFile() { - // TODO: test SendBirdSendbirdFile - } - - /** - * Test the property 'url' - */ - @Test - public void urlTest() { - // TODO: test url - } - - /** - * Test the property 'fileName' - */ - @Test - public void fileNameTest() { - // TODO: test fileName - } - - /** - * Test the property 'fileSize' - */ - @Test - public void fileSizeTest() { - // TODO: test fileSize - } - - /** - * Test the property 'fileType' - */ - @Test - public void fileTypeTest() { - // TODO: test fileType - } - - /** - * Test the property 'thumbnails' - */ - @Test - public void thumbnailsTest() { - // TODO: test thumbnails - } - - /** - * Test the property 'requireAuth' - */ - @Test - public void requireAuthTest() { - // TODO: test requireAuth - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannelTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannelTest.java deleted file mode 100644 index be367c83..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailChannelTest.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdGroupChannelDetailChannel - */ -public class SendBirdSendbirdGroupChannelDetailChannelTest { - private final SendBirdSendbirdGroupChannelDetailChannel model = new SendBirdSendbirdGroupChannelDetailChannel(); - - /** - * Model tests for SendBirdSendbirdGroupChannelDetailChannel - */ - @Test - public void testSendBirdSendbirdGroupChannelDetailChannel() { - // TODO: test SendBirdSendbirdGroupChannelDetailChannel - } - - /** - * Test the property 'channelUrl' - */ - @Test - public void channelUrlTest() { - // TODO: test channelUrl - } - - /** - * Test the property 'coverUrl' - */ - @Test - public void coverUrlTest() { - // TODO: test coverUrl - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'maxLengthMessage' - */ - @Test - public void maxLengthMessageTest() { - // TODO: test maxLengthMessage - } - - /** - * Test the property 'memberCount' - */ - @Test - public void memberCountTest() { - // TODO: test memberCount - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailTest.java deleted file mode 100644 index 82a34785..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelDetailTest.java +++ /dev/null @@ -1,317 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelDetailChannel; -import org.openapitools.client.model.SendBirdSendbirdMember; -import org.openapitools.client.model.SendBirdSendbirdMessageResponse; -import org.openapitools.client.model.SendBirdSendbirdSmsFallback; -import org.openapitools.client.model.SendBirdSendbirdUser; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdGroupChannelDetail - */ -public class SendBirdSendbirdGroupChannelDetailTest { - private final SendBirdSendbirdGroupChannelDetail model = new SendBirdSendbirdGroupChannelDetail(); - - /** - * Model tests for SendBirdSendbirdGroupChannelDetail - */ - @Test - public void testSendBirdSendbirdGroupChannelDetail() { - // TODO: test SendBirdSendbirdGroupChannelDetail - } - - /** - * Test the property 'channel' - */ - @Test - public void channelTest() { - // TODO: test channel - } - - /** - * Test the property 'channelUrl' - */ - @Test - public void channelUrlTest() { - // TODO: test channelUrl - } - - /** - * Test the property 'coverUrl' - */ - @Test - public void coverUrlTest() { - // TODO: test coverUrl - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'createdBy' - */ - @Test - public void createdByTest() { - // TODO: test createdBy - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'deliveryReceipt' - */ - @Test - public void deliveryReceiptTest() { - // TODO: test deliveryReceipt - } - - /** - * Test the property 'disappearingMessage' - */ - @Test - public void disappearingMessageTest() { - // TODO: test disappearingMessage - } - - /** - * Test the property 'freeze' - */ - @Test - public void freezeTest() { - // TODO: test freeze - } - - /** - * Test the property 'hasAiBot' - */ - @Test - public void hasAiBotTest() { - // TODO: test hasAiBot - } - - /** - * Test the property 'hasBot' - */ - @Test - public void hasBotTest() { - // TODO: test hasBot - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'ignoreProfanityFilter' - */ - @Test - public void ignoreProfanityFilterTest() { - // TODO: test ignoreProfanityFilter - } - - /** - * Test the property 'isAccessCodeRequired' - */ - @Test - public void isAccessCodeRequiredTest() { - // TODO: test isAccessCodeRequired - } - - /** - * Test the property 'isBroadcast' - */ - @Test - public void isBroadcastTest() { - // TODO: test isBroadcast - } - - /** - * Test the property 'isDiscoverable' - */ - @Test - public void isDiscoverableTest() { - // TODO: test isDiscoverable - } - - /** - * Test the property 'isDistinct' - */ - @Test - public void isDistinctTest() { - // TODO: test isDistinct - } - - /** - * Test the property 'isEphemeral' - */ - @Test - public void isEphemeralTest() { - // TODO: test isEphemeral - } - - /** - * Test the property 'isPublic' - */ - @Test - public void isPublicTest() { - // TODO: test isPublic - } - - /** - * Test the property 'isSuper' - */ - @Test - public void isSuperTest() { - // TODO: test isSuper - } - - /** - * Test the property 'joinedMemberCount' - */ - @Test - public void joinedMemberCountTest() { - // TODO: test joinedMemberCount - } - - /** - * Test the property 'lastMessage' - */ - @Test - public void lastMessageTest() { - // TODO: test lastMessage - } - - /** - * Test the property 'maxLengthMessage' - */ - @Test - public void maxLengthMessageTest() { - // TODO: test maxLengthMessage - } - - /** - * Test the property 'memberCount' - */ - @Test - public void memberCountTest() { - // TODO: test memberCount - } - - /** - * Test the property 'members' - */ - @Test - public void membersTest() { - // TODO: test members - } - - /** - * Test the property 'messageSurvivalSeconds' - */ - @Test - public void messageSurvivalSecondsTest() { - // TODO: test messageSurvivalSeconds - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'operators' - */ - @Test - public void operatorsTest() { - // TODO: test operators - } - - /** - * Test the property 'readReceipt' - */ - @Test - public void readReceiptTest() { - // TODO: test readReceipt - } - - /** - * Test the property 'smsFallback' - */ - @Test - public void smsFallbackTest() { - // TODO: test smsFallback - } - - /** - * Test the property 'unreadMentionCount' - */ - @Test - public void unreadMentionCountTest() { - // TODO: test unreadMentionCount - } - - /** - * Test the property 'unreadMessageCount' - */ - @Test - public void unreadMessageCountTest() { - // TODO: test unreadMessageCount - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessageTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessageTest.java deleted file mode 100644 index f27a6623..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelLastMessageTest.java +++ /dev/null @@ -1,296 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdFile; -import org.openapitools.client.model.SendBirdSendbirdMessageResponse; -import org.openapitools.client.model.SendBirdSendbirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendBirdSendbirdMessageResponseMessageEvents; -import org.openapitools.client.model.SendBirdSendbirdParentMessageInfo; -import org.openapitools.client.model.SendBirdSendbirdReaction; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdGroupChannelLastMessage - */ -public class SendBirdSendbirdGroupChannelLastMessageTest { - private final SendBirdSendbirdGroupChannelLastMessage model = new SendBirdSendbirdGroupChannelLastMessage(); - - /** - * Model tests for SendBirdSendbirdGroupChannelLastMessage - */ - @Test - public void testSendBirdSendbirdGroupChannelLastMessage() { - // TODO: test SendBirdSendbirdGroupChannelLastMessage - } - - /** - * Test the property 'requireAuth' - */ - @Test - public void requireAuthTest() { - // TODO: test requireAuth - } - - /** - * Test the property 'messageSurvivalSeconds' - */ - @Test - public void messageSurvivalSecondsTest() { - // TODO: test messageSurvivalSeconds - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'mentionedUsers' - */ - @Test - public void mentionedUsersTest() { - // TODO: test mentionedUsers - } - - /** - * Test the property 'translations' - */ - @Test - public void translationsTest() { - // TODO: test translations - } - - /** - * Test the property 'updatedAt' - */ - @Test - public void updatedAtTest() { - // TODO: test updatedAt - } - - /** - * Test the property 'isOpMsg' - */ - @Test - public void isOpMsgTest() { - // TODO: test isOpMsg - } - - /** - * Test the property 'reactions' - */ - @Test - public void reactionsTest() { - // TODO: test reactions - } - - /** - * Test the property 'isRemoved' - */ - @Test - public void isRemovedTest() { - // TODO: test isRemoved - } - - /** - * Test the property 'user' - */ - @Test - public void userTest() { - // TODO: test user - } - - /** - * Test the property '_file' - */ - @Test - public void _fileTest() { - // TODO: test _file - } - - /** - * Test the property 'files' - */ - @Test - public void filesTest() { - // TODO: test files - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'messageRetentionHour' - */ - @Test - public void messageRetentionHourTest() { - // TODO: test messageRetentionHour - } - - /** - * Test the property 'silent' - */ - @Test - public void silentTest() { - // TODO: test silent - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'channelType' - */ - @Test - public void channelTypeTest() { - // TODO: test channelType - } - - /** - * Test the property 'reqId' - */ - @Test - public void reqIdTest() { - // TODO: test reqId - } - - /** - * Test the property 'mentionType' - */ - @Test - public void mentionTypeTest() { - // TODO: test mentionType - } - - /** - * Test the property 'channelUrl' - */ - @Test - public void channelUrlTest() { - // TODO: test channelUrl - } - - /** - * Test the property 'messageId' - */ - @Test - public void messageIdTest() { - // TODO: test messageId - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - - /** - * Test the property 'threadInfo' - */ - @Test - public void threadInfoTest() { - // TODO: test threadInfo - } - - /** - * Test the property 'parentMessageId' - */ - @Test - public void parentMessageIdTest() { - // TODO: test parentMessageId - } - - /** - * Test the property 'parentMessageInfo' - */ - @Test - public void parentMessageInfoTest() { - // TODO: test parentMessageInfo - } - - /** - * Test the property 'isReplyToChannel' - */ - @Test - public void isReplyToChannelTest() { - // TODO: test isReplyToChannel - } - - /** - * Test the property 'messageEvents' - */ - @Test - public void messageEventsTest() { - // TODO: test messageEvents - } - - /** - * Test the property 'extendedMessagePayload' - */ - @Test - public void extendedMessagePayloadTest() { - // TODO: test extendedMessagePayload - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelTest.java deleted file mode 100644 index f712f136..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdGroupChannelTest.java +++ /dev/null @@ -1,416 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdDisappearingMessage; -import org.openapitools.client.model.SendBirdSendbirdGroupChannelLastMessage; -import org.openapitools.client.model.SendBirdSendbirdMember; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; -import org.openapitools.client.model.SendBirdSendbirdSmsFallback; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdGroupChannel - */ -public class SendBirdSendbirdGroupChannelTest { - private final SendBirdSendbirdGroupChannel model = new SendBirdSendbirdGroupChannel(); - - /** - * Model tests for SendBirdSendbirdGroupChannel - */ - @Test - public void testSendBirdSendbirdGroupChannel() { - // TODO: test SendBirdSendbirdGroupChannel - } - - /** - * Test the property 'channelUrl' - */ - @Test - public void channelUrlTest() { - // TODO: test channelUrl - } - - /** - * Test the property 'countPreference' - */ - @Test - public void countPreferenceTest() { - // TODO: test countPreference - } - - /** - * Test the property 'coverUrl' - */ - @Test - public void coverUrlTest() { - // TODO: test coverUrl - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'createdBy' - */ - @Test - public void createdByTest() { - // TODO: test createdBy - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'deliveryReceipt' - */ - @Test - public void deliveryReceiptTest() { - // TODO: test deliveryReceipt - } - - /** - * Test the property 'disappearingMessage' - */ - @Test - public void disappearingMessageTest() { - // TODO: test disappearingMessage - } - - /** - * Test the property 'freeze' - */ - @Test - public void freezeTest() { - // TODO: test freeze - } - - /** - * Test the property 'hasAiBot' - */ - @Test - public void hasAiBotTest() { - // TODO: test hasAiBot - } - - /** - * Test the property 'hasBot' - */ - @Test - public void hasBotTest() { - // TODO: test hasBot - } - - /** - * Test the property 'hiddenState' - */ - @Test - public void hiddenStateTest() { - // TODO: test hiddenState - } - - /** - * Test the property 'ignoreProfanityFilter' - */ - @Test - public void ignoreProfanityFilterTest() { - // TODO: test ignoreProfanityFilter - } - - /** - * Test the property 'invitedAt' - */ - @Test - public void invitedAtTest() { - // TODO: test invitedAt - } - - /** - * Test the property 'inviter' - */ - @Test - public void inviterTest() { - // TODO: test inviter - } - - /** - * Test the property 'isAccessCodeRequired' - */ - @Test - public void isAccessCodeRequiredTest() { - // TODO: test isAccessCodeRequired - } - - /** - * Test the property 'isBroadcast' - */ - @Test - public void isBroadcastTest() { - // TODO: test isBroadcast - } - - /** - * Test the property 'isDiscoverable' - */ - @Test - public void isDiscoverableTest() { - // TODO: test isDiscoverable - } - - /** - * Test the property 'isDistinct' - */ - @Test - public void isDistinctTest() { - // TODO: test isDistinct - } - - /** - * Test the property 'isEphemeral' - */ - @Test - public void isEphemeralTest() { - // TODO: test isEphemeral - } - - /** - * Test the property 'isExclusive' - */ - @Test - public void isExclusiveTest() { - // TODO: test isExclusive - } - - /** - * Test the property 'isHidden' - */ - @Test - public void isHiddenTest() { - // TODO: test isHidden - } - - /** - * Test the property 'isMuted' - */ - @Test - public void isMutedTest() { - // TODO: test isMuted - } - - /** - * Test the property 'isPublic' - */ - @Test - public void isPublicTest() { - // TODO: test isPublic - } - - /** - * Test the property 'isPushEnabled' - */ - @Test - public void isPushEnabledTest() { - // TODO: test isPushEnabled - } - - /** - * Test the property 'isSuper' - */ - @Test - public void isSuperTest() { - // TODO: test isSuper - } - - /** - * Test the property 'joinedMemberCount' - */ - @Test - public void joinedMemberCountTest() { - // TODO: test joinedMemberCount - } - - /** - * Test the property 'joinedTs' - */ - @Test - public void joinedTsTest() { - // TODO: test joinedTs - } - - /** - * Test the property 'lastMessage' - */ - @Test - public void lastMessageTest() { - // TODO: test lastMessage - } - - /** - * Test the property 'maxLengthMessage' - */ - @Test - public void maxLengthMessageTest() { - // TODO: test maxLengthMessage - } - - /** - * Test the property 'memberCount' - */ - @Test - public void memberCountTest() { - // TODO: test memberCount - } - - /** - * Test the property 'memberState' - */ - @Test - public void memberStateTest() { - // TODO: test memberState - } - - /** - * Test the property 'members' - */ - @Test - public void membersTest() { - // TODO: test members - } - - /** - * Test the property 'messageSurvivalSeconds' - */ - @Test - public void messageSurvivalSecondsTest() { - // TODO: test messageSurvivalSeconds - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'myRole' - */ - @Test - public void myRoleTest() { - // TODO: test myRole - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'pushTriggerOption' - */ - @Test - public void pushTriggerOptionTest() { - // TODO: test pushTriggerOption - } - - /** - * Test the property 'readReceipt' - */ - @Test - public void readReceiptTest() { - // TODO: test readReceipt - } - - /** - * Test the property 'smsFallback' - */ - @Test - public void smsFallbackTest() { - // TODO: test smsFallback - } - - /** - * Test the property 'tsMessageOffset' - */ - @Test - public void tsMessageOffsetTest() { - // TODO: test tsMessageOffset - } - - /** - * Test the property 'unreadMentionCount' - */ - @Test - public void unreadMentionCountTest() { - // TODO: test unreadMentionCount - } - - /** - * Test the property 'unreadMessageCount' - */ - @Test - public void unreadMessageCountTest() { - // TODO: test unreadMessageCount - } - - /** - * Test the property 'userLastRead' - */ - @Test - public void userLastReadTest() { - // TODO: test userLastRead - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMemberTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMemberTest.java deleted file mode 100644 index 28583e89..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMemberTest.java +++ /dev/null @@ -1,225 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdMember - */ -public class SendBirdSendbirdMemberTest { - private final SendBirdSendbirdMember model = new SendBirdSendbirdMember(); - - /** - * Model tests for SendBirdSendbirdMember - */ - @Test - public void testSendBirdSendbirdMember() { - // TODO: test SendBirdSendbirdMember - } - - /** - * Test the property 'deliveredTs' - */ - @Test - public void deliveredTsTest() { - // TODO: test deliveredTs - } - - /** - * Test the property 'doNotDisturb' - */ - @Test - public void doNotDisturbTest() { - // TODO: test doNotDisturb - } - - /** - * Test the property 'friendDiscoveryKey' - */ - @Test - public void friendDiscoveryKeyTest() { - // TODO: test friendDiscoveryKey - } - - /** - * Test the property 'friendName' - */ - @Test - public void friendNameTest() { - // TODO: test friendName - } - - /** - * Test the property 'isActive' - */ - @Test - public void isActiveTest() { - // TODO: test isActive - } - - /** - * Test the property 'isBlockedByMe' - */ - @Test - public void isBlockedByMeTest() { - // TODO: test isBlockedByMe - } - - /** - * Test the property 'isBlockingMe' - */ - @Test - public void isBlockingMeTest() { - // TODO: test isBlockingMe - } - - /** - * Test the property 'isMuted' - */ - @Test - public void isMutedTest() { - // TODO: test isMuted - } - - /** - * Test the property 'isOnline' - */ - @Test - public void isOnlineTest() { - // TODO: test isOnline - } - - /** - * Test the property 'lastSeenAt' - */ - @Test - public void lastSeenAtTest() { - // TODO: test lastSeenAt - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'mutedDescription' - */ - @Test - public void mutedDescriptionTest() { - // TODO: test mutedDescription - } - - /** - * Test the property 'mutedEndAt' - */ - @Test - public void mutedEndAtTest() { - // TODO: test mutedEndAt - } - - /** - * Test the property 'nickname' - */ - @Test - public void nicknameTest() { - // TODO: test nickname - } - - /** - * Test the property 'pushEnabled' - */ - @Test - public void pushEnabledTest() { - // TODO: test pushEnabled - } - - /** - * Test the property 'pushTriggerOption' - */ - @Test - public void pushTriggerOptionTest() { - // TODO: test pushTriggerOption - } - - /** - * Test the property 'profileUrl' - */ - @Test - public void profileUrlTest() { - // TODO: test profileUrl - } - - /** - * Test the property 'requireAuthForProfileImage' - */ - @Test - public void requireAuthForProfileImageTest() { - // TODO: test requireAuthForProfileImage - } - - /** - * Test the property 'readTs' - */ - @Test - public void readTsTest() { - // TODO: test readTs - } - - /** - * Test the property 'role' - */ - @Test - public void roleTest() { - // TODO: test role - } - - /** - * Test the property 'state' - */ - @Test - public void stateTest() { - // TODO: test state - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayloadTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayloadTest.java deleted file mode 100644 index e186b0d9..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseExtendedMessagePayloadTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdExtendedMessagePayload; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdMessageResponseExtendedMessagePayload - */ -public class SendBirdSendbirdMessageResponseExtendedMessagePayloadTest { - private final SendBirdSendbirdMessageResponseExtendedMessagePayload model = new SendBirdSendbirdMessageResponseExtendedMessagePayload(); - - /** - * Model tests for SendBirdSendbirdMessageResponseExtendedMessagePayload - */ - @Test - public void testSendBirdSendbirdMessageResponseExtendedMessagePayload() { - // TODO: test SendBirdSendbirdMessageResponseExtendedMessagePayload - } - - /** - * Test the property 'customView' - */ - @Test - public void customViewTest() { - // TODO: test customView - } - - /** - * Test the property 'suggestedReplies' - */ - @Test - public void suggestedRepliesTest() { - // TODO: test suggestedReplies - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEventsTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEventsTest.java deleted file mode 100644 index 156e3741..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseMessageEventsTest.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdMessageResponseMessageEvents - */ -public class SendBirdSendbirdMessageResponseMessageEventsTest { - private final SendBirdSendbirdMessageResponseMessageEvents model = new SendBirdSendbirdMessageResponseMessageEvents(); - - /** - * Model tests for SendBirdSendbirdMessageResponseMessageEvents - */ - @Test - public void testSendBirdSendbirdMessageResponseMessageEvents() { - // TODO: test SendBirdSendbirdMessageResponseMessageEvents - } - - /** - * Test the property 'sendPushNotification' - */ - @Test - public void sendPushNotificationTest() { - // TODO: test sendPushNotification - } - - /** - * Test the property 'updateUnreadCount' - */ - @Test - public void updateUnreadCountTest() { - // TODO: test updateUnreadCount - } - - /** - * Test the property 'updateMentionCount' - */ - @Test - public void updateMentionCountTest() { - // TODO: test updateMentionCount - } - - /** - * Test the property 'updateLastMessage' - */ - @Test - public void updateLastMessageTest() { - // TODO: test updateLastMessage - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseTest.java deleted file mode 100644 index f19cb8b6..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdMessageResponseTest.java +++ /dev/null @@ -1,295 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.client.model.SendBirdSendbirdFile; -import org.openapitools.client.model.SendBirdSendbirdMessageResponseExtendedMessagePayload; -import org.openapitools.client.model.SendBirdSendbirdMessageResponseMessageEvents; -import org.openapitools.client.model.SendBirdSendbirdParentMessageInfo; -import org.openapitools.client.model.SendBirdSendbirdReaction; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdMessageResponse - */ -public class SendBirdSendbirdMessageResponseTest { - private final SendBirdSendbirdMessageResponse model = new SendBirdSendbirdMessageResponse(); - - /** - * Model tests for SendBirdSendbirdMessageResponse - */ - @Test - public void testSendBirdSendbirdMessageResponse() { - // TODO: test SendBirdSendbirdMessageResponse - } - - /** - * Test the property 'requireAuth' - */ - @Test - public void requireAuthTest() { - // TODO: test requireAuth - } - - /** - * Test the property 'messageSurvivalSeconds' - */ - @Test - public void messageSurvivalSecondsTest() { - // TODO: test messageSurvivalSeconds - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'mentionedUsers' - */ - @Test - public void mentionedUsersTest() { - // TODO: test mentionedUsers - } - - /** - * Test the property 'translations' - */ - @Test - public void translationsTest() { - // TODO: test translations - } - - /** - * Test the property 'updatedAt' - */ - @Test - public void updatedAtTest() { - // TODO: test updatedAt - } - - /** - * Test the property 'isOpMsg' - */ - @Test - public void isOpMsgTest() { - // TODO: test isOpMsg - } - - /** - * Test the property 'reactions' - */ - @Test - public void reactionsTest() { - // TODO: test reactions - } - - /** - * Test the property 'isRemoved' - */ - @Test - public void isRemovedTest() { - // TODO: test isRemoved - } - - /** - * Test the property 'user' - */ - @Test - public void userTest() { - // TODO: test user - } - - /** - * Test the property '_file' - */ - @Test - public void _fileTest() { - // TODO: test _file - } - - /** - * Test the property 'files' - */ - @Test - public void filesTest() { - // TODO: test files - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'messageRetentionHour' - */ - @Test - public void messageRetentionHourTest() { - // TODO: test messageRetentionHour - } - - /** - * Test the property 'silent' - */ - @Test - public void silentTest() { - // TODO: test silent - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'channelType' - */ - @Test - public void channelTypeTest() { - // TODO: test channelType - } - - /** - * Test the property 'reqId' - */ - @Test - public void reqIdTest() { - // TODO: test reqId - } - - /** - * Test the property 'mentionType' - */ - @Test - public void mentionTypeTest() { - // TODO: test mentionType - } - - /** - * Test the property 'channelUrl' - */ - @Test - public void channelUrlTest() { - // TODO: test channelUrl - } - - /** - * Test the property 'messageId' - */ - @Test - public void messageIdTest() { - // TODO: test messageId - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - - /** - * Test the property 'threadInfo' - */ - @Test - public void threadInfoTest() { - // TODO: test threadInfo - } - - /** - * Test the property 'parentMessageId' - */ - @Test - public void parentMessageIdTest() { - // TODO: test parentMessageId - } - - /** - * Test the property 'parentMessageInfo' - */ - @Test - public void parentMessageInfoTest() { - // TODO: test parentMessageInfo - } - - /** - * Test the property 'isReplyToChannel' - */ - @Test - public void isReplyToChannelTest() { - // TODO: test isReplyToChannel - } - - /** - * Test the property 'messageEvents' - */ - @Test - public void messageEventsTest() { - // TODO: test messageEvents - } - - /** - * Test the property 'extendedMessagePayload' - */ - @Test - public void extendedMessagePayloadTest() { - // TODO: test extendedMessagePayload - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdOpenChannelTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdOpenChannelTest.java deleted file mode 100644 index 57180ed4..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdOpenChannelTest.java +++ /dev/null @@ -1,153 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdBasicUserInfo; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdOpenChannel - */ -public class SendBirdSendbirdOpenChannelTest { - private final SendBirdSendbirdOpenChannel model = new SendBirdSendbirdOpenChannel(); - - /** - * Model tests for SendBirdSendbirdOpenChannel - */ - @Test - public void testSendBirdSendbirdOpenChannel() { - // TODO: test SendBirdSendbirdOpenChannel - } - - /** - * Test the property 'channelUrl' - */ - @Test - public void channelUrlTest() { - // TODO: test channelUrl - } - - /** - * Test the property 'coverUrl' - */ - @Test - public void coverUrlTest() { - // TODO: test coverUrl - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'freeze' - */ - @Test - public void freezeTest() { - // TODO: test freeze - } - - /** - * Test the property 'isDynamicPartitioned' - */ - @Test - public void isDynamicPartitionedTest() { - // TODO: test isDynamicPartitioned - } - - /** - * Test the property 'isEphemeral' - */ - @Test - public void isEphemeralTest() { - // TODO: test isEphemeral - } - - /** - * Test the property 'maxLengthMessage' - */ - @Test - public void maxLengthMessageTest() { - // TODO: test maxLengthMessage - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'operators' - */ - @Test - public void operatorsTest() { - // TODO: test operators - } - - /** - * Test the property 'participantCount' - */ - @Test - public void participantCountTest() { - // TODO: test participantCount - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfoTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfoTest.java deleted file mode 100644 index 2b2dfb20..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdParentMessageInfoTest.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdFile; -import org.openapitools.client.model.SendBirdSendbirdUser; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdParentMessageInfo - */ -public class SendBirdSendbirdParentMessageInfoTest { - private final SendBirdSendbirdParentMessageInfo model = new SendBirdSendbirdParentMessageInfo(); - - /** - * Model tests for SendBirdSendbirdParentMessageInfo - */ - @Test - public void testSendBirdSendbirdParentMessageInfo() { - // TODO: test SendBirdSendbirdParentMessageInfo - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'ts' - */ - @Test - public void tsTest() { - // TODO: test ts - } - - /** - * Test the property 'user' - */ - @Test - public void userTest() { - // TODO: test user - } - - /** - * Test the property '_file' - */ - @Test - public void _fileTest() { - // TODO: test _file - } - - /** - * Test the property 'files' - */ - @Test - public void filesTest() { - // TODO: test files - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOptionTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOptionTest.java deleted file mode 100644 index 5b9b7f64..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdPushTriggerOptionTest.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdPushTriggerOption - */ -public class SendBirdSendbirdPushTriggerOptionTest { - /** - * Model tests for SendBirdSendbirdPushTriggerOption - */ - @Test - public void testSendBirdSendbirdPushTriggerOption() { - // TODO: test SendBirdSendbirdPushTriggerOption - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdReactionTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdReactionTest.java deleted file mode 100644 index 8618c351..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdReactionTest.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdReaction - */ -public class SendBirdSendbirdReactionTest { - private final SendBirdSendbirdReaction model = new SendBirdSendbirdReaction(); - - /** - * Model tests for SendBirdSendbirdReaction - */ - @Test - public void testSendBirdSendbirdReaction() { - // TODO: test SendBirdSendbirdReaction - } - - /** - * Test the property 'key' - */ - @Test - public void keyTest() { - // TODO: test key - } - - /** - * Test the property 'updatedAt' - */ - @Test - public void updatedAtTest() { - // TODO: test updatedAt - } - - /** - * Test the property 'userIds' - */ - @Test - public void userIdsTest() { - // TODO: test userIds - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdSmsFallbackTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdSmsFallbackTest.java deleted file mode 100644 index a31aff3a..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdSmsFallbackTest.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdSmsFallback - */ -public class SendBirdSendbirdSmsFallbackTest { - private final SendBirdSendbirdSmsFallback model = new SendBirdSendbirdSmsFallback(); - - /** - * Model tests for SendBirdSendbirdSmsFallback - */ - @Test - public void testSendBirdSendbirdSmsFallback() { - // TODO: test SendBirdSendbirdSmsFallback - } - - /** - * Test the property 'waitSeconds' - */ - @Test - public void waitSecondsTest() { - // TODO: test waitSeconds - } - - /** - * Test the property 'excludeUserIds' - */ - @Test - public void excludeUserIdsTest() { - // TODO: test excludeUserIds - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInnerTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInnerTest.java deleted file mode 100644 index b7ab7c9b..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdSortedMetaarrayInnerTest.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdSortedMetaarrayInner - */ -public class SendBirdSendbirdSortedMetaarrayInnerTest { - private final SendBirdSendbirdSortedMetaarrayInner model = new SendBirdSendbirdSortedMetaarrayInner(); - - /** - * Model tests for SendBirdSendbirdSortedMetaarrayInner - */ - @Test - public void testSendBirdSendbirdSortedMetaarrayInner() { - // TODO: test SendBirdSendbirdSortedMetaarrayInner - } - - /** - * Test the property 'key' - */ - @Test - public void keyTest() { - // TODO: test key - } - - /** - * Test the property 'value' - */ - @Test - public void valueTest() { - // TODO: test value - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdThumbnailTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdThumbnailTest.java deleted file mode 100644 index 55794084..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdThumbnailTest.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdThumbnail - */ -public class SendBirdSendbirdThumbnailTest { - private final SendBirdSendbirdThumbnail model = new SendBirdSendbirdThumbnail(); - - /** - * Model tests for SendBirdSendbirdThumbnail - */ - @Test - public void testSendBirdSendbirdThumbnail() { - // TODO: test SendBirdSendbirdThumbnail - } - - /** - * Test the property 'height' - */ - @Test - public void heightTest() { - // TODO: test height - } - - /** - * Test the property 'plainUrl' - */ - @Test - public void plainUrlTest() { - // TODO: test plainUrl - } - - /** - * Test the property 'realHeight' - */ - @Test - public void realHeightTest() { - // TODO: test realHeight - } - - /** - * Test the property 'realWidth' - */ - @Test - public void realWidthTest() { - // TODO: test realWidth - } - - /** - * Test the property 'url' - */ - @Test - public void urlTest() { - // TODO: test url - } - - /** - * Test the property 'width' - */ - @Test - public void widthTest() { - // TODO: test width - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdSendbirdUserTest.java b/src/test/java/org/openapitools/client/model/SendBirdSendbirdUserTest.java deleted file mode 100644 index dca873f3..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdSendbirdUserTest.java +++ /dev/null @@ -1,216 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdSendbirdUser - */ -public class SendBirdSendbirdUserTest { - private final SendBirdSendbirdUser model = new SendBirdSendbirdUser(); - - /** - * Model tests for SendBirdSendbirdUser - */ - @Test - public void testSendBirdSendbirdUser() { - // TODO: test SendBirdSendbirdUser - } - - /** - * Test the property 'accessToken' - */ - @Test - public void accessTokenTest() { - // TODO: test accessToken - } - - /** - * Test the property 'createdAt' - */ - @Test - public void createdAtTest() { - // TODO: test createdAt - } - - /** - * Test the property 'discoveryKeys' - */ - @Test - public void discoveryKeysTest() { - // TODO: test discoveryKeys - } - - /** - * Test the property 'hasEverLoggedIn' - */ - @Test - public void hasEverLoggedInTest() { - // TODO: test hasEverLoggedIn - } - - /** - * Test the property 'isActive' - */ - @Test - public void isActiveTest() { - // TODO: test isActive - } - - /** - * Test the property 'isHideMeFromFriends' - */ - @Test - public void isHideMeFromFriendsTest() { - // TODO: test isHideMeFromFriends - } - - /** - * Test the property 'isOnline' - */ - @Test - public void isOnlineTest() { - // TODO: test isOnline - } - - /** - * Test the property 'isShadowBlocked' - */ - @Test - public void isShadowBlockedTest() { - // TODO: test isShadowBlocked - } - - /** - * Test the property 'lastSeenAt' - */ - @Test - public void lastSeenAtTest() { - // TODO: test lastSeenAt - } - - /** - * Test the property 'locale' - */ - @Test - public void localeTest() { - // TODO: test locale - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'nickname' - */ - @Test - public void nicknameTest() { - // TODO: test nickname - } - - /** - * Test the property 'preferredLanguages' - */ - @Test - public void preferredLanguagesTest() { - // TODO: test preferredLanguages - } - - /** - * Test the property 'profileUrl' - */ - @Test - public void profileUrlTest() { - // TODO: test profileUrl - } - - /** - * Test the property 'requireAuthForProfileImage' - */ - @Test - public void requireAuthForProfileImageTest() { - // TODO: test requireAuthForProfileImage - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - - /** - * Test the property 'state' - */ - @Test - public void stateTest() { - // TODO: test state - } - - /** - * Test the property 'unreadChannelCount' - */ - @Test - public void unreadChannelCountTest() { - // TODO: test unreadChannelCount - } - - /** - * Test the property 'unreadMessageCount' - */ - @Test - public void unreadMessageCountTest() { - // TODO: test unreadMessageCount - } - - /** - * Test the property 'phoneNumber' - */ - @Test - public void phoneNumberTest() { - // TODO: test phoneNumber - } - - /** - * Test the property 'isCreated' - */ - @Test - public void isCreatedTest() { - // TODO: test isCreated - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequestTest.java deleted file mode 100644 index 3b4cd28a..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdStartTypingIndicatorsRequestTest.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdStartTypingIndicatorsRequest - */ -public class SendBirdStartTypingIndicatorsRequestTest { - private final SendBirdStartTypingIndicatorsRequest model = new SendBirdStartTypingIndicatorsRequest(); - - /** - * Model tests for SendBirdStartTypingIndicatorsRequest - */ - @Test - public void testSendBirdStartTypingIndicatorsRequest() { - // TODO: test SendBirdStartTypingIndicatorsRequest - } - - /** - * Test the property 'userIds' - */ - @Test - public void userIdsTest() { - // TODO: test userIds - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequestTest.java deleted file mode 100644 index d8ec705b..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateAChannelMetadataRequestTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateAChannelMetadataRequest - */ -public class SendBirdUpdateAChannelMetadataRequestTest { - private final SendBirdUpdateAChannelMetadataRequest model = new SendBirdUpdateAChannelMetadataRequest(); - - /** - * Model tests for SendBirdUpdateAChannelMetadataRequest - */ - @Test - public void testSendBirdUpdateAChannelMetadataRequest() { - // TODO: test SendBirdUpdateAChannelMetadataRequest - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'upsert' - */ - @Test - public void upsertTest() { - // TODO: test upsert - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequestTest.java deleted file mode 100644 index 7c62bd40..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateAGroupChannelRequestTest.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateAGroupChannelRequest - */ -public class SendBirdUpdateAGroupChannelRequestTest { - private final SendBirdUpdateAGroupChannelRequest model = new SendBirdUpdateAGroupChannelRequest(); - - /** - * Model tests for SendBirdUpdateAGroupChannelRequest - */ - @Test - public void testSendBirdUpdateAGroupChannelRequest() { - // TODO: test SendBirdUpdateAGroupChannelRequest - } - - /** - * Test the property 'accessCode' - */ - @Test - public void accessCodeTest() { - // TODO: test accessCode - } - - /** - * Test the property 'coverFile' - */ - @Test - public void coverFileTest() { - // TODO: test coverFile - } - - /** - * Test the property 'coverUrl' - */ - @Test - public void coverUrlTest() { - // TODO: test coverUrl - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'isDistinct' - */ - @Test - public void isDistinctTest() { - // TODO: test isDistinct - } - - /** - * Test the property 'isPublic' - */ - @Test - public void isPublicTest() { - // TODO: test isPublic - } - - /** - * Test the property 'isSuper' - */ - @Test - public void isSuperTest() { - // TODO: test isSuper - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'operatorIds' - */ - @Test - public void operatorIdsTest() { - // TODO: test operatorIds - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateAMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateAMessageRequestTest.java deleted file mode 100644 index 6ddcb7e3..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateAMessageRequestTest.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateAMessageRequest - */ -public class SendBirdUpdateAMessageRequestTest { - private final SendBirdUpdateAMessageRequest model = new SendBirdUpdateAMessageRequest(); - - /** - * Model tests for SendBirdUpdateAMessageRequest - */ - @Test - public void testSendBirdUpdateAMessageRequest() { - // TODO: test SendBirdUpdateAMessageRequest - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'mentionType' - */ - @Test - public void mentionTypeTest() { - // TODO: test mentionType - } - - /** - * Test the property 'mentionedUserIds' - */ - @Test - public void mentionedUserIdsTest() { - // TODO: test mentionedUserIds - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'url' - */ - @Test - public void urlTest() { - // TODO: test url - } - - /** - * Test the property 'messageType' - */ - @Test - public void messageTypeTest() { - // TODO: test messageType - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateAUserRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateAUserRequestTest.java deleted file mode 100644 index 8ab04ed9..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateAUserRequestTest.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.jackson.nullable.JsonNullable; -import com.fasterxml.jackson.annotation.JsonIgnore; -import org.openapitools.jackson.nullable.JsonNullable; -import java.util.NoSuchElementException; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateAUserRequest - */ -public class SendBirdUpdateAUserRequestTest { - private final SendBirdUpdateAUserRequest model = new SendBirdUpdateAUserRequest(); - - /** - * Model tests for SendBirdUpdateAUserRequest - */ - @Test - public void testSendBirdUpdateAUserRequest() { - // TODO: test SendBirdUpdateAUserRequest - } - - /** - * Test the property 'discoveryKeys' - */ - @Test - public void discoveryKeysTest() { - // TODO: test discoveryKeys - } - - /** - * Test the property 'isActive' - */ - @Test - public void isActiveTest() { - // TODO: test isActive - } - - /** - * Test the property 'issueAccessToken' - */ - @Test - public void issueAccessTokenTest() { - // TODO: test issueAccessToken - } - - /** - * Test the property 'lastSeenAt' - */ - @Test - public void lastSeenAtTest() { - // TODO: test lastSeenAt - } - - /** - * Test the property 'leaveAllWhenDeactivated' - */ - @Test - public void leaveAllWhenDeactivatedTest() { - // TODO: test leaveAllWhenDeactivated - } - - /** - * Test the property 'nickname' - */ - @Test - public void nicknameTest() { - // TODO: test nickname - } - - /** - * Test the property 'preferredLanguages' - */ - @Test - public void preferredLanguagesTest() { - // TODO: test preferredLanguages - } - - /** - * Test the property 'profileFile' - */ - @Test - public void profileFileTest() { - // TODO: test profileFile - } - - /** - * Test the property 'profileUrl' - */ - @Test - public void profileUrlTest() { - // TODO: test profileUrl - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequestTest.java deleted file mode 100644 index 4edc4e62..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateAnOpenChannelRequestTest.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.util.ArrayList; -import java.util.List; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateAnOpenChannelRequest - */ -public class SendBirdUpdateAnOpenChannelRequestTest { - private final SendBirdUpdateAnOpenChannelRequest model = new SendBirdUpdateAnOpenChannelRequest(); - - /** - * Model tests for SendBirdUpdateAnOpenChannelRequest - */ - @Test - public void testSendBirdUpdateAnOpenChannelRequest() { - // TODO: test SendBirdUpdateAnOpenChannelRequest - } - - /** - * Test the property 'coverFile' - */ - @Test - public void coverFileTest() { - // TODO: test coverFile - } - - /** - * Test the property 'coverUrl' - */ - @Test - public void coverUrlTest() { - // TODO: test coverUrl - } - - /** - * Test the property 'customType' - */ - @Test - public void customTypeTest() { - // TODO: test customType - } - - /** - * Test the property 'data' - */ - @Test - public void dataTest() { - // TODO: test data - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'operatorIds' - */ - @Test - public void operatorIdsTest() { - // TODO: test operatorIds - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdDataTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdDataTest.java deleted file mode 100644 index bfbd7980..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdDataTest.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateBotByIdData - */ -public class SendBirdUpdateBotByIdDataTest { - private final SendBirdUpdateBotByIdData model = new SendBirdUpdateBotByIdData(); - - /** - * Model tests for SendBirdUpdateBotByIdData - */ - @Test - public void testSendBirdUpdateBotByIdData() { - // TODO: test SendBirdUpdateBotByIdData - } - - /** - * Test the property 'botUserid' - */ - @Test - public void botUseridTest() { - // TODO: test botUserid - } - - /** - * Test the property 'botNickname' - */ - @Test - public void botNicknameTest() { - // TODO: test botNickname - } - - /** - * Test the property 'botProfileUrl' - */ - @Test - public void botProfileUrlTest() { - // TODO: test botProfileUrl - } - - /** - * Test the property 'botCallbackUrl' - */ - @Test - public void botCallbackUrlTest() { - // TODO: test botCallbackUrl - } - - /** - * Test the property 'isPrivacyMode' - */ - @Test - public void isPrivacyModeTest() { - // TODO: test isPrivacyMode - } - - /** - * Test the property 'enableMarkAsRead' - */ - @Test - public void enableMarkAsReadTest() { - // TODO: test enableMarkAsRead - } - - /** - * Test the property 'showMember' - */ - @Test - public void showMemberTest() { - // TODO: test showMember - } - - /** - * Test the property 'channelInvitationPreference' - */ - @Test - public void channelInvitationPreferenceTest() { - // TODO: test channelInvitationPreference - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponseTest.java deleted file mode 100644 index e9eaefaa..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateBotByIdResponseTest.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdViewBotByIdResponseBot; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateBotByIdResponse - */ -public class SendBirdUpdateBotByIdResponseTest { - private final SendBirdUpdateBotByIdResponse model = new SendBirdUpdateBotByIdResponse(); - - /** - * Model tests for SendBirdUpdateBotByIdResponse - */ - @Test - public void testSendBirdUpdateBotByIdResponse() { - // TODO: test SendBirdUpdateBotByIdResponse - } - - /** - * Test the property 'bot' - */ - @Test - public void botTest() { - // TODO: test bot - } - - /** - * Test the property 'botCallbackUrl' - */ - @Test - public void botCallbackUrlTest() { - // TODO: test botCallbackUrl - } - - /** - * Test the property 'enableMarkAsRead' - */ - @Test - public void enableMarkAsReadTest() { - // TODO: test enableMarkAsRead - } - - /** - * Test the property 'isPrivacyMode' - */ - @Test - public void isPrivacyModeTest() { - // TODO: test isPrivacyMode - } - - /** - * Test the property 'showMember' - */ - @Test - public void showMemberTest() { - // TODO: test showMember - } - - /** - * Test the property 'channelInvitationPreference' - */ - @Test - public void channelInvitationPreferenceTest() { - // TODO: test channelInvitationPreference - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequestTest.java deleted file mode 100644 index 882d68d2..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceRequestTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateChannelInvitationPreferenceRequest - */ -public class SendBirdUpdateChannelInvitationPreferenceRequestTest { - private final SendBirdUpdateChannelInvitationPreferenceRequest model = new SendBirdUpdateChannelInvitationPreferenceRequest(); - - /** - * Model tests for SendBirdUpdateChannelInvitationPreferenceRequest - */ - @Test - public void testSendBirdUpdateChannelInvitationPreferenceRequest() { - // TODO: test SendBirdUpdateChannelInvitationPreferenceRequest - } - - /** - * Test the property 'autoAccept' - */ - @Test - public void autoAcceptTest() { - // TODO: test autoAccept - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponseTest.java deleted file mode 100644 index 32f3fdb9..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateChannelInvitationPreferenceResponseTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateChannelInvitationPreferenceResponse - */ -public class SendBirdUpdateChannelInvitationPreferenceResponseTest { - private final SendBirdUpdateChannelInvitationPreferenceResponse model = new SendBirdUpdateChannelInvitationPreferenceResponse(); - - /** - * Model tests for SendBirdUpdateChannelInvitationPreferenceResponse - */ - @Test - public void testSendBirdUpdateChannelInvitationPreferenceResponse() { - // TODO: test SendBirdUpdateChannelInvitationPreferenceResponse - } - - /** - * Test the property 'autoAccept' - */ - @Test - public void autoAcceptTest() { - // TODO: test autoAccept - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequestTest.java deleted file mode 100644 index ad116924..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfAChannelRequestTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateCountPreferenceOfAChannelRequest - */ -public class SendBirdUpdateCountPreferenceOfAChannelRequestTest { - private final SendBirdUpdateCountPreferenceOfAChannelRequest model = new SendBirdUpdateCountPreferenceOfAChannelRequest(); - - /** - * Model tests for SendBirdUpdateCountPreferenceOfAChannelRequest - */ - @Test - public void testSendBirdUpdateCountPreferenceOfAChannelRequest() { - // TODO: test SendBirdUpdateCountPreferenceOfAChannelRequest - } - - /** - * Test the property 'countPreference' - */ - @Test - public void countPreferenceTest() { - // TODO: test countPreference - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest.java deleted file mode 100644 index 6240b42e..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateCountPreferenceOfChannelByUrlResponse - */ -public class SendBirdUpdateCountPreferenceOfChannelByUrlResponseTest { - private final SendBirdUpdateCountPreferenceOfChannelByUrlResponse model = new SendBirdUpdateCountPreferenceOfChannelByUrlResponse(); - - /** - * Model tests for SendBirdUpdateCountPreferenceOfChannelByUrlResponse - */ - @Test - public void testSendBirdUpdateCountPreferenceOfChannelByUrlResponse() { - // TODO: test SendBirdUpdateCountPreferenceOfChannelByUrlResponse - } - - /** - * Test the property 'countPreference' - */ - @Test - public void countPreferenceTest() { - // TODO: test countPreference - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequestTest.java deleted file mode 100644 index 8fa36f15..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageRequestTest.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateExtraDataInAMessageRequest - */ -public class SendBirdUpdateExtraDataInAMessageRequestTest { - private final SendBirdUpdateExtraDataInAMessageRequest model = new SendBirdUpdateExtraDataInAMessageRequest(); - - /** - * Model tests for SendBirdUpdateExtraDataInAMessageRequest - */ - @Test - public void testSendBirdUpdateExtraDataInAMessageRequest() { - // TODO: test SendBirdUpdateExtraDataInAMessageRequest - } - - /** - * Test the property 'mode' - */ - @Test - public void modeTest() { - // TODO: test mode - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - - /** - * Test the property 'upsert' - */ - @Test - public void upsertTest() { - // TODO: test upsert - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponseTest.java deleted file mode 100644 index db6e06a8..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdateExtraDataInAMessageResponseTest.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdSortedMetaarrayInner; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdateExtraDataInAMessageResponse - */ -public class SendBirdUpdateExtraDataInAMessageResponseTest { - private final SendBirdUpdateExtraDataInAMessageResponse model = new SendBirdUpdateExtraDataInAMessageResponse(); - - /** - * Model tests for SendBirdUpdateExtraDataInAMessageResponse - */ - @Test - public void testSendBirdUpdateExtraDataInAMessageResponse() { - // TODO: test SendBirdUpdateExtraDataInAMessageResponse - } - - /** - * Test the property 'sortedMetaarray' - */ - @Test - public void sortedMetaarrayTest() { - // TODO: test sortedMetaarray - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequestTest.java deleted file mode 100644 index 0aa8d42a..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelRequestTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdatePushPreferencesForAChannelRequest - */ -public class SendBirdUpdatePushPreferencesForAChannelRequestTest { - private final SendBirdUpdatePushPreferencesForAChannelRequest model = new SendBirdUpdatePushPreferencesForAChannelRequest(); - - /** - * Model tests for SendBirdUpdatePushPreferencesForAChannelRequest - */ - @Test - public void testSendBirdUpdatePushPreferencesForAChannelRequest() { - // TODO: test SendBirdUpdatePushPreferencesForAChannelRequest - } - - /** - * Test the property 'pushTriggerOption' - */ - @Test - public void pushTriggerOptionTest() { - // TODO: test pushTriggerOption - } - - /** - * Test the property 'pushSound' - */ - @Test - public void pushSoundTest() { - // TODO: test pushSound - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponseTest.java deleted file mode 100644 index cbc356ff..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesForAChannelResponseTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdatePushPreferencesForAChannelResponse - */ -public class SendBirdUpdatePushPreferencesForAChannelResponseTest { - private final SendBirdUpdatePushPreferencesForAChannelResponse model = new SendBirdUpdatePushPreferencesForAChannelResponse(); - - /** - * Model tests for SendBirdUpdatePushPreferencesForAChannelResponse - */ - @Test - public void testSendBirdUpdatePushPreferencesForAChannelResponse() { - // TODO: test SendBirdUpdatePushPreferencesForAChannelResponse - } - - /** - * Test the property 'enable' - */ - @Test - public void enableTest() { - // TODO: test enable - } - - /** - * Test the property 'pushSound' - */ - @Test - public void pushSoundTest() { - // TODO: test pushSound - } - - /** - * Test the property 'pushTriggerOption' - */ - @Test - public void pushTriggerOptionTest() { - // TODO: test pushTriggerOption - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequestTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequestTest.java deleted file mode 100644 index f5a303d7..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesRequestTest.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdatePushPreferencesRequest - */ -public class SendBirdUpdatePushPreferencesRequestTest { - private final SendBirdUpdatePushPreferencesRequest model = new SendBirdUpdatePushPreferencesRequest(); - - /** - * Model tests for SendBirdUpdatePushPreferencesRequest - */ - @Test - public void testSendBirdUpdatePushPreferencesRequest() { - // TODO: test SendBirdUpdatePushPreferencesRequest - } - - /** - * Test the property 'blockPushFromBots' - */ - @Test - public void blockPushFromBotsTest() { - // TODO: test blockPushFromBots - } - - /** - * Test the property 'doNotDisturb' - */ - @Test - public void doNotDisturbTest() { - // TODO: test doNotDisturb - } - - /** - * Test the property 'enablePushForReplies' - */ - @Test - public void enablePushForRepliesTest() { - // TODO: test enablePushForReplies - } - - /** - * Test the property 'endHour' - */ - @Test - public void endHourTest() { - // TODO: test endHour - } - - /** - * Test the property 'endMin' - */ - @Test - public void endMinTest() { - // TODO: test endMin - } - - /** - * Test the property 'pushBlockedBotIds' - */ - @Test - public void pushBlockedBotIdsTest() { - // TODO: test pushBlockedBotIds - } - - /** - * Test the property 'pushSound' - */ - @Test - public void pushSoundTest() { - // TODO: test pushSound - } - - /** - * Test the property 'pushTriggerOption' - */ - @Test - public void pushTriggerOptionTest() { - // TODO: test pushTriggerOption - } - - /** - * Test the property 'snoozeEnabled' - */ - @Test - public void snoozeEnabledTest() { - // TODO: test snoozeEnabled - } - - /** - * Test the property 'snoozeEndTs' - */ - @Test - public void snoozeEndTsTest() { - // TODO: test snoozeEndTs - } - - /** - * Test the property 'snoozeStartTs' - */ - @Test - public void snoozeStartTsTest() { - // TODO: test snoozeStartTs - } - - /** - * Test the property 'startHour' - */ - @Test - public void startHourTest() { - // TODO: test startHour - } - - /** - * Test the property 'startMin' - */ - @Test - public void startMinTest() { - // TODO: test startMin - } - - /** - * Test the property 'timezone' - */ - @Test - public void timezoneTest() { - // TODO: test timezone - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponseTest.java deleted file mode 100644 index 22b1bd67..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdUpdatePushPreferencesResponseTest.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdUpdatePushPreferencesResponse - */ -public class SendBirdUpdatePushPreferencesResponseTest { - private final SendBirdUpdatePushPreferencesResponse model = new SendBirdUpdatePushPreferencesResponse(); - - /** - * Model tests for SendBirdUpdatePushPreferencesResponse - */ - @Test - public void testSendBirdUpdatePushPreferencesResponse() { - // TODO: test SendBirdUpdatePushPreferencesResponse - } - - /** - * Test the property 'blockPushFromBots' - */ - @Test - public void blockPushFromBotsTest() { - // TODO: test blockPushFromBots - } - - /** - * Test the property 'doNotDisturb' - */ - @Test - public void doNotDisturbTest() { - // TODO: test doNotDisturb - } - - /** - * Test the property 'enablePushForReplies' - */ - @Test - public void enablePushForRepliesTest() { - // TODO: test enablePushForReplies - } - - /** - * Test the property 'endHour' - */ - @Test - public void endHourTest() { - // TODO: test endHour - } - - /** - * Test the property 'endMin' - */ - @Test - public void endMinTest() { - // TODO: test endMin - } - - /** - * Test the property 'pushBlockedBotIds' - */ - @Test - public void pushBlockedBotIdsTest() { - // TODO: test pushBlockedBotIds - } - - /** - * Test the property 'pushSound' - */ - @Test - public void pushSoundTest() { - // TODO: test pushSound - } - - /** - * Test the property 'pushTriggerOption' - */ - @Test - public void pushTriggerOptionTest() { - // TODO: test pushTriggerOption - } - - /** - * Test the property 'snoozeEnabled' - */ - @Test - public void snoozeEnabledTest() { - // TODO: test snoozeEnabled - } - - /** - * Test the property 'snoozeEndTs' - */ - @Test - public void snoozeEndTsTest() { - // TODO: test snoozeEndTs - } - - /** - * Test the property 'snoozeStartTs' - */ - @Test - public void snoozeStartTsTest() { - // TODO: test snoozeStartTs - } - - /** - * Test the property 'startHour' - */ - @Test - public void startHourTest() { - // TODO: test startHour - } - - /** - * Test the property 'startMin' - */ - @Test - public void startMinTest() { - // TODO: test startMin - } - - /** - * Test the property 'timezone' - */ - @Test - public void timezoneTest() { - // TODO: test timezone - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBotTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBotTest.java deleted file mode 100644 index 3faa723e..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseBotTest.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdViewBotByIdResponseBot - */ -public class SendBirdViewBotByIdResponseBotTest { - private final SendBirdViewBotByIdResponseBot model = new SendBirdViewBotByIdResponseBot(); - - /** - * Model tests for SendBirdViewBotByIdResponseBot - */ - @Test - public void testSendBirdViewBotByIdResponseBot() { - // TODO: test SendBirdViewBotByIdResponseBot - } - - /** - * Test the property 'botToken' - */ - @Test - public void botTokenTest() { - // TODO: test botToken - } - - /** - * Test the property 'botProfileUrl' - */ - @Test - public void botProfileUrlTest() { - // TODO: test botProfileUrl - } - - /** - * Test the property 'botUserid' - */ - @Test - public void botUseridTest() { - // TODO: test botUserid - } - - /** - * Test the property 'botNickname' - */ - @Test - public void botNicknameTest() { - // TODO: test botNickname - } - - /** - * Test the property 'botType' - */ - @Test - public void botTypeTest() { - // TODO: test botType - } - - /** - * Test the property 'botMetadata' - */ - @Test - public void botMetadataTest() { - // TODO: test botMetadata - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseTest.java deleted file mode 100644 index 773534e5..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdViewBotByIdResponseTest.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdViewBotByIdResponseBot; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdViewBotByIdResponse - */ -public class SendBirdViewBotByIdResponseTest { - private final SendBirdViewBotByIdResponse model = new SendBirdViewBotByIdResponse(); - - /** - * Model tests for SendBirdViewBotByIdResponse - */ - @Test - public void testSendBirdViewBotByIdResponse() { - // TODO: test SendBirdViewBotByIdResponse - } - - /** - * Test the property 'bot' - */ - @Test - public void botTest() { - // TODO: test bot - } - - /** - * Test the property 'botCallbackUrl' - */ - @Test - public void botCallbackUrlTest() { - // TODO: test botCallbackUrl - } - - /** - * Test the property 'enableMarkAsRead' - */ - @Test - public void enableMarkAsReadTest() { - // TODO: test enableMarkAsRead - } - - /** - * Test the property 'isPrivacyMode' - */ - @Test - public void isPrivacyModeTest() { - // TODO: test isPrivacyMode - } - - /** - * Test the property 'showMember' - */ - @Test - public void showMemberTest() { - // TODO: test showMember - } - - /** - * Test the property 'channelInvitationPreference' - */ - @Test - public void channelInvitationPreferenceTest() { - // TODO: test channelInvitationPreference - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponseTest.java deleted file mode 100644 index 1c0cb42f..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdViewCountPreferenceOfAChannelResponseTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdViewCountPreferenceOfAChannelResponse - */ -public class SendBirdViewCountPreferenceOfAChannelResponseTest { - private final SendBirdViewCountPreferenceOfAChannelResponse model = new SendBirdViewCountPreferenceOfAChannelResponse(); - - /** - * Model tests for SendBirdViewCountPreferenceOfAChannelResponse - */ - @Test - public void testSendBirdViewCountPreferenceOfAChannelResponse() { - // TODO: test SendBirdViewCountPreferenceOfAChannelResponse - } - - /** - * Test the property 'countPreference' - */ - @Test - public void countPreferenceTest() { - // TODO: test countPreference - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest.java deleted file mode 100644 index aa8d94b3..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdViewNumberOfChannelsWithUnreadMessagesResponse - */ -public class SendBirdViewNumberOfChannelsWithUnreadMessagesResponseTest { - private final SendBirdViewNumberOfChannelsWithUnreadMessagesResponse model = new SendBirdViewNumberOfChannelsWithUnreadMessagesResponse(); - - /** - * Model tests for SendBirdViewNumberOfChannelsWithUnreadMessagesResponse - */ - @Test - public void testSendBirdViewNumberOfChannelsWithUnreadMessagesResponse() { - // TODO: test SendBirdViewNumberOfChannelsWithUnreadMessagesResponse - } - - /** - * Test the property 'unreadCount' - */ - @Test - public void unreadCountTest() { - // TODO: test unreadCount - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponseTest.java deleted file mode 100644 index 91205eb2..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfDailyActiveUsersResponseTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdViewNumberOfDailyActiveUsersResponse - */ -public class SendBirdViewNumberOfDailyActiveUsersResponseTest { - private final SendBirdViewNumberOfDailyActiveUsersResponse model = new SendBirdViewNumberOfDailyActiveUsersResponse(); - - /** - * Model tests for SendBirdViewNumberOfDailyActiveUsersResponse - */ - @Test - public void testSendBirdViewNumberOfDailyActiveUsersResponse() { - // TODO: test SendBirdViewNumberOfDailyActiveUsersResponse - } - - /** - * Test the property 'dau' - */ - @Test - public void dauTest() { - // TODO: test dau - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponseTest.java deleted file mode 100644 index d443a017..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfMonthlyActiveUsersResponseTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdViewNumberOfMonthlyActiveUsersResponse - */ -public class SendBirdViewNumberOfMonthlyActiveUsersResponseTest { - private final SendBirdViewNumberOfMonthlyActiveUsersResponse model = new SendBirdViewNumberOfMonthlyActiveUsersResponse(); - - /** - * Model tests for SendBirdViewNumberOfMonthlyActiveUsersResponse - */ - @Test - public void testSendBirdViewNumberOfMonthlyActiveUsersResponse() { - // TODO: test SendBirdViewNumberOfMonthlyActiveUsersResponse - } - - /** - * Test the property 'mau' - */ - @Test - public void mauTest() { - // TODO: test mau - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponseTest.java deleted file mode 100644 index 5e3ff093..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdViewNumberOfUnreadMessagesResponseTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdViewNumberOfUnreadMessagesResponse - */ -public class SendBirdViewNumberOfUnreadMessagesResponseTest { - private final SendBirdViewNumberOfUnreadMessagesResponse model = new SendBirdViewNumberOfUnreadMessagesResponse(); - - /** - * Model tests for SendBirdViewNumberOfUnreadMessagesResponse - */ - @Test - public void testSendBirdViewNumberOfUnreadMessagesResponse() { - // TODO: test SendBirdViewNumberOfUnreadMessagesResponse - } - - /** - * Test the property 'unreadCount' - */ - @Test - public void unreadCountTest() { - // TODO: test unreadCount - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponseTest.java deleted file mode 100644 index 7ed01dbf..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesForAChannelResponseTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdViewPushPreferencesForAChannelResponse - */ -public class SendBirdViewPushPreferencesForAChannelResponseTest { - private final SendBirdViewPushPreferencesForAChannelResponse model = new SendBirdViewPushPreferencesForAChannelResponse(); - - /** - * Model tests for SendBirdViewPushPreferencesForAChannelResponse - */ - @Test - public void testSendBirdViewPushPreferencesForAChannelResponse() { - // TODO: test SendBirdViewPushPreferencesForAChannelResponse - } - - /** - * Test the property 'enable' - */ - @Test - public void enableTest() { - // TODO: test enable - } - - /** - * Test the property 'pushSound' - */ - @Test - public void pushSoundTest() { - // TODO: test pushSound - } - - /** - * Test the property 'pushTriggerOption' - */ - @Test - public void pushTriggerOptionTest() { - // TODO: test pushTriggerOption - } - -} diff --git a/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponseTest.java b/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponseTest.java deleted file mode 100644 index 21ecd0fd..00000000 --- a/src/test/java/org/openapitools/client/model/SendBirdViewPushPreferencesResponseTest.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Sendbird Platform SDK - * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com) - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@sendbird.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.List; -import org.openapitools.client.model.SendBirdSendbirdPushTriggerOption; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; - -/** - * Model tests for SendBirdViewPushPreferencesResponse - */ -public class SendBirdViewPushPreferencesResponseTest { - private final SendBirdViewPushPreferencesResponse model = new SendBirdViewPushPreferencesResponse(); - - /** - * Model tests for SendBirdViewPushPreferencesResponse - */ - @Test - public void testSendBirdViewPushPreferencesResponse() { - // TODO: test SendBirdViewPushPreferencesResponse - } - - /** - * Test the property 'blockPushFromBots' - */ - @Test - public void blockPushFromBotsTest() { - // TODO: test blockPushFromBots - } - - /** - * Test the property 'doNotDisturb' - */ - @Test - public void doNotDisturbTest() { - // TODO: test doNotDisturb - } - - /** - * Test the property 'enablePushForReplies' - */ - @Test - public void enablePushForRepliesTest() { - // TODO: test enablePushForReplies - } - - /** - * Test the property 'endHour' - */ - @Test - public void endHourTest() { - // TODO: test endHour - } - - /** - * Test the property 'endMin' - */ - @Test - public void endMinTest() { - // TODO: test endMin - } - - /** - * Test the property 'pushBlockedBotIds' - */ - @Test - public void pushBlockedBotIdsTest() { - // TODO: test pushBlockedBotIds - } - - /** - * Test the property 'pushSound' - */ - @Test - public void pushSoundTest() { - // TODO: test pushSound - } - - /** - * Test the property 'pushTriggerOption' - */ - @Test - public void pushTriggerOptionTest() { - // TODO: test pushTriggerOption - } - - /** - * Test the property 'snoozeEnabled' - */ - @Test - public void snoozeEnabledTest() { - // TODO: test snoozeEnabled - } - - /** - * Test the property 'snoozeEndTs' - */ - @Test - public void snoozeEndTsTest() { - // TODO: test snoozeEndTs - } - - /** - * Test the property 'snoozeStartTs' - */ - @Test - public void snoozeStartTsTest() { - // TODO: test snoozeStartTs - } - - /** - * Test the property 'startHour' - */ - @Test - public void startHourTest() { - // TODO: test startHour - } - - /** - * Test the property 'startMin' - */ - @Test - public void startMinTest() { - // TODO: test startMin - } - - /** - * Test the property 'timezone' - */ - @Test - public void timezoneTest() { - // TODO: test timezone - } - -} From 79be4fec275733d21c02c6ff798bbb24d17ffe6c Mon Sep 17 00:00:00 2001 From: danney-chun <63285271+danney-chun@users.noreply.github.com> Date: Fri, 17 Oct 2025 09:51:28 +0900 Subject: [PATCH 09/10] Update maven.yml --- .github/workflows/maven.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c29a13d2..94e30987 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,6 +25,5 @@ jobs: with: java-version: ${{ matrix.java }} distribution: 'temurin' - # cache: maven - name: Build with Maven run: mvn -B package --no-transfer-progress --file pom.xml From 397c6e6cbf0e1c1d32f0433edc9a0f0c89587ebb Mon Sep 17 00:00:00 2001 From: danney-chun <63285271+danney-chun@users.noreply.github.com> Date: Fri, 17 Oct 2025 09:56:40 +0900 Subject: [PATCH 10/10] regenerate --- .github/workflows/maven.yml | 1 + api/openapi.yaml | 206 +++++++++--------- .../client/model/AbstractOpenApiSchema.java | 2 +- .../model/AcceptAnInvitationRequest.java | 2 +- .../AddARegistrationOrDeviceTokenRequest.java | 2 +- ...AddARegistrationOrDeviceTokenResponse.java | 2 +- .../model/AddExtraDataToAMessageRequest.java | 2 +- .../model/AddExtraDataToAMessageResponse.java | 2 +- .../client/model/BlockAUserRequest.java | 2 +- .../client/model/BlockAUserResponse.java | 2 +- .../client/model/CheckIfMemberResponse.java | 2 +- ...ushNotificationContentTemplateRequest.java | 2 +- ...shNotificationContentTemplateResponse.java | 2 +- .../client/model/CreateABotRequest.java | 2 +- .../client/model/CreateABotResponse.java | 2 +- .../client/model/CreateABotResponseBot.java | 2 +- .../model/CreateAChannelMetadataRequest.java | 2 +- .../model/CreateAChannelMetadataResponse.java | 2 +- .../model/CreateAGroupChannelRequest.java | 2 +- .../client/model/CreateAUserRequest.java | 2 +- .../model/CreateAnOpenChannelRequest.java | 2 +- .../client/model/CreateUserTokenRequest.java | 2 +- .../client/model/CreateUserTokenResponse.java | 2 +- .../model/FreezeAGroupChannelRequest.java | 2 +- .../model/FreezeAnOpenChannelRequest.java | 2 +- .../model/GetAGroupChannelResponse.java | 2 +- .../model/GetAGroupChannelResponseAllOf.java | 2 +- ...etChannelInvitationPreferenceResponse.java | 2 +- ...talNumberOfMessagesInAChannelResponse.java | 2 +- .../GroupChannelListMembersResponse.java | 2 +- .../model/GroupChatListChannelsResponse.java | 2 +- .../client/model/HideAChannelRequest.java | 2 +- .../client/model/InviteAsMembersRequest.java | 2 +- .../client/model/InviteAsMembersResponse.java | 2 +- .../model/InviteAsMembersResponseAllOf.java | 2 +- .../client/model/JoinAChannelRequest.java | 2 +- .../client/model/JoinChannelsRequest.java | 2 +- .../client/model/LeaveAChannelRequest.java | 2 +- .../model/LeaveMyGroupChannelsRequest.java | 2 +- .../model/ListBlockedUsersResponse.java | 2 +- .../client/model/ListBotsResponse.java | 2 +- .../model/ListBotsResponseBotsInner.java | 2 +- .../model/ListBotsResponseBotsInnerBot.java | 2 +- .../ListBotsResponseBotsInnerBotStyle.java | 2 +- ...istBotsResponseBotsInnerBotStyleColor.java | 2 +- ...tsResponseBotsInnerFirstMessagesInner.java | 2 +- ...sponseBotsInnerFirstMessagesInnerData.java | 2 +- .../ListBotsResponseBotsInnerSafeguard.java | 2 +- .../client/model/ListMessagesResponse.java | 2 +- .../model/ListMyGroupChannelsResponse.java | 2 +- .../model/ListOpenChannelsResponse.java | 2 +- .../client/model/ListOperatorsResponse.java | 2 +- ...istRegistrationOrDeviceTokensResponse.java | 2 +- .../client/model/ListUsersResponse.java | 2 +- .../model/MarkAllMessagesAsReadRequest.java | 2 +- .../MarkChannelMessagesAsReadRequest.java | 2 +- .../MigrateMessagesAdminMessageRequest.java | 2 +- .../MigrateMessagesFileMessageRequest.java | 2 +- ...agesFileMessageRequestThumbnailsInner.java | 2 +- .../client/model/MigrateMessagesRequest.java | 2 +- .../MigrateMessagesRequestMessagesInner.java | 2 +- .../MigrateMessagesTextMessageRequest.java | 2 +- ...gisterOperatorsToAGroupChannelRequest.java | 2 +- ...oveARegistrationOrDeviceTokenResponse.java | 2 +- ...eAllRegistrationOrDeviceTokenResponse.java | 2 +- .../client/model/ResetChatHistoryRequest.java | 2 +- .../model/ResetChatHistoryResponse.java | 2 +- .../model/ScheduleAnAnnouncementRequest.java | 2 +- ...nouncementRequestCreateChannelOptions.java | 2 +- .../ScheduleAnAnnouncementRequestMessage.java | 2 +- .../model/ScheduleAnAnnouncementResponse.java | 2 +- ...ScheduleAnAnnouncementResponseMessage.java | 2 +- .../client/model/SendABotMessageResponse.java | 2 +- .../client/model/SendAMessageRequest.java | 2 +- ...endAMessageRequestPushMessageTemplate.java | 2 +- ...essageRequestPushMessageTemplateOneOf.java | 2 +- .../model/SendAdminMessageRequestBody.java | 2 +- .../client/model/SendBirdFile.java | 5 +- .../client/model/SendBirdGroupChannel.java | 5 +- .../client/model/SendBirdMember.java | 5 +- .../client/model/SendBirdMessageResponse.java | 5 +- .../client/model/SendBirdOpenChannel.java | 5 +- .../model/SendBirdParentMessageInfo.java | 5 +- .../client/model/SendBirdReaction.java | 5 +- .../client/model/SendBirdUser.java | 5 +- .../model/SendFileMessageRequestBody.java | 2 +- .../model/SendTextMessageRequestBody.java | 2 +- ...MessageRequestBodyPushMessageTemplate.java | 2 +- .../client/model/SendbirdBasicUserInfo.java | 5 +- .../model/SendbirdDisappearingMessage.java | 5 +- .../model/SendbirdExtendedMessagePayload.java | 5 +- .../model/SendbirdGroupChannelDetail.java | 5 +- .../SendbirdGroupChannelDetailChannel.java | 6 +- .../SendbirdGroupChannelLastMessage.java | 2 +- ...MessageResponseExtendedMessagePayload.java | 2 +- .../SendbirdMessageResponseMessageEvents.java | 6 +- .../model/SendbirdPushTriggerOption.java | 2 +- .../client/model/SendbirdSmsFallback.java | 5 +- .../model/SendbirdSortedMetaarrayInner.java | 6 +- .../client/model/SendbirdThumbnail.java | 5 +- .../model/StartTypingIndicatorsRequest.java | 2 +- .../model/UpdateAChannelMetadataRequest.java | 2 +- .../model/UpdateAGroupChannelRequest.java | 2 +- .../client/model/UpdateAMessageRequest.java | 2 +- .../client/model/UpdateAUserRequest.java | 2 +- .../model/UpdateAnOpenChannelRequest.java | 2 +- .../client/model/UpdateBotByIdData.java | 2 +- .../client/model/UpdateBotByIdResponse.java | 2 +- ...ateChannelInvitationPreferenceRequest.java | 2 +- ...teChannelInvitationPreferenceResponse.java | 2 +- ...pdateCountPreferenceOfAChannelRequest.java | 2 +- ...CountPreferenceOfChannelByUrlResponse.java | 2 +- .../UpdateExtraDataInAMessageRequest.java | 2 +- .../UpdateExtraDataInAMessageResponse.java | 2 +- ...datePushPreferencesForAChannelRequest.java | 2 +- ...atePushPreferencesForAChannelResponse.java | 2 +- .../model/UpdatePushPreferencesRequest.java | 2 +- .../model/UpdatePushPreferencesResponse.java | 2 +- .../client/model/ViewBotByIdResponse.java | 2 +- .../client/model/ViewBotByIdResponseBot.java | 2 +- ...ViewCountPreferenceOfAChannelResponse.java | 2 +- ...rOfChannelsWithUnreadMessagesResponse.java | 2 +- .../ViewNumberOfDailyActiveUsersResponse.java | 2 +- ...iewNumberOfMonthlyActiveUsersResponse.java | 2 +- .../ViewNumberOfUnreadMessagesResponse.java | 2 +- ...iewPushPreferencesForAChannelResponse.java | 2 +- .../model/ViewPushPreferencesResponse.java | 2 +- .../java/org/sendbird/client/ApiClient.java | 2 +- .../org/sendbird/client/ApiException.java | 2 +- .../org/sendbird/client/Configuration.java | 2 +- src/main/java/org/sendbird/client/JSON.java | 2 +- .../sendbird/client/JavaTimeFormatter.java | 2 +- src/main/java/org/sendbird/client/Pair.java | 2 +- .../java/org/sendbird/client/StringUtil.java | 2 +- .../sendbird/client/api/AnnouncementApi.java | 2 +- .../java/org/sendbird/client/api/BotApi.java | 2 +- .../sendbird/client/api/GroupChannelApi.java | 2 +- .../org/sendbird/client/api/MessageApi.java | 2 +- .../org/sendbird/client/api/MetadataApi.java | 2 +- .../sendbird/client/api/ModerationApi.java | 2 +- .../sendbird/client/api/OpenChannelApi.java | 2 +- .../sendbird/client/api/StatisticsApi.java | 2 +- .../java/org/sendbird/client/api/UserApi.java | 2 +- .../org/sendbird/client/auth/ApiKeyAuth.java | 2 +- .../sendbird/client/auth/HttpBasicAuth.java | 2 +- .../sendbird/client/auth/HttpBearerAuth.java | 2 +- 146 files changed, 268 insertions(+), 281 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 94e30987..0ecc9f85 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,5 +25,6 @@ jobs: with: java-version: ${{ matrix.java }} distribution: 'temurin' + cache: maven - name: Build with Maven run: mvn -B package --no-transfer-progress --file pom.xml diff --git a/api/openapi.yaml b/api/openapi.yaml index 7b8289f8..93de521a 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -5405,17 +5405,17 @@ paths: x-accepts: application/json components: schemas: - Sendbird.SortedMetaarray: + SendbirdSortedMetaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendbirdSortedMetaarray_inner' type: array - Sendbird.PushTriggerOption: + SendbirdPushTriggerOption: enum: - all - mention_only - "off" type: string - Sendbird.Thumbnail: + SendbirdThumbnail: example: real_width: 1 width: 1 @@ -5437,7 +5437,7 @@ components: width: type: integer type: object - Sendbird.File: + SendbirdFile: example: file_name: file_name file_type: file_type @@ -5468,12 +5468,12 @@ components: type: string thumbnails: items: - $ref: '#/components/schemas/Sendbird.Thumbnail' + $ref: '#/components/schemas/SendbirdThumbnail' type: array require_auth: type: boolean type: object - Sendbird.SmsFallback: + SendbirdSmsFallback: example: exclude_user_ids: - exclude_user_ids @@ -5487,7 +5487,7 @@ components: type: string type: array type: object - Sendbird.DisappearingMessage: + SendbirdDisappearingMessage: example: is_triggered_by_message_read: true message_survival_seconds: 6 @@ -5497,7 +5497,7 @@ components: is_triggered_by_message_read: type: boolean type: object - Sendbird.BasicUserInfo: + SendbirdBasicUserInfo: example: metadata: "{}" require_auth_for_profile_image: true @@ -5534,7 +5534,7 @@ components: required: - user_id type: object - Sendbird.User: + SendbirdUser: description: User example: metadata: "{}" @@ -5625,7 +5625,7 @@ components: required: - user_id type: object - Sendbird.Member: + SendbirdMember: example: metadata: "{}" is_active: true @@ -5693,7 +5693,7 @@ components: push_enabled: type: boolean push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendbirdPushTriggerOption' profile_url: default: "" type: string @@ -5721,7 +5721,7 @@ components: required: - user_id type: object - Sendbird.ExtendedMessagePayload: + SendbirdExtendedMessagePayload: description: Specifies the extended message payload which is used to send a message with a custom message type. properties: @@ -5736,7 +5736,7 @@ components: type: string type: array type: object - Sendbird.ParentMessageInfo: + SendbirdParentMessageInfo: example: file: file_name: file_name @@ -5835,15 +5835,15 @@ components: format: int64 type: integer user: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendbirdUser' file: - $ref: '#/components/schemas/Sendbird.File' + $ref: '#/components/schemas/SendbirdFile' files: items: - $ref: '#/components/schemas/Sendbird.File' + $ref: '#/components/schemas/SendbirdFile' type: array type: object - Sendbird.Reaction: + SendbirdReaction: example: updated_at: 2 user_ids: @@ -5861,7 +5861,7 @@ components: type: string type: array type: object - Sendbird.MessageResponse: + SendbirdMessageResponse: example: data: data message_events: @@ -6070,7 +6070,7 @@ components: type: string mentioned_users: items: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendbirdBasicUserInfo' type: array translations: type: object @@ -6081,17 +6081,17 @@ components: type: boolean reactions: items: - $ref: '#/components/schemas/Sendbird.Reaction' + $ref: '#/components/schemas/SendbirdReaction' type: array is_removed: type: boolean user: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendbirdBasicUserInfo' file: type: object files: items: - $ref: '#/components/schemas/Sendbird.File' + $ref: '#/components/schemas/SendbirdFile' type: array message: type: string @@ -6119,22 +6119,22 @@ components: type: integer sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendbirdSortedMetaarray_inner' type: array thread_info: type: object parent_message_id: type: integer parent_message_info: - $ref: '#/components/schemas/Sendbird.ParentMessageInfo' + $ref: '#/components/schemas/SendbirdParentMessageInfo' is_reply_to_channel: type: boolean message_events: - $ref: '#/components/schemas/Sendbird_MessageResponse_message_events' + $ref: '#/components/schemas/SendbirdMessageResponse_message_events' extended_message_payload: - $ref: '#/components/schemas/Sendbird_MessageResponse_extended_message_payload' + $ref: '#/components/schemas/SendbirdMessageResponse_extended_message_payload' type: object - Sendbird.GroupChannel: + SendbirdGroupChannel: example: metadata: "{}" count_preference: "false" @@ -6268,7 +6268,7 @@ components: format: int64 type: integer created_by: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendbirdBasicUserInfo' custom_type: type: string data: @@ -6276,7 +6276,7 @@ components: delivery_receipt: type: object disappearing_message: - $ref: '#/components/schemas/Sendbird.DisappearingMessage' + $ref: '#/components/schemas/SendbirdDisappearingMessage' freeze: type: boolean has_ai_bot: @@ -6295,7 +6295,7 @@ components: format: int64 type: integer inviter: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendbirdBasicUserInfo' is_access_code_required: nullable: true type: boolean @@ -6326,7 +6326,7 @@ components: nullable: true type: integer last_message: - $ref: '#/components/schemas/Sendbird_GroupChannel_last_message' + $ref: '#/components/schemas/SendbirdGroupChannel_last_message' max_length_message: type: integer member_count: @@ -6339,7 +6339,7 @@ components: type: string members: items: - $ref: '#/components/schemas/Sendbird.Member' + $ref: '#/components/schemas/SendbirdMember' type: array message_survival_seconds: type: integer @@ -6355,14 +6355,14 @@ components: name: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendbirdPushTriggerOption' read_receipt: additionalProperties: format: int64 type: integer type: object sms_fallback: - $ref: '#/components/schemas/Sendbird.SmsFallback' + $ref: '#/components/schemas/SendbirdSmsFallback' ts_message_offset: format: int64 type: integer @@ -6376,7 +6376,7 @@ components: required: - channel_url type: object - Sendbird.GroupChannelDetail: + SendbirdGroupChannelDetail: example: data: data custom_type: custom_type @@ -6733,7 +6733,7 @@ components: is_access_code_required: true properties: channel: - $ref: '#/components/schemas/Sendbird_GroupChannelDetail_channel' + $ref: '#/components/schemas/SendbirdGroupChannelDetail_channel' channel_url: type: string cover_url: @@ -6742,7 +6742,7 @@ components: format: int64 type: integer created_by: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendbirdBasicUserInfo' custom_type: type: string data: @@ -6753,7 +6753,7 @@ components: type: integer type: object disappearing_message: - $ref: '#/components/schemas/Sendbird.DisappearingMessage' + $ref: '#/components/schemas/SendbirdDisappearingMessage' freeze: type: boolean has_ai_bot: @@ -6781,14 +6781,14 @@ components: joined_member_count: type: integer last_message: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendbirdMessageResponse' max_length_message: type: integer member_count: type: integer members: items: - $ref: '#/components/schemas/Sendbird.Member' + $ref: '#/components/schemas/SendbirdMember' type: array message_survival_seconds: type: integer @@ -6796,7 +6796,7 @@ components: type: string operators: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendbirdUser' type: array read_receipt: additionalProperties: @@ -6804,7 +6804,7 @@ components: type: integer type: object sms_fallback: - $ref: '#/components/schemas/Sendbird.SmsFallback' + $ref: '#/components/schemas/SendbirdSmsFallback' unread_mention_count: type: integer unread_message_count: @@ -6812,7 +6812,7 @@ components: required: - channel_url type: object - Sendbird.OpenChannel: + SendbirdOpenChannel: example: cover_url: cover_url metadata: "{}" @@ -6867,7 +6867,7 @@ components: type: string operators: items: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendbirdBasicUserInfo' type: array participant_count: type: integer @@ -6878,7 +6878,7 @@ components: - channel_url type: object createAGroupChannelResponse: - $ref: '#/components/schemas/Sendbird.GroupChannelDetail' + $ref: '#/components/schemas/SendbirdGroupChannelDetail' groupChatListChannelsResponse: example: next: next @@ -7119,7 +7119,7 @@ components: properties: channels: items: - $ref: '#/components/schemas/Sendbird.GroupChannel' + $ref: '#/components/schemas/SendbirdGroupChannel' type: array next: type: string @@ -7130,19 +7130,19 @@ components: getAGroupChannelResponse: allOf: - $ref: '#/components/schemas/getAGroupChannelResponse_allOf' - - $ref: '#/components/schemas/Sendbird.GroupChannel' + - $ref: '#/components/schemas/SendbirdGroupChannel' updateAGroupChannelResponse: - $ref: '#/components/schemas/Sendbird.GroupChannelDetail' + $ref: '#/components/schemas/SendbirdGroupChannelDetail' acceptAnInvitationResponse: - $ref: '#/components/schemas/Sendbird.GroupChannelDetail' + $ref: '#/components/schemas/SendbirdGroupChannelDetail' inviteAsMembersResponse: allOf: - - $ref: '#/components/schemas/Sendbird.GroupChannel' + - $ref: '#/components/schemas/SendbirdGroupChannel' - $ref: '#/components/schemas/inviteAsMembersResponse_allOf' joinAChannelResponse: - $ref: '#/components/schemas/Sendbird.GroupChannelDetail' + $ref: '#/components/schemas/SendbirdGroupChannelDetail' freezeAGroupChannelResponse: - $ref: '#/components/schemas/Sendbird.GroupChannelDetail' + $ref: '#/components/schemas/SendbirdGroupChannelDetail' groupChannelListMembersResponse: example: next: next @@ -7198,7 +7198,7 @@ components: properties: members: items: - $ref: '#/components/schemas/Sendbird.Member' + $ref: '#/components/schemas/SendbirdMember' type: array next: type: string @@ -7269,7 +7269,7 @@ components: type: string operators: items: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendbirdBasicUserInfo' type: array type: object listBotsResponse: @@ -7625,7 +7625,7 @@ components: is_blocked_by_me: true properties: message: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendbirdMessageResponse' type: object createABotResponse: example: @@ -7765,11 +7765,11 @@ components: type: string type: object createAnOpenChannelResponse: - $ref: '#/components/schemas/Sendbird.OpenChannel' + $ref: '#/components/schemas/SendbirdOpenChannel' getAnOpenChannelResponse: - $ref: '#/components/schemas/Sendbird.OpenChannel' + $ref: '#/components/schemas/SendbirdOpenChannel' updateAnOpenChannelResponse: - $ref: '#/components/schemas/Sendbird.OpenChannel' + $ref: '#/components/schemas/SendbirdOpenChannel' listOpenChannelsResponse: example: next: next @@ -7836,7 +7836,7 @@ components: properties: channels: items: - $ref: '#/components/schemas/Sendbird.OpenChannel' + $ref: '#/components/schemas/SendbirdOpenChannel' type: array next: type: string @@ -7845,7 +7845,7 @@ components: type: integer type: object freezeAnOpenChannelResponse: - $ref: '#/components/schemas/Sendbird.OpenChannel' + $ref: '#/components/schemas/SendbirdOpenChannel' listBlockedUsersResponse: example: next: next @@ -7903,7 +7903,7 @@ components: properties: users: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendbirdUser' type: array next: type: string @@ -7965,7 +7965,7 @@ components: properties: users: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendbirdUser' type: array next: type: string @@ -7978,9 +7978,9 @@ components: type: integer type: object viewAUserResponse: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendbirdUser' updateAUserResponse: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendbirdUser' listUsersResponse: example: next: next @@ -8040,7 +8040,7 @@ components: type: string users: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendbirdUser' type: array type: object chooseAPushNotificationContentTemplateResponse: @@ -8051,7 +8051,7 @@ components: type: string type: object createAUserResponse: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendbirdUser' listRegistrationOrDeviceTokensResponse: example: tokens: @@ -8082,7 +8082,7 @@ components: type: type: string user: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendbirdBasicUserInfo' type: object addARegistrationOrDeviceTokenResponse: example: @@ -8103,7 +8103,7 @@ components: type: type: string user: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendbirdBasicUserInfo' type: object viewPushPreferencesResponse: example: @@ -8141,7 +8141,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendbirdPushTriggerOption' snooze_enabled: type: boolean snooze_end_ts: @@ -8193,7 +8193,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendbirdPushTriggerOption' snooze_enabled: type: boolean snooze_end_ts: @@ -8229,7 +8229,7 @@ components: type: string type: array user: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendbirdBasicUserInfo' type: object createUserTokenResponse: example: @@ -8253,7 +8253,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendbirdPushTriggerOption' type: object updatePushPreferencesForAChannelResponse: example: @@ -8266,7 +8266,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendbirdPushTriggerOption' type: object viewWhoOwnsARegistrationOrDeviceTokenResponse: items: @@ -8523,7 +8523,7 @@ components: properties: channels: items: - $ref: '#/components/schemas/Sendbird.GroupChannel' + $ref: '#/components/schemas/SendbirdGroupChannel' type: array next: type: string @@ -8547,7 +8547,7 @@ components: token: type: string user: - $ref: '#/components/schemas/Sendbird.BasicUserInfo' + $ref: '#/components/schemas/SendbirdBasicUserInfo' type: object viewCountPreferenceOfAChannelResponse: example: @@ -9004,7 +9004,7 @@ components: properties: messages: items: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendbirdMessageResponse' type: array type: object sendTextMessageRequestBody: @@ -9053,7 +9053,7 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendbirdSortedMetaarray_inner' type: array sound: type: string @@ -9080,7 +9080,7 @@ components: dedup_id: type: string files: - $ref: '#/components/schemas/Sendbird.File' + $ref: '#/components/schemas/SendbirdFile' is_silent: type: boolean mark_as_read: @@ -9121,7 +9121,7 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendbirdSortedMetaarray_inner' type: array sound: type: string @@ -9177,14 +9177,14 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendbirdSortedMetaarray_inner' type: array required: - message - message_type type: object sendAMessageResponse: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendbirdMessageResponse' getTotalNumberOfMessagesInAChannelResponse: example: total: 0 @@ -9206,7 +9206,7 @@ components: properties: sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendbirdSortedMetaarray_inner' type: array type: object addExtraDataToAMessageResponse: @@ -9223,13 +9223,13 @@ components: properties: sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendbirdSortedMetaarray_inner' type: array type: object getAMessageResponse: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendbirdMessageResponse' updateAMessageResponse: - $ref: '#/components/schemas/Sendbird.MessageResponse' + $ref: '#/components/schemas/SendbirdMessageResponse' emptyObjectResponse: properties: {} type: object @@ -9385,7 +9385,7 @@ components: type: string type: array extended_message_payload: - $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload' + $ref: '#/components/schemas/SendbirdExtendedMessagePayload' file: description: "When sending a single file with a message, specifies the data\ \ of the file to upload to the Sendbird server in raw binary format. When\ @@ -9430,7 +9430,7 @@ components: description: '* This property is available when message_type is FILE.' type: boolean sorted_metaarray: - $ref: '#/components/schemas/Sendbird.SortedMetaarray' + $ref: '#/components/schemas/SendbirdSortedMetaarray' apns_bundle_id: description: '* This property is available when message_type is FILE.' type: string @@ -9595,7 +9595,7 @@ components: type: array users: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendbirdUser' type: array required: - users @@ -10058,7 +10058,7 @@ components: push_sound: type: string push_trigger_option: - $ref: '#/components/schemas/Sendbird.PushTriggerOption' + $ref: '#/components/schemas/SendbirdPushTriggerOption' snooze_enabled: type: boolean snooze_end_ts: @@ -10199,7 +10199,7 @@ components: * This property is only available for group channels and message_type is MESG. type: integer files: - $ref: '#/components/schemas/Sendbird.File' + $ref: '#/components/schemas/SendbirdFile' require_auth: description: "Determines whether to require an authentication key to verify\ \ if the file is being properly accessed. Only the user who uploaded the\ @@ -10271,7 +10271,7 @@ components: type: boolean sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendbirdSortedMetaarray_inner' type: array sound: type: string @@ -10287,7 +10287,7 @@ components: type: string sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendbirdSortedMetaarray_inner' type: array upsert: type: boolean @@ -10296,7 +10296,7 @@ components: properties: sorted_metaarray: items: - $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner' + $ref: '#/components/schemas/SendbirdSortedMetaarray_inner' type: array required: - sorted_metaarray @@ -10326,7 +10326,7 @@ components: required: - message_type type: object - Sendbird_SortedMetaarray_inner: + SendbirdSortedMetaarray_inner: example: value: - value @@ -10340,7 +10340,7 @@ components: type: string type: array type: object - Sendbird_MessageResponse_message_events: + SendbirdMessageResponse_message_events: example: update_last_message: true update_mention_count: true @@ -10357,13 +10357,13 @@ components: update_last_message: type: boolean type: object - Sendbird_MessageResponse_extended_message_payload: + SendbirdMessageResponse_extended_message_payload: oneOf: - - $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload' - Sendbird_GroupChannel_last_message: + - $ref: '#/components/schemas/SendbirdExtendedMessagePayload' + SendbirdGroupChannel_last_message: oneOf: - - $ref: '#/components/schemas/Sendbird.MessageResponse' - Sendbird_GroupChannelDetail_channel: + - $ref: '#/components/schemas/SendbirdMessageResponse' + SendbirdGroupChannelDetail_channel: example: cover_url: cover_url data: data @@ -10395,13 +10395,13 @@ components: getAGroupChannelResponse_allOf: properties: channel: - $ref: '#/components/schemas/Sendbird_GroupChannelDetail_channel' + $ref: '#/components/schemas/SendbirdGroupChannelDetail_channel' type: object inviteAsMembersResponse_allOf: properties: operators: items: - $ref: '#/components/schemas/Sendbird.User' + $ref: '#/components/schemas/SendbirdUser' type: array type: object listBotsResponse_bots_inner_bot: diff --git a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 2fa125f6..bf2341ee 100644 --- a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -24,7 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java b/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java index a961a843..5d651cfa 100644 --- a/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java +++ b/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java @@ -40,7 +40,7 @@ AcceptAnInvitationRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("acceptAnInvitation_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class AcceptAnInvitationRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java index cb9e564d..31e87a31 100644 --- a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java +++ b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java @@ -37,7 +37,7 @@ AddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_HUAWEI_DEVICE_TOKEN }) @JsonTypeName("addARegistrationOrDeviceToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class AddARegistrationOrDeviceTokenRequest { public static final String JSON_PROPERTY_APNS_DEVICE_TOKEN = "apns_device_token"; private String apnsDeviceToken; diff --git a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java index f62025b7..be686873 100644 --- a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java @@ -38,7 +38,7 @@ AddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("addARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class AddARegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private String token; diff --git a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java index 85efe4c8..8c794ba9 100644 --- a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java @@ -38,7 +38,7 @@ AddExtraDataToAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("addExtraDataToAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class AddExtraDataToAMessageRequest { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; private List sortedMetaarray = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java index d4d0eb50..bd89cdfa 100644 --- a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java @@ -38,7 +38,7 @@ AddExtraDataToAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("addExtraDataToAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class AddExtraDataToAMessageResponse { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; private List sortedMetaarray = null; diff --git a/src/main/java/org/openapitools/client/model/BlockAUserRequest.java b/src/main/java/org/openapitools/client/model/BlockAUserRequest.java index 911b31fd..58def75b 100644 --- a/src/main/java/org/openapitools/client/model/BlockAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/BlockAUserRequest.java @@ -38,7 +38,7 @@ BlockAUserRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("blockAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class BlockAUserRequest { public static final String JSON_PROPERTY_TARGET_ID = "target_id"; private String targetId; diff --git a/src/main/java/org/openapitools/client/model/BlockAUserResponse.java b/src/main/java/org/openapitools/client/model/BlockAUserResponse.java index 5d3755b1..15a2a36c 100644 --- a/src/main/java/org/openapitools/client/model/BlockAUserResponse.java +++ b/src/main/java/org/openapitools/client/model/BlockAUserResponse.java @@ -39,7 +39,7 @@ BlockAUserResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("blockAUserResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class BlockAUserResponse { public static final String JSON_PROPERTY_USERS = "users"; private List users = null; diff --git a/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java b/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java index a7eeb456..da68e353 100644 --- a/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java +++ b/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java @@ -36,7 +36,7 @@ CheckIfMemberResponse.JSON_PROPERTY_STATE }) @JsonTypeName("checkIfMemberResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class CheckIfMemberResponse { public static final String JSON_PROPERTY_IS_MEMBER = "is_member"; private Boolean isMember; diff --git a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java index d5516027..cb410fac 100644 --- a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java +++ b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java @@ -35,7 +35,7 @@ ChooseAPushNotificationContentTemplateRequest.JSON_PROPERTY_NAME }) @JsonTypeName("chooseAPushNotificationContentTemplate_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ChooseAPushNotificationContentTemplateRequest { /** * Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default) diff --git a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java index 096b129a..a7fb5e17 100644 --- a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java +++ b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java @@ -35,7 +35,7 @@ ChooseAPushNotificationContentTemplateResponse.JSON_PROPERTY_NAME }) @JsonTypeName("chooseAPushNotificationContentTemplateResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ChooseAPushNotificationContentTemplateResponse { public static final String JSON_PROPERTY_NAME = "name"; private String name; diff --git a/src/main/java/org/openapitools/client/model/CreateABotRequest.java b/src/main/java/org/openapitools/client/model/CreateABotRequest.java index d994b49b..a9e540ea 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateABotRequest.java @@ -43,7 +43,7 @@ CreateABotRequest.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("createABot_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class CreateABotRequest { public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url"; private String botCallbackUrl; diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponse.java b/src/main/java/org/openapitools/client/model/CreateABotResponse.java index 2925f6bc..11b90098 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateABotResponse.java @@ -44,7 +44,7 @@ CreateABotResponse.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("createABotResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class CreateABotResponse { public static final String JSON_PROPERTY_BOT = "bot"; private CreateABotResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java b/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java index f1dd64f5..982d3474 100644 --- a/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java +++ b/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java @@ -43,7 +43,7 @@ CreateABotResponseBot.JSON_PROPERTY_FEEDBACK }) @JsonTypeName("createABotResponse_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class CreateABotResponseBot { public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; private String aiAgentType; diff --git a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java index 60d4ae0e..55c1cf34 100644 --- a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java @@ -36,7 +36,7 @@ CreateAChannelMetadataRequest.JSON_PROPERTY_METADATA }) @JsonTypeName("createAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class CreateAChannelMetadataRequest { public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; private Boolean includeTs; diff --git a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java index d93faa55..c1cc7744 100644 --- a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java @@ -36,7 +36,7 @@ CreateAChannelMetadataResponse.JSON_PROPERTY_METADATA }) @JsonTypeName("createAChannelMetadataResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class CreateAChannelMetadataResponse { public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts"; private Long includeTs; diff --git a/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java index edcbbb11..bd1ba7da 100644 --- a/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java @@ -61,7 +61,7 @@ CreateAGroupChannelRequest.JSON_PROPERTY_USERS }) @JsonTypeName("createAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class CreateAGroupChannelRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/CreateAUserRequest.java b/src/main/java/org/openapitools/client/model/CreateAUserRequest.java index c20034e0..206a8cd0 100644 --- a/src/main/java/org/openapitools/client/model/CreateAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAUserRequest.java @@ -48,7 +48,7 @@ CreateAUserRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("createAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class CreateAUserRequest { public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; private JsonNullable> discoveryKeys = JsonNullable.>undefined(); diff --git a/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java index 7e496330..11e951a3 100644 --- a/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateAnOpenChannelRequest.java @@ -46,7 +46,7 @@ CreateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("createAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class CreateAnOpenChannelRequest { public static final String JSON_PROPERTY_IS_DYNAMIC_PARTITIONED = "is_dynamic_partitioned"; private Boolean isDynamicPartitioned; diff --git a/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java b/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java index c55c959a..df7fe818 100644 --- a/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java +++ b/src/main/java/org/openapitools/client/model/CreateUserTokenRequest.java @@ -35,7 +35,7 @@ CreateUserTokenRequest.JSON_PROPERTY_EXPIRES_AT }) @JsonTypeName("createUserToken_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class CreateUserTokenRequest { public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; private Long expiresAt; diff --git a/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java b/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java index 567f45ff..b03e2a35 100644 --- a/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/CreateUserTokenResponse.java @@ -36,7 +36,7 @@ CreateUserTokenResponse.JSON_PROPERTY_TOKEN }) @JsonTypeName("createUserTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class CreateUserTokenResponse { public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; private Long expiresAt; diff --git a/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java index 2c274099..43c8a7d0 100644 --- a/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/FreezeAGroupChannelRequest.java @@ -35,7 +35,7 @@ FreezeAGroupChannelRequest.JSON_PROPERTY_FREEZE }) @JsonTypeName("freezeAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class FreezeAGroupChannelRequest { public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; diff --git a/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java index 0f907d47..883f235d 100644 --- a/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/FreezeAnOpenChannelRequest.java @@ -35,7 +35,7 @@ FreezeAnOpenChannelRequest.JSON_PROPERTY_FREEZE }) @JsonTypeName("freezeAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class FreezeAnOpenChannelRequest { public static final String JSON_PROPERTY_FREEZE = "freeze"; private Boolean freeze; diff --git a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java index 801a48e8..9e5a6a0b 100644 --- a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponse.java @@ -97,7 +97,7 @@ GetAGroupChannelResponse.JSON_PROPERTY_USER_LAST_READ }) @JsonTypeName("getAGroupChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class GetAGroupChannelResponse { public static final String JSON_PROPERTY_CHANNEL = "channel"; private SendbirdGroupChannelDetailChannel channel; diff --git a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java index a2b33955..60364308 100644 --- a/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java +++ b/src/main/java/org/openapitools/client/model/GetAGroupChannelResponseAllOf.java @@ -36,7 +36,7 @@ GetAGroupChannelResponseAllOf.JSON_PROPERTY_CHANNEL }) @JsonTypeName("getAGroupChannelResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class GetAGroupChannelResponseAllOf { public static final String JSON_PROPERTY_CHANNEL = "channel"; private SendbirdGroupChannelDetailChannel channel; diff --git a/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java index 398e5eff..c2a445bc 100644 --- a/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java +++ b/src/main/java/org/openapitools/client/model/GetChannelInvitationPreferenceResponse.java @@ -35,7 +35,7 @@ GetChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("getChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class GetChannelInvitationPreferenceResponse { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java b/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java index addce546..ad2aa44f 100644 --- a/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/GetTotalNumberOfMessagesInAChannelResponse.java @@ -35,7 +35,7 @@ GetTotalNumberOfMessagesInAChannelResponse.JSON_PROPERTY_TOTAL }) @JsonTypeName("getTotalNumberOfMessagesInAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class GetTotalNumberOfMessagesInAChannelResponse { public static final String JSON_PROPERTY_TOTAL = "total"; private Integer total; diff --git a/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java b/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java index 7a770a24..f6e5d867 100644 --- a/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java +++ b/src/main/java/org/openapitools/client/model/GroupChannelListMembersResponse.java @@ -39,7 +39,7 @@ GroupChannelListMembersResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("groupChannelListMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class GroupChannelListMembersResponse { public static final String JSON_PROPERTY_MEMBERS = "members"; private List members = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java b/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java index 1edbbb94..5a771e56 100644 --- a/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/GroupChatListChannelsResponse.java @@ -40,7 +40,7 @@ GroupChatListChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("groupChatListChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class GroupChatListChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; private List channels = null; diff --git a/src/main/java/org/openapitools/client/model/HideAChannelRequest.java b/src/main/java/org/openapitools/client/model/HideAChannelRequest.java index 98bb6cc2..f28e380a 100644 --- a/src/main/java/org/openapitools/client/model/HideAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/HideAChannelRequest.java @@ -38,7 +38,7 @@ HideAChannelRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("hideAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class HideAChannelRequest { public static final String JSON_PROPERTY_ALLOW_AUTO_UNHIDE = "allow_auto_unhide"; private Boolean allowAutoUnhide; diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java b/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java index 8b984488..5d750ae9 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersRequest.java @@ -40,7 +40,7 @@ InviteAsMembersRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("inviteAsMembers_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class InviteAsMembersRequest { public static final String JSON_PROPERTY_HIDDEN_STATUS = "hidden_status"; private Object hiddenStatus; diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java b/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java index e74623fe..597f34ab 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersResponse.java @@ -97,7 +97,7 @@ InviteAsMembersResponse.JSON_PROPERTY_OPERATORS }) @JsonTypeName("inviteAsMembersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class InviteAsMembersResponse { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; diff --git a/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java b/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java index 6999fd5c..7708f183 100644 --- a/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java +++ b/src/main/java/org/openapitools/client/model/InviteAsMembersResponseAllOf.java @@ -38,7 +38,7 @@ InviteAsMembersResponseAllOf.JSON_PROPERTY_OPERATORS }) @JsonTypeName("inviteAsMembersResponse_allOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class InviteAsMembersResponseAllOf { public static final String JSON_PROPERTY_OPERATORS = "operators"; private List operators = null; diff --git a/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java b/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java index 6ac9b1d5..2207eb24 100644 --- a/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/JoinAChannelRequest.java @@ -40,7 +40,7 @@ JoinAChannelRequest.JSON_PROPERTY_ACCESS_CODE }) @JsonTypeName("joinAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class JoinAChannelRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java b/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java index 78af7e77..4bfa635b 100644 --- a/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java +++ b/src/main/java/org/openapitools/client/model/JoinChannelsRequest.java @@ -37,7 +37,7 @@ JoinChannelsRequest.JSON_PROPERTY_CHANNEL_URLS }) @JsonTypeName("joinChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class JoinChannelsRequest { public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; private List channelUrls = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java b/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java index a0f82d68..097d873a 100644 --- a/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/LeaveAChannelRequest.java @@ -40,7 +40,7 @@ LeaveAChannelRequest.JSON_PROPERTY_REASON }) @JsonTypeName("leaveAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class LeaveAChannelRequest { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java b/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java index 32d75cd3..f08c9e29 100644 --- a/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java +++ b/src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java @@ -35,7 +35,7 @@ LeaveMyGroupChannelsRequest.JSON_PROPERTY_CUSTOM_TYPE }) @JsonTypeName("leaveMyGroupChannels_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class LeaveMyGroupChannelsRequest { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; diff --git a/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java b/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java index fdecf94b..4f338aec 100644 --- a/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java @@ -39,7 +39,7 @@ ListBlockedUsersResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("listBlockedUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListBlockedUsersResponse { public static final String JSON_PROPERTY_USERS = "users"; private List users = null; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponse.java b/src/main/java/org/openapitools/client/model/ListBotsResponse.java index 445fa268..94b2fc87 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponse.java @@ -39,7 +39,7 @@ ListBotsResponse.JSON_PROPERTY_NEXT }) @JsonTypeName("listBotsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListBotsResponse { public static final String JSON_PROPERTY_BOTS = "bots"; private List bots = null; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java index 0b1de7e5..c58d8ef7 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java @@ -50,7 +50,7 @@ ListBotsResponseBotsInner.JSON_PROPERTY_SHOW_MEMBER }) @JsonTypeName("listBotsResponse_bots_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListBotsResponseBotsInner { public static final String JSON_PROPERTY_BOT = "bot"; private ListBotsResponseBotsInnerBot bot; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java index 9b1920a9..71d0804b 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java @@ -42,7 +42,7 @@ ListBotsResponseBotsInnerBot.JSON_PROPERTY_BOT_USERID }) @JsonTypeName("listBotsResponse_bots_inner_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBot { public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type"; private String aiAgentType; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java index f28d6de9..76262720 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java @@ -43,7 +43,7 @@ ListBotsResponseBotsInnerBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_URL }) @JsonTypeName("listBotsResponse_bots_inner_bot_style") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBotStyle { public static final String JSON_PROPERTY_AUTO_OPEN = "auto_open"; private Boolean autoOpen; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java index 8a0df60d..e05f2ec8 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerBotStyleColor.JSON_PROPERTY_THEME }) @JsonTypeName("listBotsResponse_bots_inner_bot_style_color") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerBotStyleColor { public static final String JSON_PROPERTY_ACCENT_COLOR = "accent_color"; private String accentColor; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java index c5d6c675..d1c27453 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInner.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerFirstMessagesInner.JSON_PROPERTY_MESSAGE }) @JsonTypeName("listBotsResponse_bots_inner_first_messages_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerFirstMessagesInner { public static final String JSON_PROPERTY_DATA = "data"; private ListBotsResponseBotsInnerFirstMessagesInnerData data; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java index 0657fc18..b08cd37f 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerFirstMessagesInnerData.java @@ -37,7 +37,7 @@ ListBotsResponseBotsInnerFirstMessagesInnerData.JSON_PROPERTY_SUGGESTED_REPLIES }) @JsonTypeName("listBotsResponse_bots_inner_first_messages_inner_data") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerFirstMessagesInnerData { public static final String JSON_PROPERTY_SUGGESTED_REPLIES = "suggested_replies"; private List suggestedReplies = null; diff --git a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java index 7823ddd0..6bdc9558 100644 --- a/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java +++ b/src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerSafeguard.java @@ -40,7 +40,7 @@ ListBotsResponseBotsInnerSafeguard.JSON_PROPERTY_PII_MASKING }) @JsonTypeName("listBotsResponse_bots_inner_safeguard") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListBotsResponseBotsInnerSafeguard { public static final String JSON_PROPERTY_BANNED_PHRASES = "banned_phrases"; private List bannedPhrases = null; diff --git a/src/main/java/org/openapitools/client/model/ListMessagesResponse.java b/src/main/java/org/openapitools/client/model/ListMessagesResponse.java index bb7d965d..58921319 100644 --- a/src/main/java/org/openapitools/client/model/ListMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ListMessagesResponse.java @@ -38,7 +38,7 @@ ListMessagesResponse.JSON_PROPERTY_MESSAGES }) @JsonTypeName("listMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListMessagesResponse { public static final String JSON_PROPERTY_MESSAGES = "messages"; private List messages = null; diff --git a/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java b/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java index 81063425..33a8a005 100644 --- a/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListMyGroupChannelsResponse.java @@ -40,7 +40,7 @@ ListMyGroupChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("listMyGroupChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListMyGroupChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; private List channels = null; diff --git a/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java b/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java index cea3eb6d..171a28c7 100644 --- a/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListOpenChannelsResponse.java @@ -40,7 +40,7 @@ ListOpenChannelsResponse.JSON_PROPERTY_TS }) @JsonTypeName("listOpenChannelsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListOpenChannelsResponse { public static final String JSON_PROPERTY_CHANNELS = "channels"; private List channels = null; diff --git a/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java b/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java index 5a7ac51f..7679779e 100644 --- a/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java +++ b/src/main/java/org/openapitools/client/model/ListOperatorsResponse.java @@ -39,7 +39,7 @@ ListOperatorsResponse.JSON_PROPERTY_OPERATORS }) @JsonTypeName("listOperatorsResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListOperatorsResponse { public static final String JSON_PROPERTY_NEXT = "next"; private String next; diff --git a/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java b/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java index 7d4ccf45..28dd3faf 100644 --- a/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java +++ b/src/main/java/org/openapitools/client/model/ListRegistrationOrDeviceTokensResponse.java @@ -41,7 +41,7 @@ ListRegistrationOrDeviceTokensResponse.JSON_PROPERTY_USER }) @JsonTypeName("listRegistrationOrDeviceTokensResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListRegistrationOrDeviceTokensResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private List token = null; diff --git a/src/main/java/org/openapitools/client/model/ListUsersResponse.java b/src/main/java/org/openapitools/client/model/ListUsersResponse.java index b6d3fb53..47afbe20 100644 --- a/src/main/java/org/openapitools/client/model/ListUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ListUsersResponse.java @@ -39,7 +39,7 @@ ListUsersResponse.JSON_PROPERTY_USERS }) @JsonTypeName("listUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ListUsersResponse { public static final String JSON_PROPERTY_NEXT = "next"; private String next; diff --git a/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java index 69233cbf..d337165c 100644 --- a/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java +++ b/src/main/java/org/openapitools/client/model/MarkAllMessagesAsReadRequest.java @@ -37,7 +37,7 @@ MarkAllMessagesAsReadRequest.JSON_PROPERTY_CHANNEL_URLS }) @JsonTypeName("markAllMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class MarkAllMessagesAsReadRequest { public static final String JSON_PROPERTY_CHANNEL_URLS = "channel_urls"; private List channelUrls = null; diff --git a/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java b/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java index 46e2f3b1..67244287 100644 --- a/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java +++ b/src/main/java/org/openapitools/client/model/MarkChannelMessagesAsReadRequest.java @@ -35,7 +35,7 @@ MarkChannelMessagesAsReadRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("markChannelMessagesAsRead_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class MarkChannelMessagesAsReadRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java index b85e74d7..ce12747e 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesAdminMessageRequest.java @@ -44,7 +44,7 @@ MigrateMessagesAdminMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesAdminMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class MigrateMessagesAdminMessageRequest { /** * Gets or Sets messageType diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java index 60e91254..26b95c86 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequest.java @@ -50,7 +50,7 @@ MigrateMessagesFileMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesFileMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class MigrateMessagesFileMessageRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java index 38674275..a39bf2a6 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesFileMessageRequestThumbnailsInner.java @@ -47,7 +47,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") @JsonDeserialize(using = MigrateMessagesFileMessageRequestThumbnailsInner.MigrateMessagesFileMessageRequestThumbnailsInnerDeserializer.class) @JsonSerialize(using = MigrateMessagesFileMessageRequestThumbnailsInner.MigrateMessagesFileMessageRequestThumbnailsInnerSerializer.class) public class MigrateMessagesFileMessageRequestThumbnailsInner extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java index bd91bde9..d10864fa 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesRequest.java @@ -39,7 +39,7 @@ MigrateMessagesRequest.JSON_PROPERTY_UPDATE_READ_TS, MigrateMessagesRequest.JSON_PROPERTY_REWIND_READ_TS }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class MigrateMessagesRequest { public static final String JSON_PROPERTY_MESSAGES = "messages"; private List messages = null; diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java b/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java index cbbdb33d..bbfa95f6 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesRequestMessagesInner.java @@ -60,7 +60,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") @JsonDeserialize(using = MigrateMessagesRequestMessagesInner.MigrateMessagesRequestMessagesInnerDeserializer.class) @JsonSerialize(using = MigrateMessagesRequestMessagesInner.MigrateMessagesRequestMessagesInnerSerializer.class) public class MigrateMessagesRequestMessagesInner extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java b/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java index 58b25a9f..5d40d175 100644 --- a/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/MigrateMessagesTextMessageRequest.java @@ -44,7 +44,7 @@ MigrateMessagesTextMessageRequest.JSON_PROPERTY_DEDUP_ID, MigrateMessagesTextMessageRequest.JSON_PROPERTY_SORTED_METAARRAY }) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class MigrateMessagesTextMessageRequest { public static final String JSON_PROPERTY_USER_ID = "user_id"; private String userId; diff --git a/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java index 843ed68d..281515bb 100644 --- a/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/RegisterOperatorsToAGroupChannelRequest.java @@ -37,7 +37,7 @@ RegisterOperatorsToAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("registerOperatorsToAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class RegisterOperatorsToAGroupChannelRequest { public static final String JSON_PROPERTY_OPERATOR_IDS = "operator_ids"; private List operatorIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java index 04fe4066..82d3f442 100644 --- a/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/RemoveARegistrationOrDeviceTokenResponse.java @@ -37,7 +37,7 @@ RemoveARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("removeARegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class RemoveARegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private String token; diff --git a/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java index 07ed69eb..67dbd854 100644 --- a/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java +++ b/src/main/java/org/openapitools/client/model/RemoveAllRegistrationOrDeviceTokenResponse.java @@ -39,7 +39,7 @@ RemoveAllRegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER }) @JsonTypeName("removeAllRegistrationOrDeviceTokenResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class RemoveAllRegistrationOrDeviceTokenResponse { public static final String JSON_PROPERTY_TOKEN = "token"; private List token = null; diff --git a/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java b/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java index d7b128d9..71e5ccf2 100644 --- a/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java +++ b/src/main/java/org/openapitools/client/model/ResetChatHistoryRequest.java @@ -36,7 +36,7 @@ ResetChatHistoryRequest.JSON_PROPERTY_USER_ID }) @JsonTypeName("resetChatHistory_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ResetChatHistoryRequest { public static final String JSON_PROPERTY_RESET_ALL = "reset_all"; private Boolean resetAll; diff --git a/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java b/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java index a87acd88..de4007bb 100644 --- a/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java +++ b/src/main/java/org/openapitools/client/model/ResetChatHistoryResponse.java @@ -35,7 +35,7 @@ ResetChatHistoryResponse.JSON_PROPERTY_TS_MESSAGE_OFFSET }) @JsonTypeName("resetChatHistoryResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ResetChatHistoryResponse { public static final String JSON_PROPERTY_TS_MESSAGE_OFFSET = "ts_message_offset"; private Long tsMessageOffset; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java index a2117fe4..e67be205 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequest.java @@ -56,7 +56,7 @@ ScheduleAnAnnouncementRequest.JSON_PROPERTY_UNIQUE_ID }) @JsonTypeName("scheduleAnAnnouncement_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequest { public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; private String announcementGroup; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java index a5f892b8..2bc7e3f4 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateChannelOptions.java @@ -39,7 +39,7 @@ ScheduleAnAnnouncementRequestCreateChannelOptions.JSON_PROPERTY_NAME }) @JsonTypeName("scheduleAnAnnouncement_request_create_channel_options") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequestCreateChannelOptions { public static final String JSON_PROPERTY_COVER_URL = "cover_url"; private String coverUrl; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java index f2f6301c..0cb03026 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java @@ -39,7 +39,7 @@ ScheduleAnAnnouncementRequestMessage.JSON_PROPERTY_USER_ID }) @JsonTypeName("scheduleAnAnnouncement_request_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementRequestMessage { public static final String JSON_PROPERTY_CONTENT = "content"; private String content; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java index 59a2be78..6e15ddf3 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java @@ -61,7 +61,7 @@ ScheduleAnAnnouncementResponse.JSON_PROPERTY_UNIQUE_ID }) @JsonTypeName("scheduleAnAnnouncementResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementResponse { public static final String JSON_PROPERTY_ANNOUNCEMENT_GROUP = "announcement_group"; private String announcementGroup; diff --git a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java index 3cca13e9..337a8036 100644 --- a/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java +++ b/src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java @@ -40,7 +40,7 @@ ScheduleAnAnnouncementResponseMessage.JSON_PROPERTY_USER_ID }) @JsonTypeName("scheduleAnAnnouncementResponse_message") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ScheduleAnAnnouncementResponseMessage { public static final String JSON_PROPERTY_CONTENT = "content"; private String content; diff --git a/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java b/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java index 51a7996e..20bfdec6 100644 --- a/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/SendABotMessageResponse.java @@ -36,7 +36,7 @@ SendABotMessageResponse.JSON_PROPERTY_MESSAGE }) @JsonTypeName("sendABotMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendABotMessageResponse { public static final String JSON_PROPERTY_MESSAGE = "message"; private SendbirdMessageResponse message; diff --git a/src/main/java/org/openapitools/client/model/SendAMessageRequest.java b/src/main/java/org/openapitools/client/model/SendAMessageRequest.java index 92582bab..241fa461 100644 --- a/src/main/java/org/openapitools/client/model/SendAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequest.java @@ -66,7 +66,7 @@ SendAMessageRequest.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendAMessageRequest { /** * Gets or Sets messageType diff --git a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java index 85574bf3..8f11f0f0 100644 --- a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java @@ -55,7 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") @JsonDeserialize(using = SendAMessageRequestPushMessageTemplate.SendAMessageRequestPushMessageTemplateDeserializer.class) @JsonSerialize(using = SendAMessageRequestPushMessageTemplate.SendAMessageRequestPushMessageTemplateSerializer.class) public class SendAMessageRequestPushMessageTemplate extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java index 0b28703b..9f788f29 100644 --- a/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java +++ b/src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java @@ -36,7 +36,7 @@ SendAMessageRequestPushMessageTemplateOneOf.JSON_PROPERTY_BODY }) @JsonTypeName("sendAMessage_request_push_message_template_oneOf") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendAMessageRequestPushMessageTemplateOneOf { public static final String JSON_PROPERTY_TITLE = "title"; private String title; diff --git a/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java index bbb9bce4..4e79f727 100644 --- a/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java @@ -50,7 +50,7 @@ SendAdminMessageRequestBody.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("sendAdminMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendAdminMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; diff --git a/src/main/java/org/openapitools/client/model/SendBirdFile.java b/src/main/java/org/openapitools/client/model/SendBirdFile.java index 162f84d7..8d6e1f40 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdFile.java +++ b/src/main/java/org/openapitools/client/model/SendBirdFile.java @@ -42,8 +42,7 @@ SendbirdFile.JSON_PROPERTY_THUMBNAILS, SendbirdFile.JSON_PROPERTY_REQUIRE_AUTH }) -@JsonTypeName("Sendbird.File") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdFile { public static final String JSON_PROPERTY_URL = "url"; private String url; @@ -231,7 +230,7 @@ public void setRequireAuth(Boolean requireAuth) { /** - * Return true if this Sendbird.File object is equal to o. + * Return true if this SendbirdFile object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java b/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java index 5ae5018b..55e9b0eb 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java +++ b/src/main/java/org/openapitools/client/model/SendBirdGroupChannel.java @@ -92,8 +92,7 @@ SendbirdGroupChannel.JSON_PROPERTY_UNREAD_MESSAGE_COUNT, SendbirdGroupChannel.JSON_PROPERTY_USER_LAST_READ }) -@JsonTypeName("Sendbird.GroupChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdGroupChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -1594,7 +1593,7 @@ public void setUserLastRead(Long userLastRead) { /** - * Return true if this Sendbird.GroupChannel object is equal to o. + * Return true if this SendbirdGroupChannel object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendBirdMember.java b/src/main/java/org/openapitools/client/model/SendBirdMember.java index 12502ba3..5c4671c1 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMember.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMember.java @@ -62,8 +62,7 @@ SendbirdMember.JSON_PROPERTY_STATE, SendbirdMember.JSON_PROPERTY_USER_ID }) -@JsonTypeName("Sendbird.Member") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdMember { public static final String JSON_PROPERTY_DELIVERED_TS = "delivered_ts"; private Long deliveredTs; @@ -841,7 +840,7 @@ public void setUserId(String userId) { /** - * Return true if this Sendbird.Member object is equal to o. + * Return true if this SendbirdMember object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java b/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java index 2633b676..e0607a14 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/SendBirdMessageResponse.java @@ -76,8 +76,7 @@ SendbirdMessageResponse.JSON_PROPERTY_MESSAGE_EVENTS, SendbirdMessageResponse.JSON_PROPERTY_EXTENDED_MESSAGE_PAYLOAD }) -@JsonTypeName("Sendbird.MessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdMessageResponse { public static final String JSON_PROPERTY_REQUIRE_AUTH = "require_auth"; private Boolean requireAuth; @@ -993,7 +992,7 @@ public void setExtendedMessagePayload(SendbirdMessageResponseExtendedMessagePayl /** - * Return true if this Sendbird.MessageResponse object is equal to o. + * Return true if this SendbirdMessageResponse object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java b/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java index 53b0b264..4139eded 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java +++ b/src/main/java/org/openapitools/client/model/SendBirdOpenChannel.java @@ -53,8 +53,7 @@ SendbirdOpenChannel.JSON_PROPERTY_PARTICIPANT_COUNT, SendbirdOpenChannel.JSON_PROPERTY_METADATA }) -@JsonTypeName("Sendbird.OpenChannel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdOpenChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -453,7 +452,7 @@ public void setMetadata(Object metadata) { /** - * Return true if this Sendbird.OpenChannel object is equal to o. + * Return true if this SendbirdOpenChannel object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java b/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java index 83f0f67e..f3bf2a2c 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java +++ b/src/main/java/org/openapitools/client/model/SendBirdParentMessageInfo.java @@ -44,8 +44,7 @@ SendbirdParentMessageInfo.JSON_PROPERTY_FILE, SendbirdParentMessageInfo.JSON_PROPERTY_FILES }) -@JsonTypeName("Sendbird.ParentMessageInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdParentMessageInfo { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; @@ -262,7 +261,7 @@ public void setFiles(List files) { /** - * Return true if this Sendbird.ParentMessageInfo object is equal to o. + * Return true if this SendbirdParentMessageInfo object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendBirdReaction.java b/src/main/java/org/openapitools/client/model/SendBirdReaction.java index 4c60c4d2..fa14ead2 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdReaction.java +++ b/src/main/java/org/openapitools/client/model/SendBirdReaction.java @@ -38,8 +38,7 @@ SendbirdReaction.JSON_PROPERTY_UPDATED_AT, SendbirdReaction.JSON_PROPERTY_USER_IDS }) -@JsonTypeName("Sendbird.Reaction") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdReaction { public static final String JSON_PROPERTY_KEY = "key"; private String key; @@ -140,7 +139,7 @@ public void setUserIds(List userIds) { /** - * Return true if this Sendbird.Reaction object is equal to o. + * Return true if this SendbirdReaction object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendBirdUser.java b/src/main/java/org/openapitools/client/model/SendBirdUser.java index c858e71e..e8c56517 100644 --- a/src/main/java/org/openapitools/client/model/SendBirdUser.java +++ b/src/main/java/org/openapitools/client/model/SendBirdUser.java @@ -61,8 +61,7 @@ SendbirdUser.JSON_PROPERTY_PHONE_NUMBER, SendbirdUser.JSON_PROPERTY_IS_CREATED }) -@JsonTypeName("Sendbird.User") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdUser { public static final String JSON_PROPERTY_ACCESS_TOKEN = "access_token"; private String accessToken; @@ -778,7 +777,7 @@ public void setIsCreated(Boolean isCreated) { /** - * Return true if this Sendbird.User object is equal to o. + * Return true if this SendbirdUser object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java index 288f448b..4db78649 100644 --- a/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java @@ -60,7 +60,7 @@ SendFileMessageRequestBody.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendFileMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendFileMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; diff --git a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java index 9ff2827f..0a032a65 100644 --- a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java +++ b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java @@ -58,7 +58,7 @@ SendTextMessageRequestBody.JSON_PROPERTY_VOLUME }) @JsonTypeName("sendTextMessageRequestBody") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendTextMessageRequestBody { public static final String JSON_PROPERTY_APNS_BUNDLE_ID = "apns_bundle_id"; private String apnsBundleId; diff --git a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java index bb8458d0..1a758089 100644 --- a/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java +++ b/src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java @@ -55,7 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") @JsonDeserialize(using = SendTextMessageRequestBodyPushMessageTemplate.SendTextMessageRequestBodyPushMessageTemplateDeserializer.class) @JsonSerialize(using = SendTextMessageRequestBodyPushMessageTemplate.SendTextMessageRequestBodyPushMessageTemplateSerializer.class) public class SendTextMessageRequestBodyPushMessageTemplate extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java b/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java index fe402bb3..e6461ba3 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java +++ b/src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java @@ -45,8 +45,7 @@ SendbirdBasicUserInfo.JSON_PROPERTY_PROFILE_URL, SendbirdBasicUserInfo.JSON_PROPERTY_METADATA }) -@JsonTypeName("Sendbird.BasicUserInfo") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdBasicUserInfo { public static final String JSON_PROPERTY_REQUIRE_AUTH_FOR_PROFILE_IMAGE = "require_auth_for_profile_image"; private Boolean requireAuthForProfileImage; @@ -337,7 +336,7 @@ public void setMetadata(Object metadata) { /** - * Return true if this Sendbird.BasicUserInfo object is equal to o. + * Return true if this SendbirdBasicUserInfo object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java b/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java index 356bcf0d..f64f286a 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java +++ b/src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java @@ -35,8 +35,7 @@ SendbirdDisappearingMessage.JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS, SendbirdDisappearingMessage.JSON_PROPERTY_IS_TRIGGERED_BY_MESSAGE_READ }) -@JsonTypeName("Sendbird.DisappearingMessage") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdDisappearingMessage { public static final String JSON_PROPERTY_MESSAGE_SURVIVAL_SECONDS = "message_survival_seconds"; private Integer messageSurvivalSeconds; @@ -100,7 +99,7 @@ public void setIsTriggeredByMessageRead(Boolean isTriggeredByMessageRead) { /** - * Return true if this Sendbird.DisappearingMessage object is equal to o. + * Return true if this SendbirdDisappearingMessage object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java index 92bba574..9bf5e53f 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java +++ b/src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java @@ -38,8 +38,7 @@ SendbirdExtendedMessagePayload.JSON_PROPERTY_CUSTOM_VIEW, SendbirdExtendedMessagePayload.JSON_PROPERTY_SUGGESTED_REPLIES }) -@JsonTypeName("Sendbird.ExtendedMessagePayload") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdExtendedMessagePayload { public static final String JSON_PROPERTY_CUSTOM_VIEW = "custom_view"; private Object customView; @@ -111,7 +110,7 @@ public void setSuggestedReplies(List suggestedReplies) { /** - * Return true if this Sendbird.ExtendedMessagePayload object is equal to o. + * Return true if this SendbirdExtendedMessagePayload object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java index 3ef6e8e1..c0d3f83b 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java @@ -77,8 +77,7 @@ SendbirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MENTION_COUNT, SendbirdGroupChannelDetail.JSON_PROPERTY_UNREAD_MESSAGE_COUNT }) -@JsonTypeName("Sendbird.GroupChannelDetail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdGroupChannelDetail { public static final String JSON_PROPERTY_CHANNEL = "channel"; private SendbirdGroupChannelDetailChannel channel; @@ -1073,7 +1072,7 @@ public void setUnreadMessageCount(Integer unreadMessageCount) { /** - * Return true if this Sendbird.GroupChannelDetail object is equal to o. + * Return true if this SendbirdGroupChannelDetail object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java index a26a9f55..5a338e38 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java @@ -41,8 +41,8 @@ SendbirdGroupChannelDetailChannel.JSON_PROPERTY_MEMBER_COUNT, SendbirdGroupChannelDetailChannel.JSON_PROPERTY_NAME }) -@JsonTypeName("Sendbird_GroupChannelDetail_channel") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@JsonTypeName("SendbirdGroupChannelDetail_channel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdGroupChannelDetailChannel { public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url"; private String channelUrl; @@ -280,7 +280,7 @@ public void setName(String name) { /** - * Return true if this Sendbird_GroupChannelDetail_channel object is equal to o. + * Return true if this SendbirdGroupChannelDetail_channel object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java index 11431f24..9bbf0b27 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java +++ b/src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java @@ -68,7 +68,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") @JsonDeserialize(using = SendbirdGroupChannelLastMessage.SendbirdGroupChannelLastMessageDeserializer.class) @JsonSerialize(using = SendbirdGroupChannelLastMessage.SendbirdGroupChannelLastMessageSerializer.class) public class SendbirdGroupChannelLastMessage extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java index 615f8a60..49d357a9 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java +++ b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java @@ -57,7 +57,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.sendbird.client.JSON; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") @JsonDeserialize(using = SendbirdMessageResponseExtendedMessagePayload.SendbirdMessageResponseExtendedMessagePayloadDeserializer.class) @JsonSerialize(using = SendbirdMessageResponseExtendedMessagePayload.SendbirdMessageResponseExtendedMessagePayloadSerializer.class) public class SendbirdMessageResponseExtendedMessagePayload extends AbstractOpenApiSchema { diff --git a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java index f4edef30..b4a8bd8a 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java +++ b/src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java @@ -37,8 +37,8 @@ SendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_MENTION_COUNT, SendbirdMessageResponseMessageEvents.JSON_PROPERTY_UPDATE_LAST_MESSAGE }) -@JsonTypeName("Sendbird_MessageResponse_message_events") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@JsonTypeName("SendbirdMessageResponse_message_events") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdMessageResponseMessageEvents { public static final String JSON_PROPERTY_SEND_PUSH_NOTIFICATION = "send_push_notification"; private String sendPushNotification; @@ -160,7 +160,7 @@ public void setUpdateLastMessage(Boolean updateLastMessage) { /** - * Return true if this Sendbird_MessageResponse_message_events object is equal to o. + * Return true if this SendbirdMessageResponse_message_events object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java b/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java index c8af774e..68573110 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java +++ b/src/main/java/org/openapitools/client/model/SendbirdPushTriggerOption.java @@ -25,7 +25,7 @@ import com.fasterxml.jackson.annotation.JsonValue; /** - * Gets or Sets Sendbird.PushTriggerOption + * Gets or Sets SendbirdPushTriggerOption */ public enum SendbirdPushTriggerOption { diff --git a/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java b/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java index 662ad9c0..7a6d0f0f 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java +++ b/src/main/java/org/openapitools/client/model/SendbirdSmsFallback.java @@ -37,8 +37,7 @@ SendbirdSmsFallback.JSON_PROPERTY_WAIT_SECONDS, SendbirdSmsFallback.JSON_PROPERTY_EXCLUDE_USER_IDS }) -@JsonTypeName("Sendbird.SmsFallback") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdSmsFallback { public static final String JSON_PROPERTY_WAIT_SECONDS = "wait_seconds"; private Integer waitSeconds; @@ -110,7 +109,7 @@ public void setExcludeUserIds(List excludeUserIds) { /** - * Return true if this Sendbird.SmsFallback object is equal to o. + * Return true if this SendbirdSmsFallback object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java b/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java index ae85092f..1b26b1db 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java +++ b/src/main/java/org/openapitools/client/model/SendbirdSortedMetaarrayInner.java @@ -37,8 +37,8 @@ SendbirdSortedMetaarrayInner.JSON_PROPERTY_KEY, SendbirdSortedMetaarrayInner.JSON_PROPERTY_VALUE }) -@JsonTypeName("Sendbird_SortedMetaarray_inner") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@JsonTypeName("SendbirdSortedMetaarray_inner") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdSortedMetaarrayInner { public static final String JSON_PROPERTY_KEY = "key"; private String key; @@ -110,7 +110,7 @@ public void setValue(List value) { /** - * Return true if this Sendbird_SortedMetaarray_inner object is equal to o. + * Return true if this SendbirdSortedMetaarray_inner object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java b/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java index 047041ff..89f9152b 100644 --- a/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java +++ b/src/main/java/org/openapitools/client/model/SendbirdThumbnail.java @@ -39,8 +39,7 @@ SendbirdThumbnail.JSON_PROPERTY_URL, SendbirdThumbnail.JSON_PROPERTY_WIDTH }) -@JsonTypeName("Sendbird.Thumbnail") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class SendbirdThumbnail { public static final String JSON_PROPERTY_HEIGHT = "height"; private Integer height; @@ -220,7 +219,7 @@ public void setWidth(Integer width) { /** - * Return true if this Sendbird.Thumbnail object is equal to o. + * Return true if this SendbirdThumbnail object is equal to o. */ @Override public boolean equals(Object o) { diff --git a/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java b/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java index 58bfd0ba..10125875 100644 --- a/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java +++ b/src/main/java/org/openapitools/client/model/StartTypingIndicatorsRequest.java @@ -37,7 +37,7 @@ StartTypingIndicatorsRequest.JSON_PROPERTY_USER_IDS }) @JsonTypeName("startTypingIndicators_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class StartTypingIndicatorsRequest { public static final String JSON_PROPERTY_USER_IDS = "user_ids"; private List userIds = new ArrayList<>(); diff --git a/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java index bf36a262..031812c5 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAChannelMetadataRequest.java @@ -36,7 +36,7 @@ UpdateAChannelMetadataRequest.JSON_PROPERTY_UPSERT }) @JsonTypeName("updateAChannelMetadata_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateAChannelMetadataRequest { public static final String JSON_PROPERTY_METADATA = "metadata"; private Object metadata; diff --git a/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java index 01cdebc4..c0f76fc9 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java @@ -51,7 +51,7 @@ UpdateAGroupChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("updateAGroupChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateAGroupChannelRequest { public static final String JSON_PROPERTY_ACCESS_CODE = "access_code"; private JsonNullable accessCode = JsonNullable.undefined(); diff --git a/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java b/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java index 32711966..41bcf3f2 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java @@ -43,7 +43,7 @@ UpdateAMessageRequest.JSON_PROPERTY_MESSAGE_TYPE }) @JsonTypeName("updateAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateAMessageRequest { public static final String JSON_PROPERTY_CUSTOM_TYPE = "custom_type"; private String customType; diff --git a/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java b/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java index 34c84001..ae9443d1 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAUserRequest.java @@ -50,7 +50,7 @@ UpdateAUserRequest.JSON_PROPERTY_PROFILE_URL }) @JsonTypeName("updateAUser_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateAUserRequest { public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys"; private JsonNullable> discoveryKeys = JsonNullable.>undefined(); diff --git a/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java index db80519d..318c2a73 100644 --- a/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java @@ -43,7 +43,7 @@ UpdateAnOpenChannelRequest.JSON_PROPERTY_OPERATOR_IDS }) @JsonTypeName("updateAnOpenChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateAnOpenChannelRequest { public static final String JSON_PROPERTY_COVER_FILE = "cover_file"; private File coverFile; diff --git a/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java b/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java index 9b44c818..65b1bc51 100644 --- a/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java +++ b/src/main/java/org/openapitools/client/model/UpdateBotByIdData.java @@ -42,7 +42,7 @@ UpdateBotByIdData.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("updateBotByIdData") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateBotByIdData { public static final String JSON_PROPERTY_BOT_USERID = "bot_userid"; private String botUserid; diff --git a/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java b/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java index cf20db6d..a87ae5ff 100644 --- a/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java @@ -41,7 +41,7 @@ UpdateBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("updateBotByIdResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateBotByIdResponse { public static final String JSON_PROPERTY_BOT = "bot"; private ViewBotByIdResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java index 6ba60786..a33417b4 100644 --- a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java @@ -35,7 +35,7 @@ UpdateChannelInvitationPreferenceRequest.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("updateChannelInvitationPreference_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateChannelInvitationPreferenceRequest { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java index d23a02b3..0ae94a64 100644 --- a/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java @@ -35,7 +35,7 @@ UpdateChannelInvitationPreferenceResponse.JSON_PROPERTY_AUTO_ACCEPT }) @JsonTypeName("updateChannelInvitationPreferenceResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateChannelInvitationPreferenceResponse { public static final String JSON_PROPERTY_AUTO_ACCEPT = "auto_accept"; private Boolean autoAccept; diff --git a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java index e2b2e61f..df5333c0 100644 --- a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java @@ -35,7 +35,7 @@ UpdateCountPreferenceOfAChannelRequest.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("updateCountPreferenceOfAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateCountPreferenceOfAChannelRequest { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java index a58fc4a9..e1312f0e 100644 --- a/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfChannelByUrlResponse.java @@ -35,7 +35,7 @@ UpdateCountPreferenceOfChannelByUrlResponse.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("updateCountPreferenceOfChannelByUrlResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateCountPreferenceOfChannelByUrlResponse { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java index abbb08f4..3f405236 100644 --- a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageRequest.java @@ -40,7 +40,7 @@ UpdateExtraDataInAMessageRequest.JSON_PROPERTY_UPSERT }) @JsonTypeName("updateExtraDataInAMessage_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateExtraDataInAMessageRequest { public static final String JSON_PROPERTY_MODE = "mode"; private String mode; diff --git a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java index 47e0fc2c..2d9b3f8f 100644 --- a/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdateExtraDataInAMessageResponse.java @@ -38,7 +38,7 @@ UpdateExtraDataInAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY }) @JsonTypeName("updateExtraDataInAMessageResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdateExtraDataInAMessageResponse { public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray"; private List sortedMetaarray = null; diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java index 0bee2390..0bfd4e33 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequest.java @@ -36,7 +36,7 @@ UpdatePushPreferencesForAChannelRequest.JSON_PROPERTY_PUSH_SOUND }) @JsonTypeName("updatePushPreferencesForAChannel_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdatePushPreferencesForAChannelRequest { /** * The type of notifications trigger applies to group channels when a user is disconnected from Sendbird server. Acceptable values are the following: - default (default): Indicates that a user's notifications trigger setting applies to the specified channel. - all: Indicates that a user receives notifications for all new messages. - mention_only: Indicates that a user only receives notifications for mentioned messages. - off: Indicates that a user doesn't receive any notifications. diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java index 50831431..e03f1112 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java @@ -38,7 +38,7 @@ UpdatePushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION }) @JsonTypeName("updatePushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdatePushPreferencesForAChannelResponse { public static final String JSON_PROPERTY_ENABLE = "enable"; private Boolean enable; diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java index 05e906ae..1a9fddbd 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java @@ -51,7 +51,7 @@ UpdatePushPreferencesRequest.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("updatePushPreferences_request") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdatePushPreferencesRequest { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; diff --git a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java index bed49982..3c23b92d 100644 --- a/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java +++ b/src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java @@ -51,7 +51,7 @@ UpdatePushPreferencesResponse.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("updatePushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UpdatePushPreferencesResponse { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; diff --git a/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java b/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java index 3d623c47..310ad98e 100644 --- a/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java @@ -41,7 +41,7 @@ ViewBotByIdResponse.JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE }) @JsonTypeName("viewBotByIdResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ViewBotByIdResponse { public static final String JSON_PROPERTY_BOT = "bot"; private ViewBotByIdResponseBot bot; diff --git a/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java b/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java index ee4e564b..f51b6762 100644 --- a/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java +++ b/src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java @@ -40,7 +40,7 @@ ViewBotByIdResponseBot.JSON_PROPERTY_BOT_METADATA }) @JsonTypeName("viewBotByIdResponse_bot") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ViewBotByIdResponseBot { public static final String JSON_PROPERTY_BOT_TOKEN = "bot_token"; private String botToken; diff --git a/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java b/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java index 4bba91ff..72c44117 100644 --- a/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java @@ -35,7 +35,7 @@ ViewCountPreferenceOfAChannelResponse.JSON_PROPERTY_COUNT_PREFERENCE }) @JsonTypeName("viewCountPreferenceOfAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ViewCountPreferenceOfAChannelResponse { /** * Gets or Sets countPreference diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java index 20477cf2..fb60a1c5 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java @@ -35,7 +35,7 @@ ViewNumberOfChannelsWithUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT }) @JsonTypeName("viewNumberOfChannelsWithUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ViewNumberOfChannelsWithUnreadMessagesResponse { public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; private Integer unreadCount; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java index 9dc61fad..8b70d6e8 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java @@ -35,7 +35,7 @@ ViewNumberOfDailyActiveUsersResponse.JSON_PROPERTY_DAU }) @JsonTypeName("viewNumberOfDailyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ViewNumberOfDailyActiveUsersResponse { public static final String JSON_PROPERTY_DAU = "dau"; private Integer dau; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java index 851307fd..31a8d0e9 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfMonthlyActiveUsersResponse.java @@ -35,7 +35,7 @@ ViewNumberOfMonthlyActiveUsersResponse.JSON_PROPERTY_MAU }) @JsonTypeName("viewNumberOfMonthlyActiveUsersResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ViewNumberOfMonthlyActiveUsersResponse { public static final String JSON_PROPERTY_MAU = "mau"; private Integer mau; diff --git a/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java b/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java index afcec829..bb2484a0 100644 --- a/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewNumberOfUnreadMessagesResponse.java @@ -35,7 +35,7 @@ ViewNumberOfUnreadMessagesResponse.JSON_PROPERTY_UNREAD_COUNT }) @JsonTypeName("viewNumberOfUnreadMessagesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ViewNumberOfUnreadMessagesResponse { public static final String JSON_PROPERTY_UNREAD_COUNT = "unread_count"; private Integer unreadCount; diff --git a/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java b/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java index 8758f7fc..a324320e 100644 --- a/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewPushPreferencesForAChannelResponse.java @@ -38,7 +38,7 @@ ViewPushPreferencesForAChannelResponse.JSON_PROPERTY_PUSH_TRIGGER_OPTION }) @JsonTypeName("viewPushPreferencesForAChannelResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ViewPushPreferencesForAChannelResponse { public static final String JSON_PROPERTY_ENABLE = "enable"; private Boolean enable; diff --git a/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java b/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java index 84d3c5b3..1ae27750 100644 --- a/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java +++ b/src/main/java/org/openapitools/client/model/ViewPushPreferencesResponse.java @@ -51,7 +51,7 @@ ViewPushPreferencesResponse.JSON_PROPERTY_TIMEZONE }) @JsonTypeName("viewPushPreferencesResponse") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ViewPushPreferencesResponse { public static final String JSON_PROPERTY_BLOCK_PUSH_FROM_BOTS = "block_push_from_bots"; private Boolean blockPushFromBots; diff --git a/src/main/java/org/sendbird/client/ApiClient.java b/src/main/java/org/sendbird/client/ApiClient.java index d0b861e7..b17501c9 100644 --- a/src/main/java/org/sendbird/client/ApiClient.java +++ b/src/main/java/org/sendbird/client/ApiClient.java @@ -66,7 +66,7 @@ /** *

ApiClient class.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ApiClient extends JavaTimeFormatter { protected Map defaultHeaderMap = new HashMap(); protected Map defaultCookieMap = new HashMap(); diff --git a/src/main/java/org/sendbird/client/ApiException.java b/src/main/java/org/sendbird/client/ApiException.java index f3c57e06..083c12b6 100644 --- a/src/main/java/org/sendbird/client/ApiException.java +++ b/src/main/java/org/sendbird/client/ApiException.java @@ -19,7 +19,7 @@ /** * API Exception */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/src/main/java/org/sendbird/client/Configuration.java b/src/main/java/org/sendbird/client/Configuration.java index ef6ee80e..a3d01cc2 100644 --- a/src/main/java/org/sendbird/client/Configuration.java +++ b/src/main/java/org/sendbird/client/Configuration.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/org/sendbird/client/JSON.java b/src/main/java/org/sendbird/client/JSON.java index 15d2f097..c3423f15 100644 --- a/src/main/java/org/sendbird/client/JSON.java +++ b/src/main/java/org/sendbird/client/JSON.java @@ -15,7 +15,7 @@ import javax.ws.rs.core.GenericType; import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class JSON implements ContextResolver { private ObjectMapper mapper; diff --git a/src/main/java/org/sendbird/client/JavaTimeFormatter.java b/src/main/java/org/sendbird/client/JavaTimeFormatter.java index 0ffc2070..3371adb3 100644 --- a/src/main/java/org/sendbird/client/JavaTimeFormatter.java +++ b/src/main/java/org/sendbird/client/JavaTimeFormatter.java @@ -20,7 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/src/main/java/org/sendbird/client/Pair.java b/src/main/java/org/sendbird/client/Pair.java index 9fce16fa..93b4a925 100644 --- a/src/main/java/org/sendbird/client/Pair.java +++ b/src/main/java/org/sendbird/client/Pair.java @@ -13,7 +13,7 @@ package org.sendbird.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/org/sendbird/client/StringUtil.java b/src/main/java/org/sendbird/client/StringUtil.java index caab4535..dda0cf4b 100644 --- a/src/main/java/org/sendbird/client/StringUtil.java +++ b/src/main/java/org/sendbird/client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/org/sendbird/client/api/AnnouncementApi.java b/src/main/java/org/sendbird/client/api/AnnouncementApi.java index 7ed9f379..128835e0 100644 --- a/src/main/java/org/sendbird/client/api/AnnouncementApi.java +++ b/src/main/java/org/sendbird/client/api/AnnouncementApi.java @@ -16,7 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class AnnouncementApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/BotApi.java b/src/main/java/org/sendbird/client/api/BotApi.java index 52bc1aa1..9b83cc9d 100644 --- a/src/main/java/org/sendbird/client/api/BotApi.java +++ b/src/main/java/org/sendbird/client/api/BotApi.java @@ -27,7 +27,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class BotApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/GroupChannelApi.java b/src/main/java/org/sendbird/client/api/GroupChannelApi.java index 98948400..eee64b10 100644 --- a/src/main/java/org/sendbird/client/api/GroupChannelApi.java +++ b/src/main/java/org/sendbird/client/api/GroupChannelApi.java @@ -32,7 +32,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class GroupChannelApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/MessageApi.java b/src/main/java/org/sendbird/client/api/MessageApi.java index e6131318..6461d401 100644 --- a/src/main/java/org/sendbird/client/api/MessageApi.java +++ b/src/main/java/org/sendbird/client/api/MessageApi.java @@ -25,7 +25,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class MessageApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/MetadataApi.java b/src/main/java/org/sendbird/client/api/MetadataApi.java index 16c3106c..f2314071 100644 --- a/src/main/java/org/sendbird/client/api/MetadataApi.java +++ b/src/main/java/org/sendbird/client/api/MetadataApi.java @@ -17,7 +17,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class MetadataApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/ModerationApi.java b/src/main/java/org/sendbird/client/api/ModerationApi.java index 2f900a77..098b3252 100644 --- a/src/main/java/org/sendbird/client/api/ModerationApi.java +++ b/src/main/java/org/sendbird/client/api/ModerationApi.java @@ -21,7 +21,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ModerationApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/OpenChannelApi.java b/src/main/java/org/sendbird/client/api/OpenChannelApi.java index 54794a45..18173c6b 100644 --- a/src/main/java/org/sendbird/client/api/OpenChannelApi.java +++ b/src/main/java/org/sendbird/client/api/OpenChannelApi.java @@ -20,7 +20,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class OpenChannelApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/StatisticsApi.java b/src/main/java/org/sendbird/client/api/StatisticsApi.java index 782e1765..d38a0ea5 100644 --- a/src/main/java/org/sendbird/client/api/StatisticsApi.java +++ b/src/main/java/org/sendbird/client/api/StatisticsApi.java @@ -16,7 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class StatisticsApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/api/UserApi.java b/src/main/java/org/sendbird/client/api/UserApi.java index 683ca7d7..ded9ec21 100644 --- a/src/main/java/org/sendbird/client/api/UserApi.java +++ b/src/main/java/org/sendbird/client/api/UserApi.java @@ -45,7 +45,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class UserApi { private ApiClient apiClient; diff --git a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java index 30126cc7..342e9b81 100644 --- a/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java +++ b/src/main/java/org/sendbird/client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java index 8bfe2a33..a9d2a7a5 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBasicAuth.java @@ -23,7 +23,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java index a3d92fb6..81ab50e8 100644 --- a/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java +++ b/src/main/java/org/sendbird/client/auth/HttpBearerAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:43:55.483942+09:00[Asia/Seoul]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-17T09:55:58.534222+09:00[Asia/Seoul]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken;