001package org.gbif.api.model.collections.search;
002
003import java.net.URI;
004import java.util.ArrayList;
005import java.util.HashSet;
006import java.util.List;
007import java.util.Set;
008import java.util.UUID;
009
010import lombok.Data;
011
012import org.gbif.api.model.collections.AlternativeCode;
013import org.gbif.api.vocabulary.Country;
014import org.gbif.api.vocabulary.License;
015import org.gbif.api.vocabulary.collections.MasterSourceType;
016
017@Data
018public abstract class BaseSearchResponse {
019
020  private UUID key;
021  private String code;
022  private String name;
023  private List<AlternativeCode> alternativeCodes = new ArrayList<>();
024  private String description;
025  private Boolean active;
026  private Boolean displayOnNHCPortal;
027  private Country country;
028  private Country mailingCountry;
029  private String city;
030  private String mailingCity;
031  private String temporalCoverage;
032  private License featuredImageLicense;
033  private URI featuredImageUrl;
034  private String featuredImageAttribution;
035  private MasterSourceType masterSource;
036  private Set<Highlight> highlights = new HashSet<>();
037}