com.absmartly.sdk.json.ExperimentApplication Maven / Gradle / Ivy
package com.absmartly.sdk.json;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.absmartly.sdk.java.util.Objects;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ExperimentApplication {
public String name;
public ExperimentApplication() {}
public ExperimentApplication(String name) {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
ExperimentApplication that = (ExperimentApplication) o;
return Objects.equals(name, that.name);
}
@Override
public int hashCode() {
return Objects.hash(name);
}
@Override
public String toString() {
return "ExperimentApplication{" +
"name='" + name + '\'' +
'}';
}
}