Class DriveItemItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.drives.item.items.item.DriveItemItemRequestBuilder
@Generated("com.microsoft.kiota")
public class DriveItemItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the items property of the microsoft.graph.drive entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classAll items contained in the drive.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionDriveItemItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDriveItemItemRequestBuilderand sets the default values.DriveItemItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDriveItemItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the analytics property of the microsoft.graph.driveItem entity.Provides operations to call the assignSensitivityLabel method.checkin()Provides operations to call the checkin method.checkout()Provides operations to call the checkout method.children()Provides operations to manage the children property of the microsoft.graph.driveItem entity.content()Provides operations to manage the media for the drive entity.copy()Provides operations to call the copy method.Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity.Provides operations to call the createLink method.Provides operations to call the createUploadSession method.voiddelete()Delete navigation property items for drivesvoiddelete(Consumer<DriveItemItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property items for drivesdelta()Provides operations to call the delta method.deltaWithToken(String token) Provides operations to call the delta method.Provides operations to call the discardCheckout method.Provides operations to call the extractSensitivityLabels method.follow()Provides operations to call the follow method.get()All items contained in the drive.get(Consumer<DriveItemItemRequestBuilder.GetRequestConfiguration> requestConfiguration) All items contained in the drive.Provides operations to call the getActivitiesByInterval method.getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval(String endDateTime, String interval, String startDateTime) Provides operations to call the getActivitiesByInterval method.invite()Provides operations to call the invite method.Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.listItem()Provides operations to manage the listItem property of the microsoft.graph.driveItem entity.Update the navigation property items in drivespatch(DriveItem body, Consumer<DriveItemItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property items in drivesProvides operations to call the permanentDelete method.Provides operations to manage the permissions property of the microsoft.graph.driveItem entity.preview()Provides operations to call the preview method.restore()Provides operations to call the restore method.Provides operations to manage the retentionLabel property of the microsoft.graph.driveItem entity.Provides operations to call the search method.Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity.Provides operations to manage the thumbnails property of the microsoft.graph.driveItem entity.com.microsoft.kiota.RequestInformationDelete navigation property items for drivescom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<DriveItemItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property items for drivescom.microsoft.kiota.RequestInformationAll items contained in the drive.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<DriveItemItemRequestBuilder.GetRequestConfiguration> requestConfiguration) All items contained in the drive.com.microsoft.kiota.RequestInformationUpdate the navigation property items in drivescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(DriveItem body, Consumer<DriveItemItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property items in drivesunfollow()Provides operations to call the unfollow method.Provides operations to call the validatePermission method.versions()Provides operations to manage the versions property of the microsoft.graph.driveItem entity.Returns a request builder with the provided arbitrary URL.workbook()Provides operations to manage the workbook property of the microsoft.graph.driveItem entity.
-
Constructor Details
-
DriveItemItemRequestBuilder
public DriveItemItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDriveItemItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
DriveItemItemRequestBuilder
public DriveItemItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDriveItemItemRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
analytics
Provides operations to manage the analytics property of the microsoft.graph.driveItem entity.- Returns:
- a
AnalyticsRequestBuilder
-
assignSensitivityLabel
Provides operations to call the assignSensitivityLabel method.- Returns:
- a
AssignSensitivityLabelRequestBuilder
-
checkin
Provides operations to call the checkin method.- Returns:
- a
CheckinRequestBuilder
-
checkout
Provides operations to call the checkout method.- Returns:
- a
CheckoutRequestBuilder
-
children
Provides operations to manage the children property of the microsoft.graph.driveItem entity.- Returns:
- a
ChildrenRequestBuilder
-
content
Provides operations to manage the media for the drive entity.- Returns:
- a
ContentRequestBuilder
-
copy
Provides operations to call the copy method.- Returns:
- a
CopyRequestBuilder
-
createdByUser
Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity.- Returns:
- a
CreatedByUserRequestBuilder
-
createLink
Provides operations to call the createLink method.- Returns:
- a
CreateLinkRequestBuilder
-
createUploadSession
Provides operations to call the createUploadSession method.- Returns:
- a
CreateUploadSessionRequestBuilder
-
delta
Provides operations to call the delta method.- Returns:
- a
DeltaRequestBuilder
-
discardCheckout
Provides operations to call the discardCheckout method.- Returns:
- a
DiscardCheckoutRequestBuilder
-
extractSensitivityLabels
Provides operations to call the extractSensitivityLabels method.- Returns:
- a
ExtractSensitivityLabelsRequestBuilder
-
follow
Provides operations to call the follow method.- Returns:
- a
FollowRequestBuilder
-
getActivitiesByInterval
Provides operations to call the getActivitiesByInterval method.- Returns:
- a
GetActivitiesByIntervalRequestBuilder
-
invite
Provides operations to call the invite method.- Returns:
- a
InviteRequestBuilder
-
lastModifiedByUser
Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.- Returns:
- a
LastModifiedByUserRequestBuilder
-
listItem
Provides operations to manage the listItem property of the microsoft.graph.driveItem entity.- Returns:
- a
ListItemRequestBuilder
-
permanentDelete
Provides operations to call the permanentDelete method.- Returns:
- a
PermanentDeleteRequestBuilder
-
permissions
Provides operations to manage the permissions property of the microsoft.graph.driveItem entity.- Returns:
- a
PermissionsRequestBuilder
-
preview
Provides operations to call the preview method.- Returns:
- a
PreviewRequestBuilder
-
restore
Provides operations to call the restore method.- Returns:
- a
RestoreRequestBuilder
-
retentionLabel
Provides operations to manage the retentionLabel property of the microsoft.graph.driveItem entity.- Returns:
- a
RetentionLabelRequestBuilder
-
subscriptions
Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity.- Returns:
- a
SubscriptionsRequestBuilder
-
thumbnails
Provides operations to manage the thumbnails property of the microsoft.graph.driveItem entity.- Returns:
- a
ThumbnailsRequestBuilder
-
unfollow
Provides operations to call the unfollow method.- Returns:
- a
UnfollowRequestBuilder
-
validatePermission
Provides operations to call the validatePermission method.- Returns:
- a
ValidatePermissionRequestBuilder
-
versions
Provides operations to manage the versions property of the microsoft.graph.driveItem entity.- Returns:
- a
VersionsRequestBuilder
-
workbook
Provides operations to manage the workbook property of the microsoft.graph.driveItem entity.- Returns:
- a
WorkbookRequestBuilder
-
delete
public void delete()Delete navigation property items for drives- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<DriveItemItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property items for drives- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
deltaWithToken
Provides operations to call the delta method.- Parameters:
token- Usage: token='{token}'- Returns:
- a
DeltaWithTokenRequestBuilder
-
get
All items contained in the drive. Read-only. Nullable.- Returns:
- a
DriveItem - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public DriveItem get(@Nullable Consumer<DriveItemItemRequestBuilder.GetRequestConfiguration> requestConfiguration) All items contained in the drive. Read-only. Nullable.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
DriveItem - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval
@Nonnull public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval(@Nonnull String endDateTime, @Nonnull String interval, @Nonnull String startDateTime) Provides operations to call the getActivitiesByInterval method.- Parameters:
endDateTime- Usage: endDateTime='{endDateTime}'interval- Usage: interval='{interval}'startDateTime- Usage: startDateTime='{startDateTime}'- Returns:
- a
GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder
-
patch
Update the navigation property items in drives- Parameters:
body- The request body- Returns:
- a
DriveItem - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public DriveItem patch(@Nonnull DriveItem body, @Nullable Consumer<DriveItemItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property items in drives- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
DriveItem - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
searchWithQ
Provides operations to call the search method.- Parameters:
q- Usage: q='{q}'- Returns:
- a
SearchWithQRequestBuilder
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property items for drives- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<DriveItemItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property items for drives- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()All items contained in the drive. Read-only. Nullable.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<DriveItemItemRequestBuilder.GetRequestConfiguration> requestConfiguration) All items contained in the drive. Read-only. Nullable.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull DriveItem body) Update the navigation property items in drives- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull DriveItem body, @Nullable Consumer<DriveItemItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property items in drives- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
DriveItemItemRequestBuilder
-