Interface UsersSettingsClient


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

      • getShiftPreferencesWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphShiftPreferencesInner> getShiftPreferencesWithResponse​(String userId,
                                                                                                               List<UsersSettingsSelect> select,
                                                                                                               List<String> expand,
                                                                                                               com.azure.core.util.Context context)
        Get shiftPreferences from users.
        Parameters:
        userId - key: id of user.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        shiftPreferences 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.
      • updateShiftPreferencesWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateShiftPreferencesWithResponseAsync​(String userId,
                                                                                              MicrosoftGraphShiftPreferencesInner body)
        Update the navigation property shiftPreferences in users.
        Parameters:
        userId - key: id of user.
        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.
      • updateShiftPreferencesWithResponse

        com.azure.core.http.rest.Response<Void> updateShiftPreferencesWithResponse​(String userId,
                                                                                   MicrosoftGraphShiftPreferencesInner body,
                                                                                   com.azure.core.util.Context context)
        Update the navigation property shiftPreferences in users.
        Parameters:
        userId - key: id of user.
        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.
      • deleteShiftPreferencesWithResponseAsync

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

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

        Mono<Void> deleteShiftPreferencesAsync​(String userId)
        Delete navigation property shiftPreferences for users.
        Parameters:
        userId - key: id of user.
        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.
      • deleteShiftPreferences

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

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