mn.foreman.api.model.CommandStart Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-api Show documentation
Show all versions of java-api Show documentation
A library for interacting with the Foreman API.
package mn.foreman.api.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
/**
* A {@link CommandStart} represents a command to be performed against miners.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CommandStart
implements Command {
/** The arguments for the command. */
@JsonProperty("args")
public Map args;
/** The command. */
@JsonProperty("command")
public String command;
/** The command ID. */
@JsonProperty("id")
public String id;
/** The response. */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public static class Response {
/** The command status. */
@JsonProperty("status")
public String status;
}
}