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.
  • Constructor Details

    • TeamworkRequestBuilder

      public TeamworkRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new TeamworkRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • TeamworkRequestBuilder

      public TeamworkRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new TeamworkRequestBuilder and 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

      @Nonnull public DeletedChatsRequestBuilder deletedChats()
      Provides operations to manage the deletedChats property of the microsoft.graph.teamwork entity.
      Returns:
      a DeletedChatsRequestBuilder
    • deletedTeams

      @Nonnull public DeletedTeamsRequestBuilder 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.
      Returns:
      a SendActivityNotificationToRecipientsRequestBuilder
    • teamsAppSettings

      @Nonnull public TeamsAppSettingsRequestBuilder teamsAppSettings()
      Provides operations to manage the teamsAppSettings property of the microsoft.graph.teamwork entity.
      Returns:
      a TeamsAppSettingsRequestBuilder
    • workforceIntegrations

      @Nonnull public WorkforceIntegrationsRequestBuilder workforceIntegrations()
      Provides operations to manage the workforceIntegrations property of the microsoft.graph.teamwork entity.
      Returns:
      a WorkforceIntegrationsRequestBuilder
    • get

      @Nullable public Teamwork 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

      @Nullable public Teamwork patch(@Nonnull Teamwork body)
      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 body
      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
    • 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 body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public TeamworkRequestBuilder withUrl(@Nonnull String rawUrl)
      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