Class UpdateReservationRecord
- java.lang.Object
-
- software.amazon.spapi.models.services.v1.UpdateReservationRecord
-
public class UpdateReservationRecord extends java.lang.Object
`UpdateReservationRecord` 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 Summary
Constructors Constructor Description UpdateReservationRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
UpdateReservationRecord
errors(ErrorList errors)
ErrorList
getErrors()
Get errorsReservation
getReservation()
Get reservationWarningList
getWarnings()
Get warningsint
hashCode()
UpdateReservationRecord
reservation(Reservation reservation)
void
setErrors(ErrorList errors)
void
setReservation(Reservation reservation)
void
setWarnings(WarningList warnings)
java.lang.String
toString()
UpdateReservationRecord
warnings(WarningList warnings)
-
-
-
Method Detail
-
reservation
public UpdateReservationRecord reservation(Reservation reservation)
-
getReservation
public Reservation getReservation()
Get reservation- Returns:
- reservation
-
setReservation
public void setReservation(Reservation reservation)
-
warnings
public UpdateReservationRecord warnings(WarningList warnings)
-
getWarnings
public WarningList getWarnings()
Get warnings- Returns:
- warnings
-
setWarnings
public void setWarnings(WarningList warnings)
-
errors
public UpdateReservationRecord errors(ErrorList errors)
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-