Class RecentRequestBuilder.GetQueryParameters

java.lang.Object
com.microsoft.graph.users.item.activities.recent.RecentRequestBuilder.GetQueryParameters
All Implemented Interfaces:
com.microsoft.kiota.QueryParameters
Enclosing class:
RecentRequestBuilder

@Generated("com.microsoft.kiota") public class RecentRequestBuilder.GetQueryParameters extends Object implements com.microsoft.kiota.QueryParameters
Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service queries for the most recent activityHistoryItems, and then pull those related activities. Activities are sorted according to the most recent lastModified on the activityHistoryItem. This means that activities without activityHistoryItems won't be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate.
  • Field Details

    • count

      @Nullable public Boolean count
      Include count of items
    • expand

      @Nullable public String[] expand
      Expand related entities
    • filter

      @Nullable public String filter
      Filter items by property values
    • orderby

      @Nullable public String[] orderby
      Order items by property values
    • select

      @Nullable public String[] select
      Select properties to be returned
    • skip

      @Nullable public Integer skip
      Skip the first n items
    • top

      @Nullable public Integer top
      Show only the first n items
  • Constructor Details

    • GetQueryParameters

      public GetQueryParameters()
  • Method Details

    • toQueryParameters

      @Nonnull public Map<String,Object> toQueryParameters()
      Extracts the query parameters into a map for the URI template parsing.
      Specified by:
      toQueryParameters in interface com.microsoft.kiota.QueryParameters
      Returns:
      a Map<String,Object>