package org.micord.models.requests.downloads;

import java.util.List;

import org.micord.models.requests.AqlConnectionParams;
import org.micord.models.requests.AqlRequestCollection;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementWrapper;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
@XmlAccessorType(XmlAccessType.FIELD)
public class AQLDownloadRequest extends BaseDownloadRequest {

	@XmlElement(name = "AqlConnectionParams")
	private AqlConnectionParams aqlConnectionParams;

	@XmlElement(name = "DownloadRequestEntitySelectorQuery")
	private String downloadRequestEntitySelectorQuery;

	@XmlElement(name = "AglDownloadLimit")
	private Integer aqlDownloadLimit;

	@XmlElementWrapper(name = "AqlRequestCollections")
	@XmlElement(name = "AqlRequestCollection")
	private List<AqlRequestCollection> aqlRequestCollections;
}
