Class WindowsAutopilotDeviceIdentityItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.devicemanagement.windowsautopilotdeviceidentities.item.WindowsAutopilotDeviceIdentityItemRequestBuilder
@Generated("com.microsoft.kiota")
public class WindowsAutopilotDeviceIdentityItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the windowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead properties and relationships of the windowsAutopilotDeviceIdentity 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
ConstructorsConstructorDescriptionWindowsAutopilotDeviceIdentityItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWindowsAutopilotDeviceIdentityItemRequestBuilderand sets the default values.WindowsAutopilotDeviceIdentityItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWindowsAutopilotDeviceIdentityItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to call the assignUserToDevice method.voiddelete()Deletes a windowsAutopilotDeviceIdentity.voiddelete(Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a windowsAutopilotDeviceIdentity.get()Read properties and relationships of the windowsAutopilotDeviceIdentity object.get(Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the windowsAutopilotDeviceIdentity object.Update the navigation property windowsAutopilotDeviceIdentities in deviceManagementpatch(WindowsAutopilotDeviceIdentity body, Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property windowsAutopilotDeviceIdentities in deviceManagementcom.microsoft.kiota.RequestInformationDeletes a windowsAutopilotDeviceIdentity.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a windowsAutopilotDeviceIdentity.com.microsoft.kiota.RequestInformationRead properties and relationships of the windowsAutopilotDeviceIdentity object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the windowsAutopilotDeviceIdentity object.com.microsoft.kiota.RequestInformationUpdate the navigation property windowsAutopilotDeviceIdentities in deviceManagementcom.microsoft.kiota.RequestInformationtoPatchRequestInformation(WindowsAutopilotDeviceIdentity body, Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property windowsAutopilotDeviceIdentities in deviceManagementProvides operations to call the unassignUserFromDevice method.Provides operations to call the updateDeviceProperties method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
WindowsAutopilotDeviceIdentityItemRequestBuilder
public WindowsAutopilotDeviceIdentityItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWindowsAutopilotDeviceIdentityItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
WindowsAutopilotDeviceIdentityItemRequestBuilder
public WindowsAutopilotDeviceIdentityItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWindowsAutopilotDeviceIdentityItemRequestBuilderand 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
-
assignUserToDevice
Provides operations to call the assignUserToDevice method.- Returns:
- a
AssignUserToDeviceRequestBuilder
-
unassignUserFromDevice
Provides operations to call the unassignUserFromDevice method.- Returns:
- a
UnassignUserFromDeviceRequestBuilder
-
updateDeviceProperties
Provides operations to call the updateDeviceProperties method.- Returns:
- a
UpdateDevicePropertiesRequestBuilder
-
delete
public void delete()Deletes a windowsAutopilotDeviceIdentity.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a windowsAutopilotDeviceIdentity.- 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 properties and relationships of the windowsAutopilotDeviceIdentity object.- Returns:
- a
WindowsAutopilotDeviceIdentity - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public WindowsAutopilotDeviceIdentity get(@Nullable Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the windowsAutopilotDeviceIdentity object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WindowsAutopilotDeviceIdentity - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property windowsAutopilotDeviceIdentities in deviceManagement- Parameters:
body- The request body- Returns:
- a
WindowsAutopilotDeviceIdentity - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public WindowsAutopilotDeviceIdentity patch(@Nonnull WindowsAutopilotDeviceIdentity body, @Nullable Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property windowsAutopilotDeviceIdentities in deviceManagement- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WindowsAutopilotDeviceIdentity - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Deletes a windowsAutopilotDeviceIdentity.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a windowsAutopilotDeviceIdentity.- 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 properties and relationships of the windowsAutopilotDeviceIdentity object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the windowsAutopilotDeviceIdentity 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 WindowsAutopilotDeviceIdentity body) Update the navigation property windowsAutopilotDeviceIdentities in deviceManagement- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull WindowsAutopilotDeviceIdentity body, @Nullable Consumer<WindowsAutopilotDeviceIdentityItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property windowsAutopilotDeviceIdentities in deviceManagement- 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
WindowsAutopilotDeviceIdentityItemRequestBuilder
-