public class DriveItem extends BaseItem implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DriveItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Audio |
audio |
protected Bundle |
bundle |
protected String |
content |
protected String |
cTag |
protected Deleted |
deleted |
protected File |
file |
protected FileSystemInfo |
fileSystemInfo |
protected Folder |
folder |
protected Image |
image |
protected GeoCoordinates |
location |
protected Package |
package_ |
protected PendingOperations |
pendingOperations |
protected Photo |
photo |
protected PublicationFacet |
publication |
protected RemoteItem |
remoteItem |
protected Root |
root |
protected SearchResult |
searchResult |
protected Shared |
shared |
protected SharepointIds |
sharepointIds |
protected Long |
size |
protected SpecialFolder |
specialFolder |
protected Video |
video |
protected String |
webDavUrl |
createdBy, createdDateTime, description, eTag, lastModifiedBy, lastModifiedDateTime, name, parentReference, webUrlchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DriveItem() |
| Modifier and Type | Method and Description |
|---|---|
static DriveItem.Builder |
builderDriveItem()
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.ActionRequestNoReturn |
checkin(String checkInAs,
String comment) |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
checkout() |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<DriveItem> |
copy(String name,
ItemReference parentReference) |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Permission> |
createLink(String type,
String scope,
OffsetDateTime expirationDateTime,
String password,
String message,
List<DriveRecipient> recipients) |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<UploadSession> |
createUploadSession(DriveItemUploadableProperties item,
Boolean deferCommit) |
com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> |
delta_Function() |
com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> |
delta(String token) |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<DriveItem> |
follow() |
ItemActivityOLDCollectionRequest |
getActivities() |
com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ItemActivityStat> |
getActivitiesByInterval(String startDateTime,
String endDateTime,
String interval) |
ItemAnalyticsRequest |
getAnalytics() |
Optional<Audio> |
getAudio() |
Optional<Bundle> |
getBundle() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
DriveItemCollectionRequest |
getChildren() |
Optional<com.github.davidmoten.odata.client.StreamProvider> |
getContent() |
Optional<String> |
getCTag() |
Optional<Deleted> |
getDeleted() |
Optional<File> |
getFile() |
Optional<FileSystemInfo> |
getFileSystemInfo() |
Optional<Folder> |
getFolder() |
Optional<Image> |
getImage() |
ListItemRequest |
getListItem() |
Optional<GeoCoordinates> |
getLocation() |
Optional<Package> |
getPackage() |
Optional<PendingOperations> |
getPendingOperations() |
PermissionCollectionRequest |
getPermissions() |
Optional<Photo> |
getPhoto() |
Optional<PublicationFacet> |
getPublication() |
Optional<RemoteItem> |
getRemoteItem() |
Optional<Root> |
getRoot() |
Optional<SearchResult> |
getSearchResult() |
Optional<Shared> |
getShared() |
Optional<SharepointIds> |
getSharepointIds() |
Optional<Long> |
getSize() |
Optional<SpecialFolder> |
getSpecialFolder() |
SubscriptionCollectionRequest |
getSubscriptions() |
ThumbnailSetCollectionRequest |
getThumbnails() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
DriveItemVersionCollectionRequest |
getVersions() |
Optional<Video> |
getVideo() |
Optional<String> |
getWebDavUrl() |
WorkbookRequest |
getWorkbook() |
com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<Permission> |
invite(Boolean requireSignIn,
List<String> roles,
Boolean sendInvitation,
String message,
List<DriveRecipient> recipients,
String expirationDateTime,
String password) |
String |
odataTypeName() |
DriveItem |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<ItemPreviewInfo> |
preview(String viewer,
Boolean chromeless,
Boolean allowEdit,
String page,
Double zoom) |
DriveItem |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> |
putChunkedContent()
If metadata indicate that the stream is editable then returns
a
StreamUploaderChunked which can be used to upload the stream
to the content property. |
Optional<com.github.davidmoten.odata.client.StreamUploader> |
putContent()
If metadata indicate that the stream is editable then returns
a
StreamUploader which can be used to upload the stream
to the content property. |
<T> T |
putContent(com.github.davidmoten.odata.client.UploadStrategy<T> strategy) |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<DriveItem> |
restore(ItemReference parentReference,
String name) |
com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> |
search(String q) |
String |
toString() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
unfollow() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
validatePermission(String challengeToken,
String password) |
DriveItem |
withAudio(Audio audio) |
DriveItem |
withBundle(Bundle bundle) |
DriveItem |
withCTag(String cTag) |
DriveItem |
withDeleted(Deleted deleted) |
DriveItem |
withFile(File file) |
DriveItem |
withFileSystemInfo(FileSystemInfo fileSystemInfo) |
DriveItem |
withFolder(Folder folder) |
DriveItem |
withImage(Image image) |
DriveItem |
withLocation(GeoCoordinates location) |
DriveItem |
withPackage(Package package_) |
DriveItem |
withPendingOperations(PendingOperations pendingOperations) |
DriveItem |
withPhoto(Photo photo) |
DriveItem |
withPublication(PublicationFacet publication) |
DriveItem |
withRemoteItem(RemoteItem remoteItem) |
DriveItem |
withRoot(Root root) |
DriveItem |
withSearchResult(SearchResult searchResult) |
DriveItem |
withShared(Shared shared) |
DriveItem |
withSharepointIds(SharepointIds sharepointIds) |
DriveItem |
withSize(Long size) |
DriveItem |
withSpecialFolder(SpecialFolder specialFolder) |
DriveItem |
withVideo(Video video) |
DriveItem |
withWebDavUrl(String webDavUrl) |
getCreatedBy, getCreatedByUser, getCreatedDateTime, getDescription, getETag, getLastModifiedBy, getLastModifiedByUser, getLastModifiedDateTime, getName, getParentReference, getWebUrl, withCreatedBy, withCreatedDateTime, withDescription, withETag, withLastModifiedBy, withLastModifiedDateTime, withName, withParentReference, withWebUrlprotected Audio audio
protected Bundle bundle
protected String content
protected String cTag
protected Deleted deleted
protected File file
protected FileSystemInfo fileSystemInfo
protected Folder folder
protected Image image
protected GeoCoordinates location
protected Package package_
protected PendingOperations pendingOperations
protected Photo photo
protected PublicationFacet publication
protected RemoteItem remoteItem
protected Root root
protected SearchResult searchResult
protected Shared shared
protected SharepointIds sharepointIds
protected Long size
protected SpecialFolder specialFolder
protected Video video
protected String webDavUrl
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class BaseItempublic static DriveItem.Builder builderDriveItem()
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<com.github.davidmoten.odata.client.StreamProvider> getContent()
public Optional<com.github.davidmoten.odata.client.StreamUploader> putContent()
StreamUploader which can be used to upload the stream
to the content property.public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> putChunkedContent()
StreamUploaderChunked which can be used to upload the stream
to the content property.public <T> T putContent(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
public Optional<FileSystemInfo> getFileSystemInfo()
public DriveItem withFileSystemInfo(FileSystemInfo fileSystemInfo)
public Optional<GeoCoordinates> getLocation()
public DriveItem withLocation(GeoCoordinates location)
public Optional<PendingOperations> getPendingOperations()
public DriveItem withPendingOperations(PendingOperations pendingOperations)
public Optional<PublicationFacet> getPublication()
public DriveItem withPublication(PublicationFacet publication)
public Optional<RemoteItem> getRemoteItem()
public DriveItem withRemoteItem(RemoteItem remoteItem)
public Optional<SearchResult> getSearchResult()
public DriveItem withSearchResult(SearchResult searchResult)
public Optional<SharepointIds> getSharepointIds()
public DriveItem withSharepointIds(SharepointIds sharepointIds)
public Optional<SpecialFolder> getSpecialFolder()
public DriveItem withSpecialFolder(SpecialFolder specialFolder)
public WorkbookRequest getWorkbook()
public ItemActivityOLDCollectionRequest getActivities()
public ItemAnalyticsRequest getAnalytics()
public DriveItemCollectionRequest getChildren()
public ListItemRequest getListItem()
public PermissionCollectionRequest getPermissions()
public SubscriptionCollectionRequest getSubscriptions()
public ThumbnailSetCollectionRequest getThumbnails()
public DriveItemVersionCollectionRequest getVersions()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class BaseItempublic DriveItem patch()
this with changed fields reset.public DriveItem put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn checkin(String checkInAs, String comment)
public com.github.davidmoten.odata.client.ActionRequestNoReturn checkout()
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<DriveItem> copy(String name, ItemReference parentReference)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Permission> createLink(String type, String scope, OffsetDateTime expirationDateTime, String password, String message, List<DriveRecipient> recipients)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<UploadSession> createUploadSession(DriveItemUploadableProperties item, Boolean deferCommit)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<DriveItem> follow()
public com.github.davidmoten.odata.client.ActionRequestNoReturn unfollow()
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<Permission> invite(Boolean requireSignIn, List<String> roles, Boolean sendInvitation, String message, List<DriveRecipient> recipients, String expirationDateTime, String password)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<ItemPreviewInfo> preview(String viewer, Boolean chromeless, Boolean allowEdit, String page, Double zoom)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<DriveItem> restore(ItemReference parentReference, String name)
public com.github.davidmoten.odata.client.ActionRequestNoReturn validatePermission(String challengeToken, String password)
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> delta(String token)
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> delta_Function()
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ItemActivityStat> getActivitiesByInterval(String startDateTime, String endDateTime, String interval)
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DriveItem> search(String q)
Copyright © 2018–2020. All rights reserved.