Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
im-common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈永峰
im-common
Commits
300a2802
Unverified
Commit
300a2802
authored
Nov 06, 2021
by
Yang Libin
Committed by
GitHub
Nov 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update toString methods (#51)
parent
102a7f69
Show whitespace changes
Inline
Side-by-side
Showing
77 changed files
with
397 additions
and
61 deletions
+397
-61
GroupInfo.java
src/main/java/io/github/doocs/im/model/group/GroupInfo.java
+27
-45
CreateGroupRequest.java
.../io/github/doocs/im/model/request/CreateGroupRequest.java
+1
-1
AccountCheckResult.java
...io/github/doocs/im/model/response/AccountCheckResult.java
+3
-0
AccountDeleteResult.java
...o/github/doocs/im/model/response/AccountDeleteResult.java
+3
-0
AccountImportResult.java
...o/github/doocs/im/model/response/AccountImportResult.java
+8
-0
AddGroupMemberResult.java
.../github/doocs/im/model/response/AddGroupMemberResult.java
+3
-0
AdminMsgWithdrawResult.java
...ithub/doocs/im/model/response/AdminMsgWithdrawResult.java
+8
-0
AdminRoamMsgResult.java
...io/github/doocs/im/model/response/AdminRoamMsgResult.java
+4
-1
AdminSetMsgReadResult.java
...github/doocs/im/model/response/AdminSetMsgReadResult.java
+8
-0
BatchSendMsgResult.java
...io/github/doocs/im/model/response/BatchSendMsgResult.java
+3
-0
BlackListAddResult.java
...io/github/doocs/im/model/response/BlackListAddResult.java
+4
-0
BlackListCheckResult.java
.../github/doocs/im/model/response/BlackListCheckResult.java
+3
-0
BlackListDeleteResult.java
...github/doocs/im/model/response/BlackListDeleteResult.java
+3
-0
BlackListGetResult.java
...io/github/doocs/im/model/response/BlackListGetResult.java
+3
-0
C2cUnreadMsgNumResult.java
...github/doocs/im/model/response/C2cUnreadMsgNumResult.java
+3
-0
ChangeGroupOwnerResult.java
...ithub/doocs/im/model/response/ChangeGroupOwnerResult.java
+8
-0
CreateGroupResult.java
.../io/github/doocs/im/model/response/CreateGroupResult.java
+3
-0
DeleteGroupMemberResult.java
...thub/doocs/im/model/response/DeleteGroupMemberResult.java
+8
-1
DeleteGroupMsgBySenderResult.java
...doocs/im/model/response/DeleteGroupMsgBySenderResult.java
+8
-0
DeleteRecentContactResult.java
...ub/doocs/im/model/response/DeleteRecentContactResult.java
+3
-0
DestroyGroupResult.java
...io/github/doocs/im/model/response/DestroyGroupResult.java
+8
-1
ForbidSendMsgResult.java
...o/github/doocs/im/model/response/ForbidSendMsgResult.java
+8
-0
FriendAddResult.java
...va/io/github/doocs/im/model/response/FriendAddResult.java
+3
-0
FriendCheckResult.java
.../io/github/doocs/im/model/response/FriendCheckResult.java
+3
-0
FriendDeleteAllResult.java
...github/doocs/im/model/response/FriendDeleteAllResult.java
+3
-0
FriendDeleteResult.java
...io/github/doocs/im/model/response/FriendDeleteResult.java
+3
-0
FriendGetListInfoItem.java
...github/doocs/im/model/response/FriendGetListInfoItem.java
+10
-0
FriendGetListResult.java
...o/github/doocs/im/model/response/FriendGetListResult.java
+3
-0
FriendGetResult.java
...va/io/github/doocs/im/model/response/FriendGetResult.java
+3
-0
FriendImportResult.java
...io/github/doocs/im/model/response/FriendImportResult.java
+3
-0
FriendUpdateResult.java
...io/github/doocs/im/model/response/FriendUpdateResult.java
+3
-0
GenericResult.java
...java/io/github/doocs/im/model/response/GenericResult.java
+3
-3
GetAppInfoResult.java
...a/io/github/doocs/im/model/response/GetAppInfoResult.java
+3
-0
GetAppidGroupListResult.java
...thub/doocs/im/model/response/GetAppidGroupListResult.java
+3
-0
GetGroupInfoResult.java
...io/github/doocs/im/model/response/GetGroupInfoResult.java
+3
-0
GetGroupMemberInfoResult.java
...hub/doocs/im/model/response/GetGroupMemberInfoResult.java
+3
-0
GetGroupShuttedUinResult.java
...hub/doocs/im/model/response/GetGroupShuttedUinResult.java
+11
-0
GetHistoryResult.java
...a/io/github/doocs/im/model/response/GetHistoryResult.java
+3
-0
GetIpListResult.java
...va/io/github/doocs/im/model/response/GetIpListResult.java
+3
-0
GetJoinGroupListResult.java
...ithub/doocs/im/model/response/GetJoinGroupListResult.java
+19
-0
GetNoSpeakingResult.java
...o/github/doocs/im/model/response/GetNoSpeakingResult.java
+3
-0
GetOnlineMemberNumResult.java
...hub/doocs/im/model/response/GetOnlineMemberNumResult.java
+10
-0
GetRecentContactListResult.java
...b/doocs/im/model/response/GetRecentContactListResult.java
+3
-0
GetRoleInGroupResult.java
.../github/doocs/im/model/response/GetRoleInGroupResult.java
+3
-0
GroupAddResult.java
...ava/io/github/doocs/im/model/response/GroupAddResult.java
+3
-0
GroupDeleteResult.java
.../io/github/doocs/im/model/response/GroupDeleteResult.java
+3
-0
GroupGetResult.java
...ava/io/github/doocs/im/model/response/GroupGetResult.java
+3
-0
GroupIdListResultItem.java
...github/doocs/im/model/response/GroupIdListResultItem.java
+1
-1
GroupMsgGetSimpleResult.java
...thub/doocs/im/model/response/GroupMsgGetSimpleResult.java
+3
-0
GroupMsgRecallResult.java
.../github/doocs/im/model/response/GroupMsgRecallResult.java
+3
-0
ImAddTagResult.java
...ava/io/github/doocs/im/model/response/ImAddTagResult.java
+8
-0
ImGetAttrNameResult.java
...o/github/doocs/im/model/response/ImGetAttrNameResult.java
+4
-1
ImGetAttrResult.java
...va/io/github/doocs/im/model/response/ImGetAttrResult.java
+4
-1
ImGetTagResult.java
...ava/io/github/doocs/im/model/response/ImGetTagResult.java
+3
-0
ImPushResult.java
.../java/io/github/doocs/im/model/response/ImPushResult.java
+3
-0
ImRemoveAllTagsResult.java
...github/doocs/im/model/response/ImRemoveAllTagsResult.java
+8
-0
ImRemoveAttrResult.java
...io/github/doocs/im/model/response/ImRemoveAttrResult.java
+8
-0
ImRemoveTagResult.java
.../io/github/doocs/im/model/response/ImRemoveTagResult.java
+8
-0
ImSetAttrNameResult.java
...o/github/doocs/im/model/response/ImSetAttrNameResult.java
+8
-0
ImSetAttrResult.java
...va/io/github/doocs/im/model/response/ImSetAttrResult.java
+8
-0
ImportGroupMemberResult.java
...thub/doocs/im/model/response/ImportGroupMemberResult.java
+3
-0
ImportGroupMsgResult.java
.../github/doocs/im/model/response/ImportGroupMsgResult.java
+3
-0
ImportGroupResult.java
.../io/github/doocs/im/model/response/ImportGroupResult.java
+3
-0
ImportMsgResult.java
...va/io/github/doocs/im/model/response/ImportMsgResult.java
+8
-1
KickResult.java
...in/java/io/github/doocs/im/model/response/KickResult.java
+8
-0
ModifyGroupBaseInfoResult.java
...ub/doocs/im/model/response/ModifyGroupBaseInfoResult.java
+8
-0
ModifyGroupMemberInfoResult.java
.../doocs/im/model/response/ModifyGroupMemberInfoResult.java
+8
-0
MultiAccountImportResult.java
...hub/doocs/im/model/response/MultiAccountImportResult.java
+3
-0
PortraitGetResult.java
.../io/github/doocs/im/model/response/PortraitGetResult.java
+3
-0
PortraitSetResult.java
.../io/github/doocs/im/model/response/PortraitSetResult.java
+3
-0
QueryOnlineStatusResult.java
...thub/doocs/im/model/response/QueryOnlineStatusResult.java
+3
-0
SendGroupMsgResult.java
...io/github/doocs/im/model/response/SendGroupMsgResult.java
+3
-0
SendGroupSystemNotificationResult.java
.../im/model/response/SendGroupSystemNotificationResult.java
+8
-0
SendMsgResult.java
...java/io/github/doocs/im/model/response/SendMsgResult.java
+3
-0
SetNoSpeakingResult.java
...o/github/doocs/im/model/response/SetNoSpeakingResult.java
+8
-1
SetUnreadMsgNumResult.java
...github/doocs/im/model/response/SetUnreadMsgNumResult.java
+8
-0
GroupTest.java
src/test/java/io/github/doocs/im/GroupTest.java
+2
-4
No files found.
src/main/java/io/github/doocs/im/model/group/GroupInfo.java
View file @
300a2802
...
@@ -2,9 +2,6 @@ package io.github.doocs.im.model.group;
...
@@ -2,9 +2,6 @@ package io.github.doocs.im.model.group;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
io.github.doocs.im.constant.ApplyJoinOption
;
import
io.github.doocs.im.constant.GroupType
;
import
io.github.doocs.im.model.request.CreateGroupRequest
;
import
java.util.List
;
import
java.util.List
;
...
@@ -53,7 +50,7 @@ public class GroupInfo {
...
@@ -53,7 +50,7 @@ public class GroupInfo {
public
GroupInfo
()
{
public
GroupInfo
()
{
}
}
public
GroupInfo
(
String
ownerAccount
,
String
type
,
String
groupId
,
String
name
,
String
introduction
,
public
<
T
extends
Builder
>
GroupInfo
(
String
ownerAccount
,
String
type
,
String
groupId
,
String
name
,
String
introduction
,
String
notification
,
String
faceUrl
,
Integer
maxMemberCount
,
String
applyJoinOption
,
String
notification
,
String
faceUrl
,
Integer
maxMemberCount
,
String
applyJoinOption
,
List
<
AppDefinedDataItem
>
appDefinedData
,
List
<
MemberProfile
>
memberList
,
List
<
AppDefinedDataItem
>
appDefinedData
,
List
<
MemberProfile
>
memberList
,
List
<
AppMemberDefinedDataItem
>
appMemberDefinedData
)
{
List
<
AppMemberDefinedDataItem
>
appMemberDefinedData
)
{
...
@@ -71,7 +68,7 @@ public class GroupInfo {
...
@@ -71,7 +68,7 @@ public class GroupInfo {
this
.
appMemberDefinedData
=
appMemberDefinedData
;
this
.
appMemberDefinedData
=
appMemberDefinedData
;
}
}
protected
GroupInfo
(
Builder
builder
)
{
protected
<
T
extends
Builder
>
GroupInfo
(
Builder
builder
)
{
this
.
ownerAccount
=
builder
.
ownerAccount
;
this
.
ownerAccount
=
builder
.
ownerAccount
;
this
.
type
=
builder
.
type
;
this
.
type
=
builder
.
type
;
this
.
groupId
=
builder
.
groupId
;
this
.
groupId
=
builder
.
groupId
;
...
@@ -205,22 +202,7 @@ public class GroupInfo {
...
@@ -205,22 +202,7 @@ public class GroupInfo {
'}'
;
'}'
;
}
}
public
static
void
main
(
String
[]
args
)
{
public
static
class
Builder
<
T
extends
Builder
>
{
CreateGroupRequest
request
=
(
CreateGroupRequest
)
CreateGroupRequest
.
builder
()
.
type
(
GroupType
.
PUBLIC
)
.
name
(
"TestGroup"
)
.
ownerAccount
(
"doocs"
)
.
groupId
(
"MyFirstGroup"
)
.
introduction
(
"This is group Introduction"
)
.
notification
(
"This is group Notification"
)
.
faceUrl
(
"https://avatars.githubusercontent.com/u/43716716?s=200&v=4"
)
.
maxMemberCount
(
500
)
.
applyJoinOption
(
ApplyJoinOption
.
FREE_ACCESS
)
.
build
();
System
.
out
.
println
(
request
.
getClass
());
}
public
static
class
Builder
{
private
String
ownerAccount
;
private
String
ownerAccount
;
private
String
type
;
private
String
type
;
private
String
groupId
;
private
String
groupId
;
...
@@ -241,64 +223,64 @@ public class GroupInfo {
...
@@ -241,64 +223,64 @@ public class GroupInfo {
return
new
GroupInfo
(
this
);
return
new
GroupInfo
(
this
);
}
}
public
Builder
ownerAccount
(
String
ownerAccount
)
{
public
T
ownerAccount
(
String
ownerAccount
)
{
this
.
ownerAccount
=
ownerAccount
;
this
.
ownerAccount
=
ownerAccount
;
return
this
;
return
(
T
)
this
;
}
}
public
Builder
type
(
String
type
)
{
public
T
type
(
String
type
)
{
this
.
type
=
type
;
this
.
type
=
type
;
return
this
;
return
(
T
)
this
;
}
}
public
Builder
groupId
(
String
groupId
)
{
public
T
groupId
(
String
groupId
)
{
this
.
groupId
=
groupId
;
this
.
groupId
=
groupId
;
return
this
;
return
(
T
)
this
;
}
}
public
Builder
name
(
String
name
)
{
public
T
name
(
String
name
)
{
this
.
name
=
name
;
this
.
name
=
name
;
return
this
;
return
(
T
)
this
;
}
}
public
Builder
introduction
(
String
introduction
)
{
public
T
introduction
(
String
introduction
)
{
this
.
introduction
=
introduction
;
this
.
introduction
=
introduction
;
return
this
;
return
(
T
)
this
;
}
}
public
Builder
notification
(
String
notification
)
{
public
T
notification
(
String
notification
)
{
this
.
notification
=
notification
;
this
.
notification
=
notification
;
return
this
;
return
(
T
)
this
;
}
}
public
Builder
faceUrl
(
String
faceUrl
)
{
public
T
faceUrl
(
String
faceUrl
)
{
this
.
faceUrl
=
faceUrl
;
this
.
faceUrl
=
faceUrl
;
return
this
;
return
(
T
)
this
;
}
}
public
Builder
maxMemberCount
(
Integer
maxMemberCount
)
{
public
T
maxMemberCount
(
Integer
maxMemberCount
)
{
this
.
maxMemberCount
=
maxMemberCount
;
this
.
maxMemberCount
=
maxMemberCount
;
return
this
;
return
(
T
)
this
;
}
}
public
Builder
applyJoinOption
(
String
applyJoinOption
)
{
public
T
applyJoinOption
(
String
applyJoinOption
)
{
this
.
applyJoinOption
=
applyJoinOption
;
this
.
applyJoinOption
=
applyJoinOption
;
return
this
;
return
(
T
)
this
;
}
}
public
Builder
appDefinedData
(
List
<
AppDefinedDataItem
>
appDefinedData
)
{
public
T
appDefinedData
(
List
<
AppDefinedDataItem
>
appDefinedData
)
{
this
.
appDefinedData
=
appDefinedData
;
this
.
appDefinedData
=
appDefinedData
;
return
this
;
return
(
T
)
this
;
}
}
public
Builder
memberList
(
List
<
MemberProfile
>
memberList
)
{
public
T
memberList
(
List
<
MemberProfile
>
memberList
)
{
this
.
memberList
=
memberList
;
this
.
memberList
=
memberList
;
return
this
;
return
(
T
)
this
;
}
}
public
Builder
appMemberDefinedData
(
List
<
AppMemberDefinedDataItem
>
appMemberDefinedData
)
{
public
T
appMemberDefinedData
(
List
<
AppMemberDefinedDataItem
>
appMemberDefinedData
)
{
this
.
appMemberDefinedData
=
appMemberDefinedData
;
this
.
appMemberDefinedData
=
appMemberDefinedData
;
return
this
;
return
(
T
)
this
;
}
}
}
}
}
}
src/main/java/io/github/doocs/im/model/request/CreateGroupRequest.java
View file @
300a2802
...
@@ -17,7 +17,7 @@ public class CreateGroupRequest extends GroupInfo {
...
@@ -17,7 +17,7 @@ public class CreateGroupRequest extends GroupInfo {
super
(
builder
);
super
(
builder
);
}
}
public
static
class
Builder
extends
GroupInfo
.
Builder
{
public
static
class
Builder
extends
GroupInfo
.
Builder
<
CreateGroupRequest
.
Builder
>
{
@Override
@Override
public
CreateGroupRequest
build
()
{
public
CreateGroupRequest
build
()
{
return
new
CreateGroupRequest
(
this
);
return
new
CreateGroupRequest
(
this
);
...
...
src/main/java/io/github/doocs/im/model/response/AccountCheckResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class AccountCheckResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class AccountCheckResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"AccountCheckResult{"
+
return
"AccountCheckResult{"
+
"resultItems="
+
resultItems
+
"resultItems="
+
resultItems
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/AccountDeleteResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class AccountDeleteResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class AccountDeleteResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"AccountDeleteResult{"
+
return
"AccountDeleteResult{"
+
"resultItems="
+
resultItems
+
"resultItems="
+
resultItems
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/AccountImportResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/7/28 11:02
* @since 2021/7/28 11:02
*/
*/
public
class
AccountImportResult
extends
GenericResult
{
public
class
AccountImportResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"AccountImportResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/AddGroupMemberResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class AddGroupMemberResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class AddGroupMemberResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"AddGroupMemberResult{"
+
return
"AddGroupMemberResult{"
+
"memberList="
+
memberList
+
"memberList="
+
memberList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/AdminMsgWithdrawResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/07/28 20:32
* @since 2021/07/28 20:32
*/
*/
public
class
AdminMsgWithdrawResult
extends
GenericResult
{
public
class
AdminMsgWithdrawResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"AdminMsgWithdrawResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/AdminRoamMsgResult.java
View file @
300a2802
...
@@ -70,8 +70,11 @@ public class AdminRoamMsgResult extends GenericResult {
...
@@ -70,8 +70,11 @@ public class AdminRoamMsgResult extends GenericResult {
"complete="
+
complete
+
"complete="
+
complete
+
", msgCnt="
+
msgCnt
+
", msgCnt="
+
msgCnt
+
", lastMsgTime="
+
lastMsgTime
+
", lastMsgTime="
+
lastMsgTime
+
", lastMsgKey=
"
+
lastMsgKey
+
", lastMsgKey=
'"
+
lastMsgKey
+
'\''
+
", msgList="
+
msgList
+
", msgList="
+
msgList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/AdminSetMsgReadResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/07/28 20:32
* @since 2021/07/28 20:32
*/
*/
public
class
AdminSetMsgReadResult
extends
GenericResult
{
public
class
AdminSetMsgReadResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"AdminSetMsgReadResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/BatchSendMsgResult.java
View file @
300a2802
...
@@ -36,6 +36,9 @@ public class BatchSendMsgResult extends GenericResult {
...
@@ -36,6 +36,9 @@ public class BatchSendMsgResult extends GenericResult {
return
"BatchSendMsgResult{"
+
return
"BatchSendMsgResult{"
+
"msgKey='"
+
msgKey
+
'\''
+
"msgKey='"
+
msgKey
+
'\''
+
", errorList="
+
errorList
+
", errorList="
+
errorList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/BlackListAddResult.java
View file @
300a2802
...
@@ -3,6 +3,7 @@ package io.github.doocs.im.model.response;
...
@@ -3,6 +3,7 @@ package io.github.doocs.im.model.response;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
java.util.List
;
import
java.util.List
;
import
java.util.StringJoiner
;
/**
/**
* @author hyh
* @author hyh
...
@@ -48,6 +49,9 @@ public class BlackListAddResult extends GenericResult {
...
@@ -48,6 +49,9 @@ public class BlackListAddResult extends GenericResult {
"resultItemList="
+
resultItemList
+
"resultItemList="
+
resultItemList
+
", failAccount="
+
failAccount
+
", failAccount="
+
failAccount
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/BlackListCheckResult.java
View file @
300a2802
...
@@ -48,6 +48,9 @@ public class BlackListCheckResult extends GenericResult {
...
@@ -48,6 +48,9 @@ public class BlackListCheckResult extends GenericResult {
"blackListCheckItemList="
+
blackListCheckItemList
+
"blackListCheckItemList="
+
blackListCheckItemList
+
", failAccount="
+
failAccount
+
", failAccount="
+
failAccount
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/BlackListDeleteResult.java
View file @
300a2802
...
@@ -48,6 +48,9 @@ public class BlackListDeleteResult extends GenericResult {
...
@@ -48,6 +48,9 @@ public class BlackListDeleteResult extends GenericResult {
"resultItemList="
+
resultItemList
+
"resultItemList="
+
resultItemList
+
", failAccount="
+
failAccount
+
", failAccount="
+
failAccount
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/BlackListGetResult.java
View file @
300a2802
...
@@ -60,6 +60,9 @@ public class BlackListGetResult extends GenericResult {
...
@@ -60,6 +60,9 @@ public class BlackListGetResult extends GenericResult {
", startIndex="
+
startIndex
+
", startIndex="
+
startIndex
+
", currentSequence="
+
currentSequence
+
", currentSequence="
+
currentSequence
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/C2cUnreadMsgNumResult.java
View file @
300a2802
...
@@ -48,6 +48,9 @@ public class C2cUnreadMsgNumResult extends GenericResult {
...
@@ -48,6 +48,9 @@ public class C2cUnreadMsgNumResult extends GenericResult {
"allC2cUnreadMsgNum="
+
allC2cUnreadMsgNum
+
"allC2cUnreadMsgNum="
+
allC2cUnreadMsgNum
+
", unreadMsgNumList="
+
unreadMsgNumList
+
", unreadMsgNumList="
+
unreadMsgNumList
+
", errorList="
+
errorList
+
", errorList="
+
errorList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/ChangeGroupOwnerResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/8/4 11:36
* @since 2021/8/4 11:36
*/
*/
public
class
ChangeGroupOwnerResult
extends
GenericResult
{
public
class
ChangeGroupOwnerResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"ChangeGroupOwnerResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/CreateGroupResult.java
View file @
300a2802
...
@@ -22,6 +22,9 @@ public class CreateGroupResult extends GenericResult {
...
@@ -22,6 +22,9 @@ public class CreateGroupResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"CreateGroupResult{"
+
return
"CreateGroupResult{"
+
"groupId='"
+
groupId
+
'\''
+
"groupId='"
+
groupId
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/DeleteGroupMemberResult.java
View file @
300a2802
...
@@ -5,5 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,5 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/8/4 10:40
* @since 2021/8/4 10:40
*/
*/
public
class
DeleteGroupMemberResult
extends
GenericResult
{
public
class
DeleteGroupMemberResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"DeleteGroupMemberResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/DeleteGroupMsgBySenderResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/08/01 13:55
* @since 2021/08/01 13:55
*/
*/
public
class
DeleteGroupMsgBySenderResult
extends
GenericResult
{
public
class
DeleteGroupMsgBySenderResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"DeleteGroupMsgBySenderResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/DeleteRecentContactResult.java
View file @
300a2802
...
@@ -22,6 +22,9 @@ public class DeleteRecentContactResult extends GenericResult {
...
@@ -22,6 +22,9 @@ public class DeleteRecentContactResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"DeleteRecentContactResult{"
+
return
"DeleteRecentContactResult{"
+
"errorDisplay='"
+
errorDisplay
+
'\''
+
"errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/DestroyGroupResult.java
View file @
300a2802
...
@@ -5,5 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,5 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/8/4 10:43
* @since 2021/8/4 10:43
*/
*/
public
class
DestroyGroupResult
extends
GenericResult
{
public
class
DestroyGroupResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"DestroyGroupResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/ForbidSendMsgResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/8/4 11:19
* @since 2021/8/4 11:19
*/
*/
public
class
ForbidSendMsgResult
extends
GenericResult
{
public
class
ForbidSendMsgResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"ForbidSendMsgResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/FriendAddResult.java
View file @
300a2802
...
@@ -36,6 +36,9 @@ public class FriendAddResult extends GenericResult {
...
@@ -36,6 +36,9 @@ public class FriendAddResult extends GenericResult {
return
"FriendAddResult{"
+
return
"FriendAddResult{"
+
"resultItemList="
+
resultItemList
+
"resultItemList="
+
resultItemList
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/FriendCheckResult.java
View file @
300a2802
...
@@ -48,6 +48,9 @@ public class FriendCheckResult extends GenericResult {
...
@@ -48,6 +48,9 @@ public class FriendCheckResult extends GenericResult {
"friendCheckInfoItemList="
+
friendCheckInfoItemList
+
"friendCheckInfoItemList="
+
friendCheckInfoItemList
+
", failAccount="
+
failAccount
+
", failAccount="
+
failAccount
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/FriendDeleteAllResult.java
View file @
300a2802
...
@@ -22,6 +22,9 @@ public class FriendDeleteAllResult extends GenericResult {
...
@@ -22,6 +22,9 @@ public class FriendDeleteAllResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"FriendDeleteAllResult{"
+
return
"FriendDeleteAllResult{"
+
"errorDisplay='"
+
errorDisplay
+
'\''
+
"errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/FriendDeleteResult.java
View file @
300a2802
...
@@ -36,6 +36,9 @@ public class FriendDeleteResult extends GenericResult {
...
@@ -36,6 +36,9 @@ public class FriendDeleteResult extends GenericResult {
return
"FriendDeleteResult{"
+
return
"FriendDeleteResult{"
+
"errorDisplay='"
+
errorDisplay
+
'\''
+
"errorDisplay='"
+
errorDisplay
+
'\''
+
", resultItemList="
+
resultItemList
+
", resultItemList="
+
resultItemList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/FriendGetListInfoItem.java
View file @
300a2802
...
@@ -52,4 +52,14 @@ public class FriendGetListInfoItem {
...
@@ -52,4 +52,14 @@ public class FriendGetListInfoItem {
public
void
setResultInfo
(
String
resultInfo
)
{
public
void
setResultInfo
(
String
resultInfo
)
{
this
.
resultInfo
=
resultInfo
;
this
.
resultInfo
=
resultInfo
;
}
}
@Override
public
String
toString
()
{
return
"FriendGetListInfoItem{"
+
"toAccount='"
+
toAccount
+
'\''
+
", snsProfileItemList="
+
snsProfileItemList
+
", resultCode="
+
resultCode
+
", resultInfo='"
+
resultInfo
+
'\''
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/FriendGetListResult.java
View file @
300a2802
...
@@ -50,6 +50,9 @@ public class FriendGetListResult extends GroupGetResult {
...
@@ -50,6 +50,9 @@ public class FriendGetListResult extends GroupGetResult {
"infoItemList="
+
infoItemList
+
"infoItemList="
+
infoItemList
+
", failAccount="
+
failAccount
+
", failAccount="
+
failAccount
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/FriendGetResult.java
View file @
300a2802
...
@@ -96,6 +96,9 @@ public class FriendGetResult extends GenericResult {
...
@@ -96,6 +96,9 @@ public class FriendGetResult extends GenericResult {
", completeFlag="
+
completeFlag
+
", completeFlag="
+
completeFlag
+
", nextStartIndex="
+
nextStartIndex
+
", nextStartIndex="
+
nextStartIndex
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/FriendImportResult.java
View file @
300a2802
...
@@ -48,6 +48,9 @@ public class FriendImportResult extends GenericResult {
...
@@ -48,6 +48,9 @@ public class FriendImportResult extends GenericResult {
"resultItemList="
+
resultItemList
+
"resultItemList="
+
resultItemList
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", failAccount="
+
failAccount
+
", failAccount="
+
failAccount
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/FriendUpdateResult.java
View file @
300a2802
...
@@ -48,6 +48,9 @@ public class FriendUpdateResult extends GenericResult {
...
@@ -48,6 +48,9 @@ public class FriendUpdateResult extends GenericResult {
"resultItemList="
+
resultItemList
+
"resultItemList="
+
resultItemList
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", failAccount="
+
failAccount
+
", failAccount="
+
failAccount
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GenericResult.java
View file @
300a2802
...
@@ -11,19 +11,19 @@ public abstract class GenericResult {
...
@@ -11,19 +11,19 @@ public abstract class GenericResult {
* 请求处理的结果,OK 表示处理成功,FAIL 表示失败,如果为 FAIL,ErrorInfo 带上失败原因
* 请求处理的结果,OK 表示处理成功,FAIL 表示失败,如果为 FAIL,ErrorInfo 带上失败原因
*/
*/
@JsonProperty
(
"ActionStatus"
)
@JsonProperty
(
"ActionStatus"
)
pr
ivate
String
actionStatus
;
pr
otected
String
actionStatus
;
/**
/**
* 失败原因
* 失败原因
*/
*/
@JsonProperty
(
"ErrorInfo"
)
@JsonProperty
(
"ErrorInfo"
)
pr
ivate
String
errorInfo
;
pr
otected
String
errorInfo
;
/**
/**
* 错误码,0为成功,其他为失败,错误码表:https://cloud.tencent.com/document/product/269/1671
* 错误码,0为成功,其他为失败,错误码表:https://cloud.tencent.com/document/product/269/1671
*/
*/
@JsonProperty
(
"ErrorCode"
)
@JsonProperty
(
"ErrorCode"
)
pr
ivate
Integer
errorCode
;
pr
otected
Integer
errorCode
;
public
String
getActionStatus
()
{
public
String
getActionStatus
()
{
return
actionStatus
;
return
actionStatus
;
...
...
src/main/java/io/github/doocs/im/model/response/GetAppInfoResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class GetAppInfoResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class GetAppInfoResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"GetAppInfoResult{"
+
return
"GetAppInfoResult{"
+
"result="
+
result
+
"result="
+
result
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GetAppidGroupListResult.java
View file @
300a2802
...
@@ -48,6 +48,9 @@ public class GetAppidGroupListResult extends GenericResult {
...
@@ -48,6 +48,9 @@ public class GetAppidGroupListResult extends GenericResult {
"totalCount="
+
totalCount
+
"totalCount="
+
totalCount
+
", groupIdList="
+
groupIdList
+
", groupIdList="
+
groupIdList
+
", next="
+
next
+
", next="
+
next
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GetGroupInfoResult.java
View file @
300a2802
...
@@ -25,6 +25,9 @@ public class GetGroupInfoResult extends GenericResult {
...
@@ -25,6 +25,9 @@ public class GetGroupInfoResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"GetGroupInfoResult{"
+
return
"GetGroupInfoResult{"
+
"groupInfo="
+
groupInfo
+
"groupInfo="
+
groupInfo
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GetGroupMemberInfoResult.java
View file @
300a2802
...
@@ -37,6 +37,9 @@ public class GetGroupMemberInfoResult extends GenericResult {
...
@@ -37,6 +37,9 @@ public class GetGroupMemberInfoResult extends GenericResult {
return
"GetGroupMemberInfoResult{"
+
return
"GetGroupMemberInfoResult{"
+
"memberNum="
+
memberNum
+
"memberNum="
+
memberNum
+
", memberList="
+
memberList
+
", memberList="
+
memberList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GetGroupShuttedUinResult.java
View file @
300a2802
...
@@ -12,10 +12,21 @@ public class GetGroupShuttedUinResult extends GenericResult {
...
@@ -12,10 +12,21 @@ public class GetGroupShuttedUinResult extends GenericResult {
@JsonProperty
(
"ShuttedUinList"
)
@JsonProperty
(
"ShuttedUinList"
)
private
List
<
ShuttedUinResultItem
>
shuttedUinList
;
private
List
<
ShuttedUinResultItem
>
shuttedUinList
;
public
List
<
ShuttedUinResultItem
>
getShuttedUinList
()
{
return
shuttedUinList
;
}
public
void
setShuttedUinList
(
List
<
ShuttedUinResultItem
>
shuttedUinList
)
{
this
.
shuttedUinList
=
shuttedUinList
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
"GetGroupShuttedUinResult{"
+
return
"GetGroupShuttedUinResult{"
+
"shuttedUinList="
+
shuttedUinList
+
"shuttedUinList="
+
shuttedUinList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GetHistoryResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class GetHistoryResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class GetHistoryResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"GetHistoryResult{"
+
return
"GetHistoryResult{"
+
"file="
+
file
+
"file="
+
file
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GetIpListResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class GetIpListResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class GetIpListResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"GetIpListResult{"
+
return
"GetIpListResult{"
+
"ipList="
+
ipList
+
"ipList="
+
ipList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GetJoinGroupListResult.java
View file @
300a2802
...
@@ -15,11 +15,30 @@ public class GetJoinGroupListResult extends GenericResult {
...
@@ -15,11 +15,30 @@ public class GetJoinGroupListResult extends GenericResult {
@JsonProperty
(
"GroupIdList"
)
@JsonProperty
(
"GroupIdList"
)
private
List
<
GroupIdListResultItem
>
groupIdList
;
private
List
<
GroupIdListResultItem
>
groupIdList
;
public
Integer
getTotalCount
()
{
return
totalCount
;
}
public
void
setTotalCount
(
Integer
totalCount
)
{
this
.
totalCount
=
totalCount
;
}
public
List
<
GroupIdListResultItem
>
getGroupIdList
()
{
return
groupIdList
;
}
public
void
setGroupIdList
(
List
<
GroupIdListResultItem
>
groupIdList
)
{
this
.
groupIdList
=
groupIdList
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
"GetJoinGroupListResult{"
+
return
"GetJoinGroupListResult{"
+
"totalCount="
+
totalCount
+
"totalCount="
+
totalCount
+
", groupIdList="
+
groupIdList
+
", groupIdList="
+
groupIdList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GetNoSpeakingResult.java
View file @
300a2802
...
@@ -41,6 +41,9 @@ public class GetNoSpeakingResult extends GenericResult {
...
@@ -41,6 +41,9 @@ public class GetNoSpeakingResult extends GenericResult {
return
"GetNoSpeakingResult{"
+
return
"GetNoSpeakingResult{"
+
"c2CMsgNoSpeakingTime="
+
c2CMsgNoSpeakingTime
+
"c2CMsgNoSpeakingTime="
+
c2CMsgNoSpeakingTime
+
", groupMsgNoSpeakingTime="
+
groupMsgNoSpeakingTime
+
", groupMsgNoSpeakingTime="
+
groupMsgNoSpeakingTime
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GetOnlineMemberNumResult.java
View file @
300a2802
...
@@ -24,4 +24,14 @@ public class GetOnlineMemberNumResult extends GenericResult {
...
@@ -24,4 +24,14 @@ public class GetOnlineMemberNumResult extends GenericResult {
public
void
setOnlineMemberNum
(
Integer
onlineMemberNum
)
{
public
void
setOnlineMemberNum
(
Integer
onlineMemberNum
)
{
this
.
onlineMemberNum
=
onlineMemberNum
;
this
.
onlineMemberNum
=
onlineMemberNum
;
}
}
@Override
public
String
toString
()
{
return
"GetOnlineMemberNumResult{"
+
"onlineMemberNum="
+
onlineMemberNum
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/GetRecentContactListResult.java
View file @
300a2802
...
@@ -96,6 +96,9 @@ public class GetRecentContactListResult extends GenericResult {
...
@@ -96,6 +96,9 @@ public class GetRecentContactListResult extends GenericResult {
", topTimestamp="
+
topTimestamp
+
", topTimestamp="
+
topTimestamp
+
", topStartIndex="
+
topStartIndex
+
", topStartIndex="
+
topStartIndex
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GetRoleInGroupResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class GetRoleInGroupResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class GetRoleInGroupResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"GetRoleInGroupResult{"
+
return
"GetRoleInGroupResult{"
+
"userIdList="
+
userIdList
+
"userIdList="
+
userIdList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GroupAddResult.java
View file @
300a2802
...
@@ -60,6 +60,9 @@ public class GroupAddResult extends GenericResult {
...
@@ -60,6 +60,9 @@ public class GroupAddResult extends GenericResult {
", failAccount="
+
failAccount
+
", failAccount="
+
failAccount
+
", currentSequence="
+
currentSequence
+
", currentSequence="
+
currentSequence
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GroupDeleteResult.java
View file @
300a2802
...
@@ -34,6 +34,9 @@ public class GroupDeleteResult extends GenericResult {
...
@@ -34,6 +34,9 @@ public class GroupDeleteResult extends GenericResult {
return
"GroupDeleteResult{"
+
return
"GroupDeleteResult{"
+
"currentSequence="
+
currentSequence
+
"currentSequence="
+
currentSequence
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GroupGetResult.java
View file @
300a2802
...
@@ -48,6 +48,9 @@ public class GroupGetResult extends GenericResult {
...
@@ -48,6 +48,9 @@ public class GroupGetResult extends GenericResult {
"resultItemList="
+
resultItemList
+
"resultItemList="
+
resultItemList
+
", currentSequence="
+
currentSequence
+
", currentSequence="
+
currentSequence
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GroupIdListResultItem.java
View file @
300a2802
...
@@ -174,7 +174,7 @@ public class GroupIdListResultItem {
...
@@ -174,7 +174,7 @@ public class GroupIdListResultItem {
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
"GroupIdList
I
ResultItem{"
+
return
"GroupIdListResultItem{"
+
"groupId='"
+
groupId
+
'\''
+
"groupId='"
+
groupId
+
'\''
+
", type='"
+
type
+
'\''
+
", type='"
+
type
+
'\''
+
", name='"
+
name
+
'\''
+
", name='"
+
name
+
'\''
+
...
...
src/main/java/io/github/doocs/im/model/response/GroupMsgGetSimpleResult.java
View file @
300a2802
...
@@ -48,6 +48,9 @@ public class GroupMsgGetSimpleResult extends GenericResult {
...
@@ -48,6 +48,9 @@ public class GroupMsgGetSimpleResult extends GenericResult {
"groupId='"
+
groupId
+
'\''
+
"groupId='"
+
groupId
+
'\''
+
", isFinished="
+
isFinished
+
", isFinished="
+
isFinished
+
", rspMsgList="
+
rspMsgList
+
", rspMsgList="
+
rspMsgList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/GroupMsgRecallResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class GroupMsgRecallResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class GroupMsgRecallResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"GroupMsgRecallResult{"
+
return
"GroupMsgRecallResult{"
+
"recallRetList="
+
recallRetList
+
"recallRetList="
+
recallRetList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/ImAddTagResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/07/30 14:27
* @since 2021/07/30 14:27
*/
*/
public
class
ImAddTagResult
extends
GenericResult
{
public
class
ImAddTagResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"ImAddTagResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/ImGetAttrNameResult.java
View file @
300a2802
...
@@ -22,8 +22,11 @@ public class ImGetAttrNameResult extends GenericResult {
...
@@ -22,8 +22,11 @@ public class ImGetAttrNameResult extends GenericResult {
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
"I
M
GetAttrNameResult{"
+
return
"I
m
GetAttrNameResult{"
+
"attrNames="
+
attrNames
+
"attrNames="
+
attrNames
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
...
...
src/main/java/io/github/doocs/im/model/response/ImGetAttrResult.java
View file @
300a2802
...
@@ -22,8 +22,11 @@ public class ImGetAttrResult extends GenericResult {
...
@@ -22,8 +22,11 @@ public class ImGetAttrResult extends GenericResult {
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
"I
M
GetAttrResult{"
+
return
"I
m
GetAttrResult{"
+
"userAttrs="
+
userAttrs
+
"userAttrs="
+
userAttrs
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/ImGetTagResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class ImGetTagResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class ImGetTagResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"ImGetTagResult{"
+
return
"ImGetTagResult{"
+
"userTags="
+
userTags
+
"userTags="
+
userTags
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/ImPushResult.java
View file @
300a2802
...
@@ -22,6 +22,9 @@ public class ImPushResult extends GenericResult {
...
@@ -22,6 +22,9 @@ public class ImPushResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"ImPushResult{"
+
return
"ImPushResult{"
+
"taskId='"
+
taskId
+
'\''
+
"taskId='"
+
taskId
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/ImRemoveAllTagsResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/07/30 14:28
* @since 2021/07/30 14:28
*/
*/
public
class
ImRemoveAllTagsResult
extends
GenericResult
{
public
class
ImRemoveAllTagsResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"ImRemoveAllTagsResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/ImRemoveAttrResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/07/30 14:03
* @since 2021/07/30 14:03
*/
*/
public
class
ImRemoveAttrResult
extends
GenericResult
{
public
class
ImRemoveAttrResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"ImRemoveAttrResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/ImRemoveTagResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/07/30 14:27
* @since 2021/07/30 14:27
*/
*/
public
class
ImRemoveTagResult
extends
GenericResult
{
public
class
ImRemoveTagResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"ImRemoveTagResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/ImSetAttrNameResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/07/30 11:22
* @since 2021/07/30 11:22
*/
*/
public
class
ImSetAttrNameResult
extends
GenericResult
{
public
class
ImSetAttrNameResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"ImSetAttrNameResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/ImSetAttrResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/07/30 11:54
* @since 2021/07/30 11:54
*/
*/
public
class
ImSetAttrResult
extends
GenericResult
{
public
class
ImSetAttrResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"ImSetAttrResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/ImportGroupMemberResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class ImportGroupMemberResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class ImportGroupMemberResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"ImportGroupMemberResult{"
+
return
"ImportGroupMemberResult{"
+
"memberList="
+
memberList
+
"memberList="
+
memberList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/ImportGroupMsgResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class ImportGroupMsgResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class ImportGroupMsgResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"ImportGroupMsgResult{"
+
return
"ImportGroupMsgResult{"
+
"importMsgResult="
+
importMsgResult
+
"importMsgResult="
+
importMsgResult
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/ImportGroupResult.java
View file @
300a2802
...
@@ -22,6 +22,9 @@ public class ImportGroupResult extends GenericResult {
...
@@ -22,6 +22,9 @@ public class ImportGroupResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"ImportGroupResult{"
+
return
"ImportGroupResult{"
+
"groupId='"
+
groupId
+
'\''
+
"groupId='"
+
groupId
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/ImportMsgResult.java
View file @
300a2802
...
@@ -5,5 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,5 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/07/28 17:54
* @since 2021/07/28 17:54
*/
*/
public
class
ImportMsgResult
extends
GenericResult
{
public
class
ImportMsgResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"ImportMsgResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/KickResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/7/28 11:07
* @since 2021/7/28 11:07
*/
*/
public
class
KickResult
extends
GenericResult
{
public
class
KickResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"KickResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/ModifyGroupBaseInfoResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/08/02 19:27
* @since 2021/08/02 19:27
*/
*/
public
class
ModifyGroupBaseInfoResult
extends
GenericResult
{
public
class
ModifyGroupBaseInfoResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"ModifyGroupBaseInfoResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/ModifyGroupMemberInfoResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/8/4 10:42
* @since 2021/8/4 10:42
*/
*/
public
class
ModifyGroupMemberInfoResult
extends
GenericResult
{
public
class
ModifyGroupMemberInfoResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"ModifyGroupMemberInfoResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/MultiAccountImportResult.java
View file @
300a2802
...
@@ -24,6 +24,9 @@ public class MultiAccountImportResult extends GenericResult {
...
@@ -24,6 +24,9 @@ public class MultiAccountImportResult extends GenericResult {
public
String
toString
()
{
public
String
toString
()
{
return
"MultiAccountImportResult{"
+
return
"MultiAccountImportResult{"
+
"failAccounts="
+
failAccounts
+
"failAccounts="
+
failAccounts
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/PortraitGetResult.java
View file @
300a2802
...
@@ -48,6 +48,9 @@ public class PortraitGetResult extends GenericResult {
...
@@ -48,6 +48,9 @@ public class PortraitGetResult extends GenericResult {
"errorDisplay='"
+
errorDisplay
+
'\''
+
"errorDisplay='"
+
errorDisplay
+
'\''
+
", userProfileItemList="
+
userProfileItemList
+
", userProfileItemList="
+
userProfileItemList
+
", failAccount="
+
failAccount
+
", failAccount="
+
failAccount
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/PortraitSetResult.java
View file @
300a2802
...
@@ -22,6 +22,9 @@ public class PortraitSetResult extends GenericResult{
...
@@ -22,6 +22,9 @@ public class PortraitSetResult extends GenericResult{
public
String
toString
()
{
public
String
toString
()
{
return
"PortraitSetResult{"
+
return
"PortraitSetResult{"
+
"errorDisplay='"
+
errorDisplay
+
'\''
+
"errorDisplay='"
+
errorDisplay
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/QueryOnlineStatusResult.java
View file @
300a2802
...
@@ -36,6 +36,9 @@ public class QueryOnlineStatusResult extends GenericResult {
...
@@ -36,6 +36,9 @@ public class QueryOnlineStatusResult extends GenericResult {
return
"QueryOnlineStatusResult{"
+
return
"QueryOnlineStatusResult{"
+
"queryResult="
+
queryResult
+
"queryResult="
+
queryResult
+
", errorList="
+
errorList
+
", errorList="
+
errorList
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/SendGroupMsgResult.java
View file @
300a2802
...
@@ -34,6 +34,9 @@ public class SendGroupMsgResult extends GenericResult {
...
@@ -34,6 +34,9 @@ public class SendGroupMsgResult extends GenericResult {
return
"SendGroupMsgResult{"
+
return
"SendGroupMsgResult{"
+
"msgTime="
+
msgTime
+
"msgTime="
+
msgTime
+
", msgSeq="
+
msgSeq
+
", msgSeq="
+
msgSeq
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/SendGroupSystemNotificationResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/8/4 11:32
* @since 2021/8/4 11:32
*/
*/
public
class
SendGroupSystemNotificationResult
extends
GenericResult
{
public
class
SendGroupSystemNotificationResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"SendGroupSystemNotificationResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/SendMsgResult.java
View file @
300a2802
...
@@ -34,6 +34,9 @@ public class SendMsgResult extends GenericResult {
...
@@ -34,6 +34,9 @@ public class SendMsgResult extends GenericResult {
return
"SendMsgResult{"
+
return
"SendMsgResult{"
+
"msgTime="
+
msgTime
+
"msgTime="
+
msgTime
+
", msgKey='"
+
msgKey
+
'\''
+
", msgKey='"
+
msgKey
+
'\''
+
", actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
'}'
;
}
}
}
}
src/main/java/io/github/doocs/im/model/response/SetNoSpeakingResult.java
View file @
300a2802
...
@@ -5,5 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,5 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/07/31 11:51:01
* @since 2021/07/31 11:51:01
*/
*/
public
class
SetNoSpeakingResult
extends
GenericResult
{
public
class
SetNoSpeakingResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"SetNoSpeakingResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/main/java/io/github/doocs/im/model/response/SetUnreadMsgNumResult.java
View file @
300a2802
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
...
@@ -5,4 +5,12 @@ package io.github.doocs.im.model.response;
* @since 2021/08/01 13:58
* @since 2021/08/01 13:58
*/
*/
public
class
SetUnreadMsgNumResult
extends
GenericResult
{
public
class
SetUnreadMsgNumResult
extends
GenericResult
{
@Override
public
String
toString
()
{
return
"SetUnreadMsgNumResult{"
+
"actionStatus='"
+
actionStatus
+
'\''
+
", errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
}
}
}
src/test/java/io/github/doocs/im/GroupTest.java
View file @
300a2802
...
@@ -4,8 +4,6 @@ import io.github.doocs.im.constant.ApplyJoinOption;
...
@@ -4,8 +4,6 @@ import io.github.doocs.im.constant.ApplyJoinOption;
import
io.github.doocs.im.constant.GroupType
;
import
io.github.doocs.im.constant.GroupType
;
import
io.github.doocs.im.constant.MemberRole
;
import
io.github.doocs.im.constant.MemberRole
;
import
io.github.doocs.im.constant.OnlineOnlyFlag
;
import
io.github.doocs.im.constant.OnlineOnlyFlag
;
import
io.github.doocs.im.model.group.GroupInfo
;
import
io.github.doocs.im.model.message.TIMMsgElement
;
import
io.github.doocs.im.model.message.TIMTextMsgElement
;
import
io.github.doocs.im.model.message.TIMTextMsgElement
;
import
io.github.doocs.im.model.request.*
;
import
io.github.doocs.im.model.request.*
;
import
io.github.doocs.im.model.response.*
;
import
io.github.doocs.im.model.response.*
;
...
@@ -54,10 +52,10 @@ public class GroupTest {
...
@@ -54,10 +52,10 @@ public class GroupTest {
@Test
@Test
public
void
testCreateGroup
()
throws
IOException
{
public
void
testCreateGroup
()
throws
IOException
{
CreateGroupRequest
request
=
(
CreateGroupRequest
)
CreateGroupRequest
.
builder
()
CreateGroupRequest
request
=
CreateGroupRequest
.
builder
()
.
type
(
GroupType
.
PUBLIC
)
.
type
(
GroupType
.
PUBLIC
)
.
name
(
"TestGroup"
)
.
name
(
"TestGroup"
)
.
ownerAccount
(
"
doocs
"
)
.
ownerAccount
(
"
user2
"
)
.
groupId
(
"MyFirstGroup"
)
.
groupId
(
"MyFirstGroup"
)
.
introduction
(
"This is group Introduction"
)
.
introduction
(
"This is group Introduction"
)
.
notification
(
"This is group Notification"
)
.
notification
(
"This is group Notification"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment