one.microproject.rpi.powercontroller.dto.JobInfo 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;
import java.util.Collection;
public class JobInfo {
private final String id;
private final String name;
private final Collection actions;
@JsonCreator
public JobInfo(@JsonProperty("id") String id,
@JsonProperty("name") String name,
@JsonProperty("actions") Collection actions) {
this.id = id;
this.name = name;
this.actions = actions;
}
public String getId() {
return id;
}
public String getName() {
return name;
}
public Collection getActions() {
return actions;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy