Class AppCatalogsRequestBuilder

java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.appcatalogs.AppCatalogsRequestBuilder

@Generated("com.microsoft.kiota") public class AppCatalogsRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the appCatalogs singleton.
  • Constructor Details

    • AppCatalogsRequestBuilder

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

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

    • teamsApps

      @Nonnull public TeamsAppsRequestBuilder teamsApps()
      Provides operations to manage the teamsApps property of the microsoft.graph.appCatalogs entity.
      Returns:
      a TeamsAppsRequestBuilder
    • get

      @Nullable public AppCatalogs get()
      Get appCatalogs
      Returns:
      a AppCatalogs
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public AppCatalogs get(@Nullable Consumer<AppCatalogsRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Get appCatalogs
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a AppCatalogs
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch

      @Nullable public AppCatalogs patch(@Nonnull AppCatalogs body)
      Update appCatalogs
      Parameters:
      body - The request body
      Returns:
      a AppCatalogs
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch

      @Nullable public AppCatalogs patch(@Nonnull AppCatalogs body, @Nullable Consumer<AppCatalogsRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update appCatalogs
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a AppCatalogs
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      Get appCatalogs
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AppCatalogsRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Get appCatalogs
      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 AppCatalogs body)
      Update appCatalogs
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull AppCatalogs body, @Nullable Consumer<AppCatalogsRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update appCatalogs
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

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