Package com.microsoft.graph.models
Class Simulation
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Simulation
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Simulation
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 Simulation
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the attackTechnique property value.Gets the attackType property value.Gets the automationId property value.Gets the completionDateTime property value.Gets the createdBy property value.Gets the createdDateTime property value.Gets the description property value.Gets the displayName property value.Gets the durationInDays property value.Gets the endUserNotificationSetting property value.Gets the excludedAccountTarget property value.The deserialization information for the current modelGets the includedAccountTarget property value.Gets the isAutomated property value.Gets the landingPage property value.Gets the lastModifiedBy property value.Gets the lastModifiedDateTime property value.Gets the launchDateTime property value.Gets the loginPage property value.Gets the oAuthConsentAppDetail property value.Gets the payload property value.Gets the payloadDeliveryPlatform property value.Gets the report property value.Gets the status property value.Gets the trainingSetting property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the attackTechnique property value.void
Sets the attackType property value.void
setAutomationId
(String value) Sets the automationId property value.void
Sets the completionDateTime property value.void
setCreatedBy
(EmailIdentity value) Sets the createdBy property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setDurationInDays
(Integer value) Sets the durationInDays property value.void
Sets the endUserNotificationSetting property value.void
Sets the excludedAccountTarget property value.void
Sets the includedAccountTarget property value.void
setIsAutomated
(Boolean value) Sets the isAutomated property value.void
setLandingPage
(LandingPage value) Sets the landingPage property value.void
setLastModifiedBy
(EmailIdentity value) Sets the lastModifiedBy property value.void
Sets the lastModifiedDateTime property value.void
setLaunchDateTime
(OffsetDateTime value) Sets the launchDateTime property value.void
setLoginPage
(LoginPage value) Sets the loginPage property value.void
Sets the oAuthConsentAppDetail property value.void
setPayload
(Payload value) Sets the payload property value.void
Sets the payloadDeliveryPlatform property value.void
setReport
(SimulationReport value) Sets the report property value.void
setStatus
(SimulationStatus value) Sets the status property value.void
Sets the trainingSetting property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Simulation
public Simulation()Instantiates a newSimulation
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Simulation 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
Simulation
-
getAttackTechnique
Gets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations.- Returns:
- a
SimulationAttackTechnique
-
getAttackType
Gets the attackType property value. Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue.- Returns:
- a
SimulationAttackType
-
getAutomationId
Gets the automationId property value. Unique identifier for the attack simulation automation.- Returns:
- a
String
-
getCompletionDateTime
Gets the completionDateTime property value. Date and time of completion of the attack simulation and training campaign. Supports $filter and $orderby.- Returns:
- a
OffsetDateTime
-
getCreatedBy
Gets the createdBy property value. Identity of the user who created the attack simulation and training campaign.- Returns:
- a
EmailIdentity
-
getCreatedDateTime
Gets the createdDateTime property value. Date and time of creation of the attack simulation and training campaign.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. Description of the attack simulation and training campaign.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. Display name of the attack simulation and training campaign. Supports $filter and $orderby.- Returns:
- a
String
-
getDurationInDays
Gets the durationInDays property value. Simulation duration in days.- Returns:
- a
Integer
-
getEndUserNotificationSetting
Gets the endUserNotificationSetting property value. Details about the end user notification setting.- Returns:
- a
EndUserNotificationSetting
-
getExcludedAccountTarget
Gets the excludedAccountTarget property value. Users excluded from the simulation.- Returns:
- a
AccountTargetContent
-
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>>
-
getIncludedAccountTarget
Gets the includedAccountTarget property value. Users targeted in the simulation.- Returns:
- a
AccountTargetContent
-
getIsAutomated
Gets the isAutomated property value. Flag that represents if the attack simulation and training campaign was created from a simulation automation flow. Supports $filter and $orderby.- Returns:
- a
Boolean
-
getLandingPage
Gets the landingPage property value. The landing page associated with a simulation during its creation.- Returns:
- a
LandingPage
-
getLastModifiedBy
Gets the lastModifiedBy property value. Identity of the user who most recently modified the attack simulation and training campaign.- Returns:
- a
EmailIdentity
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. Date and time of the most recent modification of the attack simulation and training campaign.- Returns:
- a
OffsetDateTime
-
getLaunchDateTime
Gets the launchDateTime property value. Date and time of the launch/start of the attack simulation and training campaign. Supports $filter and $orderby.- Returns:
- a
OffsetDateTime
-
getLoginPage
Gets the loginPage property value. The login page associated with a simulation during its creation.- Returns:
- a
LoginPage
-
getOAuthConsentAppDetail
Gets the oAuthConsentAppDetail property value. OAuth app details for the OAuth technique.- Returns:
- a
OAuthConsentAppDetail
-
getPayload
Gets the payload property value. The payload associated with a simulation during its creation.- Returns:
- a
Payload
-
getPayloadDeliveryPlatform
Gets the payloadDeliveryPlatform property value. Method of delivery of the phishing payload used in the attack simulation and training campaign. Possible values are: unknown, sms, email, teams, unknownFutureValue.- Returns:
- a
PayloadDeliveryPlatform
-
getReport
Gets the report property value. Report of the attack simulation and training campaign.- Returns:
- a
SimulationReport
-
getStatus
Gets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue.- Returns:
- a
SimulationStatus
-
getTrainingSetting
Gets the trainingSetting property value. Details about the training settings for a simulation.- Returns:
- a
TrainingSetting
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAttackTechnique
Sets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations.- Parameters:
value
- Value to set for the attackTechnique property.
-
setAttackType
Sets the attackType property value. Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue.- Parameters:
value
- Value to set for the attackType property.
-
setAutomationId
Sets the automationId property value. Unique identifier for the attack simulation automation.- Parameters:
value
- Value to set for the automationId property.
-
setCompletionDateTime
Sets the completionDateTime property value. Date and time of completion of the attack simulation and training campaign. Supports $filter and $orderby.- Parameters:
value
- Value to set for the completionDateTime property.
-
setCreatedBy
Sets the createdBy property value. Identity of the user who created the attack simulation and training campaign.- Parameters:
value
- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. Date and time of creation of the attack simulation and training campaign.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. Description of the attack simulation and training campaign.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. Display name of the attack simulation and training campaign. Supports $filter and $orderby.- Parameters:
value
- Value to set for the displayName property.
-
setDurationInDays
Sets the durationInDays property value. Simulation duration in days.- Parameters:
value
- Value to set for the durationInDays property.
-
setEndUserNotificationSetting
Sets the endUserNotificationSetting property value. Details about the end user notification setting.- Parameters:
value
- Value to set for the endUserNotificationSetting property.
-
setExcludedAccountTarget
Sets the excludedAccountTarget property value. Users excluded from the simulation.- Parameters:
value
- Value to set for the excludedAccountTarget property.
-
setIncludedAccountTarget
Sets the includedAccountTarget property value. Users targeted in the simulation.- Parameters:
value
- Value to set for the includedAccountTarget property.
-
setIsAutomated
Sets the isAutomated property value. Flag that represents if the attack simulation and training campaign was created from a simulation automation flow. Supports $filter and $orderby.- Parameters:
value
- Value to set for the isAutomated property.
-
setLandingPage
Sets the landingPage property value. The landing page associated with a simulation during its creation.- Parameters:
value
- Value to set for the landingPage property.
-
setLastModifiedBy
Sets the lastModifiedBy property value. Identity of the user who most recently modified the attack simulation and training campaign.- Parameters:
value
- Value to set for the lastModifiedBy property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. Date and time of the most recent modification of the attack simulation and training campaign.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setLaunchDateTime
Sets the launchDateTime property value. Date and time of the launch/start of the attack simulation and training campaign. Supports $filter and $orderby.- Parameters:
value
- Value to set for the launchDateTime property.
-
setLoginPage
Sets the loginPage property value. The login page associated with a simulation during its creation.- Parameters:
value
- Value to set for the loginPage property.
-
setOAuthConsentAppDetail
Sets the oAuthConsentAppDetail property value. OAuth app details for the OAuth technique.- Parameters:
value
- Value to set for the oAuthConsentAppDetail property.
-
setPayload
Sets the payload property value. The payload associated with a simulation during its creation.- Parameters:
value
- Value to set for the payload property.
-
setPayloadDeliveryPlatform
Sets the payloadDeliveryPlatform property value. Method of delivery of the phishing payload used in the attack simulation and training campaign. Possible values are: unknown, sms, email, teams, unknownFutureValue.- Parameters:
value
- Value to set for the payloadDeliveryPlatform property.
-
setReport
Sets the report property value. Report of the attack simulation and training campaign.- Parameters:
value
- Value to set for the report property.
-
setStatus
Sets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue.- Parameters:
value
- Value to set for the status property.
-
setTrainingSetting
Sets the trainingSetting property value. Details about the training settings for a simulation.- Parameters:
value
- Value to set for the trainingSetting property.
-