public class ShiftActivity extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ShiftActivity.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
displayName |
protected OffsetDateTime |
endDateTime |
protected Boolean |
isPaid |
protected String |
odataType |
protected OffsetDateTime |
startDateTime |
protected ScheduleEntityTheme |
theme |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ShiftActivity() |
| Modifier and Type | Method and Description |
|---|---|
static ShiftActivity.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getCode() |
Optional<String> |
getDisplayName() |
Optional<OffsetDateTime> |
getEndDateTime() |
Optional<Boolean> |
getIsPaid() |
Optional<OffsetDateTime> |
getStartDateTime() |
Optional<ScheduleEntityTheme> |
getTheme() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ShiftActivity |
withCode(String code) |
ShiftActivity |
withDisplayName(String displayName) |
ShiftActivity |
withEndDateTime(OffsetDateTime endDateTime) |
ShiftActivity |
withIsPaid(Boolean isPaid) |
ShiftActivity |
withStartDateTime(OffsetDateTime startDateTime) |
ShiftActivity |
withTheme(ScheduleEntityTheme theme) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Boolean isPaid
protected OffsetDateTime startDateTime
protected OffsetDateTime endDateTime
protected String code
protected String displayName
protected ScheduleEntityTheme theme
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic ShiftActivity withIsPaid(Boolean isPaid)
public Optional<OffsetDateTime> getStartDateTime()
public ShiftActivity withStartDateTime(OffsetDateTime startDateTime)
public Optional<OffsetDateTime> getEndDateTime()
public ShiftActivity withEndDateTime(OffsetDateTime endDateTime)
public ShiftActivity withCode(String code)
public ShiftActivity withDisplayName(String displayName)
public Optional<ScheduleEntityTheme> getTheme()
public ShiftActivity withTheme(ScheduleEntityTheme theme)
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 ShiftActivity.Builder builder()
Copyright © 2018–2020. All rights reserved.