Class UserScopeTeamsAppInstallationItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.users.item.teamwork.installedapps.item.UserScopeTeamsAppInstallationItemRequestBuilder
@Generated("com.microsoft.kiota")
public class UserScopeTeamsAppInstallationItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRetrieve the app installed in the personal scope of the specified user.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
ConstructorsConstructorDescriptionUserScopeTeamsAppInstallationItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUserScopeTeamsAppInstallationItemRequestBuilderand sets the default values.UserScopeTeamsAppInstallationItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUserScopeTeamsAppInstallationItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionchat()Provides operations to manage the chat property of the microsoft.graph.userScopeTeamsAppInstallation entity.voiddelete()Uninstall an app from the personal scope of the specified user.voiddelete(Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Uninstall an app from the personal scope of the specified user.get()Retrieve the app installed in the personal scope of the specified user.get(Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the app installed in the personal scope of the specified user.Update the navigation property installedApps in userspatch(UserScopeTeamsAppInstallation body, Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property installedApps in usersteamsApp()Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity.Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity.com.microsoft.kiota.RequestInformationUninstall an app from the personal scope of the specified user.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Uninstall an app from the personal scope of the specified user.com.microsoft.kiota.RequestInformationRetrieve the app installed in the personal scope of the specified user.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the app installed in the personal scope of the specified user.com.microsoft.kiota.RequestInformationUpdate the navigation property installedApps in userscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(UserScopeTeamsAppInstallation body, Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property installedApps in usersReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
UserScopeTeamsAppInstallationItemRequestBuilder
public UserScopeTeamsAppInstallationItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUserScopeTeamsAppInstallationItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
UserScopeTeamsAppInstallationItemRequestBuilder
public UserScopeTeamsAppInstallationItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUserScopeTeamsAppInstallationItemRequestBuilderand 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
-
chat
Provides operations to manage the chat property of the microsoft.graph.userScopeTeamsAppInstallation entity.- Returns:
- a
ChatRequestBuilder
-
teamsApp
Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity.- Returns:
- a
TeamsAppRequestBuilder
-
teamsAppDefinition
Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity.- Returns:
- a
TeamsAppDefinitionRequestBuilder
-
delete
public void delete()Uninstall an app from the personal scope of the specified user.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Uninstall an app from the personal scope of the specified user.- 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
Retrieve the app installed in the personal scope of the specified user.- Returns:
- a
UserScopeTeamsAppInstallation - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public UserScopeTeamsAppInstallation get(@Nullable Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the app installed in the personal scope of the specified user.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
UserScopeTeamsAppInstallation - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property installedApps in users- Parameters:
body- The request body- Returns:
- a
UserScopeTeamsAppInstallation - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public UserScopeTeamsAppInstallation patch(@Nonnull UserScopeTeamsAppInstallation body, @Nullable Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property installedApps in users- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
UserScopeTeamsAppInstallation - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Uninstall an app from the personal scope of the specified user.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Uninstall an app from the personal scope of the specified user.- 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()Retrieve the app installed in the personal scope of the specified user.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the app installed in the personal scope of the specified user.- 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 UserScopeTeamsAppInstallation body) Update the navigation property installedApps in users- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull UserScopeTeamsAppInstallation body, @Nullable Consumer<UserScopeTeamsAppInstallationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property installedApps in users- 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
UserScopeTeamsAppInstallationItemRequestBuilder
-