hex.genmodel.attributes.parameters.ParameterKey Maven / Gradle / Ivy
package hex.genmodel.attributes.parameters;
import java.io.Serializable;
import java.util.Objects;
public class ParameterKey implements Serializable {
private final String name;
private final ParameterKey.Type type;
private final String URL;
public ParameterKey(String name, Type type, String URL) {
Objects.requireNonNull(name);
Objects.requireNonNull(type);
Objects.requireNonNull(URL);
this.name = name;
this.type = type;
this.URL = URL;
}
public enum Type implements Serializable{
MODEL, FRAME, GENERIC
}
public String getName() {
return name;
}
public Type getType() {
return type;
}
public String getURL() {
return URL;
}
}