Unverified Commit 0853d8ee authored by yu's avatar yu Committed by GitHub

fix: ApnsInfo add field (#38)

* fix: ApnsInfo add field * build: pom version * Update README.md Co-authored-by: 's avatarYang Libin <szuyanglb@outlook.com>
parent 77e4ee78
...@@ -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>
......
...@@ -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;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment