public class CustomUpdateTimeWindow extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomUpdateTimeWindow.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected DayOfWeek |
endDay |
protected LocalTime |
endTime |
protected String |
odataType |
protected DayOfWeek |
startDay |
protected LocalTime |
startTime |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
CustomUpdateTimeWindow() |
| Modifier and Type | Method and Description |
|---|---|
static CustomUpdateTimeWindow.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<DayOfWeek> |
getEndDay()
“End day of the time window”
|
Optional<LocalTime> |
getEndTime()
“End time of the time window”
|
Optional<DayOfWeek> |
getStartDay()
“Start day of the time window”
|
Optional<LocalTime> |
getStartTime()
“Start time of the time window”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
CustomUpdateTimeWindow |
withEndDay(DayOfWeek endDay)
Returns an immutable copy of
this with just the endDay field
changed. |
CustomUpdateTimeWindow |
withEndTime(LocalTime endTime)
Returns an immutable copy of
this with just the endTime field
changed. |
CustomUpdateTimeWindow |
withStartDay(DayOfWeek startDay)
Returns an immutable copy of
this with just the startDay field
changed. |
CustomUpdateTimeWindow |
withStartTime(LocalTime startTime)
Returns an immutable copy of
this with just the startTime field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected DayOfWeek startDay
protected DayOfWeek endDay
protected LocalTime startTime
protected LocalTime endTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<DayOfWeek> getStartDay()
public CustomUpdateTimeWindow withStartDay(DayOfWeek startDay)
this with just the startDay 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.
“Start day of the time window”
startDay - new value of startDay field (as defined in service metadata)this with just the startDay field changedpublic Optional<DayOfWeek> getEndDay()
public CustomUpdateTimeWindow withEndDay(DayOfWeek endDay)
this with just the endDay 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.
“End day of the time window”
endDay - new value of endDay field (as defined in service metadata)this with just the endDay field changedpublic Optional<LocalTime> getStartTime()
public CustomUpdateTimeWindow withStartTime(LocalTime startTime)
this with just the startTime 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.
“Start time of the time window”
startTime - new value of startTime field (as defined in service metadata)this with just the startTime field changedpublic Optional<LocalTime> getEndTime()
public CustomUpdateTimeWindow withEndTime(LocalTime endTime)
this with just the endTime 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.
“End time of the time window”
endTime - new value of endTime field (as defined in service metadata)this with just the endTime field changedpublic 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 CustomUpdateTimeWindow.Builder builder()
Copyright © 2018–2020. All rights reserved.