public class ItemActivity extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemActivity.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected AccessAction |
access |
protected OffsetDateTime |
activityDateTime |
protected IdentitySet |
actor |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ItemActivity() |
| Modifier and Type | Method and Description |
|---|---|
static ItemActivity.Builder |
builderItemActivity()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<AccessAction> |
getAccess() |
Optional<OffsetDateTime> |
getActivityDateTime() |
Optional<IdentitySet> |
getActor() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
DriveItemRequest |
getDriveItem() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ItemActivity |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ItemActivity |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ItemActivity |
withAccess(AccessAction access) |
ItemActivity |
withActivityDateTime(OffsetDateTime activityDateTime) |
ItemActivity |
withActor(IdentitySet actor) |
protected AccessAction access
protected OffsetDateTime activityDateTime
protected IdentitySet actor
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ItemActivity.Builder builderItemActivity()
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 Optional<AccessAction> getAccess()
public ItemActivity withAccess(AccessAction access)
public Optional<OffsetDateTime> getActivityDateTime()
public ItemActivity withActivityDateTime(OffsetDateTime activityDateTime)
public Optional<IdentitySet> getActor()
public ItemActivity withActor(IdentitySet actor)
public DriveItemRequest getDriveItem()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ItemActivity patch()
this with changed fields reset.public ItemActivity put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.