public class UserConsentRequest extends Request implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
UserConsentRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected UserIdentity |
createdBy |
protected OffsetDateTime |
createdDateTime |
protected String |
reason |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
UserConsentRequest() |
| Modifier and Type | Method and Description |
|---|---|
static UserConsentRequest.Builder |
builderUserConsentRequest()
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<UserIdentity> |
getCreatedBy() |
Optional<OffsetDateTime> |
getCreatedDateTime() |
Optional<String> |
getReason() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
UserConsentRequest |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
UserConsentRequest |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
UserConsentRequest |
withCreatedBy(UserIdentity createdBy) |
UserConsentRequest |
withCreatedDateTime(OffsetDateTime createdDateTime) |
UserConsentRequest |
withReason(String reason) |
builderRequest, getApproval, recordDecisions, stopprotected String reason
protected UserIdentity createdBy
protected OffsetDateTime createdDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Requestpublic static UserConsentRequest.Builder builderUserConsentRequest()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Requestpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Requestpublic UserConsentRequest withReason(String reason)
public Optional<UserIdentity> getCreatedBy()
public UserConsentRequest withCreatedBy(UserIdentity createdBy)
public Optional<OffsetDateTime> getCreatedDateTime()
public UserConsentRequest withCreatedDateTime(OffsetDateTime createdDateTime)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Requestpublic UserConsentRequest patch()
this with changed fields reset.public UserConsentRequest put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.