Class DriveRequestBuilder

java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Drive>
com.microsoft.graph.requests.DriveRequestBuilder
All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder

public class DriveRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<Drive>
The class for the Drive Request Builder.
  • 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 URL
      client - the service client
      requestOptions - 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

      @Nonnull public UserWithReferenceRequestBuilder createdByUser()
      Gets the request builder for User
      Returns:
      the UserWithReferenceRequestBuilder instance
    • lastModifiedByUser

      @Nonnull public UserWithReferenceRequestBuilder lastModifiedByUser()
      Gets the request builder for User
      Returns:
      the UserWithReferenceRequestBuilder instance
    • bundles

      @Nonnull public DriveItemCollectionRequestBuilder bundles()
      Gets a request builder for the DriveItem collection
      Returns:
      the collection request builder
    • bundles

      @Nonnull public DriveItemRequestBuilder bundles(@Nonnull String id)
      Gets a request builder for the DriveItem item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • following

      @Nonnull public DriveItemCollectionRequestBuilder following()
      Gets a request builder for the DriveItem collection
      Returns:
      the collection request builder
    • following

      @Nonnull public DriveItemRequestBuilder following(@Nonnull String id)
      Gets a request builder for the DriveItem item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • items

      @Nonnull public DriveItemCollectionRequestBuilder items()
      Gets a request builder for the DriveItem collection
      Returns:
      the collection request builder
    • items

      @Nonnull public DriveItemRequestBuilder items(@Nonnull String id)
      Gets a request builder for the DriveItem item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • list

      @Nonnull public ListRequestBuilder list()
      Gets the request builder for List
      Returns:
      the ListRequestBuilder instance
    • root

      @Nonnull public DriveItemRequestBuilder root()
      Gets the request builder for DriveItem
      Returns:
      the DriveItemRequestBuilder instance
    • special

      @Nonnull public DriveItemCollectionRequestBuilder special()
      Gets a request builder for the DriveItem collection
      Returns:
      the collection request builder
    • special

      @Nonnull public DriveItemRequestBuilder special(@Nonnull String id)
      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

      @Nonnull public DriveRecentCollectionRequestBuilder recent()
      Gets a builder to execute the method
      Returns:
      the request builder collection
    • sharedWithMe

      @Nonnull public DriveSharedWithMeCollectionRequestBuilder sharedWithMe()
      Gets a builder to execute the method
      Returns:
      the request builder collection