Class DeletedChatItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.teamwork.deletedchats.item.DeletedChatItemRequestBuilder
@Generated("com.microsoft.kiota")
public class DeletedChatItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the deletedChats property of the microsoft.graph.teamwork entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead the properties and relationships of a deletedChat object.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
ConstructorsConstructorDescriptionDeletedChatItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDeletedChatItemRequestBuilderand sets the default values.DeletedChatItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDeletedChatItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property deletedChats for teamworkvoiddelete(Consumer<DeletedChatItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property deletedChats for teamworkget()Read the properties and relationships of a deletedChat object.get(Consumer<DeletedChatItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a deletedChat object.patch(DeletedChat body) Update the navigation property deletedChats in teamworkpatch(DeletedChat body, Consumer<DeletedChatItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property deletedChats in teamworkcom.microsoft.kiota.RequestInformationDelete navigation property deletedChats for teamworkcom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<DeletedChatItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property deletedChats for teamworkcom.microsoft.kiota.RequestInformationRead the properties and relationships of a deletedChat object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<DeletedChatItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a deletedChat object.com.microsoft.kiota.RequestInformationUpdate the navigation property deletedChats in teamworkcom.microsoft.kiota.RequestInformationtoPatchRequestInformation(DeletedChat body, Consumer<DeletedChatItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property deletedChats in teamworkProvides operations to call the undoDelete method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
DeletedChatItemRequestBuilder
public DeletedChatItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDeletedChatItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
DeletedChatItemRequestBuilder
public DeletedChatItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDeletedChatItemRequestBuilderand 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
-
undoDelete
Provides operations to call the undoDelete method.- Returns:
- a
UndoDeleteRequestBuilder
-
delete
public void delete()Delete navigation property deletedChats for teamwork- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<DeletedChatItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property deletedChats for teamwork- 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
Read the properties and relationships of a deletedChat object.- Returns:
- a
DeletedChat - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public DeletedChat get(@Nullable Consumer<DeletedChatItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a deletedChat object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
DeletedChat - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property deletedChats in teamwork- Parameters:
body- The request body- Returns:
- a
DeletedChat - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public DeletedChat patch(@Nonnull DeletedChat body, @Nullable Consumer<DeletedChatItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property deletedChats in teamwork- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
DeletedChat - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property deletedChats for teamwork- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<DeletedChatItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property deletedChats for teamwork- 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()Read the properties and relationships of a deletedChat object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<DeletedChatItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a deletedChat object.- 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 DeletedChat body) Update the navigation property deletedChats in teamwork- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull DeletedChat body, @Nullable Consumer<DeletedChatItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property deletedChats in teamwork- 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
DeletedChatItemRequestBuilder
-