java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.drives.item.items.item.analytics.alltime.AllTimeRequestBuilder

@Generated("com.microsoft.kiota") public class AllTimeRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the allTime property of the microsoft.graph.itemAnalytics entity.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
    Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API.
    class 
    Configuration 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

    Constructors
    Constructor
    Description
    AllTimeRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter)
    Instantiates a new AllTimeRequestBuilder and sets the default values.
    AllTimeRequestBuilder(HashMap<String,Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter)
    Instantiates a new AllTimeRequestBuilder and sets the default values.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API.
    Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API.
    com.microsoft.kiota.RequestInformation
    Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API.
    com.microsoft.kiota.RequestInformation
    Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API.
    withUrl(String rawUrl)
    Returns a request builder with the provided arbitrary URL.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AllTimeRequestBuilder

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

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

    • get

      @Nullable public ItemActivityStat get()
      Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API.
      Returns:
      a ItemActivityStat
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

      @Nullable public ItemActivityStat get(@Nullable Consumer<AllTimeRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a ItemActivityStat
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AllTimeRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Get itemAnalytics about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval API.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

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