Class DeviceConfigurationItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.devicemanagement.deviceconfigurations.item.DeviceConfigurationItemRequestBuilder
@Generated("com.microsoft.kiota")
public class DeviceConfigurationItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the deviceConfigurations 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 windows81GeneralConfiguration 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
ConstructorsConstructorDescriptionDeviceConfigurationItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDeviceConfigurationItemRequestBuilderand sets the default values.DeviceConfigurationItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDeviceConfigurationItemRequestBuilderand 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.deviceConfiguration entity.voiddelete()Deletes a windows10GeneralConfiguration.voiddelete(Consumer<DeviceConfigurationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a windows10GeneralConfiguration.Provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceConfiguration entity.Provides operations to manage the deviceStatuses property of the microsoft.graph.deviceConfiguration entity.Provides operations to manage the deviceStatusOverview property of the microsoft.graph.deviceConfiguration entity.get()Read properties and relationships of the windows81GeneralConfiguration object.get(Consumer<DeviceConfigurationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the windows81GeneralConfiguration object.getOmaSettingPlainTextValueWithSecretReferenceValueId(String secretReferenceValueId) Provides operations to call the getOmaSettingPlainTextValue method.patch(DeviceConfiguration body) Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object.patch(DeviceConfiguration body, Consumer<DeviceConfigurationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object.com.microsoft.kiota.RequestInformationDeletes a windows10GeneralConfiguration.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<DeviceConfigurationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a windows10GeneralConfiguration.com.microsoft.kiota.RequestInformationRead properties and relationships of the windows81GeneralConfiguration object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<DeviceConfigurationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the windows81GeneralConfiguration object.com.microsoft.kiota.RequestInformationUpdate the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(DeviceConfiguration body, Consumer<DeviceConfigurationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object.Provides operations to manage the userStatuses property of the microsoft.graph.deviceConfiguration entity.Provides operations to manage the userStatusOverview property of the microsoft.graph.deviceConfiguration entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
DeviceConfigurationItemRequestBuilder
public DeviceConfigurationItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDeviceConfigurationItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
DeviceConfigurationItemRequestBuilder
public DeviceConfigurationItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDeviceConfigurationItemRequestBuilderand 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.deviceConfiguration entity.- Returns:
- a
AssignmentsRequestBuilder
-
deviceSettingStateSummaries
Provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceConfiguration entity.- Returns:
- a
DeviceSettingStateSummariesRequestBuilder
-
deviceStatuses
Provides operations to manage the deviceStatuses property of the microsoft.graph.deviceConfiguration entity.- Returns:
- a
DeviceStatusesRequestBuilder
-
deviceStatusOverview
Provides operations to manage the deviceStatusOverview property of the microsoft.graph.deviceConfiguration entity.- Returns:
- a
DeviceStatusOverviewRequestBuilder
-
userStatuses
Provides operations to manage the userStatuses property of the microsoft.graph.deviceConfiguration entity.- Returns:
- a
UserStatusesRequestBuilder
-
userStatusOverview
Provides operations to manage the userStatusOverview property of the microsoft.graph.deviceConfiguration entity.- Returns:
- a
UserStatusOverviewRequestBuilder
-
delete
public void delete()Deletes a windows10GeneralConfiguration.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<DeviceConfigurationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a windows10GeneralConfiguration.- 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 windows81GeneralConfiguration object.- Returns:
- a
DeviceConfiguration - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public DeviceConfiguration get(@Nullable Consumer<DeviceConfigurationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the windows81GeneralConfiguration object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
DeviceConfiguration - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
getOmaSettingPlainTextValueWithSecretReferenceValueId
@Nonnull public GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder getOmaSettingPlainTextValueWithSecretReferenceValueId(@Nonnull String secretReferenceValueId) Provides operations to call the getOmaSettingPlainTextValue method.- Parameters:
secretReferenceValueId- Usage: secretReferenceValueId='{secretReferenceValueId}'- Returns:
- a
GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder
-
patch
Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object.- Parameters:
body- The request body- Returns:
- a
DeviceConfiguration - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public DeviceConfiguration patch(@Nonnull DeviceConfiguration body, @Nullable Consumer<DeviceConfigurationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
DeviceConfiguration - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Deletes a windows10GeneralConfiguration.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<DeviceConfigurationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a windows10GeneralConfiguration.- 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 windows81GeneralConfiguration object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<DeviceConfigurationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the windows81GeneralConfiguration 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 DeviceConfiguration body) Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull DeviceConfiguration body, @Nullable Consumer<DeviceConfigurationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration 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
DeviceConfigurationItemRequestBuilder
-