
org.molgenis.api.data.v2.CopyEntityRequestV2 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_CopyEntityRequestV2.class)
@SuppressWarnings(
"squid:S1610") // Abstract classes without fields should be converted to interfaces
public abstract class CopyEntityRequestV2 {
@NotNull
public abstract String getNewEntityName();
public static CopyEntityRequestV2 create(String newEntityName) {
return new AutoValue_CopyEntityRequestV2(newEntityName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy