cn.jiguang.sdk.bean.push.message.custom.CustomMessage Maven / Gradle / Ivy
package cn.jiguang.sdk.bean.push.message.custom;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.Map;
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class CustomMessage {
@JsonProperty("title")
@JsonInclude(JsonInclude.Include.NON_NULL)
public String title;
@JsonProperty("msg_content")
@JsonInclude(JsonInclude.Include.NON_NULL)
public String content;
@JsonProperty("alternate_title")
@JsonInclude(JsonInclude.Include.NON_NULL)
public String alternateTitle;
@JsonProperty("alternate_content")
@JsonInclude(JsonInclude.Include.NON_NULL)
public String alternateContent;
@JsonProperty("content_type")
@JsonInclude(JsonInclude.Include.NON_NULL)
public String contentType;
/**
* 这里的Object,可以是基础数据类型
*/
@JsonProperty("extras")
@JsonInclude(JsonInclude.Include.NON_NULL)
public Map extras;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy