Partager via


GroupsGroupsClient Interface

public interface GroupsGroupsClient

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

Method Summary

Modifier and Type Method and Description
abstract MicrosoftGraphGroupInner createGroup(MicrosoftGraphGroupInner body)

Add new entity to groups.

abstract Mono<MicrosoftGraphGroupInner> createGroupAsync(MicrosoftGraphGroupInner body)

Add new entity to groups.

abstract Response<MicrosoftGraphGroupInner> createGroupWithResponse(MicrosoftGraphGroupInner body, Context context)

Add new entity to groups.

abstract Mono<Response<MicrosoftGraphGroupInner>> createGroupWithResponseAsync(MicrosoftGraphGroupInner body)

Add new entity to groups.

abstract void deleteGroup(String groupId)

Delete entity from groups.

abstract Mono<Void> deleteGroupAsync(String groupId)

Delete entity from groups.

abstract Response<Void> deleteGroupWithResponse(String groupId, String ifMatch, Context context)

Delete entity from groups.

abstract Mono<Response<Void>> deleteGroupWithResponseAsync(String groupId, String ifMatch)

Delete entity from groups.

abstract MicrosoftGraphGroupInner getGroup(String groupId)

Get entity from groups by key.

abstract Mono<MicrosoftGraphGroupInner> getGroupAsync(String groupId)

Get entity from groups by key.

abstract Response<MicrosoftGraphGroupInner> getGroupWithResponse(String groupId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand, Context context)

Get entity from groups by key.

abstract Mono<Response<MicrosoftGraphGroupInner>> getGroupWithResponseAsync(String groupId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand)

Get entity from groups by key.

abstract PagedIterable<MicrosoftGraphGroupInner> listGroup()

Get entities from groups.

abstract PagedIterable<MicrosoftGraphGroupInner> listGroup(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 groups.

abstract PagedFlux<MicrosoftGraphGroupInner> listGroupAsync()

Get entities from groups.

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

Get entities from groups.

abstract void updateGroup(String groupId, MicrosoftGraphGroupInner body)

Update entity in groups.

abstract Mono<Void> updateGroupAsync(String groupId, MicrosoftGraphGroupInner body)

Update entity in groups.

abstract Response<Void> updateGroupWithResponse(String groupId, MicrosoftGraphGroupInner body, Context context)

Update entity in groups.

abstract Mono<Response<Void>> updateGroupWithResponseAsync(String groupId, MicrosoftGraphGroupInner body)

Update entity in groups.

Method Details

createGroup

public abstract MicrosoftGraphGroupInner createGroup(MicrosoftGraphGroupInner body)

Add new entity to groups.

Parameters:

body - New entity.

Returns:

group.

createGroupAsync

public abstract Mono createGroupAsync(MicrosoftGraphGroupInner body)

Add new entity to groups.

Parameters:

body - New entity.

Returns:

group on successful completion of Mono.

createGroupWithResponse

public abstract Response createGroupWithResponse(MicrosoftGraphGroupInner body, Context context)

Add new entity to groups.

Parameters:

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

Returns:

group along with Response<T>.

createGroupWithResponseAsync

public abstract Mono> createGroupWithResponseAsync(MicrosoftGraphGroupInner body)

Add new entity to groups.

Parameters:

body - New entity.

Returns:

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

deleteGroup

public abstract void deleteGroup(String groupId)

Delete entity from groups.

Parameters:

groupId - key: id of group.

deleteGroupAsync

public abstract Mono deleteGroupAsync(String groupId)

Delete entity from groups.

Parameters:

groupId - key: id of group.

Returns:

A Mono that completes when a successful response is received.

deleteGroupWithResponse

public abstract Response deleteGroupWithResponse(String groupId, String ifMatch, Context context)

Delete entity from groups.

Parameters:

groupId - key: id of group.
ifMatch - ETag.
context - The context to associate with this operation.

Returns:

deleteGroupWithResponseAsync

public abstract Mono> deleteGroupWithResponseAsync(String groupId, String ifMatch)

Delete entity from groups.

Parameters:

groupId - key: id of group.
ifMatch - ETag.

Returns:

the Response<T> on successful completion of Mono.

getGroup

public abstract MicrosoftGraphGroupInner getGroup(String groupId)

Get entity from groups by key.

Parameters:

groupId - key: id of group.

Returns:

entity from groups by key.

getGroupAsync

public abstract Mono getGroupAsync(String groupId)

Get entity from groups by key.

Parameters:

groupId - key: id of group.

Returns:

entity from groups by key on successful completion of Mono.

getGroupWithResponse

public abstract Response getGroupWithResponse(String groupId, String consistencyLevel, List select, List expand, Context context)

Get entity from groups by key.

Parameters:

groupId - key: id of group.
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 groups by key along with Response<T>.

getGroupWithResponseAsync

public abstract Mono> getGroupWithResponseAsync(String groupId, String consistencyLevel, List select, List expand)

Get entity from groups by key.

Parameters:

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

Returns:

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

listGroup

public abstract PagedIterable listGroup()

Get entities from groups.

Returns:

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

listGroup

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

Get entities from groups.

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 groups as paginated response with PagedIterable<T>.

listGroupAsync

public abstract PagedFlux listGroupAsync()

Get entities from groups.

Returns:

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

listGroupAsync

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

Get entities from groups.

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 groups as paginated response with PagedFlux<T>.

updateGroup

public abstract void updateGroup(String groupId, MicrosoftGraphGroupInner body)

Update entity in groups.

Parameters:

groupId - key: id of group.
body - New property values.

updateGroupAsync

public abstract Mono updateGroupAsync(String groupId, MicrosoftGraphGroupInner body)

Update entity in groups.

Parameters:

groupId - key: id of group.
body - New property values.

Returns:

A Mono that completes when a successful response is received.

updateGroupWithResponse

public abstract Response updateGroupWithResponse(String groupId, MicrosoftGraphGroupInner body, Context context)

Update entity in groups.

Parameters:

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

Returns:

updateGroupWithResponseAsync

public abstract Mono> updateGroupWithResponseAsync(String groupId, MicrosoftGraphGroupInner body)

Update entity in groups.

Parameters:

groupId - key: id of group.
body - New property values.

Returns:

the Response<T> on successful completion of Mono.

Applies to