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

com.inteligr8.solr.model.core.RequestStatusRequest Maven / Gradle / Ivy

package com.inteligr8.solr.model.core;

import com.inteligr8.solr.model.JsonFormattedResponseRequest;

import jakarta.annotation.Nonnull;
import jakarta.ws.rs.DefaultValue;
import jakarta.ws.rs.QueryParam;

public class RequestStatusRequest extends JsonFormattedResponseRequest {
	
	private static final String ACTION = "REQUESTSTATUS";
	
	@QueryParam("action")
	@DefaultValue(ACTION)
	@Nonnull
	private String action = ACTION;
	
	@QueryParam("requestid")
	@Nonnull
	private String requestId;
	
	public String getAction() {
		return action;
	}
	
	public void setAction(String action) {
		this.action = action;
	}
	
	public String getRequestId() {
		return requestId;
	}
	
	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}
	
	public RequestStatusRequest withRequestId(String requestId) {
		this.requestId = requestId;
		return this;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy