Class PlatformCredentialAuthenticationMethodItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.users.item.authentication.platformcredentialmethods.item.PlatformCredentialAuthenticationMethodItemRequestBuilder
@Generated("com.microsoft.kiota")
public class PlatformCredentialAuthenticationMethodItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the platformCredentialMethods 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.classRepresents a platform credential instance registered to a user on Mac OS.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
ConstructorsConstructorDescriptionPlatformCredentialAuthenticationMethodItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPlatformCredentialAuthenticationMethodItemRequestBuilderand sets the default values.PlatformCredentialAuthenticationMethodItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPlatformCredentialAuthenticationMethodItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete a platformCredentialAuthenticationMethod object.voiddelete(Consumer<PlatformCredentialAuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a platformCredentialAuthenticationMethod object.device()Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity.get()Represents a platform credential instance registered to a user on Mac OS.get(Consumer<PlatformCredentialAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents a platform credential instance registered to a user on Mac OS.com.microsoft.kiota.RequestInformationDelete a platformCredentialAuthenticationMethod object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<PlatformCredentialAuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a platformCredentialAuthenticationMethod object.com.microsoft.kiota.RequestInformationRepresents a platform credential instance registered to a user on Mac OS.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<PlatformCredentialAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents a platform credential instance registered to a user on Mac OS.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
PlatformCredentialAuthenticationMethodItemRequestBuilder
public PlatformCredentialAuthenticationMethodItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPlatformCredentialAuthenticationMethodItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
PlatformCredentialAuthenticationMethodItemRequestBuilder
public PlatformCredentialAuthenticationMethodItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPlatformCredentialAuthenticationMethodItemRequestBuilderand 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.platformCredentialAuthenticationMethod entity.- Returns:
- a
DeviceRequestBuilder
-
delete
public void delete()Delete a platformCredentialAuthenticationMethod object.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<PlatformCredentialAuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a platformCredentialAuthenticationMethod 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
Represents a platform credential instance registered to a user on Mac OS.- Returns:
- a
PlatformCredentialAuthenticationMethod - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public PlatformCredentialAuthenticationMethod get(@Nullable Consumer<PlatformCredentialAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents a platform credential instance registered to a user on Mac OS.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
PlatformCredentialAuthenticationMethod - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete a platformCredentialAuthenticationMethod object.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<PlatformCredentialAuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a platformCredentialAuthenticationMethod 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()Represents a platform credential instance registered to a user on Mac OS.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<PlatformCredentialAuthenticationMethodItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents a platform credential instance registered to a user on Mac OS.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
@Nonnull public PlatformCredentialAuthenticationMethodItemRequestBuilder 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
PlatformCredentialAuthenticationMethodItemRequestBuilder
-