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

hex.genmodel.attributes.parameters.ParameterKey Maven / Gradle / Ivy

There is a newer version: 3.46.0.6
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy