Class TimeOffRequestRequestBuilder

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

public class TimeOffRequestRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<TimeOffRequest>
The class for the Time Off Request Request Builder.
  • Constructor Details

    • TimeOffRequestRequestBuilder

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

    • buildRequest

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

      @Nonnull public TimeOffRequestRequest 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 TimeOffRequestRequest instance
    • decline

      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder
    • approve

      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder