public class ApprovalStep extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ApprovalStep.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected String |
justification |
protected Identity |
reviewedBy |
protected OffsetDateTime |
reviewedDateTime |
protected String |
reviewResult |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ApprovalStep() |
| Modifier and Type | Method and Description |
|---|---|
static ApprovalStep.Builder |
builderApprovalStep()
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> |
getDisplayName() |
Optional<String> |
getJustification() |
Optional<Identity> |
getReviewedBy() |
Optional<OffsetDateTime> |
getReviewedDateTime() |
Optional<String> |
getReviewResult() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ApprovalStep |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ApprovalStep |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ApprovalStep |
withDisplayName(String displayName) |
ApprovalStep |
withJustification(String justification) |
ApprovalStep |
withReviewedBy(Identity reviewedBy) |
ApprovalStep |
withReviewedDateTime(OffsetDateTime reviewedDateTime) |
ApprovalStep |
withReviewResult(String reviewResult) |
protected String displayName
protected Identity reviewedBy
protected OffsetDateTime reviewedDateTime
protected String reviewResult
protected String justification
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ApprovalStep.Builder builderApprovalStep()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic ApprovalStep withDisplayName(String displayName)
public ApprovalStep withReviewedBy(Identity reviewedBy)
public Optional<OffsetDateTime> getReviewedDateTime()
public ApprovalStep withReviewedDateTime(OffsetDateTime reviewedDateTime)
public ApprovalStep withReviewResult(String reviewResult)
public ApprovalStep withJustification(String justification)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ApprovalStep patch()
this with changed fields reset.public ApprovalStep put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.