Interface UsersTodoListsClient


  • public interface UsersTodoListsClient
    An instance of this class provides access to all the operations defined in UsersTodoListsClient.
    • Method Detail

      • listExtensionsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionInner> listExtensionsAsync​(String userId,
                                                                                             String todoTaskListId,
                                                                                             Integer top,
                                                                                             Integer skip,
                                                                                             String search,
                                                                                             String filter,
                                                                                             Boolean count,
                                                                                             List<UsersTodoListsOrderby> orderby,
                                                                                             List<String> select,
                                                                                             List<String> expand)
        Get extensions from users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        top - Show only the first n items.
        skip - Skip the first n items.
        search - Search items by search phrases.
        filter - Filter items by property values.
        count - Include count of items.
        orderby - Order items by property values.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        extensions from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listExtensionsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionInner> listExtensionsAsync​(String userId,
                                                                                             String todoTaskListId)
        Get extensions from users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        Returns:
        extensions from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listExtensions

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionInner> listExtensions​(String userId,
                                                                                            String todoTaskListId)
        Get extensions from users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        Returns:
        extensions from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listExtensions

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionInner> listExtensions​(String userId,
                                                                                            String todoTaskListId,
                                                                                            Integer top,
                                                                                            Integer skip,
                                                                                            String search,
                                                                                            String filter,
                                                                                            Boolean count,
                                                                                            List<UsersTodoListsOrderby> orderby,
                                                                                            List<String> select,
                                                                                            List<String> expand,
                                                                                            com.azure.core.util.Context context)
        Get extensions from users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        top - Show only the first n items.
        skip - Skip the first n items.
        search - Search items by search phrases.
        filter - Filter items by property values.
        count - Include count of items.
        orderby - Order items by property values.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        extensions from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createExtensionsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner> createExtensionsWithResponse​(String userId,
                                                                                                     String todoTaskListId,
                                                                                                     MicrosoftGraphExtensionInner body,
                                                                                                     com.azure.core.util.Context context)
        Create new navigation property to extensions for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        body - New navigation property.
        context - The context to associate with this operation.
        Returns:
        extension.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getExtensionsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner>> getExtensionsWithResponseAsync​(String userId,
                                                                                                             String todoTaskListId,
                                                                                                             String extensionId,
                                                                                                             List<String> select,
                                                                                                             List<String> expand)
        Get extensions from users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        extensions from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getExtensionsAsync

        Mono<MicrosoftGraphExtensionInner> getExtensionsAsync​(String userId,
                                                              String todoTaskListId,
                                                              String extensionId,
                                                              List<String> select,
                                                              List<String> expand)
        Get extensions from users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        extensions from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getExtensionsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner> getExtensionsWithResponse​(String userId,
                                                                                                  String todoTaskListId,
                                                                                                  String extensionId,
                                                                                                  List<String> select,
                                                                                                  List<String> expand,
                                                                                                  com.azure.core.util.Context context)
        Get extensions from users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        extensions from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateExtensionsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateExtensionsWithResponseAsync​(String userId,
                                                                                        String todoTaskListId,
                                                                                        String extensionId,
                                                                                        MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        body - New navigation property values.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateExtensionsAsync

        Mono<Void> updateExtensionsAsync​(String userId,
                                         String todoTaskListId,
                                         String extensionId,
                                         MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        body - New navigation property values.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateExtensions

        void updateExtensions​(String userId,
                              String todoTaskListId,
                              String extensionId,
                              MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        body - New navigation property values.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateExtensionsWithResponse

        com.azure.core.http.rest.Response<Void> updateExtensionsWithResponse​(String userId,
                                                                             String todoTaskListId,
                                                                             String extensionId,
                                                                             MicrosoftGraphExtensionInner body,
                                                                             com.azure.core.util.Context context)
        Update the navigation property extensions in users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        body - New navigation property values.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteExtensionsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteExtensionsWithResponseAsync​(String userId,
                                                                                        String todoTaskListId,
                                                                                        String extensionId,
                                                                                        String ifMatch)
        Delete navigation property extensions for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteExtensionsAsync

        Mono<Void> deleteExtensionsAsync​(String userId,
                                         String todoTaskListId,
                                         String extensionId,
                                         String ifMatch)
        Delete navigation property extensions for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteExtensionsAsync

        Mono<Void> deleteExtensionsAsync​(String userId,
                                         String todoTaskListId,
                                         String extensionId)
        Delete navigation property extensions for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteExtensions

        void deleteExtensions​(String userId,
                              String todoTaskListId,
                              String extensionId)
        Delete navigation property extensions for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteExtensionsWithResponse

        com.azure.core.http.rest.Response<Void> deleteExtensionsWithResponse​(String userId,
                                                                             String todoTaskListId,
                                                                             String extensionId,
                                                                             String ifMatch,
                                                                             com.azure.core.util.Context context)
        Delete navigation property extensions for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        extensionId - key: id of extension.
        ifMatch - ETag.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listTasks

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphTodoTaskInner> listTasks​(String userId,
                                                                                      String todoTaskListId,
                                                                                      Integer top,
                                                                                      Integer skip,
                                                                                      String search,
                                                                                      String filter,
                                                                                      Boolean count,
                                                                                      List<UsersTodoListsOrderby> orderby,
                                                                                      List<UsersTodoListsSelect> select,
                                                                                      List<UsersTodoListsExpand> expand,
                                                                                      com.azure.core.util.Context context)
        Get tasks from users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        top - Show only the first n items.
        skip - Skip the first n items.
        search - Search items by search phrases.
        filter - Filter items by property values.
        count - Include count of items.
        orderby - Order items by property values.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        tasks from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createTasksWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphTodoTaskInner> createTasksWithResponse​(String userId,
                                                                                               String todoTaskListId,
                                                                                               MicrosoftGraphTodoTaskInner body,
                                                                                               com.azure.core.util.Context context)
        Create new navigation property to tasks for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        body - New navigation property.
        context - The context to associate with this operation.
        Returns:
        todoTask.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getTasksWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphTodoTaskInner> getTasksWithResponse​(String userId,
                                                                                            String todoTaskListId,
                                                                                            String todoTaskId,
                                                                                            List<UsersTodoListsSelect> select,
                                                                                            List<UsersTodoListsExpand> expand,
                                                                                            com.azure.core.util.Context context)
        Get tasks from users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        todoTaskId - key: id of todoTask.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        tasks from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTasksWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateTasksWithResponseAsync​(String userId,
                                                                                   String todoTaskListId,
                                                                                   String todoTaskId,
                                                                                   MicrosoftGraphTodoTaskInner body)
        Update the navigation property tasks in users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        todoTaskId - key: id of todoTask.
        body - New navigation property values.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTasksAsync

        Mono<Void> updateTasksAsync​(String userId,
                                    String todoTaskListId,
                                    String todoTaskId,
                                    MicrosoftGraphTodoTaskInner body)
        Update the navigation property tasks in users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        todoTaskId - key: id of todoTask.
        body - New navigation property values.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTasks

        void updateTasks​(String userId,
                         String todoTaskListId,
                         String todoTaskId,
                         MicrosoftGraphTodoTaskInner body)
        Update the navigation property tasks in users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        todoTaskId - key: id of todoTask.
        body - New navigation property values.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTasksWithResponse

        com.azure.core.http.rest.Response<Void> updateTasksWithResponse​(String userId,
                                                                        String todoTaskListId,
                                                                        String todoTaskId,
                                                                        MicrosoftGraphTodoTaskInner body,
                                                                        com.azure.core.util.Context context)
        Update the navigation property tasks in users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        todoTaskId - key: id of todoTask.
        body - New navigation property values.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteTasksWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteTasksWithResponseAsync​(String userId,
                                                                                   String todoTaskListId,
                                                                                   String todoTaskId,
                                                                                   String ifMatch)
        Delete navigation property tasks for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        todoTaskId - key: id of todoTask.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteTasksAsync

        Mono<Void> deleteTasksAsync​(String userId,
                                    String todoTaskListId,
                                    String todoTaskId,
                                    String ifMatch)
        Delete navigation property tasks for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        todoTaskId - key: id of todoTask.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteTasksAsync

        Mono<Void> deleteTasksAsync​(String userId,
                                    String todoTaskListId,
                                    String todoTaskId)
        Delete navigation property tasks for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        todoTaskId - key: id of todoTask.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteTasks

        void deleteTasks​(String userId,
                         String todoTaskListId,
                         String todoTaskId)
        Delete navigation property tasks for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        todoTaskId - key: id of todoTask.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteTasksWithResponse

        com.azure.core.http.rest.Response<Void> deleteTasksWithResponse​(String userId,
                                                                        String todoTaskListId,
                                                                        String todoTaskId,
                                                                        String ifMatch,
                                                                        com.azure.core.util.Context context)
        Delete navigation property tasks for users.
        Parameters:
        userId - key: id of user.
        todoTaskListId - key: id of todoTaskList.
        todoTaskId - key: id of todoTask.
        ifMatch - ETag.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.