Package com.microsoft.graph.requests
Class DriveItemRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<DriveItem>
com.microsoft.graph.requests.DriveItemRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
The class for the Drive Item Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionDriveItemRequestBuilder(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the DriveItem -
Method Summary
Modifier and TypeMethodDescriptionGets the request builder for ItemAnalyticsGets a builder to execute the methodbuildRequest(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionscheckin(DriveItemCheckinParameterSet parameters) Gets a builder to execute the methodcheckout()Gets a builder to execute the methodchildren()Gets a request builder for the DriveItem collectionGets a request builder for the DriveItem itemcontent()Gets the request builder for contentcopy(DriveItemCopyParameterSet parameters) Gets a builder to execute the methodGets the request builder for UsercreateLink(DriveItemCreateLinkParameterSet parameters) Gets a builder to execute the methodGets a builder to execute the methoddelta()Gets a builder to execute the methoddelta(DriveItemDeltaParameterSet parameters) Gets a builder to execute the methodGets a builder to execute the methodfollow()Gets a builder to execute the methodGets a builder to execute the methodGets a builder to execute the methodinvite(DriveItemInviteParameterSet parameters) Gets a builder to execute the methoditemWithPath(String path) Gets a request builder to the specific path on the driveGets the request builder for UserlistItem()Gets the request builder for ListItemGets a builder to execute the methodGets a request builder for the Permission collectionpermissions(String id) Gets a request builder for the Permission itempreview(DriveItemPreviewParameterSet parameters) Gets a builder to execute the methodrestore(DriveItemRestoreParameterSet parameters) Gets a builder to execute the methodsearch(DriveItemSearchParameterSet parameters) Gets a builder to execute the methodGets a request builder for the Subscription collectionsubscriptions(String id) Gets a request builder for the Subscription itemGets a request builder for the ThumbnailSet collectionthumbnails(String id) Gets a request builder for the ThumbnailSet itemunfollow()Gets a builder to execute the methodGets a builder to execute the methodversions()Gets a request builder for the DriveItemVersion collectionGets a request builder for the DriveItemVersion itemworkbook()Gets the request builder for WorkbookMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
DriveItemRequestBuilder
public DriveItemRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the DriveItem- Parameters:
requestUrl- the request URLclient- the service clientrequestOptions- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public DriveItemRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions- the options for this request- Returns:
- the DriveItemRequest instance
-
buildRequest
@Nonnull public DriveItemRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptions- Parameters:
requestOptions- the options for this request- Returns:
- the DriveItemRequest instance
-
itemWithPath
Gets a request builder to the specific path on the drive- Parameters:
path- path to the query on the drive- Returns:
- a request builder to the specified path
-
createdByUser
Gets the request builder for User- Returns:
- the UserWithReferenceRequestBuilder instance
-
lastModifiedByUser
Gets the request builder for User- Returns:
- the UserWithReferenceRequestBuilder instance
-
workbook
Gets the request builder for Workbook- Returns:
- the WorkbookRequestBuilder instance
-
analytics
Gets the request builder for ItemAnalytics- Returns:
- the ItemAnalyticsRequestBuilder instance
-
children
Gets a request builder for the DriveItem collection- Returns:
- the collection request builder
-
children
Gets a request builder for the DriveItem item- Parameters:
id- the item identifier- Returns:
- the request builder
-
listItem
Gets the request builder for ListItem- Returns:
- the ListItemRequestBuilder instance
-
permissions
Gets a request builder for the Permission collection- Returns:
- the collection request builder
-
permissions
Gets a request builder for the Permission item- Parameters:
id- the item identifier- Returns:
- the request builder
-
subscriptions
Gets a request builder for the Subscription collection- Returns:
- the collection request builder
-
subscriptions
Gets a request builder for the Subscription item- Parameters:
id- the item identifier- Returns:
- the request builder
-
thumbnails
Gets a request builder for the ThumbnailSet collection- Returns:
- the collection request builder
-
thumbnails
Gets a request builder for the ThumbnailSet item- Parameters:
id- the item identifier- Returns:
- the request builder
-
versions
Gets a request builder for the DriveItemVersion collection- Returns:
- the collection request builder
-
versions
Gets a request builder for the DriveItemVersion item- Parameters:
id- the item identifier- Returns:
- the request builder
-
content
Gets the request builder for content- Returns:
- the DriveItemContentStreamRequestBuilder instance
-
restore
@Nonnull public DriveItemRestoreRequestBuilder restore(@Nonnull DriveItemRestoreParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
copy
Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
createUploadSession
@Nonnull public DriveItemCreateUploadSessionRequestBuilder createUploadSession(@Nonnull DriveItemCreateUploadSessionParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
assignSensitivityLabel
@Nonnull public DriveItemAssignSensitivityLabelRequestBuilder assignSensitivityLabel(@Nonnull DriveItemAssignSensitivityLabelParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
checkin
@Nonnull public DriveItemCheckinRequestBuilder checkin(@Nonnull DriveItemCheckinParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
checkout
Gets a builder to execute the method- Returns:
- the request builder
-
createLink
@Nonnull public DriveItemCreateLinkRequestBuilder createLink(@Nonnull DriveItemCreateLinkParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
extractSensitivityLabels
Gets a builder to execute the method- Returns:
- the request builder
-
follow
Gets a builder to execute the method- Returns:
- the request builder
-
invite
@Nonnull public DriveItemInviteCollectionRequestBuilder invite(@Nonnull DriveItemInviteParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder collection
-
permanentDelete
Gets a builder to execute the method- Returns:
- the request builder
-
preview
@Nonnull public DriveItemPreviewRequestBuilder preview(@Nonnull DriveItemPreviewParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
unfollow
Gets a builder to execute the method- Returns:
- the request builder
-
validatePermission
@Nonnull public DriveItemValidatePermissionRequestBuilder validatePermission(@Nonnull DriveItemValidatePermissionParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
delta
Gets a builder to execute the method- Returns:
- the request builder collection
-
delta
@Nonnull public DriveItemDeltaCollectionRequestBuilder delta(@Nonnull DriveItemDeltaParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder collection
-
getActivitiesByInterval
Gets a builder to execute the method- Returns:
- the request builder collection
-
getActivitiesByInterval
@Nonnull public DriveItemGetActivitiesByIntervalCollectionRequestBuilder getActivitiesByInterval(@Nonnull DriveItemGetActivitiesByIntervalParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder collection
-
search
@Nonnull public DriveItemSearchCollectionRequestBuilder search(@Nonnull DriveItemSearchParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder collection
-