Class MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.users.item.authentication.microsoftauthenticatormethods.item.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder
@Generated("com.microsoft.kiota")
public class MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the microsoftAuthenticatorMethods property of the microsoft.graph.authentication 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 microsoftAuthenticatorAuthenticationMethod object.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
ConstructorsConstructorDescriptionMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderand sets the default values.MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete a microsoftAuthenticatorAuthenticationMethod object.voiddelete(Consumer<MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a microsoftAuthenticatorAuthenticationMethod object.device()Provides operations to manage the device property of the microsoft.graph.microsoftAuthenticatorAuthenticationMethod entity.get()Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object.get(Consumer<MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object.com.microsoft.kiota.RequestInformationDelete a microsoftAuthenticatorAuthenticationMethod object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a microsoftAuthenticatorAuthenticationMethod object.com.microsoft.kiota.RequestInformationRead the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder
public MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder
public MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderand 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
-
device
Provides operations to manage the device property of the microsoft.graph.microsoftAuthenticatorAuthenticationMethod entity.- Returns:
- a
DeviceRequestBuilder
-
delete
public void delete()Delete a microsoftAuthenticatorAuthenticationMethod object.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a microsoftAuthenticatorAuthenticationMethod 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 microsoftAuthenticatorAuthenticationMethod object.- Returns:
- a
MicrosoftAuthenticatorAuthenticationMethod - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public MicrosoftAuthenticatorAuthenticationMethod get(@Nullable Consumer<MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
MicrosoftAuthenticatorAuthenticationMethod - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete a microsoftAuthenticatorAuthenticationMethod object.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a microsoftAuthenticatorAuthenticationMethod 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 microsoftAuthenticatorAuthenticationMethod object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
@Nonnull public MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder withUrl(@Nonnull String rawUrl) 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
MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder
-