Class BaseDeltaCollectionRequest<T,​T2 extends ICollectionResponse<T>,​T3 extends BaseCollectionPage<T,​? extends BaseRequestBuilder<T>>>

java.lang.Object
com.microsoft.graph.http.BaseCollectionRequest<T,​T2,​T3>
com.microsoft.graph.http.BaseFunctionCollectionRequest<T,​T2,​T3>
com.microsoft.graph.http.BaseDeltaCollectionRequest<T,​T2,​T3>
Type Parameters:
T - the type of the object in the collection
T2 - the response collection type
T3 - the collection page type
All Implemented Interfaces:
IHttpRequest

public abstract class BaseDeltaCollectionRequest<T,​T2 extends ICollectionResponse<T>,​T3 extends BaseCollectionPage<T,​? extends BaseRequestBuilder<T>>> extends BaseFunctionCollectionRequest<T,​T2,​T3>
A request against a collection bound function
  • Constructor Details

    • BaseDeltaCollectionRequest

      public BaseDeltaCollectionRequest(@Nonnull String requestUrl, @Nonnull IBaseClient<?> client, @Nullable List<? extends Option> options, @Nonnull Class<T2> responseCollectionClass, @Nonnull Class<T3> collectionPageClass, @Nonnull Class<? extends BaseCollectionRequestBuilder<T,​? extends BaseRequestBuilder<T>,​T2,​T3,​? extends BaseCollectionRequest<T,​T2,​T3>>> collectionRequestBuilderClass)
      Create the collection request
      Parameters:
      requestUrl - the URL to make the request against
      client - the client which can issue the request
      options - the options for this request
      responseCollectionClass - the class for the response collection
      collectionPageClass - the class for the collection page
      collectionRequestBuilderClass - the class for the collection request builder
  • Method Details

    • addDeltaTokenOption

      protected void addDeltaTokenOption(@Nonnull String value, @Nonnull String optionKey)
      Adds the delta token query string value for the request
      Parameters:
      value - - The token
      optionKey - - the key to use for the query string parameter
    • getDeltaTokenFromLink

      @Nonnull protected String getDeltaTokenFromLink(@Nonnull String deltaLink)
      Gets the delta token from the delta link provided by the previous response
      Parameters:
      deltaLink - the delta link provided by the previous request
      Returns:
      the delta token