Package com.microsoft.graph.teamwork
Class TeamworkRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.teamwork.TeamworkRequestBuilder
@Generated("com.microsoft.kiota")
public class TeamworkRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the teamwork singleton.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.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 deletedChats property of the microsoft.graph.teamwork entity.Provides operations to manage the deletedTeams property of the microsoft.graph.teamwork entity.get()Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.get(Consumer<TeamworkRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.Update teamworkpatch(Teamwork body, Consumer<TeamworkRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update teamworkProvides operations to call the sendActivityNotificationToRecipients method.Provides operations to manage the teamsAppSettings property of the microsoft.graph.teamwork entity.com.microsoft.kiota.RequestInformationGet the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<TeamworkRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.com.microsoft.kiota.RequestInformationUpdate teamworkcom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Teamwork body, Consumer<TeamworkRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update teamworkReturns a request builder with the provided arbitrary URL.Provides operations to manage the workforceIntegrations property of the microsoft.graph.teamwork entity.
-
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
-
deletedChats
Provides operations to manage the deletedChats property of the microsoft.graph.teamwork entity.- Returns:
- a
DeletedChatsRequestBuilder
-
deletedTeams
Provides operations to manage the deletedTeams property of the microsoft.graph.teamwork entity.- Returns:
- a
DeletedTeamsRequestBuilder
-
sendActivityNotificationToRecipients
@Nonnull public SendActivityNotificationToRecipientsRequestBuilder sendActivityNotificationToRecipients()Provides operations to call the sendActivityNotificationToRecipients method. -
teamsAppSettings
Provides operations to manage the teamsAppSettings property of the microsoft.graph.teamwork entity.- Returns:
- a
TeamsAppSettingsRequestBuilder
-
workforceIntegrations
Provides operations to manage the workforceIntegrations property of the microsoft.graph.teamwork entity.- Returns:
- a
WorkforceIntegrationsRequestBuilder
-
get
Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.- Returns:
- a
Teamwork - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public Teamwork get(@Nullable Consumer<TeamworkRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Teamwork - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update teamwork- Parameters:
body- The request body- Returns:
- a
Teamwork - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Teamwork patch(@Nonnull Teamwork body, @Nullable Consumer<TeamworkRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update teamwork- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Teamwork - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<TeamworkRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.- 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 Teamwork body) Update teamwork- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Teamwork body, @Nullable Consumer<TeamworkRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update 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
TeamworkRequestBuilder
-