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

org.molgenis.data.rest.v2.AutoValue_EntityCollectionBatchRequestV2 Maven / Gradle / Ivy

There is a newer version: 7.4.9
Show newest version

package org.molgenis.data.rest.v2;

import java.util.List;
import java.util.Map;
import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_EntityCollectionBatchRequestV2 extends EntityCollectionBatchRequestV2 {

  private final List> entities;

  AutoValue_EntityCollectionBatchRequestV2(
      List> entities) {
    if (entities == null) {
      throw new NullPointerException("Null entities");
    }
    this.entities = entities;
  }

  @org.hibernate.validator.constraints.NotEmpty(message="Please provide at least one entity in the entities property.")

  @javax.validation.constraints.Size(max=1000, message="Number of entities cannot be more than {max}.")

  @Override
  public List> getEntities() {
    return entities;
  }

  @Override
  public String toString() {
    return "EntityCollectionBatchRequestV2{"
        + "entities=" + entities
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof EntityCollectionBatchRequestV2) {
      EntityCollectionBatchRequestV2 that = (EntityCollectionBatchRequestV2) o;
      return (this.entities.equals(that.getEntities()));
    }
    return false;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy