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

mn.foreman.api.model.CommandStart Maven / Gradle / Ivy

There is a newer version: 1.78.0
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy