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

one.microproject.rpi.powercontroller.dto.ActionTaskInfo Maven / Gradle / Ivy

The newest version!
package one.microproject.rpi.powercontroller.dto;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class ActionTaskInfo {

    private final String type;
    private final String description;
    private final ExecutionStatus status;

    @JsonCreator
    public ActionTaskInfo(@JsonProperty("type") String type,
                          @JsonProperty("description") String description,
                          @JsonProperty("status") ExecutionStatus status) {
        this.type = type;
        this.description = description;
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public String getDescription() {
        return description;
    }

    public ExecutionStatus getStatus() {
        return status;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy