public class Drive extends BaseItem implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Drive.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
driveType |
protected IdentitySet |
owner |
protected Quota |
quota |
protected SharepointIds |
sharePointIds |
protected SystemFacet |
system |
createdBy, createdDateTime, description, eTag, lastModifiedBy, lastModifiedDateTime, name, parentReference, webUrlchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Drive() |
| Modifier and Type | Method and Description |
|---|---|
static Drive.Builder |
builderDrive()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
ItemActivityOLDCollectionRequest |
getActivities() |
DriveItemCollectionRequest |
getBundles() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDriveType() |
DriveItemCollectionRequest |
getFollowing() |
DriveItemCollectionRequest |
getItems() |
ListRequest |
getList() |
Optional<IdentitySet> |
getOwner() |
Optional<Quota> |
getQuota() |
DriveItemRequest |
getRoot() |
Optional<SharepointIds> |
getSharePointIds() |
DriveItemCollectionRequest |
getSpecial() |
Optional<SystemFacet> |
getSystem() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Drive |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Drive |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> |
recent() |
com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> |
search(String q) |
com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> |
sharedWithMe() |
String |
toString() |
Drive |
withDriveType(String driveType) |
Drive |
withOwner(IdentitySet owner) |
Drive |
withQuota(Quota quota) |
Drive |
withSharePointIds(SharepointIds sharePointIds) |
Drive |
withSystem(SystemFacet system) |
getCreatedBy, getCreatedByUser, getCreatedDateTime, getDescription, getETag, getLastModifiedBy, getLastModifiedByUser, getLastModifiedDateTime, getName, getParentReference, getWebUrl, withCreatedBy, withCreatedDateTime, withDescription, withETag, withLastModifiedBy, withLastModifiedDateTime, withName, withParentReference, withWebUrlprotected String driveType
protected IdentitySet owner
protected Quota quota
protected SharepointIds sharePointIds
protected SystemFacet system
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class BaseItempublic static Drive.Builder builderDrive()
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<IdentitySet> getOwner()
public Drive withOwner(IdentitySet owner)
public Optional<SharepointIds> getSharePointIds()
public Drive withSharePointIds(SharepointIds sharePointIds)
public Optional<SystemFacet> getSystem()
public Drive withSystem(SystemFacet system)
public ItemActivityOLDCollectionRequest getActivities()
public DriveItemCollectionRequest getBundles()
public DriveItemCollectionRequest getFollowing()
public DriveItemCollectionRequest getItems()
public ListRequest getList()
public DriveItemRequest getRoot()
public DriveItemCollectionRequest getSpecial()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class BaseItempublic Drive patch()
this with changed fields reset.public Drive put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> recent()
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> search(String q)
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> sharedWithMe()
Copyright © 2018–2020. All rights reserved.