cn.jiguang.sdk.bean.push.options.Options Maven / Gradle / Ivy
package cn.jiguang.sdk.bean.push.options;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.List;
import java.util.Map;
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Options {
@JsonProperty("sendno")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Long sendNo;
@JsonProperty("override_msg_id")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Long overrideMsgId;
@JsonProperty("apns_production")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Boolean apnsProduction;
@JsonProperty("time_to_live")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Long timeToLive;
@JsonProperty("alternate_set")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Boolean alternateEnable;
@JsonProperty("portal_extra")
@JsonInclude(JsonInclude.Include.NON_NULL)
private PortalExtra portalExtra;
@JsonProperty("target_event")
@JsonInclude(JsonInclude.Include.NON_NULL)
private List targetEvent;
@JsonProperty("third_party_channel")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Map thirdPartyChannel;
@JsonProperty("apns_collapse_id")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String apnsCollapseId;
@JsonProperty("big_push_duration")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Integer bigPushDuration;
@JsonProperty("classification")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Integer classification;
@JsonProperty("geofence")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Map geofence;
/**
* 测试消息标识,指定鸿蒙平台通知和自定义消息推送配置,优先级大于hmos通知体内的test_message字段
*/
@JsonProperty("test_message")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Boolean testMessage;
/**
* 华为回执ID,指定鸿蒙平台通知和自定义消息推送配置,优先级大于hmos通知体内的receipt_id字段
*/
@JsonProperty("receipt_id")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String receiptId;
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public static class PortalExtra {
@JsonProperty("task")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String task;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy