Class ListRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.drives.item.list.ListRequestBuilder
@Generated("com.microsoft.kiota")
public class ListRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the list 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.classFor drives in SharePoint, the underlying document library list.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
ConstructorsConstructorDescriptionListRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListRequestBuilderand sets the default values.ListRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncolumns()Provides operations to manage the columns property of the microsoft.graph.list entity.Provides operations to manage the contentTypes property of the microsoft.graph.list entity.Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity.voiddelete()Delete navigation property list for drivesvoiddelete(Consumer<ListRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property list for drivesdrive()Provides operations to manage the drive property of the microsoft.graph.list entity.get()For drives in SharePoint, the underlying document library list.get(Consumer<ListRequestBuilder.GetRequestConfiguration> requestConfiguration) For drives in SharePoint, the underlying document library list.items()Provides operations to manage the items property of the microsoft.graph.list entity.Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.Provides operations to manage the operations property of the microsoft.graph.list entity.Update the navigation property list in drivespatch(List body, Consumer<ListRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property list in drivesProvides operations to manage the subscriptions property of the microsoft.graph.list entity.com.microsoft.kiota.RequestInformationDelete navigation property list for drivescom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ListRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property list for drivescom.microsoft.kiota.RequestInformationFor drives in SharePoint, the underlying document library list.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ListRequestBuilder.GetRequestConfiguration> requestConfiguration) For drives in SharePoint, the underlying document library list.com.microsoft.kiota.RequestInformationUpdate the navigation property list in drivescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(List body, Consumer<ListRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property list in drivesReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ListRequestBuilder
public ListRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ListRequestBuilder
public ListRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListRequestBuilderand 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
-
columns
Provides operations to manage the columns property of the microsoft.graph.list entity.- Returns:
- a
ColumnsRequestBuilder
-
contentTypes
Provides operations to manage the contentTypes property of the microsoft.graph.list entity.- Returns:
- a
ContentTypesRequestBuilder
-
createdByUser
Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity.- Returns:
- a
CreatedByUserRequestBuilder
-
drive
Provides operations to manage the drive property of the microsoft.graph.list entity.- Returns:
- a
DriveRequestBuilder
-
items
Provides operations to manage the items property of the microsoft.graph.list entity.- Returns:
- a
ItemsRequestBuilder
-
lastModifiedByUser
Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.- Returns:
- a
LastModifiedByUserRequestBuilder
-
operations
Provides operations to manage the operations property of the microsoft.graph.list entity.- Returns:
- a
OperationsRequestBuilder
-
subscriptions
Provides operations to manage the subscriptions property of the microsoft.graph.list entity.- Returns:
- a
SubscriptionsRequestBuilder
-
delete
public void delete()Delete navigation property list for drives- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<ListRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property list 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
-
get
For drives in SharePoint, the underlying document library list. Read-only. Nullable.- Returns:
- a
List - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public List get(@Nullable Consumer<ListRequestBuilder.GetRequestConfiguration> requestConfiguration) For drives in SharePoint, the underlying document library list. Read-only. Nullable.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
List - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property list in drives- Parameters:
body- The request body- Returns:
- a
List - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public List patch(@Nonnull List body, @Nullable Consumer<ListRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property list in drives- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
List - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property list for drives- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ListRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property list 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()For drives in SharePoint, the underlying document library list. Read-only. Nullable.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ListRequestBuilder.GetRequestConfiguration> requestConfiguration) For drives in SharePoint, the underlying document library list. 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 List body) Update the navigation property list in drives- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull List body, @Nullable Consumer<ListRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property list 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
ListRequestBuilder
-