Class CloudPcUserSettingItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.devicemanagement.virtualendpoint.usersettings.item.CloudPcUserSettingItemRequestBuilder
@Generated("com.microsoft.kiota")
public class CloudPcUserSettingItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead the properties and relationships of a cloudPcUserSetting object.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionCloudPcUserSettingItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCloudPcUserSettingItemRequestBuilderand sets the default values.CloudPcUserSettingItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCloudPcUserSettingItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionassign()Provides operations to call the assign method.Provides operations to manage the assignments property of the microsoft.graph.cloudPcUserSetting entity.voiddelete()Delete a cloudPcUserSetting object.voiddelete(Consumer<CloudPcUserSettingItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a cloudPcUserSetting object.get()Read the properties and relationships of a cloudPcUserSetting object.get(Consumer<CloudPcUserSettingItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a cloudPcUserSetting object.patch(CloudPcUserSetting body) Update the properties of a cloudPcUserSetting object.patch(CloudPcUserSetting body, Consumer<CloudPcUserSettingItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a cloudPcUserSetting object.com.microsoft.kiota.RequestInformationDelete a cloudPcUserSetting object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<CloudPcUserSettingItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a cloudPcUserSetting object.com.microsoft.kiota.RequestInformationRead the properties and relationships of a cloudPcUserSetting object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<CloudPcUserSettingItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a cloudPcUserSetting object.com.microsoft.kiota.RequestInformationUpdate the properties of a cloudPcUserSetting object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(CloudPcUserSetting body, Consumer<CloudPcUserSettingItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a cloudPcUserSetting object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
CloudPcUserSettingItemRequestBuilder
public CloudPcUserSettingItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCloudPcUserSettingItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
CloudPcUserSettingItemRequestBuilder
public CloudPcUserSettingItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newCloudPcUserSettingItemRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
assign
Provides operations to call the assign method.- Returns:
- a
AssignRequestBuilder
-
assignments
Provides operations to manage the assignments property of the microsoft.graph.cloudPcUserSetting entity.- Returns:
- a
AssignmentsRequestBuilder
-
delete
public void delete()Delete a cloudPcUserSetting object.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<CloudPcUserSettingItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a cloudPcUserSetting object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
Read the properties and relationships of a cloudPcUserSetting object.- Returns:
- a
CloudPcUserSetting - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public CloudPcUserSetting get(@Nullable Consumer<CloudPcUserSettingItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a cloudPcUserSetting object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
CloudPcUserSetting - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of a cloudPcUserSetting object.- Parameters:
body- The request body- Returns:
- a
CloudPcUserSetting - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public CloudPcUserSetting patch(@Nonnull CloudPcUserSetting body, @Nullable Consumer<CloudPcUserSettingItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a cloudPcUserSetting object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
CloudPcUserSetting - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete a cloudPcUserSetting object.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<CloudPcUserSettingItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a cloudPcUserSetting object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Read the properties and relationships of a cloudPcUserSetting object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<CloudPcUserSettingItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a cloudPcUserSetting object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull CloudPcUserSetting body) Update the properties of a cloudPcUserSetting object.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull CloudPcUserSetting body, @Nullable Consumer<CloudPcUserSettingItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a cloudPcUserSetting object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
CloudPcUserSettingItemRequestBuilder
-