Class ConditionalAccessSettingsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.devicemanagement.conditionalaccesssettings.ConditionalAccessSettingsRequestBuilder
@Generated("com.microsoft.kiota")
public class ConditionalAccessSettingsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the conditionalAccessSettings 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 onPremisesConditionalAccessSettings 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
ConstructorsConstructorDescriptionConditionalAccessSettingsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newConditionalAccessSettingsRequestBuilderand sets the default values.ConditionalAccessSettingsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newConditionalAccessSettingsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property conditionalAccessSettings for deviceManagementvoiddelete(Consumer<ConditionalAccessSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property conditionalAccessSettings for deviceManagementget()Read properties and relationships of the onPremisesConditionalAccessSettings object.get(Consumer<ConditionalAccessSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the onPremisesConditionalAccessSettings object.Update the properties of a onPremisesConditionalAccessSettings object.patch(OnPremisesConditionalAccessSettings body, Consumer<ConditionalAccessSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a onPremisesConditionalAccessSettings object.com.microsoft.kiota.RequestInformationDelete navigation property conditionalAccessSettings for deviceManagementcom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ConditionalAccessSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property conditionalAccessSettings for deviceManagementcom.microsoft.kiota.RequestInformationRead properties and relationships of the onPremisesConditionalAccessSettings object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ConditionalAccessSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the onPremisesConditionalAccessSettings object.com.microsoft.kiota.RequestInformationUpdate the properties of a onPremisesConditionalAccessSettings object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(OnPremisesConditionalAccessSettings body, Consumer<ConditionalAccessSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a onPremisesConditionalAccessSettings object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ConditionalAccessSettingsRequestBuilder
public ConditionalAccessSettingsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newConditionalAccessSettingsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ConditionalAccessSettingsRequestBuilder
public ConditionalAccessSettingsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newConditionalAccessSettingsRequestBuilderand 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
-
delete
public void delete()Delete navigation property conditionalAccessSettings for deviceManagement- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<ConditionalAccessSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property conditionalAccessSettings for deviceManagement- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
Read properties and relationships of the onPremisesConditionalAccessSettings object.- Returns:
- a
OnPremisesConditionalAccessSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public OnPremisesConditionalAccessSettings get(@Nullable Consumer<ConditionalAccessSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the onPremisesConditionalAccessSettings object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
OnPremisesConditionalAccessSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public OnPremisesConditionalAccessSettings patch(@Nonnull OnPremisesConditionalAccessSettings body) Update the properties of a onPremisesConditionalAccessSettings object.- Parameters:
body- The request body- Returns:
- a
OnPremisesConditionalAccessSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public OnPremisesConditionalAccessSettings patch(@Nonnull OnPremisesConditionalAccessSettings body, @Nullable Consumer<ConditionalAccessSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a onPremisesConditionalAccessSettings object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
OnPremisesConditionalAccessSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property conditionalAccessSettings for deviceManagement- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ConditionalAccessSettingsRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property conditionalAccessSettings for deviceManagement- 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 onPremisesConditionalAccessSettings object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ConditionalAccessSettingsRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the onPremisesConditionalAccessSettings 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 OnPremisesConditionalAccessSettings body) Update the properties of a onPremisesConditionalAccessSettings object.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull OnPremisesConditionalAccessSettings body, @Nullable Consumer<ConditionalAccessSettingsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a onPremisesConditionalAccessSettings 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
ConditionalAccessSettingsRequestBuilder
-