Class ListRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.shares.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.sharedDriveItem entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classUsed to access the underlying listclassConfiguration 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 sharesvoiddelete(Consumer<ListRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property list for sharesdrive()Provides operations to manage the drive property of the microsoft.graph.list entity.get()Used to access the underlying listget(Consumer<ListRequestBuilder.GetRequestConfiguration> requestConfiguration) Used to access the underlying listitems()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 sharespatch(List body, Consumer<ListRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property list in sharesProvides operations to manage the subscriptions property of the microsoft.graph.list entity.com.microsoft.kiota.RequestInformationDelete navigation property list for sharescom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ListRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property list for sharescom.microsoft.kiota.RequestInformationUsed to access the underlying listcom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ListRequestBuilder.GetRequestConfiguration> requestConfiguration) Used to access the underlying listcom.microsoft.kiota.RequestInformationUpdate the navigation property list in sharescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(List body, Consumer<ListRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property list in sharesReturns 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 shares- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<ListRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property list for shares- 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
Used to access the underlying list- Returns:
- a
List - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public List get(@Nullable Consumer<ListRequestBuilder.GetRequestConfiguration> requestConfiguration) Used to access the underlying list- 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 shares- 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 shares- 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 shares- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ListRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property list for shares- 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()Used to access the underlying list- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ListRequestBuilder.GetRequestConfiguration> requestConfiguration) Used to access the underlying list- 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 shares- 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 shares- 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
-