Class OfficeGraphInsightsRequestBuilder

java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<OfficeGraphInsights>
com.microsoft.graph.requests.OfficeGraphInsightsRequestBuilder
All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder

public class OfficeGraphInsightsRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<OfficeGraphInsights>
The class for the Office Graph Insights Request Builder.
  • Constructor Details

    • OfficeGraphInsightsRequestBuilder

      public OfficeGraphInsightsRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions)
      The request builder for the OfficeGraphInsights
      Parameters:
      requestUrl - the request URL
      client - the service client
      requestOptions - the options for this request
  • Method Details

    • buildRequest

      @Nonnull public OfficeGraphInsightsRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions)
      Creates the request
      Parameters:
      requestOptions - the options for this request
      Returns:
      the OfficeGraphInsightsRequest instance
    • buildRequest

      @Nonnull public OfficeGraphInsightsRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions)
      Creates the request with specific requestOptions instead of the existing requestOptions
      Parameters:
      requestOptions - the options for this request
      Returns:
      the OfficeGraphInsightsRequest instance
    • shared

      @Nonnull public SharedInsightCollectionRequestBuilder shared()
      Gets a request builder for the SharedInsight collection
      Returns:
      the collection request builder
    • shared

      @Nonnull public SharedInsightRequestBuilder shared(@Nonnull String id)
      Gets a request builder for the SharedInsight item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • trending

      @Nonnull public TrendingCollectionRequestBuilder trending()
      Gets a request builder for the Trending collection
      Returns:
      the collection request builder
    • trending

      @Nonnull public TrendingRequestBuilder trending(@Nonnull String id)
      Gets a request builder for the Trending item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • used

      @Nonnull public UsedInsightCollectionRequestBuilder used()
      Gets a request builder for the UsedInsight collection
      Returns:
      the collection request builder
    • used

      @Nonnull public UsedInsightRequestBuilder used(@Nonnull String id)
      Gets a request builder for the UsedInsight item
      Parameters:
      id - the item identifier
      Returns:
      the request builder