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

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

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