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

    • associatedTeams

      @Nonnull public AssociatedTeamsRequestBuilder associatedTeams()
      Provides operations to manage the associatedTeams property of the microsoft.graph.userTeamwork entity.
      Returns:
      a AssociatedTeamsRequestBuilder
    • installedApps

      @Nonnull public InstalledAppsRequestBuilder installedApps()
      Provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity.
      Returns:
      a InstalledAppsRequestBuilder
    • sendActivityNotification

      @Nonnull public SendActivityNotificationRequestBuilder 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

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

      @Nullable public UserTeamwork patch(@Nonnull UserTeamwork body)
      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 body
      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
    • 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 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