Class ConversationThreadItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.groups.item.conversations.item.threads.item.ConversationThreadItemRequestBuilder
@Generated("com.microsoft.kiota")
public class ConversationThreadItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the threads property of the microsoft.graph.conversation entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classA collection of all the conversation threads in the conversation.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
ConstructorsConstructorDescriptionConversationThreadItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newConversationThreadItemRequestBuilderand sets the default values.ConversationThreadItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newConversationThreadItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property threads for groupsvoiddelete(Consumer<ConversationThreadItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property threads for groupsget()A collection of all the conversation threads in the conversation.get(Consumer<ConversationThreadItemRequestBuilder.GetRequestConfiguration> requestConfiguration) A collection of all the conversation threads in the conversation.patch(ConversationThread body) Update the navigation property threads in groupspatch(ConversationThread body, Consumer<ConversationThreadItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property threads in groupsposts()Provides operations to manage the posts property of the microsoft.graph.conversationThread entity.reply()Provides operations to call the reply method.com.microsoft.kiota.RequestInformationDelete navigation property threads for groupscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ConversationThreadItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property threads for groupscom.microsoft.kiota.RequestInformationA collection of all the conversation threads in the conversation.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ConversationThreadItemRequestBuilder.GetRequestConfiguration> requestConfiguration) A collection of all the conversation threads in the conversation.com.microsoft.kiota.RequestInformationUpdate the navigation property threads in groupscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(ConversationThread body, Consumer<ConversationThreadItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property threads in groupsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ConversationThreadItemRequestBuilder
public ConversationThreadItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newConversationThreadItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ConversationThreadItemRequestBuilder
public ConversationThreadItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newConversationThreadItemRequestBuilderand 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
-
posts
Provides operations to manage the posts property of the microsoft.graph.conversationThread entity.- Returns:
- a
PostsRequestBuilder
-
reply
Provides operations to call the reply method.- Returns:
- a
ReplyRequestBuilder
-
delete
public void delete()Delete navigation property threads for groups- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<ConversationThreadItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property threads for groups- 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
A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable.- Returns:
- a
ConversationThread - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public ConversationThread get(@Nullable Consumer<ConversationThreadItemRequestBuilder.GetRequestConfiguration> requestConfiguration) A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ConversationThread - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property threads in groups- Parameters:
body- The request body- Returns:
- a
ConversationThread - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public ConversationThread patch(@Nonnull ConversationThread body, @Nullable Consumer<ConversationThreadItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property threads in groups- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ConversationThread - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property threads for groups- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ConversationThreadItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property threads for groups- 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()A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ConversationThreadItemRequestBuilder.GetRequestConfiguration> requestConfiguration) A collection of all the conversation threads in the conversation. A navigation property. 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 ConversationThread body) Update the navigation property threads in groups- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull ConversationThread body, @Nullable Consumer<ConversationThreadItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property threads in groups- 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
ConversationThreadItemRequestBuilder
-