package cn.axzo.msg.center.api.request;

import cn.axzo.msg.center.push.PushData;
import cn.axzo.msg.center.push.PushMessage;
import cn.axzo.msg.center.service.domain.PushPeer;
import cn.axzo.msg.center.service.domain.UrlConfig;
import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

/**
 * @author yanglin
 */
@Setter
@Getter
public class BuildNimPayloadRequest implements PushMessage {

    private String pushTitle;

    private String pushContent;

    private UrlConfig pushUrl;

    private PushData pushData;

    private PushPeer pushPeer;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

}