Class AttackSimulationRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.security.attacksimulation.AttackSimulationRequestBuilder
@Generated("com.microsoft.kiota")
public class AttackSimulationRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the attackSimulation property of the microsoft.graph.security entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet attackSimulation from securityclassConfiguration 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
ConstructorsConstructorDescriptionAttackSimulationRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAttackSimulationRequestBuilderand sets the default values.AttackSimulationRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAttackSimulationRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property attackSimulation for securityvoiddelete(Consumer<AttackSimulationRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property attackSimulation for securityProvides operations to manage the endUserNotifications property of the microsoft.graph.attackSimulationRoot entity.get()Get attackSimulation from securityget(Consumer<AttackSimulationRequestBuilder.GetRequestConfiguration> requestConfiguration) Get attackSimulation from securityProvides operations to manage the landingPages property of the microsoft.graph.attackSimulationRoot entity.Provides operations to manage the loginPages property of the microsoft.graph.attackSimulationRoot entity.Provides operations to manage the operations property of the microsoft.graph.attackSimulationRoot entity.patch(AttackSimulationRoot body) Update the navigation property attackSimulation in securitypatch(AttackSimulationRoot body, Consumer<AttackSimulationRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property attackSimulation in securitypayloads()Provides operations to manage the payloads property of the microsoft.graph.attackSimulationRoot entity.Provides operations to manage the simulationAutomations property of the microsoft.graph.attackSimulationRoot entity.Provides operations to manage the simulations property of the microsoft.graph.attackSimulationRoot entity.com.microsoft.kiota.RequestInformationDelete navigation property attackSimulation for securitycom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<AttackSimulationRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property attackSimulation for securitycom.microsoft.kiota.RequestInformationGet attackSimulation from securitycom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<AttackSimulationRequestBuilder.GetRequestConfiguration> requestConfiguration) Get attackSimulation from securitycom.microsoft.kiota.RequestInformationUpdate the navigation property attackSimulation in securitycom.microsoft.kiota.RequestInformationtoPatchRequestInformation(AttackSimulationRoot body, Consumer<AttackSimulationRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property attackSimulation in securityProvides operations to manage the trainings property of the microsoft.graph.attackSimulationRoot entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
AttackSimulationRequestBuilder
public AttackSimulationRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAttackSimulationRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
AttackSimulationRequestBuilder
public AttackSimulationRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAttackSimulationRequestBuilderand 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
-
endUserNotifications
Provides operations to manage the endUserNotifications property of the microsoft.graph.attackSimulationRoot entity.- Returns:
- a
EndUserNotificationsRequestBuilder
-
landingPages
Provides operations to manage the landingPages property of the microsoft.graph.attackSimulationRoot entity.- Returns:
- a
LandingPagesRequestBuilder
-
loginPages
Provides operations to manage the loginPages property of the microsoft.graph.attackSimulationRoot entity.- Returns:
- a
LoginPagesRequestBuilder
-
operations
Provides operations to manage the operations property of the microsoft.graph.attackSimulationRoot entity.- Returns:
- a
OperationsRequestBuilder
-
payloads
Provides operations to manage the payloads property of the microsoft.graph.attackSimulationRoot entity.- Returns:
- a
PayloadsRequestBuilder
-
simulationAutomations
Provides operations to manage the simulationAutomations property of the microsoft.graph.attackSimulationRoot entity.- Returns:
- a
SimulationAutomationsRequestBuilder
-
simulations
Provides operations to manage the simulations property of the microsoft.graph.attackSimulationRoot entity.- Returns:
- a
SimulationsRequestBuilder
-
trainings
Provides operations to manage the trainings property of the microsoft.graph.attackSimulationRoot entity.- Returns:
- a
TrainingsRequestBuilder
-
delete
public void delete()Delete navigation property attackSimulation for security- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<AttackSimulationRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property attackSimulation for security- 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
Get attackSimulation from security- Returns:
- a
AttackSimulationRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public AttackSimulationRoot get(@Nullable Consumer<AttackSimulationRequestBuilder.GetRequestConfiguration> requestConfiguration) Get attackSimulation from security- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AttackSimulationRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property attackSimulation in security- Parameters:
body- The request body- Returns:
- a
AttackSimulationRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public AttackSimulationRoot patch(@Nonnull AttackSimulationRoot body, @Nullable Consumer<AttackSimulationRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property attackSimulation in security- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AttackSimulationRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property attackSimulation for security- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<AttackSimulationRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property attackSimulation for security- 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()Get attackSimulation from security- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AttackSimulationRequestBuilder.GetRequestConfiguration> requestConfiguration) Get attackSimulation from security- 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 AttackSimulationRoot body) Update the navigation property attackSimulation in security- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull AttackSimulationRoot body, @Nullable Consumer<AttackSimulationRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property attackSimulation in security- 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
AttackSimulationRequestBuilder
-