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
0853d8ee
Unverified
Commit
0853d8ee
authored
Oct 28, 2021
by
yu
Committed by
GitHub
Oct 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: ApnsInfo add field (#38)
* fix: ApnsInfo add field * build: pom version * Update README.md Co-authored-by:
Yang Libin
<
szuyanglb@outlook.com
>
parent
77e4ee78
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
pom.xml
pom.xml
+1
-1
ApnsInfo.java
src/main/java/io/github/doocs/im/model/request/ApnsInfo.java
+12
-0
No files found.
pom.xml
View file @
0853d8ee
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<groupId>
io.github.doocs
</groupId>
<groupId>
io.github.doocs
</groupId>
<artifactId>
im-server-sdk-java
</artifactId>
<artifactId>
im-server-sdk-java
</artifactId>
<version>
0.1.
0
</version>
<version>
0.1.
1
</version>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
<name>
qcloud-im-server-sdk-java
</name>
<name>
qcloud-im-server-sdk-java
</name>
...
...
src/main/java/io/github/doocs/im/model/request/ApnsInfo.java
View file @
0853d8ee
...
@@ -9,6 +9,9 @@ import com.fasterxml.jackson.annotation.JsonProperty;
...
@@ -9,6 +9,9 @@ import com.fasterxml.jackson.annotation.JsonProperty;
*/
*/
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
public
class
ApnsInfo
{
public
class
ApnsInfo
{
@JsonProperty
(
"Sound"
)
private
String
sound
;
@JsonProperty
(
"BadgeMode"
)
@JsonProperty
(
"BadgeMode"
)
private
String
badgeMode
;
private
String
badgeMode
;
...
@@ -24,6 +27,14 @@ public class ApnsInfo {
...
@@ -24,6 +27,14 @@ public class ApnsInfo {
@JsonProperty
(
"MutableContent"
)
@JsonProperty
(
"MutableContent"
)
private
Integer
mutableContent
;
private
Integer
mutableContent
;
public
String
getSound
()
{
return
sound
;
}
public
void
setSound
(
String
sound
)
{
this
.
sound
=
sound
;
}
public
String
getBadgeMode
()
{
public
String
getBadgeMode
()
{
return
badgeMode
;
return
badgeMode
;
}
}
...
@@ -63,4 +74,5 @@ public class ApnsInfo {
...
@@ -63,4 +74,5 @@ public class ApnsInfo {
public
void
setMutableContent
(
Integer
mutableContent
)
{
public
void
setMutableContent
(
Integer
mutableContent
)
{
this
.
mutableContent
=
mutableContent
;
this
.
mutableContent
=
mutableContent
;
}
}
}
}
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