org.molgenis.navigator.DeleteResourcesRequest Maven / Gradle / Ivy
package org.molgenis.navigator;
import com.google.auto.value.AutoValue;
import java.util.List;
import javax.validation.constraints.NotEmpty;
import org.molgenis.navigator.model.ResourceIdentifier;
import org.molgenis.util.AutoGson;
@AutoValue
@AutoGson(autoValueClass = AutoValue_DeleteResourcesRequest.class)
@SuppressWarnings(
"squid:S1610") // Abstract classes without fields should be converted to interfaces
public abstract class DeleteResourcesRequest {
@NotEmpty
public abstract List getResources();
public static DeleteResourcesRequest create(List newResources) {
return builder().setResources(newResources).build();
}
public static Builder builder() {
return new AutoValue_DeleteResourcesRequest.Builder();
}
@AutoValue.Builder
public abstract static class Builder {
public abstract Builder setResources(List newResources);
public abstract DeleteResourcesRequest build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy