Package com.microsoft.graph.requests
Class DriveRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Drive>
com.microsoft.graph.requests.DriveRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
The class for the Drive Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionDriveRequestBuilder(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the Drive -
Method Summary
Modifier and TypeMethodDescriptionbuildRequest(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 requestOptionsbundles()Gets a request builder for the DriveItem collectionGets a request builder for the DriveItem itemGets the request builder for UserGets a request builder for the DriveItem collectionGets a request builder for the DriveItem itemitems()Gets a request builder for the DriveItem collectionGets a request builder for the DriveItem itemGets the request builder for Userlist()Gets the request builder for Listrecent()Gets a builder to execute the methodroot()Gets the request builder for DriveItemsearch(DriveSearchParameterSet parameters) Gets a builder to execute the methodGets a builder to execute the methodspecial()Gets a request builder for the DriveItem collectionGets a request builder for the DriveItem itemMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
DriveRequestBuilder
public DriveRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the Drive- Parameters:
requestUrl- the request URLclient- the service clientrequestOptions- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public DriveRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions- the options for this request- Returns:
- the DriveRequest instance
-
buildRequest
@Nonnull public DriveRequest 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 DriveRequest instance
-
createdByUser
Gets the request builder for User- Returns:
- the UserWithReferenceRequestBuilder instance
-
lastModifiedByUser
Gets the request builder for User- Returns:
- the UserWithReferenceRequestBuilder instance
-
bundles
Gets a request builder for the DriveItem collection- Returns:
- the collection request builder
-
bundles
Gets a request builder for the DriveItem item- Parameters:
id- the item identifier- Returns:
- the request builder
-
following
Gets a request builder for the DriveItem collection- Returns:
- the collection request builder
-
following
Gets a request builder for the DriveItem item- Parameters:
id- the item identifier- Returns:
- the request builder
-
items
Gets a request builder for the DriveItem collection- Returns:
- the collection request builder
-
items
Gets a request builder for the DriveItem item- Parameters:
id- the item identifier- Returns:
- the request builder
-
list
Gets the request builder for List- Returns:
- the ListRequestBuilder instance
-
root
Gets the request builder for DriveItem- Returns:
- the DriveItemRequestBuilder instance
-
special
Gets a request builder for the DriveItem collection- Returns:
- the collection request builder
-
special
Gets a request builder for the DriveItem item- Parameters:
id- the item identifier- Returns:
- the request builder
-
search
@Nonnull public DriveSearchCollectionRequestBuilder search(@Nonnull DriveSearchParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder collection
-
recent
Gets a builder to execute the method- Returns:
- the request builder collection
-