Class ChatRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.users.item.teamwork.installedapps.item.chat.ChatRequestBuilder
@Generated("com.microsoft.kiota")
public class ChatRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the chat property of the microsoft.graph.userScopeTeamsAppInstallation entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassRetrieve the chat of the specified user and Teams app.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
ConstructorsConstructorDescriptionChatRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newChatRequestBuilderand sets the default values.ChatRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newChatRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget()Retrieve the chat of the specified user and Teams app.get(Consumer<ChatRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the chat of the specified user and Teams app.com.microsoft.kiota.RequestInformationRetrieve the chat of the specified user and Teams app.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ChatRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the chat of the specified user and Teams app.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ChatRequestBuilder
public ChatRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newChatRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ChatRequestBuilder
public ChatRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newChatRequestBuilderand 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
-
get
Retrieve the chat of the specified user and Teams app.- Returns:
- a
Chat - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public Chat get(@Nullable Consumer<ChatRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the chat of the specified user and Teams app.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Chat - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Retrieve the chat of the specified user and Teams app.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ChatRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the chat of the specified user and Teams app.- Parameters:
requestConfiguration- 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
ChatRequestBuilder
-