Начало трансляции сервероного кода к новому протоколу
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
package im.rosetta.network.packet;
|
||||
|
||||
// Auto-generated by RCC (Rosetta Code Compiler). Do not edit manually.
|
||||
import io.orprotocol.packet.Packet;
|
||||
import im.rosetta.network.enums.NotificationAction;
|
||||
import im.rosetta.network.enums.TokenType;
|
||||
|
||||
public class PacketPushNotification extends Packet {
|
||||
public String notificationToken;
|
||||
public NotificationAction action;
|
||||
public TokenType tokenType;
|
||||
public String deviceId;
|
||||
|
||||
public String getNotificationToken() {
|
||||
return notificationToken;
|
||||
}
|
||||
|
||||
public void setNotificationToken(String notificationToken) {
|
||||
this.notificationToken = notificationToken;
|
||||
}
|
||||
|
||||
public NotificationAction getAction() {
|
||||
return action;
|
||||
}
|
||||
|
||||
public void setAction(NotificationAction action) {
|
||||
this.action = action;
|
||||
}
|
||||
|
||||
public TokenType getTokenType() {
|
||||
return tokenType;
|
||||
}
|
||||
|
||||
public void setTokenType(TokenType tokenType) {
|
||||
this.tokenType = tokenType;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user