Class AppointmentTime
- java.lang.Object
-
- software.amazon.spapi.models.services.v1.AppointmentTime
-
public class AppointmentTime extends java.lang.Object
The time of the appointment window.
-
-
Constructor Summary
Constructors Constructor Description AppointmentTime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppointmentTime
durationInMinutes(java.lang.Integer durationInMinutes)
boolean
equals(java.lang.Object o)
java.lang.Integer
getDurationInMinutes()
The duration of the appointment window, in minutes.org.threeten.bp.OffsetDateTime
getStartTime()
The date and time of the start of the appointment window in ISO 8601 format.int
hashCode()
void
setDurationInMinutes(java.lang.Integer durationInMinutes)
void
setStartTime(org.threeten.bp.OffsetDateTime startTime)
AppointmentTime
startTime(org.threeten.bp.OffsetDateTime startTime)
java.lang.String
toString()
-
-
-
Method Detail
-
startTime
public AppointmentTime startTime(org.threeten.bp.OffsetDateTime startTime)
-
getStartTime
public org.threeten.bp.OffsetDateTime getStartTime()
The date and time of the start of the appointment window in ISO 8601 format.- Returns:
- startTime
-
setStartTime
public void setStartTime(org.threeten.bp.OffsetDateTime startTime)
-
durationInMinutes
public AppointmentTime durationInMinutes(java.lang.Integer durationInMinutes)
-
getDurationInMinutes
public java.lang.Integer getDurationInMinutes()
The duration of the appointment window, in minutes. minimum: 1- Returns:
- durationInMinutes
-
setDurationInMinutes
public void setDurationInMinutes(java.lang.Integer durationInMinutes)
-
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
-
-