All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.jiguang.sdk.bean.push.audience.Audience Maven / Gradle / Ivy

package cn.jiguang.sdk.bean.push.audience;

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;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Audience {

    @JsonProperty("registration_id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List registrationIdList;

    @JsonProperty("tag")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List tagOrList;
    @JsonProperty("tag_and")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List tagAndList;
    @JsonProperty("tag_not")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List tagNotList;

    @JsonProperty("alias")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List aliasList;

    @JsonProperty("segment")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List segmentList;

    @JsonProperty("abtest")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List abTestList;

    @JsonProperty("live_activity_id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String liveActivityId;

    @JsonProperty("file")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private File file;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class File {
        @JsonProperty("file_id")
        private String fileId;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy