@Override
 public int hashCode() {
   int result = doi.hashCode();
   result = 31 * result + mappedUrl.hashCode();
   result = 31 * result + status.hashCode();
   result = 31 * result + message.hashCode();
   result = 31 * result + date.hashCode();
   return result;
 }
 /**
  * Specifies the registration status of the activity types to list.
  *
  * <p>Returns a reference to this object so that method calls can be chained together.
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>REGISTERED, DEPRECATED
  *
  * @param registrationStatus Specifies the registration status of the activity types to list.
  * @return A reference to this updated object so that method calls can be chained together.
  * @see RegistrationStatus
  */
 public ListActivityTypesRequest withRegistrationStatus(RegistrationStatus registrationStatus) {
   this.registrationStatus = registrationStatus.toString();
   return this;
 }
 /**
  * Specifies the registration status of the activity types to list.
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>REGISTERED, DEPRECATED
  *
  * @param registrationStatus Specifies the registration status of the activity types to list.
  * @see RegistrationStatus
  */
 public void setRegistrationStatus(RegistrationStatus registrationStatus) {
   this.registrationStatus = registrationStatus.toString();
 }