Package com.microsoft.graph.models
Class UserSimulationDetails
java.lang.Object
com.microsoft.graph.models.UserSimulationDetails
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class UserSimulationDetails
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStore
Stores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserSimulationDetails
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the assignedTrainingsCount property value.com.microsoft.kiota.store.BackingStore
Gets the backingStore property value.Gets the completedTrainingsCount property value.Gets the compromisedDateTime property value.The deserialization information for the current modelGets the inProgressTrainingsCount property value.Gets the isCompromised property value.Gets the @odata.type property value.Gets the reportedPhishDateTime property value.Gets the simulationEvents property value.Gets the simulationUser property value.Gets the trainingEvents property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAdditionalData
(Map<String, Object> value) Sets the AdditionalData property value.void
setAssignedTrainingsCount
(Integer value) Sets the assignedTrainingsCount property value.void
setBackingStore
(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.void
Sets the completedTrainingsCount property value.void
Sets the compromisedDateTime property value.void
Sets the inProgressTrainingsCount property value.void
setIsCompromised
(Boolean value) Sets the isCompromised property value.void
setOdataType
(String value) Sets the @odata.type property value.void
Sets the reportedPhishDateTime property value.void
Sets the simulationEvents property value.void
Sets the simulationUser property value.void
Sets the trainingEvents property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
UserSimulationDetails
public UserSimulationDetails()Instantiates a newUserSimulationDetails
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static UserSimulationDetails 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
UserSimulationDetails
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getAssignedTrainingsCount
Gets the assignedTrainingsCount property value. Number of trainings assigned to a user in an attack simulation and training campaign.- Returns:
- a
Integer
-
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStore
in interfacecom.microsoft.kiota.store.BackedModel
- Returns:
- a
BackingStore
-
getCompletedTrainingsCount
Gets the completedTrainingsCount property value. Number of trainings completed by a user in an attack simulation and training campaign.- Returns:
- a
Integer
-
getCompromisedDateTime
Gets the compromisedDateTime property value. Date and time of the compromising online action by a user in an attack simulation and training campaign.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getInProgressTrainingsCount
Gets the inProgressTrainingsCount property value. Number of trainings in progress by a user in an attack simulation and training campaign.- Returns:
- a
Integer
-
getIsCompromised
Gets the isCompromised property value. Indicates whether a user was compromised in an attack simulation and training campaign.- Returns:
- a
Boolean
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getReportedPhishDateTime
Gets the reportedPhishDateTime property value. Date and time when a user reported the delivered payload as phishing in the attack simulation and training campaign.- Returns:
- a
OffsetDateTime
-
getSimulationEvents
Gets the simulationEvents property value. List of simulation events of a user in the attack simulation and training campaign.- Returns:
- a
List<UserSimulationEventInfo>
-
getSimulationUser
Gets the simulationUser property value. User in an attack simulation and training campaign.- Returns:
- a
AttackSimulationUser
-
getTrainingEvents
Gets the trainingEvents property value. List of training events of a user in the attack simulation and training campaign.- Returns:
- a
List<UserTrainingEventInfo>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serialize
in interfacecom.microsoft.kiota.serialization.Parsable
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value
- Value to set for the AdditionalData property.
-
setAssignedTrainingsCount
Sets the assignedTrainingsCount property value. Number of trainings assigned to a user in an attack simulation and training campaign.- Parameters:
value
- Value to set for the assignedTrainingsCount property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value
- Value to set for the backingStore property.
-
setCompletedTrainingsCount
Sets the completedTrainingsCount property value. Number of trainings completed by a user in an attack simulation and training campaign.- Parameters:
value
- Value to set for the completedTrainingsCount property.
-
setCompromisedDateTime
Sets the compromisedDateTime property value. Date and time of the compromising online action by a user in an attack simulation and training campaign.- Parameters:
value
- Value to set for the compromisedDateTime property.
-
setInProgressTrainingsCount
Sets the inProgressTrainingsCount property value. Number of trainings in progress by a user in an attack simulation and training campaign.- Parameters:
value
- Value to set for the inProgressTrainingsCount property.
-
setIsCompromised
Sets the isCompromised property value. Indicates whether a user was compromised in an attack simulation and training campaign.- Parameters:
value
- Value to set for the isCompromised property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value
- Value to set for the @odata.type property.
-
setReportedPhishDateTime
Sets the reportedPhishDateTime property value. Date and time when a user reported the delivered payload as phishing in the attack simulation and training campaign.- Parameters:
value
- Value to set for the reportedPhishDateTime property.
-
setSimulationEvents
Sets the simulationEvents property value. List of simulation events of a user in the attack simulation and training campaign.- Parameters:
value
- Value to set for the simulationEvents property.
-
setSimulationUser
Sets the simulationUser property value. User in an attack simulation and training campaign.- Parameters:
value
- Value to set for the simulationUser property.
-
setTrainingEvents
Sets the trainingEvents property value. List of training events of a user in the attack simulation and training campaign.- Parameters:
value
- Value to set for the trainingEvents property.
-