Interface UsersTodosClient
-
public interface UsersTodosClientAn instance of this class provides access to all the operations defined in UsersTodosClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MicrosoftGraphTodoTaskListInnercreateLists(String userId, MicrosoftGraphTodoTaskListInner body)Create new navigation property to lists for users.Mono<MicrosoftGraphTodoTaskListInner>createListsAsync(String userId, MicrosoftGraphTodoTaskListInner body)Create new navigation property to lists for users.com.azure.core.http.rest.Response<MicrosoftGraphTodoTaskListInner>createListsWithResponse(String userId, MicrosoftGraphTodoTaskListInner body, com.azure.core.util.Context context)Create new navigation property to lists for users.Mono<com.azure.core.http.rest.Response<MicrosoftGraphTodoTaskListInner>>createListsWithResponseAsync(String userId, MicrosoftGraphTodoTaskListInner body)Create new navigation property to lists for users.voiddeleteLists(String userId, String todoTaskListId)Delete navigation property lists for users.Mono<Void>deleteListsAsync(String userId, String todoTaskListId)Delete navigation property lists for users.Mono<Void>deleteListsAsync(String userId, String todoTaskListId, String ifMatch)Delete navigation property lists for users.com.azure.core.http.rest.Response<Void>deleteListsWithResponse(String userId, String todoTaskListId, String ifMatch, com.azure.core.util.Context context)Delete navigation property lists for users.Mono<com.azure.core.http.rest.Response<Void>>deleteListsWithResponseAsync(String userId, String todoTaskListId, String ifMatch)Delete navigation property lists for users.MicrosoftGraphTodoTaskListInnergetLists(String userId, String todoTaskListId)Get lists from users.Mono<MicrosoftGraphTodoTaskListInner>getListsAsync(String userId, String todoTaskListId)Get lists from users.Mono<MicrosoftGraphTodoTaskListInner>getListsAsync(String userId, String todoTaskListId, List<UsersTodoSelect> select, List<UsersTodoExpand> expand)Get lists from users.com.azure.core.http.rest.Response<MicrosoftGraphTodoTaskListInner>getListsWithResponse(String userId, String todoTaskListId, List<UsersTodoSelect> select, List<UsersTodoExpand> expand, com.azure.core.util.Context context)Get lists from users.Mono<com.azure.core.http.rest.Response<MicrosoftGraphTodoTaskListInner>>getListsWithResponseAsync(String userId, String todoTaskListId, List<UsersTodoSelect> select, List<UsersTodoExpand> expand)Get lists from users.com.azure.core.http.rest.PagedIterable<MicrosoftGraphTodoTaskListInner>listLists(String userId)Get lists from users.com.azure.core.http.rest.PagedIterable<MicrosoftGraphTodoTaskListInner>listLists(String userId, Integer top, Integer skip, String search, String filter, Boolean count, List<UsersTodoOrderby> orderby, List<UsersTodoSelect> select, List<UsersTodoExpand> expand, com.azure.core.util.Context context)Get lists from users.com.azure.core.http.rest.PagedFlux<MicrosoftGraphTodoTaskListInner>listListsAsync(String userId)Get lists from users.com.azure.core.http.rest.PagedFlux<MicrosoftGraphTodoTaskListInner>listListsAsync(String userId, Integer top, Integer skip, String search, String filter, Boolean count, List<UsersTodoOrderby> orderby, List<UsersTodoSelect> select, List<UsersTodoExpand> expand)Get lists from users.voidupdateLists(String userId, String todoTaskListId, MicrosoftGraphTodoTaskListInner body)Update the navigation property lists in users.Mono<Void>updateListsAsync(String userId, String todoTaskListId, MicrosoftGraphTodoTaskListInner body)Update the navigation property lists in users.com.azure.core.http.rest.Response<Void>updateListsWithResponse(String userId, String todoTaskListId, MicrosoftGraphTodoTaskListInner body, com.azure.core.util.Context context)Update the navigation property lists in users.Mono<com.azure.core.http.rest.Response<Void>>updateListsWithResponseAsync(String userId, String todoTaskListId, MicrosoftGraphTodoTaskListInner body)Update the navigation property lists in users.
-
-
-
Method Detail
-
listListsAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphTodoTaskListInner> listListsAsync(String userId, Integer top, Integer skip, String search, String filter, Boolean count, List<UsersTodoOrderby> orderby, List<UsersTodoSelect> select, List<UsersTodoExpand> expand)
Get lists from users.- Parameters:
userId- key: id of user.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:
- lists 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.
-
listListsAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphTodoTaskListInner> listListsAsync(String userId)
Get lists from users.- Parameters:
userId- key: id of user.- Returns:
- lists 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.
-
listLists
com.azure.core.http.rest.PagedIterable<MicrosoftGraphTodoTaskListInner> listLists(String userId)
Get lists from users.- Parameters:
userId- key: id of user.- Returns:
- lists 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.
-
listLists
com.azure.core.http.rest.PagedIterable<MicrosoftGraphTodoTaskListInner> listLists(String userId, Integer top, Integer skip, String search, String filter, Boolean count, List<UsersTodoOrderby> orderby, List<UsersTodoSelect> select, List<UsersTodoExpand> expand, com.azure.core.util.Context context)
Get lists from users.- Parameters:
userId- key: id of user.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:
- lists 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.
-
createListsWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphTodoTaskListInner>> createListsWithResponseAsync(String userId, MicrosoftGraphTodoTaskListInner body)
Create new navigation property to lists for users.- Parameters:
userId- key: id of user.body- New navigation property.- Returns:
- todoTaskList.
- 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.
-
createListsAsync
Mono<MicrosoftGraphTodoTaskListInner> createListsAsync(String userId, MicrosoftGraphTodoTaskListInner body)
Create new navigation property to lists for users.- Parameters:
userId- key: id of user.body- New navigation property.- Returns:
- todoTaskList.
- 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.
-
createLists
MicrosoftGraphTodoTaskListInner createLists(String userId, MicrosoftGraphTodoTaskListInner body)
Create new navigation property to lists for users.- Parameters:
userId- key: id of user.body- New navigation property.- Returns:
- todoTaskList.
- 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.
-
createListsWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphTodoTaskListInner> createListsWithResponse(String userId, MicrosoftGraphTodoTaskListInner body, com.azure.core.util.Context context)
Create new navigation property to lists for users.- Parameters:
userId- key: id of user.body- New navigation property.context- The context to associate with this operation.- Returns:
- todoTaskList.
- 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.
-
getListsWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphTodoTaskListInner>> getListsWithResponseAsync(String userId, String todoTaskListId, List<UsersTodoSelect> select, List<UsersTodoExpand> expand)
Get lists from users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.select- Select properties to be returned.expand- Expand related entities.- Returns:
- lists 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.
-
getListsAsync
Mono<MicrosoftGraphTodoTaskListInner> getListsAsync(String userId, String todoTaskListId, List<UsersTodoSelect> select, List<UsersTodoExpand> expand)
Get lists from users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.select- Select properties to be returned.expand- Expand related entities.- Returns:
- lists 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.
-
getListsAsync
Mono<MicrosoftGraphTodoTaskListInner> getListsAsync(String userId, String todoTaskListId)
Get lists from users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.- Returns:
- lists 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.
-
getLists
MicrosoftGraphTodoTaskListInner getLists(String userId, String todoTaskListId)
Get lists from users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.- Returns:
- lists 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.
-
getListsWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphTodoTaskListInner> getListsWithResponse(String userId, String todoTaskListId, List<UsersTodoSelect> select, List<UsersTodoExpand> expand, com.azure.core.util.Context context)
Get lists from users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.select- Select properties to be returned.expand- Expand related entities.context- The context to associate with this operation.- Returns:
- lists 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.
-
updateListsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateListsWithResponseAsync(String userId, String todoTaskListId, MicrosoftGraphTodoTaskListInner body)
Update the navigation property lists in users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.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.
-
updateListsAsync
Mono<Void> updateListsAsync(String userId, String todoTaskListId, MicrosoftGraphTodoTaskListInner body)
Update the navigation property lists in users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.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.
-
updateLists
void updateLists(String userId, String todoTaskListId, MicrosoftGraphTodoTaskListInner body)
Update the navigation property lists in users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.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.
-
updateListsWithResponse
com.azure.core.http.rest.Response<Void> updateListsWithResponse(String userId, String todoTaskListId, MicrosoftGraphTodoTaskListInner body, com.azure.core.util.Context context)
Update the navigation property lists in users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.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.
-
deleteListsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteListsWithResponseAsync(String userId, String todoTaskListId, String ifMatch)
Delete navigation property lists for users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.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.
-
deleteListsAsync
Mono<Void> deleteListsAsync(String userId, String todoTaskListId, String ifMatch)
Delete navigation property lists for users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.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.
-
deleteListsAsync
Mono<Void> deleteListsAsync(String userId, String todoTaskListId)
Delete navigation property lists for users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.- 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.
-
deleteLists
void deleteLists(String userId, String todoTaskListId)
Delete navigation property lists for users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.- 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.
-
deleteListsWithResponse
com.azure.core.http.rest.Response<Void> deleteListsWithResponse(String userId, String todoTaskListId, String ifMatch, com.azure.core.util.Context context)
Delete navigation property lists for users.- Parameters:
userId- key: id of user.todoTaskListId- key: id of todoTaskList.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.
-
-