public class WorkingHours extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkingHours.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected List<DayOfWeek> |
daysOfWeek |
protected String |
daysOfWeekNextLink |
protected LocalTime |
endTime |
protected String |
odataType |
protected LocalTime |
startTime |
protected TimeZoneBase |
timeZone |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
WorkingHours() |
| Modifier and Type | Method and Description |
|---|---|
static WorkingHours.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.CollectionPage<DayOfWeek> |
getDaysOfWeek() |
com.github.davidmoten.odata.client.CollectionPage<DayOfWeek> |
getDaysOfWeek(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<LocalTime> |
getEndTime() |
Optional<LocalTime> |
getStartTime() |
Optional<TimeZoneBase> |
getTimeZone() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
WorkingHours |
withEndTime(LocalTime endTime) |
WorkingHours |
withStartTime(LocalTime startTime) |
WorkingHours |
withTimeZone(TimeZoneBase timeZone) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String daysOfWeekNextLink
protected LocalTime startTime
protected LocalTime endTime
protected TimeZoneBase timeZone
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic com.github.davidmoten.odata.client.CollectionPage<DayOfWeek> getDaysOfWeek()
public com.github.davidmoten.odata.client.CollectionPage<DayOfWeek> getDaysOfWeek(com.github.davidmoten.odata.client.HttpRequestOptions options)
public WorkingHours withStartTime(LocalTime startTime)
public WorkingHours withEndTime(LocalTime endTime)
public Optional<TimeZoneBase> getTimeZone()
public WorkingHours withTimeZone(TimeZoneBase timeZone)
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 WorkingHours.Builder builder()
Copyright © 2018–2020. All rights reserved.