public class ScheduleChangeRequest extends ChangeTrackedEntity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected ScheduleChangeRequestActor |
assignedTo |
protected OffsetDateTime |
managerActionDateTime |
protected String |
managerActionMessage |
protected String |
managerUserId |
protected OffsetDateTime |
senderDateTime |
protected String |
senderMessage |
protected String |
senderUserId |
protected ScheduleChangeState |
state |
createdDateTime, lastModifiedBy, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ScheduleChangeRequest() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.ActionRequestNoReturn |
approve(String message) |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
decline(String message) |
Optional<ScheduleChangeRequestActor> |
getAssignedTo() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getManagerActionDateTime()
Org.OData.Core.V1.Computed
|
Optional<String> |
getManagerActionMessage() |
Optional<String> |
getManagerUserId()
Org.OData.Core.V1.Computed
|
Optional<OffsetDateTime> |
getSenderDateTime()
Org.OData.Core.V1.Computed
|
Optional<String> |
getSenderMessage() |
Optional<String> |
getSenderUserId()
Org.OData.Core.V1.Computed
|
Optional<ScheduleChangeState> |
getState() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ScheduleChangeRequest |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ScheduleChangeRequest |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ScheduleChangeRequest |
withAssignedTo(ScheduleChangeRequestActor assignedTo) |
ScheduleChangeRequest |
withManagerActionDateTime(OffsetDateTime managerActionDateTime)
Returns an immutable copy of
this with just the managerActionDateTime field changed. |
ScheduleChangeRequest |
withManagerActionMessage(String managerActionMessage) |
ScheduleChangeRequest |
withManagerUserId(String managerUserId)
Returns an immutable copy of
this with just the managerUserId
field changed. |
ScheduleChangeRequest |
withSenderDateTime(OffsetDateTime senderDateTime)
Returns an immutable copy of
this with just the senderDateTime
field changed. |
ScheduleChangeRequest |
withSenderMessage(String senderMessage) |
ScheduleChangeRequest |
withSenderUserId(String senderUserId)
Returns an immutable copy of
this with just the senderUserId
field changed. |
ScheduleChangeRequest |
withState(ScheduleChangeState state) |
getCreatedDateTime, getLastModifiedBy, getLastModifiedDateTime, stageForDeletion, withCreatedDateTime, withLastModifiedBy, withLastModifiedDateTimeprotected ScheduleChangeRequestActor assignedTo
protected ScheduleChangeState state
protected String senderMessage
protected OffsetDateTime senderDateTime
protected String managerActionMessage
protected OffsetDateTime managerActionDateTime
protected String senderUserId
protected String managerUserId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class ChangeTrackedEntitypublic 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 Optional<ScheduleChangeRequestActor> getAssignedTo()
public ScheduleChangeRequest withAssignedTo(ScheduleChangeRequestActor assignedTo)
public Optional<ScheduleChangeState> getState()
public ScheduleChangeRequest withState(ScheduleChangeState state)
public ScheduleChangeRequest withSenderMessage(String senderMessage)
public Optional<OffsetDateTime> getSenderDateTime()
Org.OData.Core.V1.Computed
true
public ScheduleChangeRequest withSenderDateTime(OffsetDateTime senderDateTime)
this with just the senderDateTime
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.
Org.OData.Core.V1.Computed
true
senderDateTime - new value of senderDateTime field (as defined in service metadata)this with just the senderDateTime field changedpublic ScheduleChangeRequest withManagerActionMessage(String managerActionMessage)
public Optional<OffsetDateTime> getManagerActionDateTime()
Org.OData.Core.V1.Computed
true
public ScheduleChangeRequest withManagerActionDateTime(OffsetDateTime managerActionDateTime)
this with just the managerActionDateTime 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.
Org.OData.Core.V1.Computed
true
managerActionDateTime - new value of managerActionDateTime field (as defined in service metadata)this with just the managerActionDateTime field changedpublic Optional<String> getSenderUserId()
Org.OData.Core.V1.Computed
true
public ScheduleChangeRequest withSenderUserId(String senderUserId)
this with just the senderUserId
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.
Org.OData.Core.V1.Computed
true
senderUserId - new value of senderUserId field (as defined in service metadata)this with just the senderUserId field changedpublic Optional<String> getManagerUserId()
Org.OData.Core.V1.Computed
true
public ScheduleChangeRequest withManagerUserId(String managerUserId)
this with just the managerUserId
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.
Org.OData.Core.V1.Computed
true
managerUserId - new value of managerUserId field (as defined in service metadata)this with just the managerUserId field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class ChangeTrackedEntitypublic ScheduleChangeRequest 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 ScheduleChangeRequest 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 com.github.davidmoten.odata.client.ActionRequestNoReturn approve(String message)
public com.github.davidmoten.odata.client.ActionRequestNoReturn decline(String message)
public String toString()
toString in class ChangeTrackedEntityCopyright © 2018–2020. All rights reserved.