package ru.yandex.webmaster3.storage.toloka.model;

import java.util.List;
import java.util.UUID;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Value;

/**
 * Created by Oleg Bazdyrev on 28/04/2020.
 */
@Value
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class TolokaTaskSuite {

    @JsonProperty("id")
    UUID id;
    @JsonProperty("pool_id")
    String poolId;
    @JsonProperty("tasks")
    List<TolokaTask> tasks;
    @JsonProperty("overlap")
    Integer overlap;
    @JsonProperty("infinite_overlap")
    boolean infiniteOverlap;
    @JsonProperty("issuing_order_override")
    Integer issuingOrderOverride;
    @JsonProperty("mixed")
    boolean mixed;
    @JsonProperty("automerged")
    boolean automerged;
}
