Class SubscriptionRequestBuilder

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

public class SubscriptionRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<Subscription>
The class for the Subscription Request Builder.
  • Constructor Details

    • SubscriptionRequestBuilder

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

    • buildRequest

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

      @Nonnull public SubscriptionRequest 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 SubscriptionRequest instance
    • reauthorize

      @Nonnull public SubscriptionReauthorizeRequestBuilder reauthorize()
      Gets a builder to execute the method
      Returns:
      the request builder