io.github.yawenok.fcm.client.request.platform.AndroidNotification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fcm-client Show documentation
Show all versions of fcm-client Show documentation
FCM client for java!Based on HttpAsyncClient.
The newest version!
package io.github.yawenok.fcm.client.request.platform;
import com.alibaba.fastjson.annotation.JSONField;
import io.github.yawenok.fcm.client.request.Notification;
import java.util.List;
public class AndroidNotification extends Notification {
@JSONField(name = "android_channel_id")
protected String androidChannelId;
@JSONField(name = "icon")
protected String icon;
@JSONField(name = "sound")
protected String sound;
@JSONField(name = "badge")
protected String badge;
@JSONField(name = "tag")
protected String tag;
@JSONField(name = "color")
protected String color;
@JSONField(name = "body_loc_key")
protected String bodyLocKey;
@JSONField(name = "body_loc_args")
protected List bodyLocArgs;
@JSONField(name = "title_loc_key")
protected String titleLocKey;
@JSONField(name = "title_loc_args")
protected List titleLocArgs;
public String getAndroidChannelId() {
return androidChannelId;
}
public void setAndroidChannelId(String androidChannelId) {
this.androidChannelId = androidChannelId;
}
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public String getSound() {
return sound;
}
public void setSound(String sound) {
this.sound = sound;
}
public String getBadge() {
return badge;
}
public void setBadge(String badge) {
this.badge = badge;
}
public String getTag() {
return tag;
}
public void setTag(String tag) {
this.tag = tag;
}
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
}
public String getBodyLocKey() {
return bodyLocKey;
}
public void setBodyLocKey(String bodyLocKey) {
this.bodyLocKey = bodyLocKey;
}
public List getBodyLocArgs() {
return bodyLocArgs;
}
public void setBodyLocArgs(List bodyLocArgs) {
this.bodyLocArgs = bodyLocArgs;
}
public String getTitleLocKey() {
return titleLocKey;
}
public void setTitleLocKey(String titleLocKey) {
this.titleLocKey = titleLocKey;
}
public List getTitleLocArgs() {
return titleLocArgs;
}
public void setTitleLocArgs(List titleLocArgs) {
this.titleLocArgs = titleLocArgs;
}
}