UsersUsersClient Interface

public interface UsersUsersClient

An instance of this class provides access to all the operations defined in UsersUsersClient.

Method Summary

Modifier and Type Method and Description
abstract MicrosoftGraphUserInner createUser(MicrosoftGraphUserInner body)

Add new entity to users.

abstract Mono<MicrosoftGraphUserInner> createUserAsync(MicrosoftGraphUserInner body)

Add new entity to users.

abstract Response<MicrosoftGraphUserInner> createUserWithResponse(MicrosoftGraphUserInner body, Context context)

Add new entity to users.

abstract Mono<Response<MicrosoftGraphUserInner>> createUserWithResponseAsync(MicrosoftGraphUserInner body)

Add new entity to users.

abstract void deleteUser(String userId)

Delete entity from users.

abstract Mono<Void> deleteUserAsync(String userId)

Delete entity from users.

abstract Response<Void> deleteUserWithResponse(String userId, String ifMatch, Context context)

Delete entity from users.

abstract Mono<Response<Void>> deleteUserWithResponseAsync(String userId, String ifMatch)

Delete entity from users.

abstract MicrosoftGraphUserInner getUser(String userId)

Get entity from users by key.

abstract Mono<MicrosoftGraphUserInner> getUserAsync(String userId)

Get entity from users by key.

abstract Response<MicrosoftGraphUserInner> getUserWithResponse(String userId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand, Context context)

Get entity from users by key.

abstract Mono<Response<MicrosoftGraphUserInner>> getUserWithResponseAsync(String userId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand)

Get entity from users by key.

abstract PagedIterable<MicrosoftGraphUserInner> listUser()

Get entities from users.

abstract PagedIterable<MicrosoftGraphUserInner> listUser(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand, Context context)

Get entities from users.

abstract PagedFlux<MicrosoftGraphUserInner> listUserAsync()

Get entities from users.

abstract PagedFlux<MicrosoftGraphUserInner> listUserAsync(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand)

Get entities from users.

abstract void updateUser(String userId, MicrosoftGraphUserInner body)

Update entity in users.

abstract Mono<Void> updateUserAsync(String userId, MicrosoftGraphUserInner body)

Update entity in users.

abstract Response<Void> updateUserWithResponse(String userId, MicrosoftGraphUserInner body, Context context)

Update entity in users.

abstract Mono<Response<Void>> updateUserWithResponseAsync(String userId, MicrosoftGraphUserInner body)

Update entity in users.

Method Details

createUser

public abstract MicrosoftGraphUserInner createUser(MicrosoftGraphUserInner body)

Add new entity to users.

Parameters:

body - New entity.

Returns:

user.

createUserAsync

public abstract Mono createUserAsync(MicrosoftGraphUserInner body)

Add new entity to users.

Parameters:

body - New entity.

Returns:

user on successful completion of Mono.

createUserWithResponse

public abstract Response createUserWithResponse(MicrosoftGraphUserInner body, Context context)

Add new entity to users.

Parameters:

body - New entity.
context - The context to associate with this operation.

Returns:

user along with Response<T>.

createUserWithResponseAsync

public abstract Mono> createUserWithResponseAsync(MicrosoftGraphUserInner body)

Add new entity to users.

Parameters:

body - New entity.

Returns:

user along with Response<T> on successful completion of Mono.

deleteUser

public abstract void deleteUser(String userId)

Delete entity from users.

Parameters:

userId - key: id of user.

deleteUserAsync

public abstract Mono deleteUserAsync(String userId)

Delete entity from users.

Parameters:

userId - key: id of user.

Returns:

A Mono that completes when a successful response is received.

deleteUserWithResponse

public abstract Response deleteUserWithResponse(String userId, String ifMatch, Context context)

Delete entity from users.

Parameters:

userId - key: id of user.
ifMatch - ETag.
context - The context to associate with this operation.

Returns:

deleteUserWithResponseAsync

public abstract Mono> deleteUserWithResponseAsync(String userId, String ifMatch)

Delete entity from users.

Parameters:

userId - key: id of user.
ifMatch - ETag.

Returns:

the Response<T> on successful completion of Mono.

getUser

public abstract MicrosoftGraphUserInner getUser(String userId)

Get entity from users by key.

Parameters:

userId - key: id of user.

Returns:

entity from users by key.

getUserAsync

public abstract Mono getUserAsync(String userId)

Get entity from users by key.

Parameters:

userId - key: id of user.

Returns:

entity from users by key on successful completion of Mono.

getUserWithResponse

public abstract Response getUserWithResponse(String userId, String consistencyLevel, List select, List expand, Context context)

Get entity from users by key.

Parameters:

userId - key: id of user.
consistencyLevel - Indicates the requested consistency level.
select - Select properties to be returned.
expand - Expand related entities.
context - The context to associate with this operation.

Returns:

entity from users by key along with Response<T>.

getUserWithResponseAsync

public abstract Mono> getUserWithResponseAsync(String userId, String consistencyLevel, List select, List expand)

Get entity from users by key.

Parameters:

userId - key: id of user.
consistencyLevel - Indicates the requested consistency level.
select - Select properties to be returned.
expand - Expand related entities.

Returns:

entity from users by key along with Response<T> on successful completion of Mono.

listUser

public abstract PagedIterable listUser()

Get entities from users.

Returns:

entities from users as paginated response with PagedIterable<T>.

listUser

public abstract PagedIterable listUser(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List orderby, List select, List expand, Context context)

Get entities from users.

Parameters:

consistencyLevel - Indicates the requested consistency level.
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:

entities from users as paginated response with PagedIterable<T>.

listUserAsync

public abstract PagedFlux listUserAsync()

Get entities from users.

Returns:

entities from users as paginated response with PagedFlux<T>.

listUserAsync

public abstract PagedFlux listUserAsync(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List orderby, List select, List expand)

Get entities from users.

Parameters:

consistencyLevel - Indicates the requested consistency level.
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:

entities from users as paginated response with PagedFlux<T>.

updateUser

public abstract void updateUser(String userId, MicrosoftGraphUserInner body)

Update entity in users.

Parameters:

userId - key: id of user.
body - New property values.

updateUserAsync

public abstract Mono updateUserAsync(String userId, MicrosoftGraphUserInner body)

Update entity in users.

Parameters:

userId - key: id of user.
body - New property values.

Returns:

A Mono that completes when a successful response is received.

updateUserWithResponse

public abstract Response updateUserWithResponse(String userId, MicrosoftGraphUserInner body, Context context)

Update entity in users.

Parameters:

userId - key: id of user.
body - New property values.
context - The context to associate with this operation.

Returns:

updateUserWithResponseAsync

public abstract Mono> updateUserWithResponseAsync(String userId, MicrosoftGraphUserInner body)

Update entity in users.

Parameters:

userId - key: id of user.
body - New property values.

Returns:

the Response<T> on successful completion of Mono.

Applies to