org.molgenis.api.data.v2.ResourcesResponseV2 Maven / Gradle / Ivy
package org.molgenis.api.data.v2;
import com.google.auto.value.AutoValue;
import javax.validation.constraints.NotNull;
import org.molgenis.util.AutoGson;
@AutoValue
@AutoGson(autoValueClass = AutoValue_ResourcesResponseV2.class)
@SuppressWarnings(
"squid:S1610") // Abstract classes without fields should be converted to interfaces
public abstract class ResourcesResponseV2 {
@NotNull
public abstract String getHref();
public static ResourcesResponseV2 create(String href) {
return new AutoValue_ResourcesResponseV2(href);
}
}