Interface UsersOutlooksClient


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

      • listMasterCategoriesAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphOutlookCategoryInner> listMasterCategoriesAsync​(String userId,
                                                                                                         Integer top,
                                                                                                         Integer skip,
                                                                                                         String search,
                                                                                                         String filter,
                                                                                                         Boolean count,
                                                                                                         List<UsersOutlookOrderby> orderby,
                                                                                                         List<UsersOutlookSelect> select,
                                                                                                         List<String> expand)
        Get masterCategories from users.
        Parameters:
        userId - key: id of user.
        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:
        masterCategories from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listMasterCategories

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphOutlookCategoryInner> listMasterCategories​(String userId,
                                                                                                        Integer top,
                                                                                                        Integer skip,
                                                                                                        String search,
                                                                                                        String filter,
                                                                                                        Boolean count,
                                                                                                        List<UsersOutlookOrderby> orderby,
                                                                                                        List<UsersOutlookSelect> select,
                                                                                                        List<String> expand,
                                                                                                        com.azure.core.util.Context context)
        Get masterCategories from users.
        Parameters:
        userId - key: id of user.
        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:
        masterCategories from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createMasterCategoriesWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphOutlookCategoryInner> createMasterCategoriesWithResponse​(String userId,
                                                                                                                 MicrosoftGraphOutlookCategoryInner body,
                                                                                                                 com.azure.core.util.Context context)
        Create new navigation property to masterCategories for users.
        Parameters:
        userId - key: id of user.
        body - New navigation property.
        context - The context to associate with this operation.
        Returns:
        outlookCategory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getMasterCategoriesWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphOutlookCategoryInner>> getMasterCategoriesWithResponseAsync​(String userId,
                                                                                                                         String outlookCategoryId,
                                                                                                                         List<UsersOutlookSelect> select,
                                                                                                                         List<String> expand)
        Get masterCategories from users.
        Parameters:
        userId - key: id of user.
        outlookCategoryId - key: id of outlookCategory.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        masterCategories from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getMasterCategoriesWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphOutlookCategoryInner> getMasterCategoriesWithResponse​(String userId,
                                                                                                              String outlookCategoryId,
                                                                                                              List<UsersOutlookSelect> select,
                                                                                                              List<String> expand,
                                                                                                              com.azure.core.util.Context context)
        Get masterCategories from users.
        Parameters:
        userId - key: id of user.
        outlookCategoryId - key: id of outlookCategory.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        masterCategories from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateMasterCategoriesWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateMasterCategoriesWithResponseAsync​(String userId,
                                                                                              String outlookCategoryId,
                                                                                              MicrosoftGraphOutlookCategoryInner body)
        Update the navigation property masterCategories in users.
        Parameters:
        userId - key: id of user.
        outlookCategoryId - key: id of outlookCategory.
        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.
      • updateMasterCategoriesAsync

        Mono<Void> updateMasterCategoriesAsync​(String userId,
                                               String outlookCategoryId,
                                               MicrosoftGraphOutlookCategoryInner body)
        Update the navigation property masterCategories in users.
        Parameters:
        userId - key: id of user.
        outlookCategoryId - key: id of outlookCategory.
        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.
      • updateMasterCategories

        void updateMasterCategories​(String userId,
                                    String outlookCategoryId,
                                    MicrosoftGraphOutlookCategoryInner body)
        Update the navigation property masterCategories in users.
        Parameters:
        userId - key: id of user.
        outlookCategoryId - key: id of outlookCategory.
        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.
      • updateMasterCategoriesWithResponse

        com.azure.core.http.rest.Response<Void> updateMasterCategoriesWithResponse​(String userId,
                                                                                   String outlookCategoryId,
                                                                                   MicrosoftGraphOutlookCategoryInner body,
                                                                                   com.azure.core.util.Context context)
        Update the navigation property masterCategories in users.
        Parameters:
        userId - key: id of user.
        outlookCategoryId - key: id of outlookCategory.
        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.
      • deleteMasterCategoriesWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteMasterCategoriesWithResponseAsync​(String userId,
                                                                                              String outlookCategoryId,
                                                                                              String ifMatch)
        Delete navigation property masterCategories for users.
        Parameters:
        userId - key: id of user.
        outlookCategoryId - key: id of outlookCategory.
        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.
      • deleteMasterCategoriesAsync

        Mono<Void> deleteMasterCategoriesAsync​(String userId,
                                               String outlookCategoryId,
                                               String ifMatch)
        Delete navigation property masterCategories for users.
        Parameters:
        userId - key: id of user.
        outlookCategoryId - key: id of outlookCategory.
        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.
      • deleteMasterCategoriesAsync

        Mono<Void> deleteMasterCategoriesAsync​(String userId,
                                               String outlookCategoryId)
        Delete navigation property masterCategories for users.
        Parameters:
        userId - key: id of user.
        outlookCategoryId - key: id of outlookCategory.
        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.
      • deleteMasterCategories

        void deleteMasterCategories​(String userId,
                                    String outlookCategoryId)
        Delete navigation property masterCategories for users.
        Parameters:
        userId - key: id of user.
        outlookCategoryId - key: id of outlookCategory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteMasterCategoriesWithResponse

        com.azure.core.http.rest.Response<Void> deleteMasterCategoriesWithResponse​(String userId,
                                                                                   String outlookCategoryId,
                                                                                   String ifMatch,
                                                                                   com.azure.core.util.Context context)
        Delete navigation property masterCategories for users.
        Parameters:
        userId - key: id of user.
        outlookCategoryId - key: id of outlookCategory.
        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.