Class ManagedDeviceItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.devicemanagement.manageddevices.item.ManagedDeviceItemRequestBuilder
@Generated("com.microsoft.kiota")
public class ManagedDeviceItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the managedDevices property of the microsoft.graph.deviceManagement entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
Configuration for the request such as headers, query parameters, and middleware options.class
The list of managed devices.class
Configuration for the request such as headers, query parameters, and middleware options.class
Configuration 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
ConstructorsConstructorDescriptionManagedDeviceItemRequestBuilder
(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newManagedDeviceItemRequestBuilder
and sets the default values.ManagedDeviceItemRequestBuilder
(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newManagedDeviceItemRequestBuilder
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to call the bypassActivationLock method.Provides operations to call the cleanWindowsDevice method.void
delete()
Deletes a managedDevice.void
delete
(Consumer<ManagedDeviceItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a managedDevice.Provides operations to call the deleteUserFromSharedAppleDevice method.Provides operations to manage the deviceCategory property of the microsoft.graph.managedDevice entity.Provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity.Provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity.Provides operations to call the disableLostMode method.get()
The list of managed devices.get
(Consumer<ManagedDeviceItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of managed devices.Provides operations to call the locateDevice method.Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity.Provides operations to call the logoutSharedAppleDeviceActiveUser method.patch
(ManagedDevice body) Update the navigation property managedDevices in deviceManagementpatch
(ManagedDevice body, Consumer<ManagedDeviceItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property managedDevices in deviceManagementProvides operations to call the rebootNow method.Provides operations to call the recoverPasscode method.Provides operations to call the remoteLock method.Provides operations to call the requestRemoteAssistance method.Provides operations to call the resetPasscode method.retire()
Provides operations to call the retire method.shutDown()
Provides operations to call the shutDown method.Provides operations to call the syncDevice method.com.microsoft.kiota.RequestInformation
Deletes a managedDevice.com.microsoft.kiota.RequestInformation
toDeleteRequestInformation
(Consumer<ManagedDeviceItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a managedDevice.com.microsoft.kiota.RequestInformation
The list of managed devices.com.microsoft.kiota.RequestInformation
toGetRequestInformation
(Consumer<ManagedDeviceItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of managed devices.com.microsoft.kiota.RequestInformation
Update the navigation property managedDevices in deviceManagementcom.microsoft.kiota.RequestInformation
toPatchRequestInformation
(ManagedDevice body, Consumer<ManagedDeviceItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property managedDevices in deviceManagementProvides operations to call the updateWindowsDeviceAccount method.users()
Provides operations to manage the users property of the microsoft.graph.managedDevice entity.Provides operations to call the windowsDefenderScan method.Provides operations to call the windowsDefenderUpdateSignatures method.Provides operations to manage the windowsProtectionState property of the microsoft.graph.managedDevice entity.wipe()
Provides operations to call the wipe method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ManagedDeviceItemRequestBuilder
public ManagedDeviceItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newManagedDeviceItemRequestBuilder
and sets the default values.- Parameters:
pathParameters
- Path parameters for the requestrequestAdapter
- The request adapter to use to execute the requests.
-
ManagedDeviceItemRequestBuilder
public ManagedDeviceItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newManagedDeviceItemRequestBuilder
and 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
-
bypassActivationLock
Provides operations to call the bypassActivationLock method.- Returns:
- a
BypassActivationLockRequestBuilder
-
cleanWindowsDevice
Provides operations to call the cleanWindowsDevice method.- Returns:
- a
CleanWindowsDeviceRequestBuilder
-
deviceCategory
Provides operations to manage the deviceCategory property of the microsoft.graph.managedDevice entity.- Returns:
- a
DeviceCategoryRequestBuilder
-
deviceCompliancePolicyStates
Provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity.- Returns:
- a
DeviceCompliancePolicyStatesRequestBuilder
-
deviceConfigurationStates
Provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity.- Returns:
- a
DeviceConfigurationStatesRequestBuilder
-
disableLostMode
Provides operations to call the disableLostMode method.- Returns:
- a
DisableLostModeRequestBuilder
-
locateDevice
Provides operations to call the locateDevice method.- Returns:
- a
LocateDeviceRequestBuilder
-
logCollectionRequests
Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity.- Returns:
- a
LogCollectionRequestsRequestBuilder
-
rebootNow
Provides operations to call the rebootNow method.- Returns:
- a
RebootNowRequestBuilder
-
recoverPasscode
Provides operations to call the recoverPasscode method.- Returns:
- a
RecoverPasscodeRequestBuilder
-
remoteLock
Provides operations to call the remoteLock method.- Returns:
- a
RemoteLockRequestBuilder
-
requestRemoteAssistance
Provides operations to call the requestRemoteAssistance method.- Returns:
- a
RequestRemoteAssistanceRequestBuilder
-
resetPasscode
Provides operations to call the resetPasscode method.- Returns:
- a
ResetPasscodeRequestBuilder
-
retire
Provides operations to call the retire method.- Returns:
- a
RetireRequestBuilder
-
shutDown
Provides operations to call the shutDown method.- Returns:
- a
ShutDownRequestBuilder
-
syncDevice
Provides operations to call the syncDevice method.- Returns:
- a
SyncDeviceRequestBuilder
-
updateWindowsDeviceAccount
Provides operations to call the updateWindowsDeviceAccount method.- Returns:
- a
UpdateWindowsDeviceAccountRequestBuilder
-
users
Provides operations to manage the users property of the microsoft.graph.managedDevice entity.- Returns:
- a
UsersRequestBuilder
-
windowsDefenderScan
Provides operations to call the windowsDefenderScan method.- Returns:
- a
WindowsDefenderScanRequestBuilder
-
windowsDefenderUpdateSignatures
Provides operations to call the windowsDefenderUpdateSignatures method. -
windowsProtectionState
Provides operations to manage the windowsProtectionState property of the microsoft.graph.managedDevice entity.- Returns:
- a
WindowsProtectionStateRequestBuilder
-
wipe
Provides operations to call the wipe method.- Returns:
- a
WipeRequestBuilder
-
delete
public void delete()Deletes a managedDevice.- Throws:
ODataError
- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<ManagedDeviceItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a managedDevice.- 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
The list of managed devices.- Returns:
- a
ManagedDevice
- Throws:
ODataError
- When receiving a 4XX or 5XX status code
-
get
@Nullable public ManagedDevice get(@Nullable Consumer<ManagedDeviceItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of managed devices.- Parameters:
requestConfiguration
- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ManagedDevice
- Throws:
ODataError
- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property managedDevices in deviceManagement- Parameters:
body
- The request body- Returns:
- a
ManagedDevice
- Throws:
ODataError
- When receiving a 4XX or 5XX status code
-
patch
@Nullable public ManagedDevice patch(@Nonnull ManagedDevice body, @Nullable Consumer<ManagedDeviceItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property managedDevices in deviceManagement- Parameters:
body
- The request bodyrequestConfiguration
- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ManagedDevice
- Throws:
ODataError
- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Deletes a managedDevice.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ManagedDeviceItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a managedDevice.- 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()The list of managed devices.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ManagedDeviceItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of managed devices.- 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 ManagedDevice body) Update the navigation property managedDevices in deviceManagement- Parameters:
body
- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull ManagedDevice body, @Nullable Consumer<ManagedDeviceItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property managedDevices 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
ManagedDeviceItemRequestBuilder
-