Interface ContactsOrgContactsClient


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

      • listOrgContactAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphOrgContactInner> listOrgContactAsync​(String consistencyLevel,
                                                                                              Integer top,
                                                                                              Integer skip,
                                                                                              String search,
                                                                                              String filter,
                                                                                              Boolean count,
                                                                                              List<Get6ItemsItem> orderby,
                                                                                              List<Get7ItemsItem> select,
                                                                                              List<Get8ItemsItem> expand)
        Get entities from contacts.
        Parameters:
        consistencyLevel - Indicates the requested consistency level.
        top - Show only the first n items.
        skip - Skip the first n items.
        search - Search items by search phrases.
        filter - Filter items by property values.
        count - Include count of items.
        orderby - Order items by property values.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        entities from 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.
      • listOrgContact

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphOrgContactInner> listOrgContact​(String consistencyLevel,
                                                                                             Integer top,
                                                                                             Integer skip,
                                                                                             String search,
                                                                                             String filter,
                                                                                             Boolean count,
                                                                                             List<Get6ItemsItem> orderby,
                                                                                             List<Get7ItemsItem> select,
                                                                                             List<Get8ItemsItem> expand,
                                                                                             com.azure.core.util.Context context)
        Get entities from contacts.
        Parameters:
        consistencyLevel - Indicates the requested consistency level.
        top - Show only the first n items.
        skip - Skip the first n items.
        search - Search items by search phrases.
        filter - Filter items by property values.
        count - Include count of items.
        orderby - Order items by property values.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        entities from 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.
      • createOrgContactWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphOrgContactInner> createOrgContactWithResponse​(MicrosoftGraphOrgContactInner body,
                                                                                                      com.azure.core.util.Context context)
        Add new entity to contacts.
        Parameters:
        body - New entity.
        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.
      • getOrgContactWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphOrgContactInner>> getOrgContactWithResponseAsync​(String orgContactId,
                                                                                                              String consistencyLevel,
                                                                                                              List<Get2ItemsItem> select,
                                                                                                              List<Get3ItemsItem> expand)
        Get entity from contacts by key.
        Parameters:
        orgContactId - key: id of orgContact.
        consistencyLevel - Indicates the requested consistency level.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        entity from contacts by key.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getOrgContactWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphOrgContactInner> getOrgContactWithResponse​(String orgContactId,
                                                                                                   String consistencyLevel,
                                                                                                   List<Get2ItemsItem> select,
                                                                                                   List<Get3ItemsItem> expand,
                                                                                                   com.azure.core.util.Context context)
        Get entity from contacts by key.
        Parameters:
        orgContactId - key: id of orgContact.
        consistencyLevel - Indicates the requested consistency level.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        entity from contacts by key.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateOrgContactWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateOrgContactWithResponseAsync​(String orgContactId,
                                                                                        MicrosoftGraphOrgContactInner body)
        Update entity in contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        body - New 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.
      • updateOrgContactWithResponse

        com.azure.core.http.rest.Response<Void> updateOrgContactWithResponse​(String orgContactId,
                                                                             MicrosoftGraphOrgContactInner body,
                                                                             com.azure.core.util.Context context)
        Update entity in contacts.
        Parameters:
        orgContactId - key: id of orgContact.
        body - New 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.
      • deleteOrgContactWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteOrgContactWithResponseAsync​(String orgContactId,
                                                                                        String ifMatch)
        Delete entity from 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.
      • deleteOrgContactAsync

        Mono<Void> deleteOrgContactAsync​(String orgContactId,
                                         String ifMatch)
        Delete entity from 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.
      • deleteOrgContactAsync

        Mono<Void> deleteOrgContactAsync​(String orgContactId)
        Delete entity from 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.
      • deleteOrgContact

        void deleteOrgContact​(String orgContactId)
        Delete entity from 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.
      • deleteOrgContactWithResponse

        com.azure.core.http.rest.Response<Void> deleteOrgContactWithResponse​(String orgContactId,
                                                                             String ifMatch,
                                                                             com.azure.core.util.Context context)
        Delete entity from 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.