public class Shift extends ChangeTrackedEntity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Shift.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected ShiftItem |
draftShift |
protected Boolean |
isStagedForDeletion |
protected String |
schedulingGroupId |
protected ShiftItem |
sharedShift |
protected String |
userId |
createdDateTime, lastModifiedBy, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Shift() |
| Modifier and Type | Method and Description |
|---|---|
static Shift.Builder |
builderShift()
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.internal.ChangedFields |
getChangedFields() |
Optional<ShiftItem> |
getDraftShift() |
Optional<Boolean> |
getIsStagedForDeletion() |
Optional<String> |
getSchedulingGroupId() |
Optional<ShiftItem> |
getSharedShift() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserId() |
String |
odataTypeName() |
Shift |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Shift |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Shift |
withDraftShift(ShiftItem draftShift) |
Shift |
withIsStagedForDeletion(Boolean isStagedForDeletion) |
Shift |
withSchedulingGroupId(String schedulingGroupId) |
Shift |
withSharedShift(ShiftItem sharedShift) |
Shift |
withUserId(String userId) |
getCreatedDateTime, getLastModifiedBy, getLastModifiedDateTime, stageForDeletion, withCreatedDateTime, withLastModifiedBy, withLastModifiedDateTimeprotected ShiftItem sharedShift
protected ShiftItem draftShift
protected String userId
protected String schedulingGroupId
protected Boolean isStagedForDeletion
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class ChangeTrackedEntitypublic static Shift.Builder builderShift()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class ChangeTrackedEntitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class ChangeTrackedEntitypublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class ChangeTrackedEntitypublic Shift patch()
this with changed fields reset.patch in class ChangeTrackedEntitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic Shift put()
this
with changed fields reset (they were ignored anyway).put in class ChangeTrackedEntitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class ChangeTrackedEntityCopyright © 2018–2020. All rights reserved.