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
11497856
Unverified
Commit
11497856
authored
Sep 17, 2021
by
yu
Committed by
GitHub
Sep 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: add noSpeaking result fields (#29)
parent
1cf4c936
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
4 deletions
+40
-4
GetNoSpeakingResult.java
...o/github/doocs/im/model/response/GetNoSpeakingResult.java
+40
-4
No files found.
src/main/java/io/github/doocs/im/model/response/GetNoSpeakingResult.java
View file @
11497856
...
...
@@ -19,6 +19,19 @@ public class GetNoSpeakingResult {
@JsonProperty
(
"ErrorCode"
)
private
Integer
errorCode
;
/**
* 单聊消息禁言时长,单位为秒
*/
@JsonProperty
(
"C2CmsgNospeakingTime"
)
private
Long
c2CMsgNoSpeakingTime
;
/**
* 群组消息禁言时长,单位为秒
*/
@JsonProperty
(
"GroupmsgNospeakingTime"
)
private
Long
groupMsgNoSpeakingTime
;
public
String
getErrorInfo
()
{
return
errorInfo
;
}
...
...
@@ -35,11 +48,34 @@ public class GetNoSpeakingResult {
this
.
errorCode
=
errorCode
;
}
public
Long
getC2CMsgNoSpeakingTime
()
{
return
c2CMsgNoSpeakingTime
;
}
public
void
setC2CMsgNoSpeakingTime
(
Long
c2CMsgNoSpeakingTime
)
{
this
.
c2CMsgNoSpeakingTime
=
c2CMsgNoSpeakingTime
;
}
public
Long
getGroupMsgNoSpeakingTime
()
{
return
groupMsgNoSpeakingTime
;
}
public
void
setGroupMsgNoSpeakingTime
(
Long
groupMsgNoSpeakingTime
)
{
this
.
groupMsgNoSpeakingTime
=
groupMsgNoSpeakingTime
;
}
@Override
public
String
toString
()
{
return
"GetNoSpeakingResult{"
+
"errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
'}'
;
return
"GetNoSpeakingResult{"
+
"errorInfo='"
+
errorInfo
+
'\''
+
", errorCode="
+
errorCode
+
", c2CMsgNoSpeakingTime="
+
c2CMsgNoSpeakingTime
+
", groupMsgNoSpeakingTime="
+
groupMsgNoSpeakingTime
+
'}'
;
}
}
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