Interface UsersSettingsClient
-
public interface UsersSettingsClientAn instance of this class provides access to all the operations defined in UsersSettingsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteShiftPreferences(String userId)Delete navigation property shiftPreferences for users.Mono<Void>deleteShiftPreferencesAsync(String userId)Delete navigation property shiftPreferences for users.Mono<Void>deleteShiftPreferencesAsync(String userId, String ifMatch)Delete navigation property shiftPreferences for users.com.azure.core.http.rest.Response<Void>deleteShiftPreferencesWithResponse(String userId, String ifMatch, com.azure.core.util.Context context)Delete navigation property shiftPreferences for users.Mono<com.azure.core.http.rest.Response<Void>>deleteShiftPreferencesWithResponseAsync(String userId, String ifMatch)Delete navigation property shiftPreferences for users.MicrosoftGraphShiftPreferencesInnergetShiftPreferences(String userId)Get shiftPreferences from users.Mono<MicrosoftGraphShiftPreferencesInner>getShiftPreferencesAsync(String userId)Get shiftPreferences from users.Mono<MicrosoftGraphShiftPreferencesInner>getShiftPreferencesAsync(String userId, List<UsersSettingsSelect> select, List<String> expand)Get shiftPreferences from users.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.Mono<com.azure.core.http.rest.Response<MicrosoftGraphShiftPreferencesInner>>getShiftPreferencesWithResponseAsync(String userId, List<UsersSettingsSelect> select, List<String> expand)Get shiftPreferences from users.voidupdateShiftPreferences(String userId, MicrosoftGraphShiftPreferencesInner body)Update the navigation property shiftPreferences in users.Mono<Void>updateShiftPreferencesAsync(String userId, MicrosoftGraphShiftPreferencesInner body)Update the navigation property shiftPreferences in users.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.Mono<com.azure.core.http.rest.Response<Void>>updateShiftPreferencesWithResponseAsync(String userId, MicrosoftGraphShiftPreferencesInner body)Update the navigation property shiftPreferences in users.
-
-
-
Method Detail
-
getShiftPreferencesWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphShiftPreferencesInner>> getShiftPreferencesWithResponseAsync(String userId, List<UsersSettingsSelect> select, List<String> expand)
Get shiftPreferences from users.- Parameters:
userId- key: id of user.select- Select properties to be returned.expand- Expand related entities.- 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.
-
getShiftPreferencesAsync
Mono<MicrosoftGraphShiftPreferencesInner> getShiftPreferencesAsync(String userId, List<UsersSettingsSelect> select, List<String> expand)
Get shiftPreferences from users.- Parameters:
userId- key: id of user.select- Select properties to be returned.expand- Expand related entities.- 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.
-
getShiftPreferencesAsync
Mono<MicrosoftGraphShiftPreferencesInner> getShiftPreferencesAsync(String userId)
Get shiftPreferences from users.- Parameters:
userId- key: id of user.- 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.
-
getShiftPreferences
MicrosoftGraphShiftPreferencesInner getShiftPreferences(String userId)
Get shiftPreferences from users.- Parameters:
userId- key: id of user.- 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.
-
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.
-
updateShiftPreferencesAsync
Mono<Void> updateShiftPreferencesAsync(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.
-
updateShiftPreferences
void updateShiftPreferences(String userId, MicrosoftGraphShiftPreferencesInner body)
Update the navigation property shiftPreferences in users.- Parameters:
userId- key: id of user.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.
-
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.
-
-