GroupsClient Interface

public interface GroupsClient

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

Method Summary

Modifier and Type Method and Description
abstract MicrosoftGraphDirectoryObjectInner createAcceptedSenders(String groupId, MicrosoftGraphDirectoryObjectInner body)

Create new navigation property to acceptedSenders for groups.

abstract Mono<MicrosoftGraphDirectoryObjectInner> createAcceptedSendersAsync(String groupId, MicrosoftGraphDirectoryObjectInner body)

Create new navigation property to acceptedSenders for groups.

abstract Response<MicrosoftGraphDirectoryObjectInner> createAcceptedSendersWithResponse(String groupId, MicrosoftGraphDirectoryObjectInner body, Context context)

Create new navigation property to acceptedSenders for groups.

abstract Mono<Response<MicrosoftGraphDirectoryObjectInner>> createAcceptedSendersWithResponseAsync(String groupId, MicrosoftGraphDirectoryObjectInner body)

Create new navigation property to acceptedSenders for groups.

abstract void createRefMembers(String groupId, Map<String,Object> body)

Create new navigation property ref to members for groups.

abstract Mono<Void> createRefMembersAsync(String groupId, Map<String,Object> body)

Create new navigation property ref to members for groups.

abstract Response<Void> createRefMembersWithResponse(String groupId, Map<String,Object> body, Context context)

Create new navigation property ref to members for groups.

abstract Mono<Response<Void>> createRefMembersWithResponseAsync(String groupId, Map<String,Object> body)

Create new navigation property ref to members for groups.

abstract void deleteRefMember(String groupId, String directoryObjectId)

Delete ref of member from groups.

abstract Mono<Void> deleteRefMemberAsync(String groupId, String directoryObjectId)

Delete ref of member from groups.

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

Delete ref of member from groups.

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

Delete ref of member from groups.

abstract PagedIterable<MicrosoftGraphDirectoryObjectInner> listAcceptedSenders(String groupId)

Get acceptedSenders from groups.

abstract PagedIterable<MicrosoftGraphDirectoryObjectInner> listAcceptedSenders(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby, List<GroupsSelect> select, List<String> expand, Context context)

Get acceptedSenders from groups.

abstract PagedFlux<MicrosoftGraphDirectoryObjectInner> listAcceptedSendersAsync(String groupId)

Get acceptedSenders from groups.

abstract PagedFlux<MicrosoftGraphDirectoryObjectInner> listAcceptedSendersAsync(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby, List<GroupsSelect> select, List<String> expand)

Get acceptedSenders from groups.

abstract PagedIterable<MicrosoftGraphDirectoryObjectInner> listMembers(String groupId)

Get members from groups.

abstract PagedIterable<MicrosoftGraphDirectoryObjectInner> listMembers(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby, List<GroupsSelect> select, List<String> expand, Context context)

Get members from groups.

abstract PagedFlux<MicrosoftGraphDirectoryObjectInner> listMembersAsync(String groupId)

Get members from groups.

abstract PagedFlux<MicrosoftGraphDirectoryObjectInner> listMembersAsync(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby, List<GroupsSelect> select, List<String> expand)

Get members from groups.

abstract PagedIterable<String> listRefMembers(String groupId)

Get ref of members from groups.

abstract PagedIterable<String> listRefMembers(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby, Context context)

Get ref of members from groups.

abstract PagedFlux<String> listRefMembersAsync(String groupId)

Get ref of members from groups.

abstract PagedFlux<String> listRefMembersAsync(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby)

Get ref of members from groups.

Method Details

createAcceptedSenders

public abstract MicrosoftGraphDirectoryObjectInner createAcceptedSenders(String groupId, MicrosoftGraphDirectoryObjectInner body)

Create new navigation property to acceptedSenders for groups.

Parameters:

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

Returns:

directoryObject.

createAcceptedSendersAsync

public abstract Mono createAcceptedSendersAsync(String groupId, MicrosoftGraphDirectoryObjectInner body)

Create new navigation property to acceptedSenders for groups.

Parameters:

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

Returns:

directoryObject on successful completion of Mono.

createAcceptedSendersWithResponse

public abstract Response createAcceptedSendersWithResponse(String groupId, MicrosoftGraphDirectoryObjectInner body, Context context)

Create new navigation property to acceptedSenders for groups.

Parameters:

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

