Package com.microsoft.graph.models
Class AttackSimulationOperation
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.LongRunningOperation
com.microsoft.graph.models.AttackSimulationOperation
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AttackSimulationOperation
extends LongRunningOperation
implements com.microsoft.kiota.serialization.Parsable
The status of a long-running operation.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AttackSimulationOperationcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the percentageCompleted property value.Gets the tenantId property value.getType()Gets the type property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetPercentageCompleted(Integer value) Sets the percentageCompleted property value.voidsetTenantId(String value) Sets the tenantId property value.voidSets the type property value.Methods inherited from class com.microsoft.graph.models.LongRunningOperation
getCreatedDateTime, getLastActionDateTime, getResourceLocation, getStatus, getStatusDetail, setCreatedDateTime, setLastActionDateTime, setResourceLocation, setStatus, setStatusDetailMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AttackSimulationOperation
public AttackSimulationOperation()Instantiates a newAttackSimulationOperationand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AttackSimulationOperation 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
AttackSimulationOperation
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classLongRunningOperation- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getPercentageCompleted
Gets the percentageCompleted property value. Percentage of completion of the respective operation.- Returns:
- a
Integer
-
getTenantId
Gets the tenantId property value. Tenant identifier.- Returns:
- a
String
-
getType
Gets the type property value. The attack simulation operation type. Possible values are: createSimulation, updateSimulation, unknownFutureValue.- Returns:
- a
AttackSimulationOperationType
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classLongRunningOperation- Parameters:
writer- Serialization writer to use to serialize this model
-
setPercentageCompleted
Sets the percentageCompleted property value. Percentage of completion of the respective operation.- Parameters:
value- Value to set for the percentageCompleted property.
-
setTenantId
Sets the tenantId property value. Tenant identifier.- Parameters:
value- Value to set for the tenantId property.
-
setType
Sets the type property value. The attack simulation operation type. Possible values are: createSimulation, updateSimulation, unknownFutureValue.- Parameters:
value- Value to set for the type property.
-