Class FraudProtectionProvidersRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.FraudProtectionProvidersRequestBuilder
@Generated("com.microsoft.kiota")
public class FraudProtectionProvidersRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet a list of the fraudProtectionProvider object and their properties.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
ConstructorsConstructorDescriptionFraudProtectionProvidersRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFraudProtectionProvidersRequestBuilderand sets the default values.FraudProtectionProvidersRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFraudProtectionProvidersRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyFraudProtectionProviderId(String fraudProtectionProviderId) Provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity.count()Provides operations to count the resources in the collection.get()Get a list of the fraudProtectionProvider object and their properties.get(Consumer<FraudProtectionProvidersRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the fraudProtectionProvider object and their properties.post(FraudProtectionProvider body) Create a new fraudProtectionProvider object.post(FraudProtectionProvider body, Consumer<FraudProtectionProvidersRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new fraudProtectionProvider object.com.microsoft.kiota.RequestInformationGet a list of the fraudProtectionProvider object and their properties.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<FraudProtectionProvidersRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the fraudProtectionProvider object and their properties.com.microsoft.kiota.RequestInformationCreate a new fraudProtectionProvider object.com.microsoft.kiota.RequestInformationtoPostRequestInformation(FraudProtectionProvider body, Consumer<FraudProtectionProvidersRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new fraudProtectionProvider object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
FraudProtectionProvidersRequestBuilder
public FraudProtectionProvidersRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFraudProtectionProvidersRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
FraudProtectionProvidersRequestBuilder
public FraudProtectionProvidersRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newFraudProtectionProvidersRequestBuilderand 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
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
byFraudProtectionProviderId
@Nonnull public FraudProtectionProviderItemRequestBuilder byFraudProtectionProviderId(@Nonnull String fraudProtectionProviderId) Provides operations to manage the fraudProtectionProviders property of the microsoft.graph.riskPreventionContainer entity.- Parameters:
fraudProtectionProviderId- The unique identifier of fraudProtectionProvider- Returns:
- a
FraudProtectionProviderItemRequestBuilder
-
get
Get a list of the fraudProtectionProvider object and their properties. The following derived types are supported:- Returns:
- a
FraudProtectionProviderCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public FraudProtectionProviderCollectionResponse get(@Nullable Consumer<FraudProtectionProvidersRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the fraudProtectionProvider object and their properties. The following derived types are supported:- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
FraudProtectionProviderCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
Create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider.- Parameters:
body- The request body- Returns:
- a
FraudProtectionProvider - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public FraudProtectionProvider post(@Nonnull FraudProtectionProvider body, @Nullable Consumer<FraudProtectionProvidersRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
FraudProtectionProvider - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get a list of the fraudProtectionProvider object and their properties. The following derived types are supported:- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<FraudProtectionProvidersRequestBuilder.GetRequestConfiguration> requestConfiguration) Get a list of the fraudProtectionProvider object and their properties. The following derived types are supported:- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull FraudProtectionProvider body) Create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull FraudProtectionProvider body, @Nullable Consumer<FraudProtectionProvidersRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider.- 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
FraudProtectionProvidersRequestBuilder
-