package io.wdd.pusher.beans;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
public class NtfyReceiveMessage {

    @JsonProperty("ID")
    private String id;
    @JsonProperty("Event")
    private String event;
    @JsonProperty("Time")
    private Integer time;
    @JsonProperty("Topic")
    private String topic;
    @JsonProperty("Message")
    private String message;
    @JsonProperty("Title")
    private String title;
    @JsonProperty("Priority")
    private Integer priority;
    @JsonProperty("Tags")
    private Object tags;
    @JsonProperty("Click")
    private String click;
    @JsonProperty("Icon")
    private String icon;
    @JsonProperty("Attachment")
    private Object attachment;
    @JsonProperty("TopicURL")
    private String topicURL;
    @JsonProperty("SubscriptionID")
    private String subscriptionID;
    @JsonProperty("Raw")
    private String raw;
}
