Interface GroupsClient
public interface GroupsClient
An instance of this class provides access to all the operations defined in GroupsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateAcceptedSenders(String groupId, MicrosoftGraphDirectoryObjectInner body) Create new navigation property to acceptedSenders for groups.createAcceptedSendersAsync(String groupId, MicrosoftGraphDirectoryObjectInner body) Create new navigation property to acceptedSenders for groups.com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>createAcceptedSendersWithResponse(String groupId, MicrosoftGraphDirectoryObjectInner body, com.azure.core.util.Context context) Create new navigation property to acceptedSenders for groups.Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>>Create new navigation property to acceptedSenders for groups.voidcreateRefMembers(String groupId, Map<String, Object> body) Create new navigation property ref to members for groups.createRefMembersAsync(String groupId, Map<String, Object> body) Create new navigation property ref to members for groups.com.azure.core.http.rest.Response<Void>createRefMembersWithResponse(String groupId, Map<String, Object> body, com.azure.core.util.Context context) Create new navigation property ref to members for groups.createRefMembersWithResponseAsync(String groupId, Map<String, Object> body) Create new navigation property ref to members for groups.voiddeleteRefMember(String groupId, String directoryObjectId) Delete ref of member from groups.deleteRefMemberAsync(String groupId, String directoryObjectId) Delete ref of member from groups.deleteRefMemberAsync(String groupId, String directoryObjectId, String ifMatch) Delete ref of member from groups.com.azure.core.http.rest.Response<Void>deleteRefMemberWithResponse(String groupId, String directoryObjectId, String ifMatch, com.azure.core.util.Context context) Delete ref of member from groups.deleteRefMemberWithResponseAsync(String groupId, String directoryObjectId, String ifMatch) Delete ref of member from groups.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>listAcceptedSenders(String groupId) Get acceptedSenders from groups.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>listAcceptedSenders(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby, List<GroupsSelect> select, List<String> expand, com.azure.core.util.Context context) Get acceptedSenders from groups.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>listAcceptedSendersAsync(String groupId) Get acceptedSenders from groups.com.azure.core.http.rest.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.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>listMembers(String groupId) Get members from groups.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>listMembers(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby, List<GroupsSelect> select, List<String> expand, com.azure.core.util.Context context) Get members from groups.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>listMembersAsync(String groupId) Get members from groups.com.azure.core.http.rest.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.com.azure.core.http.rest.PagedIterable<String>listRefMembers(String groupId) Get ref of members from groups.com.azure.core.http.rest.PagedIterable<String>listRefMembers(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby, com.azure.core.util.Context context) Get ref of members from groups.com.azure.core.http.rest.PagedFlux<String>listRefMembersAsync(String groupId) Get ref of members from groups.com.azure.core.http.rest.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
-
listAcceptedSendersAsync
com.azure.core.http.rest.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.- 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. - 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.
-
listAcceptedSendersAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listAcceptedSendersAsync(String groupId) Get acceptedSenders from groups.- Parameters:
groupId- key: id of group.- Returns:
- acceptedSenders from groups as paginated response with
PagedFlux. - 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.
-
listAcceptedSenders
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listAcceptedSenders(String groupId) Get acceptedSenders from groups.- Parameters:
groupId- key: id of group.- Returns:
- acceptedSenders from groups as paginated response with
PagedIterable. - 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.
-
listAcceptedSenders
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listAcceptedSenders(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby, List<GroupsSelect> select, List<String> expand, com.azure.core.util.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. - 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.
-
createAcceptedSendersWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>> 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
Responseon successful completion ofMono. - 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.
-
createAcceptedSendersAsync
Mono<MicrosoftGraphDirectoryObjectInner> 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. - 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.
-
createAcceptedSenders
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.
- 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.
-
createAcceptedSendersWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> createAcceptedSendersWithResponse(String groupId, MicrosoftGraphDirectoryObjectInner body, com.azure.core.util.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. - 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.
-
listMembersAsync
com.azure.core.http.rest.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.- 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. - 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.
-
listMembersAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listMembersAsync(String groupId) Get members from groups.- Parameters:
groupId- key: id of group.- Returns:
- members from groups as paginated response with
PagedFlux. - 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.
-
listMembers
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listMembers(String groupId) Get members from groups.- Parameters:
groupId- key: id of group.- Returns:
- members from groups as paginated response with
PagedIterable. - 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.
-
listMembers
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listMembers(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby, List<GroupsSelect> select, List<String> expand, com.azure.core.util.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. - 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.
-
listRefMembersAsync
com.azure.core.http.rest.PagedFlux<String> listRefMembersAsync(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> 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. - 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.
-
listRefMembersAsync
Get ref of members from groups.- Parameters:
groupId- key: id of group.- Returns:
- ref of members from groups as paginated response with
PagedFlux. - 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.
-
listRefMembers
Get ref of members from groups.- Parameters:
groupId- key: id of group.- Returns:
- ref of members from groups as paginated response with
PagedIterable. - 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.
-
listRefMembers
com.azure.core.http.rest.PagedIterable<String> listRefMembers(String groupId, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsOrderby> orderby, com.azure.core.util.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. - 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.
-
createRefMembersWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> createRefMembersWithResponseAsync(String groupId, Map<String, Object> body) Create new navigation property ref to members for groups.- Parameters:
groupId- key: id of group.body- New navigation property ref value.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
createRefMembersAsync
Create new navigation property ref to members for groups.- Parameters:
groupId- key: id of group.body- New navigation property ref value.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
createRefMembers
Create new navigation property ref to members for groups.- Parameters:
groupId- key: id of group.body- New navigation property ref value.- 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.
-
createRefMembersWithResponse
com.azure.core.http.rest.Response<Void> createRefMembersWithResponse(String groupId, Map<String, Object> body, com.azure.core.util.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:
- 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.
-
deleteRefMemberWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> 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
Responseon successful completion ofMono. - 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.
-
deleteRefMemberAsync
Delete ref of member from groups.- Parameters:
groupId- key: id of group.directoryObjectId- key: directoryObject-id.ifMatch- ETag.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
deleteRefMemberAsync
Delete ref of member from groups.- Parameters:
groupId- key: id of group.directoryObjectId- key: directoryObject-id.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
deleteRefMember
Delete ref of member from groups.- Parameters:
groupId- key: id of group.directoryObjectId- key: directoryObject-id.- 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.
-
deleteRefMemberWithResponse
com.azure.core.http.rest.Response<Void> deleteRefMemberWithResponse(String groupId, String directoryObjectId, String ifMatch, com.azure.core.util.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:
- 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.
-