Class RelationRequestBuilder

java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Relation>
com.microsoft.graph.termstore.requests.RelationRequestBuilder
All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder

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

    • RelationRequestBuilder

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

    • buildRequest

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

      @Nonnull public RelationRequest 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 RelationRequest instance
    • fromTerm

      @Nonnull public TermWithReferenceRequestBuilder fromTerm()
      Gets the request builder for Term
      Returns:
      the TermWithReferenceRequestBuilder instance
    • set

      @Nonnull public SetWithReferenceRequestBuilder set()
      Gets the request builder for Set
      Returns:
      the SetWithReferenceRequestBuilder instance
    • toTerm

      @Nonnull public TermWithReferenceRequestBuilder toTerm()
      Gets the request builder for Term
      Returns:
      the TermWithReferenceRequestBuilder instance