Class TodoRequestBuilder

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

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

    • TodoRequestBuilder

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

    • buildRequest

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

      @Nonnull public TodoRequest 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 TodoRequest instance
    • lists

      @Nonnull public TodoTaskListCollectionRequestBuilder lists()
      Gets a request builder for the TodoTaskList collection
      Returns:
      the collection request builder
    • lists

      @Nonnull public TodoTaskListRequestBuilder lists(@Nonnull String id)
      Gets a request builder for the TodoTaskList item
      Parameters:
      id - the item identifier
      Returns:
      the request builder