Class CreateReservationRecord


  • public class CreateReservationRecord
    extends java.lang.Object
    `CreateReservationRecord` entity contains the `Reservation` if there is an error/warning while performing the requested operation on it, otherwise it will contain the new `reservationId`.
    • Constructor Detail

      • CreateReservationRecord

        public CreateReservationRecord()
    • Method Detail

      • getReservation

        public Reservation getReservation()
        Get reservation
        Returns:
        reservation
      • setReservation

        public void setReservation​(Reservation reservation)
      • getWarnings

        public WarningList getWarnings()
        Get warnings
        Returns:
        warnings
      • setWarnings

        public void setWarnings​(WarningList warnings)
      • getErrors

        public ErrorList getErrors()
        Get errors
        Returns:
        errors
      • setErrors

        public void setErrors​(ErrorList errors)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object