Class TaskDefinition
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.identitygovernance.TaskDefinition
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class TaskDefinition
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 TaskDefinition
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the category property value.Gets the continueOnError property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the parameters property value.Gets the version property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setCategory
(EnumSet<LifecycleTaskCategory> value) Sets the category property value.void
setContinueOnError
(Boolean value) Sets the continueOnError property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setParameters
(List<Parameter> value) Sets the parameters property value.void
setVersion
(Integer value) Sets the version property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
TaskDefinition
public TaskDefinition()Instantiates a newTaskDefinition
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static TaskDefinition 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
TaskDefinition
-
getCategory
Gets the category property value. The category property- Returns:
- a
EnumSet<LifecycleTaskCategory>
-
getContinueOnError
Gets the continueOnError property value. Defines if the workflow will continue if the task has an error.- Returns:
- a
Boolean
-
getDescription
Gets the description property value. The description of the taskDefinition.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name of the taskDefinition.Supports $filter(eq, ne) and $orderby.- Returns:
- a
String
-
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>>
-
getParameters
Gets the parameters property value. The parameters that must be supplied when creating a workflow task object.Supports $filter(any). -
getVersion
Gets the version property value. The version number of the taskDefinition. New records are pushed when we add support for new parameters.Supports $filter(ge, gt, le, lt, eq, ne) and $orderby.- Returns:
- a
Integer
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCategory
Sets the category property value. The category property- Parameters:
value
- Value to set for the category property.
-
setContinueOnError
Sets the continueOnError property value. Defines if the workflow will continue if the task has an error.- Parameters:
value
- Value to set for the continueOnError property.
-
setDescription
Sets the description property value. The description of the taskDefinition.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The display name of the taskDefinition.Supports $filter(eq, ne) and $orderby.- Parameters:
value
- Value to set for the displayName property.
-
setParameters
Sets the parameters property value. The parameters that must be supplied when creating a workflow task object.Supports $filter(any).- Parameters:
value
- Value to set for the parameters property.
-
setVersion
Sets the version property value. The version number of the taskDefinition. New records are pushed when we add support for new parameters.Supports $filter(ge, gt, le, lt, eq, ne) and $orderby.- Parameters:
value
- Value to set for the version property.
-