public class SwapShiftsChangeRequest extends OfferShiftRequest implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SwapShiftsChangeRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
recipientShiftId |
recipientActionDateTime, recipientActionMessage, recipientUserId, senderShiftIdassignedTo, managerActionDateTime, managerActionMessage, managerUserId, senderDateTime, senderMessage, senderUserId, statecreatedDateTime, lastModifiedBy, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SwapShiftsChangeRequest() |
| Modifier and Type | Method and Description |
|---|---|
static SwapShiftsChangeRequest.Builder |
builderSwapShiftsChangeRequest()
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<String> |
getRecipientShiftId() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
SwapShiftsChangeRequest |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SwapShiftsChangeRequest |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SwapShiftsChangeRequest |
withRecipientShiftId(String recipientShiftId) |
builderOfferShiftRequest, getRecipientActionDateTime, getRecipientActionMessage, getRecipientUserId, getSenderShiftId, withRecipientActionDateTime, withRecipientActionMessage, withRecipientUserId, withSenderShiftIdapprove, decline, getAssignedTo, getManagerActionDateTime, getManagerActionMessage, getManagerUserId, getSenderDateTime, getSenderMessage, getSenderUserId, getState, withAssignedTo, withManagerActionDateTime, withManagerActionMessage, withManagerUserId, withSenderDateTime, withSenderMessage, withSenderUserId, withStategetCreatedDateTime, getLastModifiedBy, getLastModifiedDateTime, stageForDeletion, withCreatedDateTime, withLastModifiedBy, withLastModifiedDateTimeprotected String recipientShiftId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class OfferShiftRequestpublic static SwapShiftsChangeRequest.Builder builderSwapShiftsChangeRequest()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class OfferShiftRequestpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class OfferShiftRequestpublic SwapShiftsChangeRequest withRecipientShiftId(String recipientShiftId)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class OfferShiftRequestpublic SwapShiftsChangeRequest patch()
this with changed fields reset.patch in class OfferShiftRequestthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic SwapShiftsChangeRequest put()
this
with changed fields reset (they were ignored anyway).put in class OfferShiftRequestthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class OfferShiftRequestCopyright © 2018–2020. All rights reserved.