Interface ContactsClient


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

      • listDirectReportsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listDirectReportsAsync​(String orgContactId,
                                                                                                      Integer top,
                                                                                                      Integer skip,
                                                                                                      String search,
                                                                                                      String filter,
                                                                                                      Boolean count,
                                                                                                      List<ContactsOrderby> orderby,
                                                                                                      List<ContactsSelect> select,
                                                                                                      List<String> expand)
        Get directReports from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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:
        directReports from contacts.
        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.
      • listDirectReports

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listDirectReports​(String orgContactId,
                                                                                                     Integer top,
                                                                                                     Integer skip,
                                                                                                     String search,
                                                                                                     String filter,
                                                                                                     Boolean count,
                                                                                                     List<ContactsOrderby> orderby,
                                                                                                     List<ContactsSelect> select,
                                                                                                     List<String> expand,
                                                                                                     com.azure.core.util.Context context)
        Get directReports from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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:
        directReports from contacts.
        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.
      • listRefDirectReportsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefDirectReportsAsync​(String orgContactId,
                                                                             Integer top,
                                                                             Integer skip,
                                                                             String search,
                                                                             String filter,
                                                                             Boolean count,
                                                                             List<ContactsOrderby> orderby)
        Get ref of directReports from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 directReports from contacts.
        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.
      • listRefDirectReportsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefDirectReportsAsync​(String orgContactId)
        Get ref of directReports from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        Returns:
        ref of directReports from contacts.
        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.
      • listRefDirectReports

        com.azure.core.http.rest.PagedIterable<String> listRefDirectReports​(String orgContactId)
        Get ref of directReports from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        Returns:
        ref of directReports from contacts.
        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.
      • listRefDirectReports

        com.azure.core.http.rest.PagedIterable<String> listRefDirectReports​(String orgContactId,
                                                                            Integer top,
                                                                            Integer skip,
                                                                            String search,
                                                                            String filter,
                                                                            Boolean count,
                                                                            List<ContactsOrderby> orderby,
                                                                            com.azure.core.util.Context context)
        Get ref of directReports from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 directReports from contacts.
        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.
      • createRefDirectReportsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefDirectReportsWithResponseAsync​(String orgContactId,
                                                                                                                  Map<String,​Object> body)
        Create new navigation property ref to directReports for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • createRefDirectReportsAsync

        Mono<Map<String,​Object>> createRefDirectReportsAsync​(String orgContactId,
                                                                   Map<String,​Object> body)
        Create new navigation property ref to directReports for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • createRefDirectReports

        Map<String,​Object> createRefDirectReports​(String orgContactId,
                                                        Map<String,​Object> body)
        Create new navigation property ref to directReports for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • createRefDirectReportsWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefDirectReportsWithResponse​(String orgContactId,
                                                                                                       Map<String,​Object> body,
                                                                                                       com.azure.core.util.Context context)
        Create new navigation property ref to directReports for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • getManagerWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> getManagerWithResponse​(String orgContactId,
                                                                                                     List<Get1ItemsItem> select,
                                                                                                     List<String> expand,
                                                                                                     com.azure.core.util.Context context)
        Get manager from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        manager from contacts.
        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.
      • getRefManagerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<String>> getRefManagerWithResponseAsync​(String orgContactId)
        Get ref of manager from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        Returns:
        ref of manager from contacts.
        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.
      • getRefManagerAsync

        Mono<String> getRefManagerAsync​(String orgContactId)
        Get ref of manager from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        Returns:
        ref of manager from contacts.
        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.
      • getRefManager

        String getRefManager​(String orgContactId)
        Get ref of manager from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        Returns:
        ref of manager from contacts.
        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.
      • getRefManagerWithResponse

        com.azure.core.http.rest.Response<String> getRefManagerWithResponse​(String orgContactId,
                                                                            com.azure.core.util.Context context)
        Get ref of manager from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        context - The context to associate with this operation.
        Returns:
        ref of manager from contacts.
        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.
      • setRefManagerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> setRefManagerWithResponseAsync​(String orgContactId,
                                                                                     Map<String,​Object> body)
        Update the ref of navigation property manager in contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • setRefManagerAsync

        Mono<Void> setRefManagerAsync​(String orgContactId,
                                      Map<String,​Object> body)
        Update the ref of navigation property manager in contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • setRefManager

        void setRefManager​(String orgContactId,
                           Map<String,​Object> body)
        Update the ref of navigation property manager in contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • setRefManagerWithResponse

        com.azure.core.http.rest.Response<Void> setRefManagerWithResponse​(String orgContactId,
                                                                          Map<String,​Object> body,
                                                                          com.azure.core.util.Context context)
        Update the ref of navigation property manager in contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • deleteRefManagerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteRefManagerWithResponseAsync​(String orgContactId,
                                                                                        String ifMatch)
        Delete ref of navigation property manager for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • deleteRefManagerAsync

        Mono<Void> deleteRefManagerAsync​(String orgContactId,
                                         String ifMatch)
        Delete ref of navigation property manager for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • deleteRefManagerAsync

        Mono<Void> deleteRefManagerAsync​(String orgContactId)
        Delete ref of navigation property manager for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • deleteRefManager

        void deleteRefManager​(String orgContactId)
        Delete ref of navigation property manager for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • deleteRefManagerWithResponse

        com.azure.core.http.rest.Response<Void> deleteRefManagerWithResponse​(String orgContactId,
                                                                             String ifMatch,
                                                                             com.azure.core.util.Context context)
        Delete ref of navigation property manager for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 orgContactId,
                                                                                                 Integer top,
                                                                                                 Integer skip,
                                                                                                 String search,
                                                                                                 String filter,
                                                                                                 Boolean count,
                                                                                                 List<ContactsOrderby> orderby,
                                                                                                 List<ContactsSelect> select,
                                                                                                 List<String> expand)
        Get memberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 contacts.
        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 orgContactId,
                                                                                                Integer top,
                                                                                                Integer skip,
                                                                                                String search,
                                                                                                String filter,
                                                                                                Boolean count,
                                                                                                List<ContactsOrderby> orderby,
                                                                                                List<ContactsSelect> select,
                                                                                                List<String> expand,
                                                                                                com.azure.core.util.Context context)
        Get memberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 contacts.
        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 orgContactId,
                                                                        Integer top,
                                                                        Integer skip,
                                                                        String search,
                                                                        String filter,
                                                                        Boolean count,
                                                                        List<ContactsOrderby> orderby)
        Get ref of memberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 contacts.
        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 orgContactId)
        Get ref of memberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        Returns:
        ref of memberOf from contacts.
        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 orgContactId)
        Get ref of memberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        Returns:
        ref of memberOf from contacts.
        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 orgContactId,
                                                                       Integer top,
                                                                       Integer skip,
                                                                       String search,
                                                                       String filter,
                                                                       Boolean count,
                                                                       List<ContactsOrderby> orderby,
                                                                       com.azure.core.util.Context context)
        Get ref of memberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 contacts.
        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 orgContactId,
                                                                                                             Map<String,​Object> body)
        Create new navigation property ref to memberOf for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 orgContactId,
                                                              Map<String,​Object> body)
        Create new navigation property ref to memberOf for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 orgContactId,
                                                   Map<String,​Object> body)
        Create new navigation property ref to memberOf for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 orgContactId,
                                                                                                  Map<String,​Object> body,
                                                                                                  com.azure.core.util.Context context)
        Create new navigation property ref to memberOf for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • checkMemberGroupsWithResponse

        com.azure.core.http.rest.Response<List<String>> checkMemberGroupsWithResponse​(String orgContactId,
                                                                                      ContactsCheckMemberGroupsRequestBody body,
                                                                                      com.azure.core.util.Context context)
        Invoke action checkMemberGroups.
        Parameters:
        orgContactId - key: id of orgContact.
        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 orgContactId,
                                                                                       ContactsCheckMemberObjectsRequestBody body,
                                                                                       com.azure.core.util.Context context)
        Invoke action checkMemberObjects.
        Parameters:
        orgContactId - key: id of orgContact.
        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 orgContactId,
                                                                                    ContactsGetMemberGroupsRequestBody body,
                                                                                    com.azure.core.util.Context context)
        Invoke action getMemberGroups.
        Parameters:
        orgContactId - key: id of orgContact.
        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 orgContactId,
                                                                                     ContactsGetMemberObjectsRequestBody body,
                                                                                     com.azure.core.util.Context context)
        Invoke action getMemberObjects.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • restoreWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> restoreWithResponse​(String orgContactId,
                                                                                                  com.azure.core.util.Context context)
        Invoke action restore.
        Parameters:
        orgContactId - key: id of orgContact.
        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.
      • listTransitiveMemberOfAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listTransitiveMemberOfAsync​(String orgContactId,
                                                                                                           Integer top,
                                                                                                           Integer skip,
                                                                                                           String search,
                                                                                                           String filter,
                                                                                                           Boolean count,
                                                                                                           List<ContactsOrderby> orderby,
                                                                                                           List<ContactsSelect> select,
                                                                                                           List<String> expand)
        Get transitiveMemberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 contacts.
        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 orgContactId)
        Get transitiveMemberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        Returns:
        transitiveMemberOf from contacts.
        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 orgContactId)
        Get transitiveMemberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        Returns:
        transitiveMemberOf from contacts.
        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 orgContactId,
                                                                                                          Integer top,
                                                                                                          Integer skip,
                                                                                                          String search,
                                                                                                          String filter,
                                                                                                          Boolean count,
                                                                                                          List<ContactsOrderby> orderby,
                                                                                                          List<ContactsSelect> select,
                                                                                                          List<String> expand,
                                                                                                          com.azure.core.util.Context context)
        Get transitiveMemberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 contacts.
        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 orgContactId,
                                                                                  Integer top,
                                                                                  Integer skip,
                                                                                  String search,
                                                                                  String filter,
                                                                                  Boolean count,
                                                                                  List<ContactsOrderby> orderby)
        Get ref of transitiveMemberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 contacts.
        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 orgContactId)
        Get ref of transitiveMemberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        Returns:
        ref of transitiveMemberOf from contacts.
        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 orgContactId)
        Get ref of transitiveMemberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        Returns:
        ref of transitiveMemberOf from contacts.
        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 orgContactId,
                                                                                 Integer top,
                                                                                 Integer skip,
                                                                                 String search,
                                                                                 String filter,
                                                                                 Boolean count,
                                                                                 List<ContactsOrderby> orderby,
                                                                                 com.azure.core.util.Context context)
        Get ref of transitiveMemberOf from contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 contacts.
        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 orgContactId,
                                                                                                                       Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 orgContactId,
                                                                        Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 orgContactId,
                                                             Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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 orgContactId,
                                                                                                            Map<String,​Object> body,
                                                                                                            com.azure.core.util.Context context)
        Create new navigation property ref to transitiveMemberOf for contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        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<MicrosoftGraphOrgContactInner>> 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​(ContactsValidatePropertiesRequestBody 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.