package org.micord.models;

import lombok.Setter;

import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import java.util.List;

/**
 * @author Maksim Tereshin
 */
@Setter
@XmlSeeAlso({SqlRequest.class, S3Request.class, AqlRequest.class})
public abstract class BaseRequest {

	private List<RequestArgument> requestArguments;
	private String requestURL;

	@XmlElement(name = "RequestArgument")
	public List<RequestArgument> getRequestArguments() {
		return requestArguments;
	}

	@XmlElement(name = "RequestURL")
	public String getRequestURL() {
		return requestURL;
	}

}
