one.microproject.rpi.powercontroller.dto.ActionTaskInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rpi-powercontroller-client Show documentation
Show all versions of rpi-powercontroller-client Show documentation
Java client to access RPi Power Controller via HTTP REST APIs.
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