Interface GroupsClient


  • public interface GroupsClient
    An instance of this class provides access to all the operations defined in GroupsClient.
    • Method Detail

      • listAppRoleAssignmentsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphAppRoleAssignmentInner> listAppRoleAssignmentsAsync​(String groupId,
                                                                                                             Integer top,
                                                                                                             Integer skip,
                                                                                                             String search,
                                                                                                             String filter,
                                                                                                             Boolean count,
                                                                                                             List<GroupsOrderby> orderby,
                                                                                                             List<GroupsSelect> select,
                                                                                                             List<String> expand)
        Get appRoleAssignments 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:
        appRoleAssignments from groups.
        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.
      • listAppRoleAssignments

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphAppRoleAssignmentInner> listAppRoleAssignments​(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 appRoleAssignments 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:
        appRoleAssignments from groups.
        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.
      • createAppRoleAssignmentsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphAppRoleAssignmentInner> createAppRoleAssignmentsWithResponse​(String groupId,
                                                                                                                     MicrosoftGraphAppRoleAssignmentInner body,
                                                                                                                     com.azure.core.util.Context context)
        Create new navigation property to appRoleAssignments for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property.
        context - The context to associate with this operation.
        Returns:
        represents an Azure Active Directory object.
        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.
      • getAppRoleAssignmentsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphAppRoleAssignmentInner>> getAppRoleAssignmentsWithResponseAsync​(String groupId,
                                                                                                                             String appRoleAssignmentId,
                                                                                                                             List<GroupsSelect> select,
                                                                                                                             List<String> expand)
        Get appRoleAssignments from groups.
        Parameters:
        groupId - key: id of group.
        appRoleAssignmentId - key: id of appRoleAssignment.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        appRoleAssignments from groups.
        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.
      • getAppRoleAssignmentsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphAppRoleAssignmentInner> getAppRoleAssignmentsWithResponse​(String groupId,
                                                                                                                  String appRoleAssignmentId,
                                                                                                                  List<GroupsSelect> select,
                                                                                                                  List<String> expand,
                                                                                                                  com.azure.core.util.Context context)
        Get appRoleAssignments from groups.
        Parameters:
        groupId - key: id of group.
        appRoleAssignmentId - key: id of appRoleAssignment.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        appRoleAssignments from groups.
        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.
      • updateAppRoleAssignmentsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateAppRoleAssignmentsWithResponseAsync​(String groupId,
                                                                                                String appRoleAssignmentId,
                                                                                                MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignments in groups.
        Parameters:
        groupId - key: id of group.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • updateAppRoleAssignmentsAsync

        Mono<Void> updateAppRoleAssignmentsAsync​(String groupId,
                                                 String appRoleAssignmentId,
                                                 MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignments in groups.
        Parameters:
        groupId - key: id of group.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • updateAppRoleAssignments

        void updateAppRoleAssignments​(String groupId,
                                      String appRoleAssignmentId,
                                      MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignments in groups.
        Parameters:
        groupId - key: id of group.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • updateAppRoleAssignmentsWithResponse

        com.azure.core.http.rest.Response<Void> updateAppRoleAssignmentsWithResponse​(String groupId,
                                                                                     String appRoleAssignmentId,
                                                                                     MicrosoftGraphAppRoleAssignmentInner body,
                                                                                     com.azure.core.util.Context context)
        Update the navigation property appRoleAssignments in groups.
        Parameters:
        groupId - key: id of group.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • deleteAppRoleAssignmentsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteAppRoleAssignmentsWithResponseAsync​(String groupId,
                                                                                                String appRoleAssignmentId,
                                                                                                String ifMatch)
        Delete navigation property appRoleAssignments for groups.
        Parameters:
        groupId - key: id of group.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • deleteAppRoleAssignmentsAsync

        Mono<Void> deleteAppRoleAssignmentsAsync​(String groupId,
                                                 String appRoleAssignmentId,
                                                 String ifMatch)
        Delete navigation property appRoleAssignments for groups.
        Parameters:
        groupId - key: id of group.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • deleteAppRoleAssignmentsAsync

        Mono<Void> deleteAppRoleAssignmentsAsync​(String groupId,
                                                 String appRoleAssignmentId)
        Delete navigation property appRoleAssignments for groups.
        Parameters:
        groupId - key: id of group.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • deleteAppRoleAssignments

        void deleteAppRoleAssignments​(String groupId,
                                      String appRoleAssignmentId)
        Delete navigation property appRoleAssignments for groups.
        Parameters:
        groupId - key: id of group.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • deleteAppRoleAssignmentsWithResponse

        com.azure.core.http.rest.Response<Void> deleteAppRoleAssignmentsWithResponse​(String groupId,
                                                                                     String appRoleAssignmentId,
                                                                                     String ifMatch,
                                                                                     com.azure.core.util.Context context)
        Delete navigation property appRoleAssignments for groups.
        Parameters:
        groupId - key: id of group.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • 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.
        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.
        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:
        represents an Azure Active Directory object.
        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.
      • getAcceptedSendersWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>> getAcceptedSendersWithResponseAsync​(String groupId,
                                                                                                                        String directoryObjectId,
                                                                                                                        List<GroupsSelect> select,
                                                                                                                        List<String> expand)
        Get acceptedSenders from groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        acceptedSenders from groups.
        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.
      • getAcceptedSendersWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> getAcceptedSendersWithResponse​(String groupId,
                                                                                                             String directoryObjectId,
                                                                                                             List<GroupsSelect> select,
                                                                                                             List<String> expand,
                                                                                                             com.azure.core.util.Context context)
        Get acceptedSenders from groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        acceptedSenders from groups.
        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.
      • updateAcceptedSendersWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateAcceptedSendersWithResponseAsync​(String groupId,
                                                                                             String directoryObjectId,
                                                                                             MicrosoftGraphDirectoryObjectInner body)
        Update the navigation property acceptedSenders in groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • updateAcceptedSendersAsync

        Mono<Void> updateAcceptedSendersAsync​(String groupId,
                                              String directoryObjectId,
                                              MicrosoftGraphDirectoryObjectInner body)
        Update the navigation property acceptedSenders in groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • updateAcceptedSenders

        void updateAcceptedSenders​(String groupId,
                                   String directoryObjectId,
                                   MicrosoftGraphDirectoryObjectInner body)
        Update the navigation property acceptedSenders in groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • updateAcceptedSendersWithResponse

        com.azure.core.http.rest.Response<Void> updateAcceptedSendersWithResponse​(String groupId,
                                                                                  String directoryObjectId,
                                                                                  MicrosoftGraphDirectoryObjectInner body,
                                                                                  com.azure.core.util.Context context)
        Update the navigation property acceptedSenders in groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • deleteAcceptedSendersWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteAcceptedSendersWithResponseAsync​(String groupId,
                                                                                             String directoryObjectId,
                                                                                             String ifMatch)
        Delete navigation property acceptedSenders for groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • deleteAcceptedSendersAsync

        Mono<Void> deleteAcceptedSendersAsync​(String groupId,
                                              String directoryObjectId,
                                              String ifMatch)
        Delete navigation property acceptedSenders for groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • deleteAcceptedSendersAsync

        Mono<Void> deleteAcceptedSendersAsync​(String groupId,
                                              String directoryObjectId)
        Delete navigation property acceptedSenders for groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • deleteAcceptedSenders

        void deleteAcceptedSenders​(String groupId,
                                   String directoryObjectId)
        Delete navigation property acceptedSenders for groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of 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.
      • deleteAcceptedSendersWithResponse

        com.azure.core.http.rest.Response<Void> deleteAcceptedSendersWithResponse​(String groupId,
                                                                                  String directoryObjectId,
                                                                                  String ifMatch,
                                                                                  com.azure.core.util.Context context)
        Delete navigation property acceptedSenders for groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • getCreatedOnBehalfOfWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> getCreatedOnBehalfOfWithResponse​(String groupId,
                                                                                                               List<GroupsSelect> select,
                                                                                                               List<String> expand,
                                                                                                               com.azure.core.util.Context context)
        Get createdOnBehalfOf from groups.
        Parameters:
        groupId - key: id of group.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        createdOnBehalfOf from groups.
        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.
      • getRefCreatedOnBehalfOfWithResponseAsync

        Mono<com.azure.core.http.rest.Response<String>> getRefCreatedOnBehalfOfWithResponseAsync​(String groupId)
        Get ref of createdOnBehalfOf from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of createdOnBehalfOf from groups.
        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.
      • getRefCreatedOnBehalfOfAsync

        Mono<String> getRefCreatedOnBehalfOfAsync​(String groupId)
        Get ref of createdOnBehalfOf from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of createdOnBehalfOf from groups.
        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.
      • getRefCreatedOnBehalfOf

        String getRefCreatedOnBehalfOf​(String groupId)
        Get ref of createdOnBehalfOf from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of createdOnBehalfOf from groups.
        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.
      • getRefCreatedOnBehalfOfWithResponse

        com.azure.core.http.rest.Response<String> getRefCreatedOnBehalfOfWithResponse​(String groupId,
                                                                                      com.azure.core.util.Context context)
        Get ref of createdOnBehalfOf from groups.
        Parameters:
        groupId - key: id of group.
        context - The context to associate with this operation.
        Returns:
        ref of createdOnBehalfOf from groups.
        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.
      • setRefCreatedOnBehalfOfWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> setRefCreatedOnBehalfOfWithResponseAsync​(String groupId,
                                                                                               Map<String,​Object> body)
        Update the ref of navigation property createdOnBehalfOf in groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref 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.
      • setRefCreatedOnBehalfOfAsync

        Mono<Void> setRefCreatedOnBehalfOfAsync​(String groupId,
                                                Map<String,​Object> body)
        Update the ref of navigation property createdOnBehalfOf in groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref 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.
      • setRefCreatedOnBehalfOf

        void setRefCreatedOnBehalfOf​(String groupId,
                                     Map<String,​Object> body)
        Update the ref of navigation property createdOnBehalfOf in groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref 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.
      • setRefCreatedOnBehalfOfWithResponse

        com.azure.core.http.rest.Response<Void> setRefCreatedOnBehalfOfWithResponse​(String groupId,
                                                                                    Map<String,​Object> body,
                                                                                    com.azure.core.util.Context context)
        Update the ref of navigation property createdOnBehalfOf in groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref 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.
      • deleteRefCreatedOnBehalfOfWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteRefCreatedOnBehalfOfWithResponseAsync​(String groupId,
                                                                                                  String ifMatch)
        Delete ref of navigation property createdOnBehalfOf for groups.
        Parameters:
        groupId - key: id of group.
        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.
      • deleteRefCreatedOnBehalfOfAsync

        Mono<Void> deleteRefCreatedOnBehalfOfAsync​(String groupId,
                                                   String ifMatch)
        Delete ref of navigation property createdOnBehalfOf for groups.
        Parameters:
        groupId - key: id of group.
        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.
      • deleteRefCreatedOnBehalfOfAsync

        Mono<Void> deleteRefCreatedOnBehalfOfAsync​(String groupId)
        Delete ref of navigation property createdOnBehalfOf for groups.
        Parameters:
        groupId - key: id of group.
        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.
      • deleteRefCreatedOnBehalfOf

        void deleteRefCreatedOnBehalfOf​(String groupId)
        Delete ref of navigation property createdOnBehalfOf for groups.
        Parameters:
        groupId - key: id of group.
        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.
      • deleteRefCreatedOnBehalfOfWithResponse

        com.azure.core.http.rest.Response<Void> deleteRefCreatedOnBehalfOfWithResponse​(String groupId,
                                                                                       String ifMatch,
                                                                                       com.azure.core.util.Context context)
        Delete ref of navigation property createdOnBehalfOf for groups.
        Parameters:
        groupId - key: id of group.
        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.
      • listExtensionsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionInner> listExtensionsAsync​(String groupId,
                                                                                             Integer top,
                                                                                             Integer skip,
                                                                                             String search,
                                                                                             String filter,
                                                                                             Boolean count,
                                                                                             List<GroupsOrderby> orderby,
                                                                                             List<String> select,
                                                                                             List<String> expand)
        Get extensions 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:
        extensions from groups.
        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.
      • listExtensions

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionInner> listExtensions​(String groupId,
                                                                                            Integer top,
                                                                                            Integer skip,
                                                                                            String search,
                                                                                            String filter,
                                                                                            Boolean count,
                                                                                            List<GroupsOrderby> orderby,
                                                                                            List<String> select,
                                                                                            List<String> expand,
                                                                                            com.azure.core.util.Context context)
        Get extensions 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:
        extensions from groups.
        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.
      • createExtensionsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner> createExtensionsWithResponse​(String groupId,
                                                                                                     MicrosoftGraphExtensionInner body,
                                                                                                     com.azure.core.util.Context context)
        Create new navigation property to extensions for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property.
        context - The context to associate with this operation.
        Returns:
        extension.
        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.
      • getExtensionsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner>> getExtensionsWithResponseAsync​(String groupId,
                                                                                                             String extensionId,
                                                                                                             List<String> select,
                                                                                                             List<String> expand)
        Get extensions from groups.
        Parameters:
        groupId - key: id of group.
        extensionId - key: id of extension.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        extensions from groups.
        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.
      • getExtensionsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner> getExtensionsWithResponse​(String groupId,
                                                                                                  String extensionId,
                                                                                                  List<String> select,
                                                                                                  List<String> expand,
                                                                                                  com.azure.core.util.Context context)
        Get extensions from groups.
        Parameters:
        groupId - key: id of group.
        extensionId - key: id of extension.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        extensions from groups.
        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.
      • updateExtensionsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateExtensionsWithResponseAsync​(String groupId,
                                                                                        String extensionId,
                                                                                        MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in groups.
        Parameters:
        groupId - key: id of group.
        extensionId - key: id of extension.
        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.
      • updateExtensionsAsync

        Mono<Void> updateExtensionsAsync​(String groupId,
                                         String extensionId,
                                         MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in groups.
        Parameters:
        groupId - key: id of group.
        extensionId - key: id of extension.
        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.
      • updateExtensions

        void updateExtensions​(String groupId,
                              String extensionId,
                              MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in groups.
        Parameters:
        groupId - key: id of group.
        extensionId - key: id of extension.
        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.
      • updateExtensionsWithResponse

        com.azure.core.http.rest.Response<Void> updateExtensionsWithResponse​(String groupId,
                                                                             String extensionId,
                                                                             MicrosoftGraphExtensionInner body,
                                                                             com.azure.core.util.Context context)
        Update the navigation property extensions in groups.
        Parameters:
        groupId - key: id of group.
        extensionId - key: id of extension.
        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.
      • deleteExtensionsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteExtensionsWithResponseAsync​(String groupId,
                                                                                        String extensionId,
                                                                                        String ifMatch)
        Delete navigation property extensions for groups.
        Parameters:
        groupId - key: id of group.
        extensionId - key: id of extension.
        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.
      • deleteExtensionsAsync

        Mono<Void> deleteExtensionsAsync​(String groupId,
                                         String extensionId,
                                         String ifMatch)
        Delete navigation property extensions for groups.
        Parameters:
        groupId - key: id of group.
        extensionId - key: id of extension.
        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.
      • deleteExtensionsAsync

        Mono<Void> deleteExtensionsAsync​(String groupId,
                                         String extensionId)
        Delete navigation property extensions for groups.
        Parameters:
        groupId - key: id of group.
        extensionId - key: id of extension.
        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.
      • deleteExtensions

        void deleteExtensions​(String groupId,
                              String extensionId)
        Delete navigation property extensions for groups.
        Parameters:
        groupId - key: id of group.
        extensionId - key: id of extension.
        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.
      • deleteExtensionsWithResponse

        com.azure.core.http.rest.Response<Void> deleteExtensionsWithResponse​(String groupId,
                                                                             String extensionId,
                                                                             String ifMatch,
                                                                             com.azure.core.util.Context context)
        Delete navigation property extensions for groups.
        Parameters:
        groupId - key: id of group.
        extensionId - key: id of extension.
        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.
      • listMemberOfAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listMemberOfAsync​(String groupId,
                                                                                                 Integer top,
                                                                                                 Integer skip,
                                                                                                 String search,
                                                                                                 String filter,
                                                                                                 Boolean count,
                                                                                                 List<GroupsOrderby> orderby,
                                                                                                 List<GroupsSelect> select,
                                                                                                 List<String> expand)
        Get memberOf 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:
        memberOf from groups.
        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.
      • listMemberOf

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listMemberOf​(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 memberOf 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:
        memberOf from groups.
        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.
      • listRefMemberOfAsync

        com.azure.core.http.rest.PagedFlux<String> listRefMemberOfAsync​(String groupId,
                                                                        Integer top,
                                                                        Integer skip,
                                                                        String search,
                                                                        String filter,
                                                                        Boolean count,
                                                                        List<GroupsOrderby> orderby)
        Get ref of memberOf 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 memberOf from groups.
        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.
      • listRefMemberOfAsync

        com.azure.core.http.rest.PagedFlux<String> listRefMemberOfAsync​(String groupId)
        Get ref of memberOf from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of memberOf from groups.
        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.
      • listRefMemberOf

        com.azure.core.http.rest.PagedIterable<String> listRefMemberOf​(String groupId)
        Get ref of memberOf from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of memberOf from groups.
        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.
      • listRefMemberOf

        com.azure.core.http.rest.PagedIterable<String> listRefMemberOf​(String groupId,
                                                                       Integer top,
                                                                       Integer skip,
                                                                       String search,
                                                                       String filter,
                                                                       Boolean count,
                                                                       List<GroupsOrderby> orderby,
                                                                       com.azure.core.util.Context context)
        Get ref of memberOf 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 memberOf from groups.
        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.
      • createRefMemberOfWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefMemberOfWithResponseAsync​(String groupId,
                                                                                                             Map<String,​Object> body)
        Create new navigation property ref to memberOf for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefMemberOfAsync

        Mono<Map<String,​Object>> createRefMemberOfAsync​(String groupId,
                                                              Map<String,​Object> body)
        Create new navigation property ref to memberOf for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefMemberOf

        Map<String,​Object> createRefMemberOf​(String groupId,
                                                   Map<String,​Object> body)
        Create new navigation property ref to memberOf for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefMemberOfWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefMemberOfWithResponse​(String groupId,
                                                                                                  Map<String,​Object> body,
                                                                                                  com.azure.core.util.Context context)
        Create new navigation property ref to memberOf for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        context - The context to associate with this operation.
        Returns:
        dictionary of <any>.
        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.
        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.
        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.
        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)
        Get ref of members from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of members from groups.
        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)
        Get ref of members from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of members from groups.
        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.
        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 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.
      • createRefMembersAsync

        Mono<Void> createRefMembersAsync​(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 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.
      • createRefMembers

        void createRefMembers​(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.
        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 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.
      • deleteRefMemberAsync

        Mono<Void> deleteRefMemberAsync​(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 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.
      • deleteRefMemberAsync

        Mono<Void> deleteRefMemberAsync​(String groupId,
                                        String directoryObjectId)
        Delete ref of member from groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: directoryObject-id.
        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.
      • deleteRefMember

        void deleteRefMember​(String groupId,
                             String directoryObjectId)
        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.
      • listMembersWithLicenseErrorsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listMembersWithLicenseErrorsAsync​(String groupId,
                                                                                                                 Integer top,
                                                                                                                 Integer skip,
                                                                                                                 String search,
                                                                                                                 String filter,
                                                                                                                 Boolean count,
                                                                                                                 List<GroupsOrderby> orderby,
                                                                                                                 List<GroupsSelect> select,
                                                                                                                 List<String> expand)
        Get membersWithLicenseErrors 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:
        membersWithLicenseErrors from groups.
        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.
      • listMembersWithLicenseErrorsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listMembersWithLicenseErrorsAsync​(String groupId)
        Get membersWithLicenseErrors from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        membersWithLicenseErrors from groups.
        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.
      • listMembersWithLicenseErrors

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listMembersWithLicenseErrors​(String groupId)
        Get membersWithLicenseErrors from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        membersWithLicenseErrors from groups.
        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.
      • listMembersWithLicenseErrors

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listMembersWithLicenseErrors​(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 membersWithLicenseErrors 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:
        membersWithLicenseErrors from groups.
        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.
      • listRefMembersWithLicenseErrorsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefMembersWithLicenseErrorsAsync​(String groupId,
                                                                                        Integer top,
                                                                                        Integer skip,
                                                                                        String search,
                                                                                        String filter,
                                                                                        Boolean count,
                                                                                        List<GroupsOrderby> orderby)
        Get ref of membersWithLicenseErrors 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 membersWithLicenseErrors from groups.
        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.
      • listRefMembersWithLicenseErrorsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefMembersWithLicenseErrorsAsync​(String groupId)
        Get ref of membersWithLicenseErrors from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of membersWithLicenseErrors from groups.
        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.
      • listRefMembersWithLicenseErrors

        com.azure.core.http.rest.PagedIterable<String> listRefMembersWithLicenseErrors​(String groupId)
        Get ref of membersWithLicenseErrors from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of membersWithLicenseErrors from groups.
        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.
      • listRefMembersWithLicenseErrors

        com.azure.core.http.rest.PagedIterable<String> listRefMembersWithLicenseErrors​(String groupId,
                                                                                       Integer top,
                                                                                       Integer skip,
                                                                                       String search,
                                                                                       String filter,
                                                                                       Boolean count,
                                                                                       List<GroupsOrderby> orderby,
                                                                                       com.azure.core.util.Context context)
        Get ref of membersWithLicenseErrors 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 membersWithLicenseErrors from groups.
        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.
      • createRefMembersWithLicenseErrorsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefMembersWithLicenseErrorsWithResponseAsync​(String groupId,
                                                                                                                             Map<String,​Object> body)
        Create new navigation property ref to membersWithLicenseErrors for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefMembersWithLicenseErrorsAsync

        Mono<Map<String,​Object>> createRefMembersWithLicenseErrorsAsync​(String groupId,
                                                                              Map<String,​Object> body)
        Create new navigation property ref to membersWithLicenseErrors for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefMembersWithLicenseErrors

        Map<String,​Object> createRefMembersWithLicenseErrors​(String groupId,
                                                                   Map<String,​Object> body)
        Create new navigation property ref to membersWithLicenseErrors for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefMembersWithLicenseErrorsWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefMembersWithLicenseErrorsWithResponse​(String groupId,
                                                                                                                  Map<String,​Object> body,
                                                                                                                  com.azure.core.util.Context context)
        Create new navigation property ref to membersWithLicenseErrors for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        context - The context to associate with this operation.
        Returns:
        dictionary of <any>.
        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.
      • addFavoriteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> addFavoriteWithResponseAsync​(String groupId)
        Invoke action addFavorite.
        Parameters:
        groupId - key: id of group.
        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.
      • addFavoriteAsync

        Mono<Void> addFavoriteAsync​(String groupId)
        Invoke action addFavorite.
        Parameters:
        groupId - key: id of group.
        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.
      • addFavorite

        void addFavorite​(String groupId)
        Invoke action addFavorite.
        Parameters:
        groupId - key: id of group.
        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.
      • addFavoriteWithResponse

        com.azure.core.http.rest.Response<Void> addFavoriteWithResponse​(String groupId,
                                                                        com.azure.core.util.Context context)
        Invoke action addFavorite.
        Parameters:
        groupId - key: id of group.
        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.
      • assignLicenseWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphGroupInner> assignLicenseWithResponse​(String groupId,
                                                                                              GroupsAssignLicenseRequestBody body,
                                                                                              com.azure.core.util.Context context)
        Invoke action assignLicense.
        Parameters:
        groupId - key: id of group.
        body - Action parameters.
        context - The context to associate with this operation.
        Returns:
        represents an Azure Active Directory object.
        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.
      • checkGrantedPermissionsForAppWithResponse

        com.azure.core.http.rest.Response<List<MicrosoftGraphResourceSpecificPermissionGrantInner>> checkGrantedPermissionsForAppWithResponse​(String groupId,
                                                                                                                                              com.azure.core.util.Context context)
        Invoke action checkGrantedPermissionsForApp.
        Parameters:
        groupId - key: id of group.
        context - The context to associate with this operation.
        Returns:
        array of microsoft.
        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.
      • checkMemberGroupsWithResponse

        com.azure.core.http.rest.Response<List<String>> checkMemberGroupsWithResponse​(String groupId,
                                                                                      GroupsCheckMemberGroupsRequestBody body,
                                                                                      com.azure.core.util.Context context)
        Invoke action checkMemberGroups.
        Parameters:
        groupId - key: id of group.
        body - Action parameters.
        context - The context to associate with this operation.
        Returns:
        array of Post200ApplicationJsonItemsItem.
        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.
      • checkMemberObjectsWithResponse

        com.azure.core.http.rest.Response<List<String>> checkMemberObjectsWithResponse​(String groupId,
                                                                                       GroupsCheckMemberObjectsRequestBody body,
                                                                                       com.azure.core.util.Context context)
        Invoke action checkMemberObjects.
        Parameters:
        groupId - key: id of group.
        body - Action parameters.
        context - The context to associate with this operation.
        Returns:
        array of String.
        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.
      • getMemberGroupsWithResponse

        com.azure.core.http.rest.Response<List<String>> getMemberGroupsWithResponse​(String groupId,
                                                                                    GroupsGetMemberGroupsRequestBody body,
                                                                                    com.azure.core.util.Context context)
        Invoke action getMemberGroups.
        Parameters:
        groupId - key: id of group.
        body - Action parameters.
        context - The context to associate with this operation.
        Returns:
        array of String.
        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.
      • getMemberObjectsWithResponse

        com.azure.core.http.rest.Response<List<String>> getMemberObjectsWithResponse​(String groupId,
                                                                                     GroupsGetMemberObjectsRequestBody body,
                                                                                     com.azure.core.util.Context context)
        Invoke action getMemberObjects.
        Parameters:
        groupId - key: id of group.
        body - Action parameters.
        context - The context to associate with this operation.
        Returns:
        array of String.
        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.
      • removeFavoriteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> removeFavoriteWithResponseAsync​(String groupId)
        Invoke action removeFavorite.
        Parameters:
        groupId - key: id of group.
        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.
      • removeFavoriteAsync

        Mono<Void> removeFavoriteAsync​(String groupId)
        Invoke action removeFavorite.
        Parameters:
        groupId - key: id of group.
        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.
      • removeFavorite

        void removeFavorite​(String groupId)
        Invoke action removeFavorite.
        Parameters:
        groupId - key: id of group.
        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.
      • removeFavoriteWithResponse

        com.azure.core.http.rest.Response<Void> removeFavoriteWithResponse​(String groupId,
                                                                           com.azure.core.util.Context context)
        Invoke action removeFavorite.
        Parameters:
        groupId - key: id of group.
        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.
      • renewWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> renewWithResponseAsync​(String groupId)
        Invoke action renew.
        Parameters:
        groupId - key: id of group.
        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.
      • renewWithResponse

        com.azure.core.http.rest.Response<Void> renewWithResponse​(String groupId,
                                                                  com.azure.core.util.Context context)
        Invoke action renew.
        Parameters:
        groupId - key: id of group.
        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.
      • resetUnseenCountWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> resetUnseenCountWithResponseAsync​(String groupId)
        Invoke action resetUnseenCount.
        Parameters:
        groupId - key: id of group.
        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.
      • resetUnseenCountAsync

        Mono<Void> resetUnseenCountAsync​(String groupId)
        Invoke action resetUnseenCount.
        Parameters:
        groupId - key: id of group.
        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.
      • resetUnseenCount

        void resetUnseenCount​(String groupId)
        Invoke action resetUnseenCount.
        Parameters:
        groupId - key: id of group.
        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.
      • resetUnseenCountWithResponse

        com.azure.core.http.rest.Response<Void> resetUnseenCountWithResponse​(String groupId,
                                                                             com.azure.core.util.Context context)
        Invoke action resetUnseenCount.
        Parameters:
        groupId - key: id of group.
        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.
      • restoreWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> restoreWithResponse​(String groupId,
                                                                                                  com.azure.core.util.Context context)
        Invoke action restore.
        Parameters:
        groupId - key: id of group.
        context - The context to associate with this operation.
        Returns:
        represents an Azure Active Directory object.
        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.
      • subscribeByMailWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> subscribeByMailWithResponseAsync​(String groupId)
        Invoke action subscribeByMail.
        Parameters:
        groupId - key: id of group.
        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.
      • subscribeByMailAsync

        Mono<Void> subscribeByMailAsync​(String groupId)
        Invoke action subscribeByMail.
        Parameters:
        groupId - key: id of group.
        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.
      • subscribeByMail

        void subscribeByMail​(String groupId)
        Invoke action subscribeByMail.
        Parameters:
        groupId - key: id of group.
        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.
      • subscribeByMailWithResponse

        com.azure.core.http.rest.Response<Void> subscribeByMailWithResponse​(String groupId,
                                                                            com.azure.core.util.Context context)
        Invoke action subscribeByMail.
        Parameters:
        groupId - key: id of group.
        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.
      • unsubscribeByMailWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> unsubscribeByMailWithResponseAsync​(String groupId)
        Invoke action unsubscribeByMail.
        Parameters:
        groupId - key: id of group.
        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.
      • unsubscribeByMailAsync

        Mono<Void> unsubscribeByMailAsync​(String groupId)
        Invoke action unsubscribeByMail.
        Parameters:
        groupId - key: id of group.
        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.
      • unsubscribeByMail

        void unsubscribeByMail​(String groupId)
        Invoke action unsubscribeByMail.
        Parameters:
        groupId - key: id of group.
        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.
      • unsubscribeByMailWithResponse

        com.azure.core.http.rest.Response<Void> unsubscribeByMailWithResponse​(String groupId,
                                                                              com.azure.core.util.Context context)
        Invoke action unsubscribeByMail.
        Parameters:
        groupId - key: id of group.
        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.
      • validatePropertiesWithResponse

        com.azure.core.http.rest.Response<Void> validatePropertiesWithResponse​(String groupId,
                                                                               GroupsValidatePropertiesRequestBody body,
                                                                               com.azure.core.util.Context context)
        Invoke action validateProperties.
        Parameters:
        groupId - key: id of group.
        body - Action parameters.
        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.
      • listOwnersAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listOwnersAsync​(String groupId,
                                                                                               Integer top,
                                                                                               Integer skip,
                                                                                               String search,
                                                                                               String filter,
                                                                                               Boolean count,
                                                                                               List<GroupsOrderby> orderby,
                                                                                               List<GroupsSelect> select,
                                                                                               List<String> expand)
        Get owners 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:
        owners from groups.
        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.
      • listOwners

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listOwners​(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 owners 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:
        owners from groups.
        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.
      • listRefOwnersAsync

        com.azure.core.http.rest.PagedFlux<String> listRefOwnersAsync​(String groupId,
                                                                      Integer top,
                                                                      Integer skip,
                                                                      String search,
                                                                      String filter,
                                                                      Boolean count,
                                                                      List<GroupsOrderby> orderby)
        Get ref of owners 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 owners from groups.
        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.
      • listRefOwnersAsync

        com.azure.core.http.rest.PagedFlux<String> listRefOwnersAsync​(String groupId)
        Get ref of owners from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of owners from groups.
        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.
      • listRefOwners

        com.azure.core.http.rest.PagedIterable<String> listRefOwners​(String groupId)
        Get ref of owners from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of owners from groups.
        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.
      • listRefOwners

        com.azure.core.http.rest.PagedIterable<String> listRefOwners​(String groupId,
                                                                     Integer top,
                                                                     Integer skip,
                                                                     String search,
                                                                     String filter,
                                                                     Boolean count,
                                                                     List<GroupsOrderby> orderby,
                                                                     com.azure.core.util.Context context)
        Get ref of owners 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 owners from groups.
        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.
      • createRefOwnersWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefOwnersWithResponseAsync​(String groupId,
                                                                                                           Map<String,​Object> body)
        Create new navigation property ref to owners for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefOwnersAsync

        Mono<Map<String,​Object>> createRefOwnersAsync​(String groupId,
                                                            Map<String,​Object> body)
        Create new navigation property ref to owners for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefOwners

        Map<String,​Object> createRefOwners​(String groupId,
                                                 Map<String,​Object> body)
        Create new navigation property ref to owners for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefOwnersWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefOwnersWithResponse​(String groupId,
                                                                                                Map<String,​Object> body,
                                                                                                com.azure.core.util.Context context)
        Create new navigation property ref to owners for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        context - The context to associate with this operation.
        Returns:
        dictionary of <any>.
        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.
      • listPermissionGrants

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphResourceSpecificPermissionGrantInner> listPermissionGrants​(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 permissionGrants 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:
        permissionGrants from groups.
        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.
      • getPermissionGrantsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphResourceSpecificPermissionGrantInner>> getPermissionGrantsWithResponseAsync​(String groupId,
                                                                                                                                         String resourceSpecificPermissionGrantId,
                                                                                                                                         List<GroupsSelect> select,
                                                                                                                                         List<String> expand)
        Get permissionGrants from groups.
        Parameters:
        groupId - key: id of group.
        resourceSpecificPermissionGrantId - key: id of resourceSpecificPermissionGrant.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        permissionGrants from groups.
        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.
      • getPermissionGrantsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphResourceSpecificPermissionGrantInner> getPermissionGrantsWithResponse​(String groupId,
                                                                                                                              String resourceSpecificPermissionGrantId,
                                                                                                                              List<GroupsSelect> select,
                                                                                                                              List<String> expand,
                                                                                                                              com.azure.core.util.Context context)
        Get permissionGrants from groups.
        Parameters:
        groupId - key: id of group.
        resourceSpecificPermissionGrantId - key: id of resourceSpecificPermissionGrant.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        permissionGrants from groups.
        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.
      • updatePermissionGrantsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updatePermissionGrantsWithResponseAsync​(String groupId,
                                                                                              String resourceSpecificPermissionGrantId,
                                                                                              MicrosoftGraphResourceSpecificPermissionGrantInner body)
        Update the navigation property permissionGrants in groups.
        Parameters:
        groupId - key: id of group.
        resourceSpecificPermissionGrantId - key: id of resourceSpecificPermissionGrant.
        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.
      • updatePermissionGrantsAsync

        Mono<Void> updatePermissionGrantsAsync​(String groupId,
                                               String resourceSpecificPermissionGrantId,
                                               MicrosoftGraphResourceSpecificPermissionGrantInner body)
        Update the navigation property permissionGrants in groups.
        Parameters:
        groupId - key: id of group.
        resourceSpecificPermissionGrantId - key: id of resourceSpecificPermissionGrant.
        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.
      • updatePermissionGrants

        void updatePermissionGrants​(String groupId,
                                    String resourceSpecificPermissionGrantId,
                                    MicrosoftGraphResourceSpecificPermissionGrantInner body)
        Update the navigation property permissionGrants in groups.
        Parameters:
        groupId - key: id of group.
        resourceSpecificPermissionGrantId - key: id of resourceSpecificPermissionGrant.
        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.
      • updatePermissionGrantsWithResponse

        com.azure.core.http.rest.Response<Void> updatePermissionGrantsWithResponse​(String groupId,
                                                                                   String resourceSpecificPermissionGrantId,
                                                                                   MicrosoftGraphResourceSpecificPermissionGrantInner body,
                                                                                   com.azure.core.util.Context context)
        Update the navigation property permissionGrants in groups.
        Parameters:
        groupId - key: id of group.
        resourceSpecificPermissionGrantId - key: id of resourceSpecificPermissionGrant.
        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.
      • deletePermissionGrantsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deletePermissionGrantsWithResponseAsync​(String groupId,
                                                                                              String resourceSpecificPermissionGrantId,
                                                                                              String ifMatch)
        Delete navigation property permissionGrants for groups.
        Parameters:
        groupId - key: id of group.
        resourceSpecificPermissionGrantId - key: id of resourceSpecificPermissionGrant.
        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.
      • deletePermissionGrantsAsync

        Mono<Void> deletePermissionGrantsAsync​(String groupId,
                                               String resourceSpecificPermissionGrantId,
                                               String ifMatch)
        Delete navigation property permissionGrants for groups.
        Parameters:
        groupId - key: id of group.
        resourceSpecificPermissionGrantId - key: id of resourceSpecificPermissionGrant.
        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.
      • deletePermissionGrantsAsync

        Mono<Void> deletePermissionGrantsAsync​(String groupId,
                                               String resourceSpecificPermissionGrantId)
        Delete navigation property permissionGrants for groups.
        Parameters:
        groupId - key: id of group.
        resourceSpecificPermissionGrantId - key: id of resourceSpecificPermissionGrant.
        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.
      • deletePermissionGrants

        void deletePermissionGrants​(String groupId,
                                    String resourceSpecificPermissionGrantId)
        Delete navigation property permissionGrants for groups.
        Parameters:
        groupId - key: id of group.
        resourceSpecificPermissionGrantId - key: id of resourceSpecificPermissionGrant.
        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.
      • deletePermissionGrantsWithResponse

        com.azure.core.http.rest.Response<Void> deletePermissionGrantsWithResponse​(String groupId,
                                                                                   String resourceSpecificPermissionGrantId,
                                                                                   String ifMatch,
                                                                                   com.azure.core.util.Context context)
        Delete navigation property permissionGrants for groups.
        Parameters:
        groupId - key: id of group.
        resourceSpecificPermissionGrantId - key: id of resourceSpecificPermissionGrant.
        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.
      • getPhotoWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphProfilePhotoInner> getPhotoWithResponse​(String groupId,
                                                                                                List<GroupsSelect> select,
                                                                                                List<String> expand,
                                                                                                com.azure.core.util.Context context)
        Get photo from groups.
        Parameters:
        groupId - key: id of group.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        photo from groups.
        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.
      • updatePhotoWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updatePhotoWithResponseAsync​(String groupId,
                                                                                   MicrosoftGraphProfilePhotoInner body)
        Update the navigation property photo in groups.
        Parameters:
        groupId - key: id of group.
        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.
      • updatePhotoWithResponse

        com.azure.core.http.rest.Response<Void> updatePhotoWithResponse​(String groupId,
                                                                        MicrosoftGraphProfilePhotoInner body,
                                                                        com.azure.core.util.Context context)
        Update the navigation property photo in groups.
        Parameters:
        groupId - key: id of group.
        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.
      • deletePhotoWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deletePhotoWithResponseAsync​(String groupId,
                                                                                   String ifMatch)
        Delete navigation property photo for groups.
        Parameters:
        groupId - key: id of group.
        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.
      • deletePhotoAsync

        Mono<Void> deletePhotoAsync​(String groupId,
                                    String ifMatch)
        Delete navigation property photo for groups.
        Parameters:
        groupId - key: id of group.
        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.
      • deletePhotoAsync

        Mono<Void> deletePhotoAsync​(String groupId)
        Delete navigation property photo for groups.
        Parameters:
        groupId - key: id of group.
        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.
      • deletePhoto

        void deletePhoto​(String groupId)
        Delete navigation property photo for groups.
        Parameters:
        groupId - key: id of group.
        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.
      • deletePhotoWithResponse

        com.azure.core.http.rest.Response<Void> deletePhotoWithResponse​(String groupId,
                                                                        String ifMatch,
                                                                        com.azure.core.util.Context context)
        Delete navigation property photo for groups.
        Parameters:
        groupId - key: id of group.
        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.
      • getPhotoContentWithResponseAsync

        Mono<com.azure.core.http.rest.StreamResponse> getPhotoContentWithResponseAsync​(String groupId)
        Get media content for the navigation property photo from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        media content for the navigation property photo from groups.
        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.
      • getPhotoContentAsync

        Flux<ByteBuffer> getPhotoContentAsync​(String groupId)
        Get media content for the navigation property photo from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        media content for the navigation property photo from groups.
        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.
      • getPhotoContent

        InputStream getPhotoContent​(String groupId)
        Get media content for the navigation property photo from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        media content for the navigation property photo from groups.
        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.
      • getPhotoContentWithResponse

        com.azure.core.http.rest.StreamResponse getPhotoContentWithResponse​(String groupId,
                                                                            com.azure.core.util.Context context)
        Get media content for the navigation property photo from groups.
        Parameters:
        groupId - key: id of group.
        context - The context to associate with this operation.
        Returns:
        media content for the navigation property photo from groups.
        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.
      • setPhotoContentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> setPhotoContentWithResponseAsync​(String groupId,
                                                                                       Flux<ByteBuffer> data,
                                                                                       long contentLength)
        Update media content for the navigation property photo in groups.
        Parameters:
        groupId - key: id of group.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotoContentAsync

        Mono<Void> setPhotoContentAsync​(String groupId,
                                        Flux<ByteBuffer> data,
                                        long contentLength)
        Update media content for the navigation property photo in groups.
        Parameters:
        groupId - key: id of group.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotoContent

        void setPhotoContent​(String groupId,
                             Flux<ByteBuffer> data,
                             long contentLength)
        Update media content for the navigation property photo in groups.
        Parameters:
        groupId - key: id of group.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotoContentWithResponse

        com.azure.core.http.rest.Response<Void> setPhotoContentWithResponse​(String groupId,
                                                                            Flux<ByteBuffer> data,
                                                                            long contentLength,
                                                                            com.azure.core.util.Context context)
        Update media content for the navigation property photo in groups.
        Parameters:
        groupId - key: id of group.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • listPhotosAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphProfilePhotoInner> listPhotosAsync​(String groupId,
                                                                                            Integer top,
                                                                                            Integer skip,
                                                                                            String search,
                                                                                            String filter,
                                                                                            Boolean count,
                                                                                            List<GroupsOrderby> orderby,
                                                                                            List<GroupsSelect> select,
                                                                                            List<String> expand)
        Get photos 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:
        photos from groups.
        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.
      • listPhotos

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphProfilePhotoInner> listPhotos​(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 photos 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:
        photos from groups.
        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.
      • createPhotosWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphProfilePhotoInner> createPhotosWithResponse​(String groupId,
                                                                                                    MicrosoftGraphProfilePhotoInner body,
                                                                                                    com.azure.core.util.Context context)
        Create new navigation property to photos for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property.
        context - The context to associate with this operation.
        Returns:
        profilePhoto.
        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.
      • getPhotosWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphProfilePhotoInner> getPhotosWithResponse​(String groupId,
                                                                                                 String profilePhotoId,
                                                                                                 List<GroupsSelect> select,
                                                                                                 List<String> expand,
                                                                                                 com.azure.core.util.Context context)
        Get photos from groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        photos from groups.
        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.
      • updatePhotosWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updatePhotosWithResponseAsync​(String groupId,
                                                                                    String profilePhotoId,
                                                                                    MicrosoftGraphProfilePhotoInner body)
        Update the navigation property photos in groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        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.
      • updatePhotosWithResponse

        com.azure.core.http.rest.Response<Void> updatePhotosWithResponse​(String groupId,
                                                                         String profilePhotoId,
                                                                         MicrosoftGraphProfilePhotoInner body,
                                                                         com.azure.core.util.Context context)
        Update the navigation property photos in groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        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.
      • deletePhotosWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deletePhotosWithResponseAsync​(String groupId,
                                                                                    String profilePhotoId,
                                                                                    String ifMatch)
        Delete navigation property photos for groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        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.
      • deletePhotosAsync

        Mono<Void> deletePhotosAsync​(String groupId,
                                     String profilePhotoId,
                                     String ifMatch)
        Delete navigation property photos for groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        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.
      • deletePhotosAsync

        Mono<Void> deletePhotosAsync​(String groupId,
                                     String profilePhotoId)
        Delete navigation property photos for groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        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.
      • deletePhotos

        void deletePhotos​(String groupId,
                          String profilePhotoId)
        Delete navigation property photos for groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        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.
      • deletePhotosWithResponse

        com.azure.core.http.rest.Response<Void> deletePhotosWithResponse​(String groupId,
                                                                         String profilePhotoId,
                                                                         String ifMatch,
                                                                         com.azure.core.util.Context context)
        Delete navigation property photos for groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        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.
      • getPhotosContentWithResponseAsync

        Mono<com.azure.core.http.rest.StreamResponse> getPhotosContentWithResponseAsync​(String groupId,
                                                                                        String profilePhotoId)
        Get media content for the navigation property photos from groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        Returns:
        media content for the navigation property photos from groups.
        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.
      • getPhotosContentAsync

        Flux<ByteBuffer> getPhotosContentAsync​(String groupId,
                                               String profilePhotoId)
        Get media content for the navigation property photos from groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        Returns:
        media content for the navigation property photos from groups.
        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.
      • getPhotosContent

        InputStream getPhotosContent​(String groupId,
                                     String profilePhotoId)
        Get media content for the navigation property photos from groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        Returns:
        media content for the navigation property photos from groups.
        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.
      • getPhotosContentWithResponse

        com.azure.core.http.rest.StreamResponse getPhotosContentWithResponse​(String groupId,
                                                                             String profilePhotoId,
                                                                             com.azure.core.util.Context context)
        Get media content for the navigation property photos from groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        context - The context to associate with this operation.
        Returns:
        media content for the navigation property photos from groups.
        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.
      • setPhotosContentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> setPhotosContentWithResponseAsync​(String groupId,
                                                                                        String profilePhotoId,
                                                                                        Flux<ByteBuffer> data,
                                                                                        long contentLength)
        Update media content for the navigation property photos in groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotosContentAsync

        Mono<Void> setPhotosContentAsync​(String groupId,
                                         String profilePhotoId,
                                         Flux<ByteBuffer> data,
                                         long contentLength)
        Update media content for the navigation property photos in groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotosContent

        void setPhotosContent​(String groupId,
                              String profilePhotoId,
                              Flux<ByteBuffer> data,
                              long contentLength)
        Update media content for the navigation property photos in groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotosContentWithResponse

        com.azure.core.http.rest.Response<Void> setPhotosContentWithResponse​(String groupId,
                                                                             String profilePhotoId,
                                                                             Flux<ByteBuffer> data,
                                                                             long contentLength,
                                                                             com.azure.core.util.Context context)
        Update media content for the navigation property photos in groups.
        Parameters:
        groupId - key: id of group.
        profilePhotoId - key: id of profilePhoto.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • listRejectedSendersAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listRejectedSendersAsync​(String groupId,
                                                                                                        Integer top,
                                                                                                        Integer skip,
                                                                                                        String search,
                                                                                                        String filter,
                                                                                                        Boolean count,
                                                                                                        List<GroupsOrderby> orderby,
                                                                                                        List<GroupsSelect> select,
                                                                                                        List<String> expand)
        Get rejectedSenders 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:
        rejectedSenders from groups.
        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.
      • listRejectedSenders

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listRejectedSenders​(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 rejectedSenders 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:
        rejectedSenders from groups.
        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.
      • createRejectedSendersWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> createRejectedSendersWithResponse​(String groupId,
                                                                                                                MicrosoftGraphDirectoryObjectInner body,
                                                                                                                com.azure.core.util.Context context)
        Create new navigation property to rejectedSenders for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property.
        context - The context to associate with this operation.
        Returns:
        represents an Azure Active Directory object.
        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.
      • getRejectedSendersWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>> getRejectedSendersWithResponseAsync​(String groupId,
                                                                                                                        String directoryObjectId,
                                                                                                                        List<GroupsSelect> select,
                                                                                                                        List<String> expand)
        Get rejectedSenders from groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        rejectedSenders from groups.
        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.
      • getRejectedSendersWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> getRejectedSendersWithResponse​(String groupId,
                                                                                                             String directoryObjectId,
                                                                                                             List<GroupsSelect> select,
                                                                                                             List<String> expand,
                                                                                                             com.azure.core.util.Context context)
        Get rejectedSenders from groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        rejectedSenders from groups.
        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.
      • updateRejectedSendersWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateRejectedSendersWithResponseAsync​(String groupId,
                                                                                             String directoryObjectId,
                                                                                             MicrosoftGraphDirectoryObjectInner body)
        Update the navigation property rejectedSenders in groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • updateRejectedSendersAsync

        Mono<Void> updateRejectedSendersAsync​(String groupId,
                                              String directoryObjectId,
                                              MicrosoftGraphDirectoryObjectInner body)
        Update the navigation property rejectedSenders in groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • updateRejectedSenders

        void updateRejectedSenders​(String groupId,
                                   String directoryObjectId,
                                   MicrosoftGraphDirectoryObjectInner body)
        Update the navigation property rejectedSenders in groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • updateRejectedSendersWithResponse

        com.azure.core.http.rest.Response<Void> updateRejectedSendersWithResponse​(String groupId,
                                                                                  String directoryObjectId,
                                                                                  MicrosoftGraphDirectoryObjectInner body,
                                                                                  com.azure.core.util.Context context)
        Update the navigation property rejectedSenders in groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • deleteRejectedSendersWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteRejectedSendersWithResponseAsync​(String groupId,
                                                                                             String directoryObjectId,
                                                                                             String ifMatch)
        Delete navigation property rejectedSenders for groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • deleteRejectedSendersAsync

        Mono<Void> deleteRejectedSendersAsync​(String groupId,
                                              String directoryObjectId,
                                              String ifMatch)
        Delete navigation property rejectedSenders for groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • deleteRejectedSendersAsync

        Mono<Void> deleteRejectedSendersAsync​(String groupId,
                                              String directoryObjectId)
        Delete navigation property rejectedSenders for groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • deleteRejectedSenders

        void deleteRejectedSenders​(String groupId,
                                   String directoryObjectId)
        Delete navigation property rejectedSenders for groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of 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.
      • deleteRejectedSendersWithResponse

        com.azure.core.http.rest.Response<Void> deleteRejectedSendersWithResponse​(String groupId,
                                                                                  String directoryObjectId,
                                                                                  String ifMatch,
                                                                                  com.azure.core.util.Context context)
        Delete navigation property rejectedSenders for groups.
        Parameters:
        groupId - key: id of group.
        directoryObjectId - key: id of directoryObject.
        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.
      • listTransitiveMemberOfAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listTransitiveMemberOfAsync​(String groupId,
                                                                                                           Integer top,
                                                                                                           Integer skip,
                                                                                                           String search,
                                                                                                           String filter,
                                                                                                           Boolean count,
                                                                                                           List<GroupsOrderby> orderby,
                                                                                                           List<GroupsSelect> select,
                                                                                                           List<String> expand)
        Get transitiveMemberOf 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:
        transitiveMemberOf from groups.
        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.
      • listTransitiveMemberOf

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listTransitiveMemberOf​(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 transitiveMemberOf 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:
        transitiveMemberOf from groups.
        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.
      • listRefTransitiveMemberOfAsync

        com.azure.core.http.rest.PagedFlux<String> listRefTransitiveMemberOfAsync​(String groupId,
                                                                                  Integer top,
                                                                                  Integer skip,
                                                                                  String search,
                                                                                  String filter,
                                                                                  Boolean count,
                                                                                  List<GroupsOrderby> orderby)
        Get ref of transitiveMemberOf 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 transitiveMemberOf from groups.
        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.
      • listRefTransitiveMemberOfAsync

        com.azure.core.http.rest.PagedFlux<String> listRefTransitiveMemberOfAsync​(String groupId)
        Get ref of transitiveMemberOf from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of transitiveMemberOf from groups.
        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.
      • listRefTransitiveMemberOf

        com.azure.core.http.rest.PagedIterable<String> listRefTransitiveMemberOf​(String groupId)
        Get ref of transitiveMemberOf from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of transitiveMemberOf from groups.
        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.
      • listRefTransitiveMemberOf

        com.azure.core.http.rest.PagedIterable<String> listRefTransitiveMemberOf​(String groupId,
                                                                                 Integer top,
                                                                                 Integer skip,
                                                                                 String search,
                                                                                 String filter,
                                                                                 Boolean count,
                                                                                 List<GroupsOrderby> orderby,
                                                                                 com.azure.core.util.Context context)
        Get ref of transitiveMemberOf 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 transitiveMemberOf from groups.
        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.
      • createRefTransitiveMemberOfWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefTransitiveMemberOfWithResponseAsync​(String groupId,
                                                                                                                       Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefTransitiveMemberOfAsync

        Mono<Map<String,​Object>> createRefTransitiveMemberOfAsync​(String groupId,
                                                                        Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefTransitiveMemberOf

        Map<String,​Object> createRefTransitiveMemberOf​(String groupId,
                                                             Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefTransitiveMemberOfWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefTransitiveMemberOfWithResponse​(String groupId,
                                                                                                            Map<String,​Object> body,
                                                                                                            com.azure.core.util.Context context)
        Create new navigation property ref to transitiveMemberOf for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        context - The context to associate with this operation.
        Returns:
        dictionary of <any>.
        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.
      • listTransitiveMembersAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listTransitiveMembersAsync​(String groupId,
                                                                                                          Integer top,
                                                                                                          Integer skip,
                                                                                                          String search,
                                                                                                          String filter,
                                                                                                          Boolean count,
                                                                                                          List<GroupsOrderby> orderby,
                                                                                                          List<GroupsSelect> select,
                                                                                                          List<String> expand)
        Get transitiveMembers 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:
        transitiveMembers from groups.
        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.
      • listTransitiveMembers

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listTransitiveMembers​(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 transitiveMembers 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:
        transitiveMembers from groups.
        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.
      • listRefTransitiveMembersAsync

        com.azure.core.http.rest.PagedFlux<String> listRefTransitiveMembersAsync​(String groupId,
                                                                                 Integer top,
                                                                                 Integer skip,
                                                                                 String search,
                                                                                 String filter,
                                                                                 Boolean count,
                                                                                 List<GroupsOrderby> orderby)
        Get ref of transitiveMembers 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 transitiveMembers from groups.
        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.
      • listRefTransitiveMembersAsync

        com.azure.core.http.rest.PagedFlux<String> listRefTransitiveMembersAsync​(String groupId)
        Get ref of transitiveMembers from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of transitiveMembers from groups.
        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.
      • listRefTransitiveMembers

        com.azure.core.http.rest.PagedIterable<String> listRefTransitiveMembers​(String groupId)
        Get ref of transitiveMembers from groups.
        Parameters:
        groupId - key: id of group.
        Returns:
        ref of transitiveMembers from groups.
        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.
      • listRefTransitiveMembers

        com.azure.core.http.rest.PagedIterable<String> listRefTransitiveMembers​(String groupId,
                                                                                Integer top,
                                                                                Integer skip,
                                                                                String search,
                                                                                String filter,
                                                                                Boolean count,
                                                                                List<GroupsOrderby> orderby,
                                                                                com.azure.core.util.Context context)
        Get ref of transitiveMembers 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 transitiveMembers from groups.
        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.
      • createRefTransitiveMembersWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefTransitiveMembersWithResponseAsync​(String groupId,
                                                                                                                      Map<String,​Object> body)
        Create new navigation property ref to transitiveMembers for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefTransitiveMembersAsync

        Mono<Map<String,​Object>> createRefTransitiveMembersAsync​(String groupId,
                                                                       Map<String,​Object> body)
        Create new navigation property ref to transitiveMembers for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefTransitiveMembers

        Map<String,​Object> createRefTransitiveMembers​(String groupId,
                                                            Map<String,​Object> body)
        Create new navigation property ref to transitiveMembers for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        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.
      • createRefTransitiveMembersWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefTransitiveMembersWithResponse​(String groupId,
                                                                                                           Map<String,​Object> body,
                                                                                                           com.azure.core.util.Context context)
        Create new navigation property ref to transitiveMembers for groups.
        Parameters:
        groupId - key: id of group.
        body - New navigation property ref value.
        context - The context to associate with this operation.
        Returns:
        dictionary of <any>.
        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.
      • deltaWithResponse

        com.azure.core.http.rest.Response<List<MicrosoftGraphGroupInner>> deltaWithResponse​(com.azure.core.util.Context context)
        Invoke function delta.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        array of microsoft.
        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.
      • validatePropertiesWithResponse

        com.azure.core.http.rest.Response<Void> validatePropertiesWithResponse​(GroupsValidatePropertiesRequestBody body,
                                                                               com.azure.core.util.Context context)
        Invoke action validateProperties.
        Parameters:
        body - Action parameters.
        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.