Package com.microsoft.graph.models
Class AttackSimulationRoot
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AttackSimulationRoot
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AttackSimulationRoot
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AttackSimulationRoot
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the endUserNotifications property value.The deserialization information for the current modelGets the landingPages property value.Gets the loginPages property value.Gets the operations property value.Gets the payloads property value.Gets the simulationAutomations property value.Gets the simulations property value.Gets the trainings property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the endUserNotifications property value.void
setLandingPages
(List<LandingPage> value) Sets the landingPages property value.void
setLoginPages
(List<LoginPage> value) Sets the loginPages property value.void
Sets the operations property value.void
setPayloads
(List<Payload> value) Sets the payloads property value.void
Sets the simulationAutomations property value.void
setSimulations
(List<Simulation> value) Sets the simulations property value.void
setTrainings
(List<Training> value) Sets the trainings property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AttackSimulationRoot
public AttackSimulationRoot()Instantiates a newAttackSimulationRoot
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AttackSimulationRoot createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
AttackSimulationRoot
-
getEndUserNotifications
Gets the endUserNotifications property value. Represents an end user's notification for an attack simulation training.- Returns:
- a
List<EndUserNotification>
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLandingPages
Gets the landingPages property value. Represents an attack simulation training landing page.- Returns:
- a
List<LandingPage>
-
getLoginPages
Gets the loginPages property value. Represents an attack simulation training login page. -
getOperations
Gets the operations property value. Represents an attack simulation training operation.- Returns:
- a
List<AttackSimulationOperation>
-
getPayloads
Gets the payloads property value. Represents an attack simulation training campaign payload in a tenant. -
getSimulationAutomations
Gets the simulationAutomations property value. Represents simulation automation created to run on a tenant.- Returns:
- a
List<SimulationAutomation>
-
getSimulations
Gets the simulations property value. Represents an attack simulation training campaign in a tenant.- Returns:
- a
List<Simulation>
-
getTrainings
Gets the trainings property value. Represents details about attack simulation trainings. -
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setEndUserNotifications
Sets the endUserNotifications property value. Represents an end user's notification for an attack simulation training.- Parameters:
value
- Value to set for the endUserNotifications property.
-
setLandingPages
Sets the landingPages property value. Represents an attack simulation training landing page.- Parameters:
value
- Value to set for the landingPages property.
-
setLoginPages
Sets the loginPages property value. Represents an attack simulation training login page.- Parameters:
value
- Value to set for the loginPages property.
-
setOperations
Sets the operations property value. Represents an attack simulation training operation.- Parameters:
value
- Value to set for the operations property.
-
setPayloads
Sets the payloads property value. Represents an attack simulation training campaign payload in a tenant.- Parameters:
value
- Value to set for the payloads property.
-
setSimulationAutomations
Sets the simulationAutomations property value. Represents simulation automation created to run on a tenant.- Parameters:
value
- Value to set for the simulationAutomations property.
-
setSimulations
Sets the simulations property value. Represents an attack simulation training campaign in a tenant.- Parameters:
value
- Value to set for the simulations property.
-
setTrainings
Sets the trainings property value. Represents details about attack simulation trainings.- Parameters:
value
- Value to set for the trainings property.
-