package org.micord.models.requests;

import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import lombok.Setter;

import java.util.List;

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

	private List<RequestArgument> requestArguments;
	private String requestURL;

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

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

}
