Class GetAttackSimulationRepeatOffendersRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.reports.security.getattacksimulationrepeatoffenders.GetAttackSimulationRepeatOffendersRequestBuilder
@Generated("com.microsoft.kiota")
public class GetAttackSimulationRepeatOffendersRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to call the getAttackSimulationRepeatOffenders method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassList the tenant users who have yielded to attacks more than once in attack simulation and training campaigns.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
ConstructorsConstructorDescriptionGetAttackSimulationRepeatOffendersRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGetAttackSimulationRepeatOffendersRequestBuilderand sets the default values.GetAttackSimulationRepeatOffendersRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGetAttackSimulationRepeatOffendersRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget()List the tenant users who have yielded to attacks more than once in attack simulation and training campaigns.get(Consumer<GetAttackSimulationRepeatOffendersRequestBuilder.GetRequestConfiguration> requestConfiguration) List the tenant users who have yielded to attacks more than once in attack simulation and training campaigns.com.microsoft.kiota.RequestInformationList the tenant users who have yielded to attacks more than once in attack simulation and training campaigns.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<GetAttackSimulationRepeatOffendersRequestBuilder.GetRequestConfiguration> requestConfiguration) List the tenant users who have yielded to attacks more than once in attack simulation and training campaigns.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
GetAttackSimulationRepeatOffendersRequestBuilder
public GetAttackSimulationRepeatOffendersRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGetAttackSimulationRepeatOffendersRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
GetAttackSimulationRepeatOffendersRequestBuilder
public GetAttackSimulationRepeatOffendersRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newGetAttackSimulationRepeatOffendersRequestBuilderand 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
-
get
List the tenant users who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination.- Returns:
- a
GetAttackSimulationRepeatOffendersGetResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public GetAttackSimulationRepeatOffendersGetResponse get(@Nullable Consumer<GetAttackSimulationRepeatOffendersRequestBuilder.GetRequestConfiguration> requestConfiguration) List the tenant users who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
GetAttackSimulationRepeatOffendersGetResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()List the tenant users who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<GetAttackSimulationRepeatOffendersRequestBuilder.GetRequestConfiguration> requestConfiguration) List the tenant users who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination.- Parameters:
requestConfiguration- 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
GetAttackSimulationRepeatOffendersRequestBuilder
-