public class ListItem extends BaseItem implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ListItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected ContentTypeInfo |
contentType |
protected SharepointIds |
sharepointIds |
createdBy, createdDateTime, description, eTag, lastModifiedBy, lastModifiedDateTime, name, parentReference, webUrlchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ListItem() |
| Modifier and Type | Method and Description |
|---|---|
static ListItem.Builder |
builderListItem()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
ItemActivityOLDCollectionRequest |
getActivities() |
com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ItemActivityStat> |
getActivitiesByInterval(String startDateTime,
String endDateTime,
String interval) |
ItemAnalyticsRequest |
getAnalytics() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<ContentTypeInfo> |
getContentType() |
DriveItemRequest |
getDriveItem() |
FieldValueSetRequest |
getFields() |
Optional<SharepointIds> |
getSharepointIds() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
ListItemVersionCollectionRequest |
getVersions() |
String |
odataTypeName() |
ListItem |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ListItem |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ListItem |
withContentType(ContentTypeInfo contentType) |
ListItem |
withSharepointIds(SharepointIds sharepointIds) |
getCreatedBy, getCreatedByUser, getCreatedDateTime, getDescription, getETag, getLastModifiedBy, getLastModifiedByUser, getLastModifiedDateTime, getName, getParentReference, getWebUrl, withCreatedBy, withCreatedDateTime, withDescription, withETag, withLastModifiedBy, withLastModifiedDateTime, withName, withParentReference, withWebUrlprotected ContentTypeInfo contentType
protected SharepointIds sharepointIds
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class BaseItempublic static ListItem.Builder builderListItem()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class BaseItempublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class BaseItempublic Optional<ContentTypeInfo> getContentType()
public ListItem withContentType(ContentTypeInfo contentType)
public Optional<SharepointIds> getSharepointIds()
public ListItem withSharepointIds(SharepointIds sharepointIds)
public ItemActivityOLDCollectionRequest getActivities()
public ItemAnalyticsRequest getAnalytics()
public DriveItemRequest getDriveItem()
public FieldValueSetRequest getFields()
public ListItemVersionCollectionRequest getVersions()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class BaseItempublic ListItem patch()
this with changed fields reset.public ListItem put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ItemActivityStat> getActivitiesByInterval(String startDateTime, String endDateTime, String interval)
Copyright © 2018–2020. All rights reserved.