Returns:

directoryObject along with Response<T>.

createAcceptedSendersWithResponseAsync

public abstract Mono> createAcceptedSendersWithResponseAsync(String groupId, MicrosoftGraphDirectoryObjectInner body)

Create new navigation property to acceptedSenders for groups.

Parameters:

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

Returns:

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

createRefMembers

public abstract void createRefMembers(String groupId, Map body)

Create new navigation property ref to members for groups.

Parameters:

groupId - key: id of group.
body - New navigation property ref value.

createRefMembersAsync

public abstract Mono createRefMembersAsync(String groupId, Map body)

Create new navigation property ref to members for groups.

Parameters:

groupId - key: id of group.
body - New navigation property ref value.

Returns:

A Mono that completes when a successful response is received.

createRefMembersWithResponse

public abstract Response createRefMembersWithResponse(String groupId, Map body, Context context)

Create new navigation property ref to members for groups.

Parameters:

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

Returns:

createRefMembersWithResponseAsync

public abstract Mono> createRefMembersWithResponseAsync(String groupId, Map body)

Create new navigation property ref to members for groups.

Parameters:

groupId - key: id of group.
body - New navigation property ref value.

Returns:

the Response<T> on successful completion of Mono.

deleteRefMember

public abstract void deleteRefMember(String groupId, String directoryObjectId)

Delete ref of member from groups.

Parameters:

groupId - key: id of group.
directoryObjectId - key: directoryObject-id.

deleteRefMemberAsync

public abstract Mono deleteRefMemberAsync(String groupId, String directoryObjectId)

Delete ref of member from groups.

Parameters:

groupId - key: id of group.
directoryObjectId - key: directoryObject-id.

Returns:

A Mono that completes when a successful response is received.

deleteRefMemberWithResponse

public abstract Response deleteRefMemberWithResponse(String groupId, String directoryObjectId, String ifMatch, Context context)

Delete ref of member from groups.

Parameters:

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

Returns:

deleteRefMemberWithResponseAsync

public abstract Mono> deleteRefMemberWithResponseAsync(String groupId, String directoryObjectId, String ifMatch)

Delete ref of member from groups.

Parameters:

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

Returns:

the Response<T> on successful completion of Mono.

listAcceptedSenders

public abstract PagedIterable listAcceptedSenders(String groupId)

Get acceptedSenders from groups.

Parameters:

groupId - key: id of group.

Returns:

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

listAcceptedSenders

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

Get acceptedSenders from groups.

Parameters:

groupId - key: id of group.
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:

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

listAcceptedSendersAsync

public abstract PagedFlux listAcceptedSendersAsync(String groupId)

Get acceptedSenders from groups.

Parameters:

groupId - key: id of group.

Returns:

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

listAcceptedSendersAsync

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

Get acceptedSenders from groups.

Parameters:

groupId - key: id of group.
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:

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

listMembers

public abstract PagedIterable listMembers(String groupId)

Get members from groups.

Parameters:

groupId - key: id of group.

Returns:

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

listMembers

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

Get members from groups.

Parameters:

groupId - key: id of group.
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:

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

listMembersAsync

public abstract PagedFlux listMembersAsync(String groupId)

Get members from groups.

Parameters:

groupId - key: id of group.

Returns:

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

listMembersAsync

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

Get members from groups.

Parameters:

groupId - key: id of group.
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:

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

listRefMembers

public abstract PagedIterable listRefMembers(String groupId)

Get ref of members from groups.

Parameters:

groupId - key: id of group.

Returns:

ref of members from groups as paginated response with PagedIterable<T>.

listRefMembers

public abstract PagedIterable listRefMembers(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List orderby, Context context)

Get ref of members from groups.

Parameters:

groupId - key: id of group.
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.
context - The context to associate with this operation.

Returns:

ref of members from groups as paginated response with PagedIterable<T>.

listRefMembersAsync

public abstract PagedFlux listRefMembersAsync(String groupId)

Get ref of members from groups.

Parameters:

groupId - key: id of group.

Returns:

ref of members from groups as paginated response with PagedFlux<T>.

listRefMembersAsync

public abstract PagedFlux listRefMembersAsync(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List orderby)

Get ref of members from groups.

Parameters:

groupId - key: id of group.
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.

Returns:

ref of members from groups as paginated response with PagedFlux<T>.

Applies to