Class ListItemItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.sites.item.lists.item.items.item.ListItemItemRequestBuilder
@Generated("com.microsoft.kiota")
public class ListItemItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the items property of the microsoft.graph.list entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classReturns the metadata for an item in 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
ConstructorsConstructorDescriptionListItemItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListItemItemRequestBuilderand sets the default values.ListItemItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListItemItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the analytics property of the microsoft.graph.listItem entity.Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity.Provides operations to call the createLink method.voiddelete()Removes an item from a list.voiddelete(Consumer<ListItemItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Removes an item from a list.Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity.Provides operations to manage the driveItem property of the microsoft.graph.listItem entity.fields()Provides operations to manage the fields property of the microsoft.graph.listItem entity.get()Returns the metadata for an item in a list.get(Consumer<ListItemItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Returns the metadata for an item in a list.Provides operations to call the getActivitiesByInterval method.getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval(String endDateTime, String interval, String startDateTime) Provides operations to call the getActivitiesByInterval method.Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.Update the navigation property items in sitespatch(ListItem body, Consumer<ListItemItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property items in sitescom.microsoft.kiota.RequestInformationRemoves an item from a list.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ListItemItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Removes an item from a list.com.microsoft.kiota.RequestInformationReturns the metadata for an item in a list.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ListItemItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Returns the metadata for an item in a list.com.microsoft.kiota.RequestInformationUpdate the navigation property items in sitescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(ListItem body, Consumer<ListItemItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property items in sitesversions()Provides operations to manage the versions property of the microsoft.graph.listItem entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ListItemItemRequestBuilder
public ListItemItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListItemItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ListItemItemRequestBuilder
public ListItemItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newListItemItemRequestBuilderand 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
-
analytics
Provides operations to manage the analytics property of the microsoft.graph.listItem entity.- Returns:
- a
AnalyticsRequestBuilder
-
createdByUser
Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity.- Returns:
- a
CreatedByUserRequestBuilder
-
createLink
Provides operations to call the createLink method.- Returns:
- a
CreateLinkRequestBuilder
-
documentSetVersions
Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity.- Returns:
- a
DocumentSetVersionsRequestBuilder
-
driveItem
Provides operations to manage the driveItem property of the microsoft.graph.listItem entity.- Returns:
- a
DriveItemRequestBuilder
-
fields
Provides operations to manage the fields property of the microsoft.graph.listItem entity.- Returns:
- a
FieldsRequestBuilder
-
getActivitiesByInterval
Provides operations to call the getActivitiesByInterval method.- Returns:
- a
GetActivitiesByIntervalRequestBuilder
-
lastModifiedByUser
Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.- Returns:
- a
LastModifiedByUserRequestBuilder
-
versions
Provides operations to manage the versions property of the microsoft.graph.listItem entity.- Returns:
- a
VersionsRequestBuilder
-
delete
public void delete()Removes an item from a list.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<ListItemItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Removes an item from a list.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
Returns the metadata for an item in a list.- Returns:
- a
ListItem - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public ListItem get(@Nullable Consumer<ListItemItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Returns the metadata for an item in a list.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ListItem - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval
@Nonnull public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval(@Nonnull String endDateTime, @Nonnull String interval, @Nonnull String startDateTime) Provides operations to call the getActivitiesByInterval method.- Parameters:
endDateTime- Usage: endDateTime='{endDateTime}'interval- Usage: interval='{interval}'startDateTime- Usage: startDateTime='{startDateTime}'- Returns:
- a
GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder
-
patch
Update the navigation property items in sites- Parameters:
body- The request body- Returns:
- a
ListItem - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public ListItem patch(@Nonnull ListItem body, @Nullable Consumer<ListItemItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property items in sites- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ListItem - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Removes an item from a list.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ListItemItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Removes an item from a list.- 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()Returns the metadata for an item in a list.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ListItemItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Returns the metadata for an item in 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 ListItem body) Update the navigation property items in sites- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull ListItem body, @Nullable Consumer<ListItemItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property items 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
ListItemItemRequestBuilder
-