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 Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • UserSimulationDetails

      public UserSimulationDetails()
      Instantiates a new UserSimulationDetails 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

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getAssignedTrainingsCount

      @Nullable public Integer 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 interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getCompletedTrainingsCount

      @Nullable public Integer getCompletedTrainingsCount()
      Gets the completedTrainingsCount property value. Number of trainings completed by a user in an attack simulation and training campaign.
      Returns:
      a Integer
    • getCompromisedDateTime

      @Nullable public OffsetDateTime 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
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getInProgressTrainingsCount

      @Nullable public Integer 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

      @Nullable public Boolean getIsCompromised()
      Gets the isCompromised property value. Indicates whether a user was compromised in an attack simulation and training campaign.
      Returns:
      a Boolean
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getReportedPhishDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public List<UserSimulationEventInfo> 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

      @Nullable public AttackSimulationUser getSimulationUser()
      Gets the simulationUser property value. User in an attack simulation and training campaign.
      Returns:
      a AttackSimulationUser
    • getTrainingEvents

      @Nullable public List<UserTrainingEventInfo> 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 interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setAssignedTrainingsCount(@Nullable Integer value)
      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

      public void setCompletedTrainingsCount(@Nullable Integer value)
      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

      public void setCompromisedDateTime(@Nullable OffsetDateTime value)
      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

      public void setInProgressTrainingsCount(@Nullable Integer value)
      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

      public void setIsCompromised(@Nullable Boolean value)
      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

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setReportedPhishDateTime

      public void setReportedPhishDateTime(@Nullable OffsetDateTime value)
      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

      public void setSimulationEvents(@Nullable List<UserSimulationEventInfo> value)
      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

      public void setSimulationUser(@Nullable AttackSimulationUser value)
      Sets the simulationUser property value. User in an attack simulation and training campaign.
      Parameters:
      value - Value to set for the simulationUser property.
    • setTrainingEvents

      public void setTrainingEvents(@Nullable List<UserTrainingEventInfo> value)
      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.