public class BookingWorkHours extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
BookingWorkHours.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected DayOfWeek |
day |
protected String |
odataType |
protected List<BookingWorkTimeSlot> |
timeSlots |
protected String |
timeSlotsNextLink |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
BookingWorkHours() |
| Modifier and Type | Method and Description |
|---|---|
static BookingWorkHours.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<DayOfWeek> |
getDay()
“The day of the week represented by this instance.”
|
com.github.davidmoten.odata.client.CollectionPage<BookingWorkTimeSlot> |
getTimeSlots()
“A list of start/end times during a day.”
|
com.github.davidmoten.odata.client.CollectionPage<BookingWorkTimeSlot> |
getTimeSlots(com.github.davidmoten.odata.client.HttpRequestOptions options)
“A list of start/end times during a day.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
BookingWorkHours |
withDay(DayOfWeek day)
Returns an immutable copy of
this with just the day field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected DayOfWeek day
protected List<BookingWorkTimeSlot> timeSlots
protected String timeSlotsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<DayOfWeek> getDay()
public BookingWorkHours withDay(DayOfWeek day)
this with just the day field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The day of the week represented by this instance.”
day - new value of day field (as defined in service metadata)this with just the day field changedpublic com.github.davidmoten.odata.client.CollectionPage<BookingWorkTimeSlot> getTimeSlots()
public com.github.davidmoten.odata.client.CollectionPage<BookingWorkTimeSlot> getTimeSlots(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static BookingWorkHours.Builder builder()
Copyright © 2018–2020. All rights reserved.