Class SessionRequestBuilder

java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Session>
com.microsoft.graph.callrecords.requests.SessionRequestBuilder
All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder

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

    • SessionRequestBuilder

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

    • buildRequest

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

      @Nonnull public SessionRequest 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 SessionRequest instance
    • segments

      @Nonnull public SegmentCollectionRequestBuilder segments()
      Gets a request builder for the Segment collection
      Returns:
      the collection request builder
    • segments

      @Nonnull public SegmentRequestBuilder segments(@Nonnull String id)
      Gets a request builder for the Segment item
      Parameters:
      id - the item identifier
      Returns:
      the request builder