package org.gbif.api.model.registry;

import java.util.UUID;

/**
 * Confirmation key is a UUID used to confirm an entity.
 */
public class ConfirmationKeyParameter {

  private UUID confirmationKey;

  public ConfirmationKeyParameter(){}

  public ConfirmationKeyParameter(UUID confirmationKey) {
    this.confirmationKey = confirmationKey;
  }

  public UUID getConfirmationKey() {
    return confirmationKey;
  }

  public void setConfirmationKey(UUID confirmationKey) {
    this.confirmationKey = confirmationKey;
  }
}

@@ -53,16 +53,61 @@
 il.UUID;
+%0Aimport javax.validation.constraints.NotNull;
 %0A%0A/**%0A *
@@ -377,32 +377,43 @@
 mationKey;%0A  %7D%0A%0A
+  @NotNull%0A
   public UUID ge

confirmationKey is NotNull