Class ListItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.sites.item.lists.item.ListItemRequestBuilder
@Generated("com.microsoft.kiota")
public class ListItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the lists property of the microsoft.graph.site entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet a list of rich long-running operations associated with a 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
ConstructorsConstructorDescriptionListItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListItemRequestBuilderand sets the default values.ListItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListItemRequestBuilderand 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 lists for sitesvoiddelete(Consumer<ListItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property lists for sitesdrive()Provides operations to manage the drive property of the microsoft.graph.list entity.get()Get a list of rich long-running operations associated with a list.get(Consumer<ListItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of rich long-running operations associated with a 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 lists in sitespatch(List body, Consumer<ListItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property lists in sitesProvides operations to manage the subscriptions property of the microsoft.graph.list entity.com.microsoft.kiota.RequestInformationDelete navigation property lists for sitescom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ListItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property lists for sitescom.microsoft.kiota.RequestInformationGet a list of rich long-running operations associated with a list.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ListItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of rich long-running operations associated with a list.com.microsoft.kiota.RequestInformationUpdate the navigation property lists in sitescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(List body, Consumer<ListItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property lists in sitesReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ListItemRequestBuilder
public ListItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ListItemRequestBuilder
public ListItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListItemRequestBuilderand 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 lists for sites- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<ListItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property lists for sites- 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
Get a list of rich long-running operations associated with a list.- Returns:
- a
List - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public List get(@Nullable Consumer<ListItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of rich long-running operations associated with a 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- See Also:
-
patch
Update the navigation property lists in sites- 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<ListItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property lists in sites- 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 lists for sites- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ListItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property lists for sites- 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()Get a list of rich long-running operations associated with a list.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ListItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of rich long-running operations associated with a 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 lists in sites- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull List body, @Nullable Consumer<ListItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property lists in sites- 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
ListItemRequestBuilder
-