Class TeamworkRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.users.item.teamwork.TeamworkRequestBuilder
@Generated("com.microsoft.kiota")
public class TeamworkRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the teamwork property of the microsoft.graph.user entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the 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
ConstructorsConstructorDescriptionTeamworkRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamworkRequestBuilderand sets the default values.TeamworkRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamworkRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the associatedTeams property of the microsoft.graph.userTeamwork entity.voiddelete()Delete navigation property teamwork for usersvoiddelete(Consumer<TeamworkRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property teamwork for usersget()Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user.get(Consumer<TeamworkRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user.Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity.patch(UserTeamwork body) Update the navigation property teamwork in userspatch(UserTeamwork body, Consumer<TeamworkRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property teamwork in usersProvides operations to call the sendActivityNotification method.com.microsoft.kiota.RequestInformationDelete navigation property teamwork for userscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<TeamworkRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property teamwork for userscom.microsoft.kiota.RequestInformationGet the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<TeamworkRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user.com.microsoft.kiota.RequestInformationUpdate the navigation property teamwork in userscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(UserTeamwork body, Consumer<TeamworkRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property teamwork in usersReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
TeamworkRequestBuilder
public TeamworkRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamworkRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
TeamworkRequestBuilder
public TeamworkRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamworkRequestBuilderand 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
-
associatedTeams
Provides operations to manage the associatedTeams property of the microsoft.graph.userTeamwork entity.- Returns:
- a
AssociatedTeamsRequestBuilder
-
installedApps
Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity.- Returns:
- a
InstalledAppsRequestBuilder
-
sendActivityNotification
Provides operations to call the sendActivityNotification method.- Returns:
- a
SendActivityNotificationRequestBuilder
-
delete
public void delete()Delete navigation property teamwork for users- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<TeamworkRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property teamwork for users- 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
Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user.- Returns:
- a
UserTeamwork - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public UserTeamwork get(@Nullable Consumer<TeamworkRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
UserTeamwork - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property teamwork in users- Parameters:
body- The request body- Returns:
- a
UserTeamwork - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public UserTeamwork patch(@Nonnull UserTeamwork body, @Nullable Consumer<TeamworkRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property teamwork in users- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
UserTeamwork - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property teamwork for users- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<TeamworkRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property teamwork for users- 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()Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<TeamworkRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the 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 UserTeamwork body) Update the navigation property teamwork in users- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull UserTeamwork body, @Nullable Consumer<TeamworkRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property teamwork 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
TeamworkRequestBuilder
-